Fix regcomp wcscoll, wcscmp namespace (bug 18497).
[glibc.git] / ChangeLog
blob2501f45873d6cef7896836cb36fcad49cd69582d
1 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18497]
4         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5         of wcscmp.
6         (wcscmp): Define as weak alias of WCSCMP.
7         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8         wcscoll.
9         (USE_HIDDEN_DEF): Define.
10         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11         __wcscoll.  Don't use libc_hidden_weak.
12         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13         wcscmp.
14         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16         __GI_wcscmp.
17         (weak_alias): Undefine and redefine.
18         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19         __wcscmp and define as weak alias of __wcscmp.
20         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22         (__wcscoll): Likewise.
23         (wcscmp): Don't use libc_hidden_proto.
24         (wcscoll): Likewise.
25         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
26         wcscoll.
27         * posix/regexec.c (check_node_accept_bytes): Likewise.
28         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
29         variable.
30         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33         [BZ #18507]
34         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
35         __fstatvfs and define as weak alias of __fstatvfs.  Use
36         libc_hidden_weak.
37         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
38         and define as weak alias of __statvfs.  Use libc_hidden_weak.
39         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
40         Define as alias of __fstatvfs, not fstatvfs.
41         (fstatvfs64): Likewise.
42         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
43         Define as alias of __statvfs, not statvfs.
44         (statvfs64): Likewise.
45         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
46         Remove variable.
48 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
50         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51         (HAVE_GETCPU_VSYSCALL): Define.
52         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53         (HAVE_GETCPU_VSYSCALL): Likewise.
54         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
55         * sysdeps/unix/sysv/linux/sched_getcpu.c
56         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
57         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
58         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
59         prototype.
60         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
62         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
63         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
64         Define.
65         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
66         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
67         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
68         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
72         * sysdeps/x86_64/fpu/Makefile: New file.
73         * sysdeps/x86_64/fpu/Versions: New file.
74         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
75         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
76         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
77         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
78         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
79         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
80         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
81         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
82         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
83         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
84         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
85         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
86         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
87         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
88         build of SSE, AVX2 and AVX512 IFUNC versions.
89         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
90         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
91         * sysdeps/x86_64/configure.ac: Options for libmvec build.
92         * sysdeps/x86_64/configure: Regenerated.
93         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
94         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
95         * manual/install.texi (Configuring and compiling): Document
96         --disable-mathvec.
97         * INSTALL: Regenerated.
98         * NEWS: Mention addition of libmvec and x86_64 vector cos.
100         * math/Makefile: Added rules for vector tests.
101         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
102         declaration under condition.
103         * math/test-double-vlen2.h: New file.
104         * math/test-double-vlen4.h: New file.
105         * math/test-double-vlen8.h: New file.
106         * math/test-vec-loop.h: Added initialization macro.
107         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
108         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
109         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
110         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
111         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
112         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
113         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
114         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
115         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
116         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
117         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
119         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
120         * sysdeps/x86_64/fpu/Versions: New versions added.
121         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
122         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
123         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
124         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
125         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
127         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
128         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
129         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
130         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
131         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
132         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
133         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
134         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
135         build of SSE, AVX2 and AVX512 IFUNC versions.
136         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
137         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
138         * NEWS: Mention addition of x86_64 vector cosf.
140         * math/Makefile: Added CFLAGS for new tests.
141         * math/test-float-vlen16.h: New file.
142         * math/test-float-vlen4.h: New file.
143         * math/test-float-vlen8.h: New file.
144         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
145         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
147         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
148         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
149         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
150         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
151         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
152         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
153         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
154         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
156 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
158         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
159         * locale/programs/ld-ctype.c: Likewise.
161 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
163         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
164         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
165         bit_ZMM16_31_state): New macro.
166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
167         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
169 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
171         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
173 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
175         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
177 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
179         [BZ #18498]
180         * libio/memstream.c (open_memstream): Rename to __open_memstream
181         and define as weak alias of __open_memstream.
182         * include/stdio.h (__open_memstream): Declare.  Use
183         libc_hidden_proto.
184         (open_memstream): Don't use libc_hidden_proto.
185         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
186         open_memstream.
187         * posix/getopt.c (_getopt_internal_r): Likewise.
188         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
189         variable.
190         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
191         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
192         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
194         [BZ #18496]
195         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
196         instead of wcrtomb.
198         [BZ #18483]
199         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
200         [__USE_XOPEN2K8].  Remove redundant #endif.
201         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
202         Remove redundant #if.
203         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
204         Remove variable.
205         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
206         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
208         [BZ #18495]
209         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
210         (__iswlower): Likewise.
211         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
212         (__iswlower): Likewise.
213         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
214         instead of towlower.
215         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
216         instead of iswlower.  Call __towupper instead of towupper.
217         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
218         instead of iswalnum.
220 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
222         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
223         errors to stderr.
225 2015-06-05  Florian Weimer  <fweimer@redhat.com>
227         [BZ #15661]
228         [BZ #17322]
229         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
230         Check for overflow properly.  Check for O_APPEND.  Ignore large
231         file system block sizes.  Add comments about problems.
232         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
233         * manual/filesys.texi (Storage Allocation): New node.
235 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
237         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
238         cancellable syscalls.
239         (SYS_ify): Add guard to no redefine it.
240         (INLINE_SYSCALL): Likewise.
241         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
242         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
243         SYSCALL_CANCEL instead.
244         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
245         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
246         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
247         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
248         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
249         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
250         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
251         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
252         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
253         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
254         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
255         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
256         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
257         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
258         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
260         Likewise.
261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
262         (__libc_pread64): Likewise.
263         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
264         (__libc_preadv): Likewise.
265         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
266         (__libc_readv64): Likewise.
267         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
268         (__libc_pwrite): Likewise.
269         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
270         (__libc_pwrite64): Likewise.
271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
272         (__libc_pwritev): Likewise.
273         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
274         (__libc_pwritev64): Likewise.
275         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
276         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
277         (sync_file_range): Likewise.
278         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
279         Likewise.
280         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
281         Likewise.
282         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
283         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
284         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
285         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
286         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
287         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
288         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
289         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
291         Likewise.
292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
293         (__libc_read64): Likewise.
294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
295         Likewise.
296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
297         Likewise.
298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
299         Likewise.
300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
301         Likewise.
302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
303         (__libc_pread64): Likewise.
304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
305         Likewise.
306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
307         (__libc_pwrite64): Likewise.
308         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
309         (sync_file_range): Likewise.
310         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
311         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
312         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
313         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
314         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
315         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
316         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
317         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
318         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
319         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
320         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
321         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
322         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
323         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
324         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
325         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
326         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
327         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
328         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
329         Likewise.
330         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
331         Likewise.
332         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
333         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
334         Likewise.
335         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
336         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
337         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
338         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
339         Likewise.
340         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
341         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
342         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
343         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
344         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
346 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
348         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
349         Include dl-vdso.
350         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
351         Use VDSO routines for gettimeofday, clock_gettime if
352         available.
353         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
354         Declare VDSO symbols.
355         * sysdeps/unix/sysv/linux/arm/sysdep.h:
356         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
357         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
358         * sysdeps/unix/sysv/linux/arm/Versions: Add
359         __vdso_clock_gettime.
361 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
363         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
364         be an inline implementation regardless of library is built within.
365         (open_not_cancel_2): Likewise.
366         (__read_nocancel): Likewise.
367         (__write_nocancel): Likewise.
368         (openat_not_cancel): Likewise.
369         (openat_not_cancel_3): Likewise.
370         (openat64_not_cancel): Likewise.
371         (openat64_not_cancel_3): Likewise.
372         (__close_nocancel): Likewise.
373         (pause_not_cancel): Likewise.
374         (nanosleep_not_cancel): Likewise.
375         (sigsuspend_not_cancel): Likewise.
377 2015-06-04  Torvald Riegel  <triegel@redhat.com>
379         [BZ #14958]
380         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
381         wake-up.
382         (__pthread_rwlock_rdlock_slow): Likewise.
383         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
384         Likewise.
385         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
386         Likewise.
387         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
388         * nptl/tst-rwlock16.c: New file.
389         * nptl/Makefile (tests): Add new test.
391 2015-06-04  Torvald Riegel  <triegel@redhat.com>
393         [BZ #18324]
394         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
395         missing wake-up of readers.
396         * nptl/tst-rwlock15.c: New file.
397         * nptl/Makefile (tests): Add new test.
399 2015-06-03  Roland McGrath  <roland@hack.frob.com>
401         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
402         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
403         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
404         and __nacl_supply_interface_rtld.
405         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
406         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
407         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
408         Add __nacl_supply_interface_rtld.
409         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
411 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
413         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
414         isfinite.
415         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
416         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
418 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
420         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
421         __signbit* with standard C99 macros.
422         * math/e_exp10l.c: Likewise.
423         * math/e_exp2l.c: Likewise.
424         * math/e_scalb.c: Likewise.
425         * math/e_scalbf.c: Likewise.
426         * math/e_scalbl.c: Likewise.
427         * math/s_ldexp.c: Likewise.
428         * math/s_ldexpf.c: Likewise.
429         * math/s_ldexpl.c: Likewise.
430         * math/w_atan2.c: Likewise.
431         * math/w_atan2f.c: Likewise.
432         * math/w_atan2l.c: Likewise.
433         * math/w_cosh.c: Likewise.
434         * math/w_coshf.c: Likewise.
435         * math/w_coshl.c: Likewise.
436         * math/w_exp10.c: Likewise.
437         * math/w_exp10f.c: Likewise.
438         * math/w_exp10l.c: Likewise.
439         * math/w_exp2.c: Likewise.
440         * math/w_exp2f.c: Likewise.
441         * math/w_exp2l.c: Likewise.
442         * math/w_fmod.c: Likewise.
443         * math/w_fmodf.c: Likewise.
444         * math/w_fmodl.c: Likewise.
445         * math/w_hypot.c: Likewise.
446         * math/w_hypotf.c: Likewise.
447         * math/w_hypotl.c: Likewise.
448         * math/w_jnl.c: Likewise.
449         * math/w_lgamma.c: Likewise.
450         * math/w_lgamma_r.c: Likewise.
451         * math/w_lgammaf.c: Likewise.
452         * math/w_lgammaf_r.c: Likewise.
453         * math/w_lgammal.c: Likewise.
454         * math/w_lgammal_r.c: Likewise.
455         * math/w_pow.c: Likewise.
456         * math/w_powf.c: Likewise.
457         * math/w_powl.c: Likewise.
458         * math/w_remainder.c: Likewise.
459         * math/w_remainderf.c: Likewise.
460         * math/w_remainderl.c: Likewise.
461         * math/w_scalb.c: Likewise.
462         * math/w_scalbf.c: Likewise.
463         * math/w_scalbl.c: Likewise.
464         * math/w_scalbln.c: Likewise.
465         * math/w_scalblnf.c: Likewise.
466         * math/w_scalblnl.c: Likewise.
467         * math/w_sinh.c: Likewise.
468         * math/w_sinhf.c: Likewise.
469         * math/w_sinhl.c: Likewise.
470         * math/w_tgamma.c: Likewise.
471         * math/w_tgammaf.c: Likewise.
472         * math/w_tgammal.c: Likewise.
473         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
474         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
475         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
476         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
477         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
479         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
480         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
481         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
482         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
483         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
484         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
485         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
486         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
487         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
488         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
489         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
490         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
491         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
492         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
493         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
494         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
495         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
497         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
498         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
499         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
500         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
501         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
502         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
503         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
504         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
505         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
506         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
507         * stdio-common/printf_fp.c: Likewise.
508         * stdio-common/printf_fphex.c: Likewise.
509         * stdio-common/printf_size.c: Likewise.
511 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
513         [BZ #18470]
514         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
515         strnlen.
516         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
517         Remove variable.
518         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
519         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
520         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
521         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
522         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
523         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
524         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
525         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
526         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
527         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
529         [BZ #18468]
530         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
531         weak alias of __wmemchr.  Use libc_hidden_weak.
532         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
533         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
534         instead of wmemchr.
536 2015-06-02  Roland McGrath  <roland@hack.frob.com>
538         [BZ #18383]
539         * elf/tst-tlsalign-extern.c: New file.
540         * elf/tst-tlsalign-extern-static.c: New file.
541         * elf/tst-tlsalign-vars.c: New file.
542         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
543         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
544         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
545         ($(objpfx)tst-tlsalign-extern-static): Likewise.
546         (test-xfail-tst-tlsalign-extern-static): New variable.
548 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
550         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
551         Use variable name _sc_err instead of err.
552         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
553         instead of ret.
554         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
555         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
556         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
557         (INLINE_SYSCALL): Likewise.
559         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
560         * include/string.h (__strnlen): Use libc_hidden_proto.
561         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
562         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
563         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
564         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
565         (libc_hidden_def): Undefine and redefine.
566         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
567         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
568         __GI_strnlen.
569         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
570         libc_hidden_def.
571         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
573         [BZ #18469]
574         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
575         weak alias of __towlower.  Use libc_hidden_weak.
576         (towupper): Rename to __towupper and define as weak alias of
577         __towupper.  Use libc_hidden_weak.
578         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
579         (__towupper): Likewise.
580         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
581         __towlower instead of towlower.
583 2015-06-02  Roland McGrath  <roland@hack.frob.com>
585         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
586         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
588 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
590         * sysdeps/aarch64/libm-test-ulps: Update.
592 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
594         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
595         Define.
596         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
598         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
599         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
600         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
601         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
602         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
604 2015-06-01  Martin Sebor  <msebor@redhat.com>
606         [BZ #18116]
607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
608         (__setcontext): Use extended four-operand version of mtsf whenever
609         possible.
610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
611         (__novec_swapcontext): Likewise.
613 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
615         * benchtests/scripts/compare_bench.py: New file.
616         * benchtests/scripts/import_bench.py (mean): New function.
617         (split_list): Likewise.
618         (do_for_all_timings): Likewise.
619         (compress_timings): Likewise.
621         * benchtests/scripts/import_bench.py: New file.
622         * benchtests/scripts/validate_benchout.py: Import import_bench
623         instead of jsonschema.
624         (validate_bench): Remove function.
625         (main): Use import_bench.
627 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
629         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
630         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
632 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
636 2015-05-28  Roland McGrath  <roland@hack.frob.com>
638         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
639         set THREAD_SELF->tid to a magic value and futex-wake it.
640         Pass its address to the thread_exit system call.
641         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
642         bit is clear.
643         * sysdeps/nacl/lowlevellock.h: New file.
644         * sysdeps/nacl/lll_timedwait_tid.c: New file.
646         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
647         Add TIMEOUT to current time, don't subtract it.
649 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
651         [BZ #18422]
652         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
653         ($(objpfx)tst-audit2.out): Also depend on
654         $(objpfx)tst-auditmod9b.so.
655         * elf/tst-audit2.c: Include <dlfcn.h>.
656         (calloc_called): New.
657         (calloc): Allow to be called more than once.
658         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
660 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
662         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
663         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
665 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
667         * stdlib/monetary.h: Fix comment.
669 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
671         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
672         Avoid using variables in #defines that might cause shadowing.
673         (INTERNAL_VSYSCALL_CALL): Likewise.
675 2015-05-26  Roland McGrath  <roland@hack.frob.com>
677         * sysdeps/nacl/lll_timedlock_wait.c: New file.
679         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
680         * nptl/lll_timedlock_wait.c: ... to this new file.
681         * nptl/Makefile (libpthread-routines): Add it.
682         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
683         * nptl/lll_timedwait_tid.c: ... to this new file.
684         * nptl/Makefile (libpthread-routines): Add it.
685         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
686         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
687         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
688         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
689         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
690         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
691         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
692         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
693         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
694         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
696 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
698         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
699         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
700         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
701         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
702         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
704         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
706         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
707         * sysdeps/unix/sysv/linux/tile/sysdep.h
708         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
709         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
710         using vDSO syscall macro.
712 2015-05-26  Andriy Rysin  <arysin@gmail.com>
714         [BZ #17293]
715         * uk_UA: Fix sorting order for Ukrainian locale
717 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
719         * stdlib/monetary.h: Fix comment.
721 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
723         [BZ #18234]
724         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
725         st_mtim and st_ctim members.
726         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
727         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
728         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
729         (struct stat64): Likewise.
730         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
731         (struct stat64): Likewise.
732         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
733         (struct stat64): Likewise.
735 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
737         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
738         Define and include sysdep-vdso.h.
739         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
740         Likewise.
741         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
742         Likewise.
743         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
744         Define with VDSO_SYMBOL and use PTR_MANGLE.
745         (__vdso_clock_gettime): Likewise.
746         (__vdso_clock_getres): Likewise.
747         (_libc_vdso_platform_setup): Likewise.
748         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
749         Likewise.
750         (_libc_vdso_platform_setup): Likewise.
751         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
752         Likewise.
753         (__vdso_clock_gettime): Likewise.
754         (__vdso_clock_getres): Likewise.
755         (__vdso_get_tbfreq): Likewise.
756         (__vdso_getcpu): Likewise.
757         (__vdso_time): Likewise.
758         (__vdso_sigtramp_rt64): Likewise.
759         (__vdso_signtramp32): Likewise.
760         (__vdso_sigtramp_rt32): Likewise.
761         (_libc_vdso_platform_setup): Likewise.
762         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
763         Likewise.
764         (__vdso_clock_gettime): Likewise.
765         (__vdso_clock_getres): Likewise.
766         (_libc_vdso_platform_setup): Likewise.
767         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
768         Likewise.
769         (__vdso_clock_gettime): Likewise.
770         (_libc_vdso_platform_setup): Likewise.
771         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
772         Likewise.
773         (__vdso_getcpu): Likewise.
774         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
775         Use VDSO_SYMBOL macro to define.
776         (__vdso_clock_gettime): Likewise.
777         (__vdso_clock_getres): Likewise.
778         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
779         Likewise.
780         (__vdso_clock_gettime): Likewise.
781         (__vdso_clock_getres): Likewise.
782         (__vdso_get_tbfreq): Likewise.
783         (__vdso_getcpu): Likewise.
784         (__vdso_time): Likewise.
785         (__vdso_sigtramp_rt64): Likewise.
786         (__vdso_signtramp32): Likewise.
787         (__vdso_sigtramp_rt32): Likewise.
788         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
789         Likewise.
790         (__vdso_clock_gettime): Likewise.
791         (__vdso_clock_getres): Likewise.
792         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
793         Likewise.
794         (__vdso_clock_gettime): Likewise.
795         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
796         Likewise.
797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
798         macro.
799         (INTERNAL_VSYSCALL): Likewise.
800         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
801         Remove macro.
802         (INTERNAL_VSYSCALL): Likewise.
803         (INTERNAL_VSYSCALL_NCS): Likewise.
804         (INTERNAL_VSYSCALL_CALL): New macro.
805         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
807         Likewise.
808         (INTERNAL_VSYSCALL): Likewise.
809         (INTERNAL_VSYSCALL_NCS): Likewise.
810         (INTERNAL_VSYSCALL_CALL): New macro.
811         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
813         (INLINE_VSYSCALL): Remove macro.
814         (INTERNAL_VSYSCALL): Remove macro.
815         (INTERNAL_VSYSCALL_NCS): Remove macro.
816         (INTERNAL_VSYSCALL_CALL): New macro.
817         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
818         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
819         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
820         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
821         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
823         (INLINE_VSYSCALL): Remove macro.
824         (INTERNAL_VSYSCALL): Likewise.
825         (INTERNAL_VSYSCALL_NCS): Likewise.
826         (INTERNAL_VSYSCALL_CALL): New macro.
827         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
828         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
829         PTR_DEMANGLE on vDSO pointer.
830         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
831         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
832         macro.
833         (INTERNAL_SYSCALL): Likewise.
834         (INTERNAL_VSYSCALL_NCS): Remove macro.
835         (INTERNAL_VSYSCALL_CALL): New macro.
836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
837         Remove macro.
838         (INTERNAL_VSYSCALL): Likewise.
839         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
840         sysdep-vdso.h instead of libc-vdso.h.
841         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
842         definition.
843         (INLINE_VSYSCALL): Likewise.
844         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
845         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
846         definition.
847         (INLINE_VSYSCALL): Likewise.
848         (INTERNAL_VSYSCALL): Likewise.
849         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
850         * sysdeps/unix/sysv/linux/timespec_get.c
851         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
852         (timespec_get): Use ANSI prototype.
853         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
854         and definition for Linux.
856 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
858         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
859         * include/libc-symbols.h: libmvec_hidden_* macro series added.
861 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
863         [BZ #18410]
864         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
865         for missing DT_PLTRELSZ.
867 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
869         Remove obsolete aliases that broke 'locale -a'
870         [BZ #18412]
871         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
872         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
873         breaking some applications that use 'locale -a' output.
874         Change the encoding of this file from Latin-1 to ASCII to avoid
875         other potential problems with people grepping this file.
877 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
879         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
880         -fasynchronous-unwind-tables.
881         (CFLAGS-sendto.c): Likewise.
882         (CFLAGS-sendmsg.c): Likewise.
883         (CFLAGS-connect.c): Likewise.
884         (CFLAGS-recvmsg.c): Likewise.
885         (CFLAGS-recvfrom.c): Likewise.
886         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
887         (SOCKETCALL): New macro: non-cancellable socketcall.
888         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
889         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
890         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
891         * sysdeps/unix/sysv/linux/accept.c: New file.
892         * sysdeps/unix/sysv/linux/bind.c: Likewise.
893         * sysdeps/unix/sysv/linux/connect.c: Likewise.
894         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
895         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
896         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
897         * sysdeps/unix/sysv/linux/listen.c: Likewise.
898         * sysdeps/unix/sysv/linux/recv.c: Likewise.
899         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
900         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
901         * sysdeps/unix/sysv/linux/send.c: Likewise.
902         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
903         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
904         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
905         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
906         * sysdeps/unix/sysv/linux/socket.c: Likewise.
907         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
908         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
909         prototype.
910         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
911         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
912         instead of __internal_xxx function.
913         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
914         prototype.
915         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
916         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
917         instead of __internal_xxx function.
918         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
919         prototype.
920         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
921         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
922         instead of __internal_xxx function.
923         * sysdeps/unix/sysv/linux/accept.S: Remove file.
924         * sysdeps/unix/sysv/linux/bind.S: Likewise.
925         * sysdeps/unix/sysv/linux/connect.S: Likewise.
926         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
927         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
928         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
929         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
930         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
931         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
932         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
933         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
934         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
935         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
936         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
937         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
938         * sysdeps/unix/sysv/linux/listen.S: Likewise.
939         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
940         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
941         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
942         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
945         * sysdeps/unix/sysv/linux/recv.S: Likewise.
946         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
947         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
948         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
949         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
950         * sysdeps/unix/sysv/linux/send.S: Likewise.
951         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
952         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
953         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
954         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
955         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
956         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
957         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
958         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
959         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
960         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
961         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
962         socketcall is implemented in GLIBC.
964 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
966         * soft-fp/fmadf4.c: Include <libc-internal.h>.
967         (__fma): Ignore uninitialized warnings around packing.
968         * soft-fp/fmasf4.c: Include <libc-internal.h>.
969         (__fmaf): Ignore uninitialized warnings around packing.
970         * soft-fp/fmatf4.c: Include <libc-internal.h>.
971         (__fmal): Ignore uninitialized warnings around packing.
973         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
974         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
975         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
976         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
978         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
979         switch statement into default case.
980         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
982         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
983         a conditional in forcing "inexact".
984         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
985         Likewise.
987 2015-05-22  Roland McGrath  <roland@hack.frob.com>
989         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
990         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
991         for each INTERNAL_SYSCALL use.
993 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
995         [BZ #438]
996         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
997         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
998         variable.
1000         [BZ #18444]
1001         * string/basename.c (basename): Rename to __basename and define as
1002         weak alias of __basename.  Use libc_hidden_weak.
1003         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1004         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1005         __basename instead of basename.
1006         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1007         Remove variable.
1008         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1010 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1012         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1013         (_IO_JUMPS_FILE_plus): New.
1014         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1015         _IO_CAST_FIELD_ACCESS.
1016         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1017         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1018         * libio/freopen.c (freopen): Likewise.
1019         * libio/freopen64.c (freopen64): Likewise.
1020         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1021         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1022         * libio/iofwide.c (_IO_fwide): Likewise.
1023         * libio/memstream.c (open_memstream): Likewise.
1024         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1025         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1026         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1028 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1030         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1031         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1032         NADJ.
1033         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1034         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1035         NADJ.
1036         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1037         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1038         NADJ.
1040         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1041         (p == 4) case.
1043         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1044         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1045         Remove variable.
1046         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1047         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1048         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1050 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1052         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1053         Adjust jump table label generation macros.
1055 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1057         * stdio-common/vfprintf.c (vfprintf): Move local variables
1058         args_malloced, specs, specs_malloced, and the code after
1059         do_positional to the printf_positional function.
1060         (printf_positional): New function.
1062 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1064         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1065         function.
1066         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1067         STEP4_TABLE, process_arg): Move macro definitions
1068         out of the vfprintf function.  (Cosmetic change only.)
1070 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1072         * benchtests/Makefile (stdio-common-bench): Define.
1073         (benchset): Add stdio-common-bench.
1074         * sprintf-inputs: New file.
1075         * sprintf-source.c: New file.
1077 2015-05-21  Andreas Schwab  <schwab@suse.de>
1079         [BZ #13028]
1080         [BZ #17053]
1081         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1082         of struct __res_state.
1083         * resolv/res_send.c (__libc_res_nsend): Likewise.
1084         (get_nsaddr): New function.
1085         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1086         statp directly.
1088 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1090         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1091         -D_POSIX_C_SOURCE=199506L.
1093         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1095         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1096         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1097         Do not mention otherwise.
1098         [POSIX] (_XOPEN_VERSION): Do not expect.
1099         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1100         [POSIX] (_POSIX2_C_BIND): Likewise.
1101         [POSIX] (_POSIX2_VERSION): Likewise.
1102         [POSIX] (_XOPEN_XPG2): Likewise.
1103         [POSIX] (_XOPEN_XPG3): Likewise.
1104         [POSIX] (_XOPEN_XPG4): Likewise.
1105         [POSIX] (_XOPEN_UNIX): Likewise.
1106         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1107         [POSIX] (_POSIX_BARRIERS): Likewise.
1108         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1109         [POSIX] (_POSIX_CPUTIME): Likewise.
1110         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1111         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1112         [POSIX] (_POSIX_SHELL): Likewise.
1113         [POSIX] (_POSIX_SPAWN): Likewise.
1114         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1115         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1116         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1117         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1118         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1119         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1120         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1121         [POSIX] (_XBS5_LP64_OFF64): Likewise.
1122         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1123         [POSIX] (_POSIX_TIMEOUTS): Likewise.
1124         [POSIX] (_POSIX2_PBS): Likewise.
1125         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1126         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1127         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1128         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1129         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1130         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1131         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1132         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1133         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1134         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1135         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1136         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1137         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1138         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1139         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1140         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1141         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1142         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1143         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1144         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1145         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1146         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1147         [POSIX] (_SC_2_C_BIND): Likewise.
1148         [POSIX] (_SC_2_C_VERSION): Likewise.
1149         [POSIX] (_SC_2_PBS): Likewise.
1150         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1151         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1152         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1153         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1154         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1155         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1156         [POSIX] (_SC_BARRIERS): Likewise.
1157         [POSIX] (_SC_BASE): Likewise.
1158         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1159         [POSIX] (_SC_DEVICE_IO): Likewise.
1160         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1161         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1162         [POSIX] (_SC_FD_MGMT): Likewise.
1163         [POSIX] (_SC_FIFO): Likewise.
1164         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1165         [POSIX] (_SC_FILE_LOCKING): Likewise.
1166         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1167         [POSIX] (_SC_IOV_MAX): Likewise.
1168         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1169         [POSIX] (_SC_NETWORKING): Likewise.
1170         [POSIX] (_SC_PAGE_SIZE): Likewise.
1171         [POSIX] (_SC_PASS_MAX): Likewise.
1172         [POSIX] (_SC_PIPE): Likewise.
1173         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1174         [POSIX] (_SC_REGEXP): Likewise.
1175         [POSIX] (_SC_SHELL): Likewise.
1176         [POSIX] (_SC_SIGNALS): Likewise.
1177         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1178         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1179         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1180         [POSIX] (_SC_USER_GROUPS): Likewise.
1181         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1182         [POSIX] (_SC_STREAMS): Likewise.
1183         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1184         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1185         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1186         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1187         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1188         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1189         [POSIX] (_PC_FILESIZEBITS): Likewise.
1190         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1191         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1192         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1193         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1194         [POSIX] (uid_t): Likewise.
1195         [POSIX] (gid_t): Likewise.
1196         [POSIX] (off_t): Likewise.
1197         [POSIX] (pid_t): Likewise.
1198         [POSIX] (cuserid): Allow.
1199         (_SC_2_CHAR_TERM): Require constant.
1200         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1201         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1202         variable.
1204 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1206         * sysdeps/nacl/pthread-pids.h: New file.
1207         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1208         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1210         * nptl/pthread-pids.h: New file.
1211         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1212         * nptl/nptl-init.c: Include <pthread-pids.h>.
1213         (__pthread_initialize_minimal_internal):
1214         Call __pthread_initialize_pids instead of set_tid_address syscall.
1216         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1217         * sysdeps/posix/usleep.c: ... here.
1219 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1221         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1222         call_pselect6 object.
1223         [$(subdir) = io]: Remove call_sync_file_range object.
1224         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1225         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1226         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1227         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1229 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
1231         * math/s_cproj.c: Add include "math_private.h".
1232         * math/s_cprojf.c: Likewise.
1233         * math/s_cprojl.c: Likewise.
1235 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
1237         [BZ #18244]
1238         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1239         high mantissa bit when testing whether P is a NaN.
1240         * math/libm-test.inc (remainder_test_data): Add more tests.
1241         (remquo_test_data): Likewise.
1243         [BZ #18049]
1244         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1245         below -32, return the argument, with underflow if subnormal.
1246         * math/auto-libm-test-in: Add more tests of atanh.
1247         * math/auto-libm-test-out: Regenerated.
1249 2015-05-19  Roland McGrath  <roland@hack.frob.com>
1251         [BZ #18434]
1252         * nptl/tst-sem15.c: New file.
1253         * nptl/Makefile (tests): Add it.
1254         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1255         s/<</>>/ to fix typo in EOVERFLOW check.
1256         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1258 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1260         * manual/strings.texi (envz_remove): Fix typo in safety
1261         annotations.
1263 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1264             Steve Ellcey  <sellcey@imgtec.com>
1266         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1267         in order to avoid strict alias warnings.
1268         (iruserok_af): Ditto for ra.
1270 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
1272         [BZ #17581]
1273         * malloc/hooks.c
1274         (magicbyte): Convert to a function and avoid returning 0x01.
1275         (mem2mem_check): Avoid using a length byte equal to the magic byte.
1276         (mem2chunk_check): Fix unsigned comparisons to zero.
1277         Hoist defs of sz and magic.
1279 2015-05-19  Richard Henderson  <rth@redhat.com>
1281         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1283         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1285 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1287         [BZ #16159]
1288         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1289         * malloc/arena.c (arena_lock): Check if arena is corrupt.
1290         (reused_arena): Find a non-corrupt arena.
1291         (heap_trim): Pass arena to unlink.
1292         * malloc/hooks.c (malloc_check_get_size): Pass arena to
1293         malloc_printerr.
1294         (top_check): Likewise.
1295         (free_check): Likewise.
1296         (realloc_check): Likewise.
1297         * malloc/malloc.c (malloc_printerr): Add arena argument.
1298         (unlink): Likewise.
1299         (munmap_chunk): Adjust.
1300         (ARENA_CORRUPTION_BIT): New macro.
1301         (arena_is_corrupt): Likewise.
1302         (set_arena_corrupt): Likewise.
1303         (sysmalloc): Use mmap if there are no usable arenas.
1304         (_int_malloc): Likewise.
1305         (__libc_malloc): Don't fail if arena_get returns NULL.
1306         (_mid_memalign): Likewise.
1307         (__libc_calloc): Likewise.
1308         (__libc_realloc): Adjust for additional argument to
1309         malloc_printerr.
1310         (_int_free): Likewise.
1311         (malloc_consolidate): Likewise.
1312         (_int_realloc): Likewise.
1313         (_int_memalign): Don't touch corrupt arenas.
1314         * malloc/tst-malloc-backtrace.c: New test case.
1316         * Makefile (summarize-tests): Fix return value on success.
1318         * manual/string.texi (Envz Functions): Add envz_remove.
1320 2015-05-18  Roland McGrath  <roland@hack.frob.com>
1322         * sysdeps/posix/opendir.c: Include <stdbool.h>.
1323         (invalid_name): New function, broken out of ...
1324         (__opendirat): ... here.  Call it.
1325         (need_isdir_precheck): New function, broken out of ...
1326         (__opendirat): ... here.  Call it.
1327         Use __fxstatat64, not __xstatat64.
1328         (opendir_oflags): New function, broken out of ...
1329         (__opendirat): ... here.  Call it.
1330         (opendir_tail): New function, broken out of ...
1331         (__opendirat): ... here.  Call it.
1332         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1333         opendir_tail, rather than punting to __opendirat.
1334         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1336 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1338         * .gitignore: Ignore generated *.pyc.
1340 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
1342         * include/stdio.h: Define __need_wint_t.
1343         * test-skeleton.c: Avoid `for' loop initial declaration.
1344         * nptl/tst-initializers1.c: Use test-skeleton.c.
1346 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1348         [BZ #18418]
1349         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1351 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1353         [BZ #16352]
1354         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1355         (__ieee754_atanh): Force underflow exception for results with
1356         small absolute value.
1357         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1358         (__ieee754_atanhf): Force underflow exception for results with
1359         small absolute value.
1360         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1361         (__ieee754_atanh): Force underflow exception for results with
1362         small absolute value.
1363         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1364         (__ieee754_atanhf): Force underflow exception for results with
1365         small absolute value.
1366         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1367         (__ieee754_atanhl): Force underflow exception for results with
1368         small absolute value.
1369         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1370         (__ieee754_atanhl): Force underflow exception for results with
1371         small absolute value.
1372         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1373         (__ieee754_atanhl): Force underflow exception for results with
1374         small absolute value.
1375         * math/auto-libm-test-in: Do not allow missing underflow
1376         exceptions from atanh.
1377         * math/auto-libm-test-out: Regenerated.
1379         [BZ #18221]
1380         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1381         2**-28 as threshold for returning x or +/- 1/x.
1382         * math/auto-libm-test-in: Add more tests of tan.
1383         * math/auto-libm-test-out: Regenerated.
1385         [BZ #18220]
1386         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1387         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1388         * math/auto-libm-test-in: Add another test of lgamma.
1389         * math/auto-libm-test-out: Regenerated.
1391 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
1393         * stdio-common/printf_fp.c (___printf_fp): Use abs.
1394         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
1395         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1396         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1397         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
1398         (ADD2A): Use fabs.  (SUB2A): Use fabs.
1399         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1400         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1401         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1402         (log1): Use fabs.  (my_log2): Use fabs.
1403         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1404         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1405         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1406         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1408         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
1409         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
1410         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
1411         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
1412         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1413         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1415 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1417         [BZ #18217]
1418         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1419         as threshold for returning 1 - x.
1420         * math/auto-libm-test-in: Add more tests of erfc.
1421         * math/auto-libm-test-out: Regenerated.
1423 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
1425         [BZ #18196]
1426         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1427         threshold for large arguments.
1428         * math/auto-libm-test-in: Add another test of atan.
1429         * math/auto-libm-test-out: Regenerated.
1431         [BZ #16339]
1432         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1433         (__log1p): Force underflow exception for results with small
1434         absolute value.
1435         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1436         (__log1pf): Force underflow exception for results with small
1437         absolute value.
1438         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1439         (__log1p): Force underflow exception for results with small
1440         absolute value.
1441         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1442         (__log1pf): Force underflow exception for results with small
1443         absolute value.
1444         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1445         (__log1pl): Force underflow exception for results with small
1446         absolute value.
1447         * math/auto-libm-test-in: Do not allow missing underflow
1448         exceptions from log1p.
1449         * math/auto-libm-test-out: Regenerated.
1451 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
1452             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1454         [BZ #16704]
1455         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1457 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
1459         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1460         (libmvec): New variable.
1461         * configure.ac: Added option for mathvec build.
1462         * configure: Regenerated.
1463         * mathvec/Depend: New file.
1464         * mathvec/Makefile: New file.
1465         * shlib-versions: Added libmvec.
1466         * math/Makefile: Added rule for libm.so installation.
1468         * bits/math-vector.h: New file.
1469         * bits/libm-simd-decl-stubs.h: New header.
1470         * math/Makefile (headers): Added new header
1471         libm-simd-decl-stubs.h.
1472         * math/math.h (__MATHCALL_VEC): New macro.
1474         * math/gen-libm-have-vector-test.sh: Script generates series of macros
1475         for conditions in testing functions.
1476         * math/Makefile: Added call of libm-have-vector-test.sh.
1477         * math/libm-test.inc (HAVE_VECTOR): New macros.
1479         * math/libm-test.inc: START refactored.
1480         * math/test-double.c (TEST_MATHVEC): Add define.
1481         * math/test-float.c: Likewise.
1482         * math/test-idouble.c: Likewise.
1483         * math/test-ifloat.c: Likewise.
1484         * math/test-ildoubl.c: Likewise.
1485         * math/test-ldouble.c: Likewise.
1486         * sysdeps/generic/math-tests-arch.h
1487         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1488         architecture check.
1490         * math/test-double.c (FUNC_TEST): New macro.
1491         * math/test-float.c: Likewise.
1492         * math/test-idouble.c: Likewise.
1493         * math/test-ifloat.c: Likewise.
1494         * math/test-ildoubl.c: Likewise.
1495         * math/test-ldouble.c: Likewise.
1496         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1498 2015-05-13  Roland McGrath  <roland@hack.frob.com>
1500         * sysdeps/nacl/fdopendir.c: New file.
1502         * dirent/scandir-tail.c: New file.
1503         * dirent/scandir64-tail.c: New file.
1504         * dirent/Makefile (routines): Add them.
1505         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1506         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1507         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1508         [!SCANDIR] (SCANDIR_TAIL): New macro.
1509         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1510         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1511         (SCANDIRAT): Macro removed.
1512         (SCANDIR_TAIL): New macro.
1513         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1514         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1515         (SCANDIRAT): Just call __opendirat and __scandir_tail.
1516         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1517         (READDIR): Macro removed.
1518         (SCANDIR_TAIL): New macro.
1519         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1520         (SCANDIR_TAIL): New macro.
1522         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1523         * dirent/scandir-cancel.c: ... to this new file.
1524         * dirent/Makefile (routines): Add it.
1525         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1526         * sysdeps/unix/sysv/linux/i386/scandir64.c
1527         (SKIP_SCANDIR_CANCEL): Macro removed.
1528         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1530         * dirent/tst-scandir.c: New file.
1531         * dirent/tst-scandir64.c: New file.
1532         * dirent/Makefile (tests): Add them.
1534 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1536         [BZ #18409]
1537         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1539 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1541         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1542         list.
1544 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
1546         * benchtests/bench-strcoll.c: New benchmark.
1547         * benchtests/Makefile: Generate locales and run benchmark.
1548         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1549         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1550         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1551         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1552         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1553         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1554         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1555         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1556         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1557         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1558         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1559         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1560         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1561         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1562         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1563         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1564         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1565         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1566         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1567         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1568         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1569         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1570         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1571         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1573 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
1575         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1576         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1578 2015-05-12  Roland McGrath  <roland@hack.frob.com>
1580         * posix/uname-values.h: New file.
1581         * posix/uname.c: Include that instead of <config-name.h>.
1582         * sysdeps/nacl/uname-values.h: New file.
1583         * sysdeps/arm/nacl/uname-values.h: New file.
1585 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
1587         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1588         splitting into fields.
1590 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
1592         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1593         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1594         * locale/localeinfo.h: Add enum collation_encoding_type.
1595         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1596         * programs/ld-collate.c (collate_output): Add encoding type info.
1597         * string/strcoll_l.c (STRDIFF): New function.
1598         * (STRCOLL): Use STRDIFF to skip over equal prefix.
1599         * wcsmbs/wcscoll_l.c: Define STRDIFF.
1601 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
1603         [BZ #18397]
1604         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1605         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
1606         <fpu_control.h> instead of <math/fpu_control.c>.
1607         * sysdeps/mips/mips32/fpu/Makefile: New file.
1609 2015-05-11  Andreas Schwab  <schwab@suse.de>
1611         [BZ #18007]
1612         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1613         nss_endgrent.
1614         (_nss_compat_endgrent): Call nss_endgrent.
1615         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1616         nss_endpwent.
1617         (_nss_compat_endpwent): Call nss_endpwent.
1618         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1619         needent, call nss_setspent only if non-zero.
1620         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1621         (internal_endspent): Don't call nss_endspent.
1622         (_nss_compat_endspent): Call nss_endspent.
1623         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1624         Remove.  All uses removed.
1625         (internal_setent): Remove parameter stayopen, add parameter
1626         stream.  Use it instead of global variable.
1627         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1628         (internal_endent, internal_getent): Add parameter stream.  Use it
1629         instead of global variable.
1630         (CONCAT(_nss_files_end,ENTNAME))
1631         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1632         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
1633         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
1634         uses removed.
1635         (internal_setent, internal_endent): Add parameter stream.  Use it
1636         instead of global variable.
1637         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1638         stream.
1639         (get_next_alias): Add parameter stream.
1640         (_nss_files_getaliasent_r): Pass global stream.
1641         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
1642         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1643         (_nss_files_gethostbyname4_r): Pass local stream to
1644         internal_setent, internal_getent and internal_endent.  Remove
1645         locking.
1647 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1649         * tst-strfmon1.c (tests): Update expected currency symbol.
1651 2015-05-08  Roland McGrath  <roland@hack.frob.com>
1653         * sysdeps/nacl/gethostname.c: New file.
1655 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
1657         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1658         and sinh.
1659         * math/auto-libm-test-out: Regenerated.
1660         * sysdeps/i386/fpu/libm-test-ulps: Update.
1661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1663 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
1665         [BZ #18125]
1666         * stdlib/tst-setcontext3.c: New file.
1667         * stdlib/tst-setcontext3.sh: New file.
1668         * stdlib/Makefile (tests): Add tst-setcontext3.
1669         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1670         to verify test program created output file.
1671         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1672         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1673         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1674         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1676 2015-05-06  Roland McGrath  <roland@hack.frob.com>
1678         [BZ #18383]
1679         * elf/tst-tlsalign.c: New file.
1680         * elf/tst-tlsalign-static.c: New file.
1681         * elf/tst-tlsalign-lib.c: New file.
1682         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1683         (tests-static): Add tst-tlsalign-static.
1684         (modules-names): Add tst-tlsalign-lib.
1685         (test-xfail-tst-tlsalign): New variable.
1686         (test-xfail-tst-tlsalign-static): New variable.
1688         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1689         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1691 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
1693         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1694         csqrt, erfc, sin and sincos.
1695         * math/auto-libm-test-out: Regenerated.
1696         * sysdeps/i386/fpu/libm-test-ulps: Update.
1697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1699 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1701         * sysdeps/aarch64/libm-test-ulps: Update.
1703 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
1705         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1706         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1707         * math/auto-libm-test-out: Regenerated.
1708         * sysdeps/i386/fpu/libm-test-ulps: Update.
1709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1711 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1713         [BZ #18265]
1714         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1715         (wcsncpy): Likewise.
1717 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1719         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1720         Assume __ASSUME_FALLOCATE is always true.
1721         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1722         (__posix_fallocate64_l64): Likweise.
1723         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1724         (posix_fallocate): Likewise.
1725         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1726         (__posix_fallocate64_l64): Likewise.
1727         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1728         [!__ASSUME_FALLOCATE]: Add comment.
1730 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1732         * sysdeps/unix/sysv/linux/i386/Makefile
1733         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1734         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1735         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1736         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1737         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1738         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1739         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1741 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
1743         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1744         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1745         tgamma.
1746         * math/auto-libm-test-out: Regenerated.
1747         * sysdeps/i386/fpu/libm-test-ulps: Update.
1748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1750 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1752         * math/auto-libm-test-in: Add more tests of tgamma.
1753         * math/auto-libm-test-out: Regenerated.
1754         * sysdeps/i386/fpu/libm-test-ulps: Update.
1755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1757         * math/auto-libm-test-in: Add more tests of tanh.
1758         * math/auto-libm-test-out: Regenerated.
1759         * sysdeps/i386/fpu/libm-test-ulps: Update.
1760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1762         * math/auto-libm-test-in: Add more tests of tan.
1763         * math/auto-libm-test-out: Regenerated.
1764         * sysdeps/i386/fpu/libm-test-ulps: Update.
1765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1767         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1768         * math/auto-libm-test-out: Regenerated.
1769         * sysdeps/i386/fpu/libm-test-ulps: Update.
1770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1772         * math/auto-libm-test-in: Add another test of pow.
1773         * math/auto-libm-test-out: Regenerated.
1774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1776         * math/auto-libm-test-in: Add more tests of lgamma.
1777         * math/auto-libm-test-out: Regenerated.
1778         * sysdeps/i386/fpu/libm-test-ulps: Update.
1779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1781         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1782         log1p.
1783         * math/auto-libm-test-out: Regenerated.
1784         * sysdeps/i386/fpu/libm-test-ulps: Update.
1785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1787 2015-05-01  Mark Wielaard  <mjw@redhat.com>
1789         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1790         Elf64_Chdr structs and ELFCOMPRESS constants.
1792 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1794         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1795         expm1.
1796         * math/auto-libm-test-out: Regenerated.
1797         * sysdeps/i386/fpu/libm-test-ulps: Update.
1798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1800         * math/auto-libm-test-in: Add more tests of erf and erfc.
1801         * math/auto-libm-test-out: Regenerated.
1802         * sysdeps/i386/fpu/libm-test-ulps: Update.
1803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1805 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1807         * config.h.in (HAVE_AARCH64_BE): Add.
1809 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
1811         * math/auto-libm-test-in: Add more tests of csqrt.
1812         * math/auto-libm-test-out: Regenerated.
1813         * sysdeps/i386/fpu/libm-test-ulps: Update.
1814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1816         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1817         * math/auto-libm-test-out: Regenerated.
1818         * sysdeps/i386/fpu/libm-test-ulps: Update.
1819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1821         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1823 2015-04-29  Roland McGrath  <roland@hack.frob.com>
1825         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1826         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1828         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1829         (euidaccess, eaccess): Define as weak aliases.
1831         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1832         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
1833         but __suseconds_t is often 'long int' so some sources assume that
1834         type is being used (e.g. they use %ld to print tv_usec).
1836 2015-04-29  Florian Weimer  <fweimer@redhat.com>
1838         [BZ #18007]
1839         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1840         (CVE-2014-8121)
1841         * nss/tst-nss-getpwent.c: New file.
1842         * nss/Makefile (tests): Add new test.
1844 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
1846         [BZ #18346]
1847         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1848         exponents less than 48 as cases where high part of mantissa needs
1849         examining to determine whether argument is integral.
1850         * math/libm-test.inc (round_test_data): Add more tests.
1852 2015-04-28  Mark Wielaard  <mjw@redhat.com>
1854         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1856 2015-04-27  David S. Miller  <davem@davemloft.net>
1858         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1859         __tls_get_addr.
1860         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1862 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1864         [BZ#18333]
1865         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1867 2015-04-27  Florian Weimer  <fweimer@redhat.com>
1869         [BZ#18333]
1870         * time/tzset.c (parse_tzname): Return error on memory allocation
1871         failure.
1872         * test-skeleton.c (struct temp_name_list): Change type of name
1873         member to non-const.
1874         (add_temp_file): Create a copy of the file name.
1875         (delete_temp_files): Deallocate memory.
1876         (create_temp_file): Add comment.
1878 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1880         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1881         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1883 2015-04-24  Roland McGrath  <roland@hack.frob.com>
1885         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1886         * sysdeps/arm/configure: Regenerated.
1888 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1890         [BZ #17715]
1891         * time/tzfile.c (__tzfile_read): Check for large values of
1892         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
1893         * time/tzset.c (__tzstring_len): New function, based on the old
1894         __tzstring function.
1895         (__tzstring): Call __tzstring_len.
1896         (parse_tzname): New helper function extracted from
1897         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
1898         the input string.
1899         (parse_offset): New helper function extracted from
1900         __tzset_parse_tz.  Replace switch with fallthrough with
1901         initialization before sscanf.
1902         (parse_rule): Likewise.
1903         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
1904         new-style function definition.
1905         * timezone/Makefile (tests): Add tst-tzset.
1906         (tst-tzset.out): Dependencies on time zone files.
1907         (tst-tzset-ENV): Set TZDIR.
1908         (testdata/XT%): Copy crafted time zone files.
1909         * timezone/README: Mention crafted time zone files.
1910         * timezone/testdata/XT1, timezone/testdata/XT2,
1911         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1912         files.
1913         * timezone/tst-tzset.c: New test.
1915 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1917         * Makeconfig (+gccwarn): Remove -Winline.
1919 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1921         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1923 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1925         * NEWS: Mention sysconf() cache information support for s390.
1926         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1928 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
1930         * math/k_casinh.c (__kernel_casinh): Use __copysign.
1931         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1932         (__nearbyint): Likewise.
1933         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1934         (copysignl): Likewise.
1936 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
1938         [BZ #18287]
1939         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1940         based on padding.  (CVE-2015-1781)
1942 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1944         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1945         libc-vdso.h.
1946         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1947         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1948         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1949         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1950         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1951         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1952         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1953         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1954         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1955         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1956         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1957         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1958         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1959         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1960         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1961         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1962         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1963         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1964         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1965         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1966         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1967         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1968         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1970 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1972         * stdlib/setenv.c (__add_to_environ):
1973         Dump core quickly if setenv (..., NULL, ...) is called.
1974         This time, do it the right way, and pacify GCC with a pragma.
1976 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1978         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1979         IMAP->l_prev cannot be null, and #if out the code for the contrary
1980         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1981         believe that NS (&_dl_ns[NSID]) could point outside the array.
1983         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1984         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1985         before using NSID as an index.
1987 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
1989         [BZ #17825]
1990         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1991         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1992         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1994 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1996         Add preliminary port to Google Native Client on ARM.
1997         * abi-tags (.*-.*-nacl.*): New entry.
1998         * sysdeps/arm/nacl: New directory.
1999         * sysdeps/nacl: New directory.
2001 2015-04-16  David S. Miller  <davem@davemloft.net>
2003         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2004         lowlevellock-futex.h
2006 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2008         * sysdeps/tile/configure.ac: New file.
2009         * sysdeps/tile/configure: Regenerated.
2011 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2013         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2014         conditionals for weak_alias and libc_hidden_weak.
2015         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2016         libc_hidden_weak and weak_alias.
2017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2018         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2019         and weak_alias for static one.
2021 2015-04-15  David S. Miller  <davem@davemloft.net>
2023         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2025 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2027         [BZ #18206]
2028         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2029           Use signed comparision instead of substraction to avoid
2030           overflow bug.
2031         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2032           Take the sign of ret.
2033         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2034           Do not expect precise return values. Only the sign matters.
2035         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2036         * wcsmbs/test-wcsncmp.c: New File.
2037         * string/test-strncmp.c: Add wcsncmp support.
2039 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2041         [BZ #6792]
2042         * math/w_log1p.c: New file.
2043         * math/w_log1pf.c: Likewise.
2044         * math/w_log1pl.c: Likewise.
2045         * math/Makefile (libm-calls): Add w_log1p.
2046         * math/s_log1pl.c (log1pl): Remove weak_alias.
2047         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2048         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2049         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2050         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2051         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2052         [NO_LONG_DOUBLE] (log1pl): Likewise.
2053         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2054         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2055         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2056         (log1p): Remove long_double_symbol.
2057         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2058         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2059         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2060         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2061         remove weak_alias for corresponding log1p function.
2062         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2063         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2064         * sysdeps/ia64/fpu/w_log1p.c: New file.
2065         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2066         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2067         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2069 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2071         [BZ #18247]
2072         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2073         decimal exponent by 1.
2074         * stdlib/tst-strtod-round-data: Add more tests.
2075         * stdlib/tst-strtod-round.c (tests): Regenerated.
2077 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2079         * math/auto-libm-test-in: Add more tests of clog and clog10.
2080         * math/auto-libm-test-out: Regenerated.
2081         * sysdeps/i386/fpu/libm-test-ulps: Update.
2082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2084 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2086         * Makeconfig (module-cppflags): Exclude all .v.i files.
2087         (skip-module-cppflags): Variable removed.
2089         * configure.ac (libc_config_ok): Initialize before reading
2090         preconfigure scripts, not after.
2091         * configure: Regenerated.
2093         * test-skeleton.c (TIMEOUT): Move #define to top level.
2094         (main): Grok environment variable TEST_DIRECT.  If set, print
2095         test expectation details into that file and then behave as if
2096         given --direct.
2098 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2100         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2101         warning on 32-bit.
2103 2015-04-08  David S. Miller  <davem@davemloft.net>
2105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2107 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2109         * math/auto-libm-test-in: Add more tests of atanh.
2110         * math/auto-libm-test-out: Regenerated.
2111         * sysdeps/i386/fpu/libm-test-ulps: Update.
2112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2114         * math/auto-libm-test-in: Add more tests of atan.
2115         * math/auto-libm-test-out: Regenerated.
2116         * sysdeps/i386/fpu/libm-test-ulps: Update.
2117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2119 2015-04-08  Florian Weimer  <fweimer@redhat.com>
2121         * elf/pldd.c (main): Rewrite to use struct
2122         scratch_buffer instead of extend_alloca.
2123         * elf/pldd-xx.c (find_maps): Likewise.
2124         * grp/initgroups.c: Include <scratch_buffer.h> instead of
2125         <alloca.h>.
2126         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2127         scratch_buffer instead of extend_alloca.
2128         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2129         grp/compat-initgroups.c.
2130         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2131         Rewrite to use struct scratch_buffer instead of extend_alloca.
2132         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2133         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2135 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2137         * math/auto-libm-test-in: Add more tests of cbrt.
2138         * math/auto-libm-test-out: Regenerated.
2139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2141         * math/auto-libm-test-in: Add more tests of cabs.
2142         * math/auto-libm-test-out: Regenerated.
2143         * sysdeps/i386/fpu/libm-test-ulps: Update.
2144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2146         [BZ #18210]
2147         [BZ #18211]
2148         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2149         (__ieee754_atan2): Set FE_TONEAREST mode for internal
2150         computations.
2151         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2152         clog10.
2153         * math/auto-libm-test-out: Regenerated.
2154         * sysdeps/i386/fpu/libm-test-ulps: Update.
2155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2157         [BZ #18197]
2158         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2159         (atan): Set FE_TONEAREST mode for internal computations.
2160         * math/auto-libm-test-in: Add more tests of atan.
2161         * math/auto-libm-test-out: Regenerated.
2163 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2165         [BZ #17930]
2166         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2168 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2170         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2172 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2174         * include/scratch_buffer.h: New file.
2175         * malloc/scratch_buffer_grow.c: Likewise.
2176         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2177         * malloc/scratch_buffer_set_array_size.c: Likewise.
2178         * malloc/tst-scratch_buffer.c: Likewise.
2179         * malloc/Makefile (routines): Add scratch_buffer_grow.
2180         (tests): Add test case.
2181         * malloc/Versions (GLIBC_PRIVATE): Export
2182         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2183         __libc_scratch_buffer_set_array_size.
2185 2015-04-06  Richard Henderson  <rth@redhat.com>
2187         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2188         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2190         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2191         unsigned int before printing.
2193 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2195         [BZ #17596]
2196         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2197         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2199 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2201         * include/libc-internal.h (libc_max_align_t): Define.
2203 2015-04-02  Andreas Schwab  <schwab@suse.de>
2205         [BZ #16850]
2206         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2208 2015-04-02  Mel Gorman  <mgorman@suse.de>
2210         [BZ #17195]
2211         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2212         as well as the main arena.
2214 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2216         [BZ #18185]
2217         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2218         sharing L2 cache to 2 for Silvermont/Knights Landing.
2220 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2222         [BZ #17711]
2223         * config.make.in (have-protected-data): New.
2224         * configure.ac: Check linker support for protected data symbol.
2225         * configure: Regenerated.
2226         * elf/Makefile (modules-names): Add tst-protected1moda and
2227         tst-protected1modb if $(have-protected-data) is yes.
2228         (tests): Add tst-protected1a and tst-protected1b if
2229         $(have-protected-data) is yes.
2230         ($(objpfx)tst-protected1a): New.
2231         ($(objpfx)tst-protected1b): Likewise.
2232         (tst-protected1modb.so-no-z-defs): Likewise.
2233         * elf/tst-protected1a.c: New file.
2234         * elf/tst-protected1b.c: Likewise.
2235         * elf/tst-protected1mod.h: Likewise.
2236         * elf/tst-protected1moda.c: Likewise.
2237         * elf/tst-protected1modb.c: Likewise.
2239 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2241         [BZ #17711]
2242         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2243         indicates it is called from do_lookup_x on relocation against
2244         protected data, skip the data definion in the executable from
2245         copy reloc.
2246         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2247         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2248         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2249         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2250         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2251         otherwise to 0.
2252         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2253         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2254         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2255         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2256         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2257         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2259 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
2261         * sysdeps/nptl/pthread.h: Remove duplicate definition of
2262         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2264 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
2266         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2267         THREAD_SETMEM_NC.
2268         * sysdeps/x86_64/nptl/tls.h: Ditto.
2270 2015-03-27  Roland McGrath  <roland@hack.frob.com>
2272         * dlfcn/tststatic.c (main): Converted to ...
2273         (do_test): ... this.
2274         (TEST_FUNCTION): New macro.
2275         Include test-skeleton.c.
2277 2015-03-26  Alan Modra  <amodra@gmail.com>
2279         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2280         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
2281         zero for undefined weak.
2282         (elf_machine_plt_conflict): Similarly.
2284 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2286         * math/auto-libm-test-in: Add more tests of acosh, asinh and
2287         atanh.
2288         * math/auto-libm-test-out: Regenerated.
2289         * sysdeps/i386/fpu/libm-test-ulps: Update.
2290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2292         * math/auto-libm-test-in: Add another test of asin.
2293         * math/auto-libm-test-out: Regenerated.
2294         * sysdeps/i386/fpu/libm-test-ulps: Update.
2295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2297         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2298         Remove macro.
2299         (LLL_EBX_REG): Likewise.
2300         (LLL_ENTER_KERNEL): Likewise.
2302         * math/auto-libm-test-in: Add more tests of asin.
2303         * math/auto-libm-test-out: Regenerated.
2304         * sysdeps/i386/fpu/libm-test-ulps: Update.
2305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2307         [BZ #18138]
2308         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2309         libc_do_syscall_args): New structure.
2310         (INTERNAL_SYSCALL_MAIN_0): New macro.
2311         (INTERNAL_SYSCALL_MAIN_1): Likewise.
2312         (INTERNAL_SYSCALL_MAIN_2): Likewise.
2313         (INTERNAL_SYSCALL_MAIN_3): Likewise.
2314         (INTERNAL_SYSCALL_MAIN_4): Likewise.
2315         (INTERNAL_SYSCALL_MAIN_5): Likewise.
2316         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
2317         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2318         Replace conditional definitions by conditional definitions of ....
2319         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
2320         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2321         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2322         (libpthread-sysdep_routines): Add libc-do-syscall.
2323         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2324         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2325         to __NR_futex not 240.
2327 2015-03-25  Alan Modra  <amodra@gmail.com>
2329         * NEWS: Advertise TLS optimization.
2330         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2331         (DT_PPC_NUM): Increment.
2332         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2333         (CHECK_STATIC_TLS): Use here.
2334         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2335         TLS descriptors.
2336         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2337         * sysdeps/powerpc/dl-tls.c: New file.
2338         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2339         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2340         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2341         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2346 2015-03-25  Alan Modra  <amodra@gmail.com>
2348         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2349         for overlapping .opd entries" to "support...".
2350         * sysdeps/powerpc/powerpc64/configure: Regenerate
2352 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2354         * math/auto-libm-test-in: Add more tests of acos.
2355         * math/auto-libm-test-out: Regenerated.
2356         * sysdeps/i386/fpu/libm-test-ulps: Update.
2357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2359         * math/auto-libm-test-in: Add more tests of expm1.
2360         * math/auto-libm-test-out: Regenerated.
2361         * sysdeps/i386/fpu/libm-test-ulps: Update.
2362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2364 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
2366         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2367         * math/auto-libm-test-out: Regenerated.
2368         * sysdeps/i386/fpu/libm-test-ulps: Update.
2369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2371         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2374         * math/auto-libm-test-in: Add more tests of log2.
2375         * math/auto-libm-test-out: Regenerated.
2376         * sysdeps/i386/fpu/libm-test-ulps: Update.
2377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379 2015-03-23  Roland McGrath  <roland@hack.frob.com>
2381         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2382         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
2383         _IO_IS_APPENDING bit in READ_WRITE instead.
2385 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2387         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2388         (__determine_cpumask_size): Replace extend_alloca with a
2389         variable-length array.  Do not treat res == 0 as an error.
2391 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2393         [BZ #18100]
2394         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2395         and integer overflow.
2396         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2397         (main): Add integer overflow tests.
2398         * manual/pattern.texi (Calling Wordexp): Document additional use
2399         for WRDE_SYNTAX.
2401 2015-03-23  Alan Modra  <amodra@gmail.com>
2403         * config.h.in: Remove HAVE_ASM_PPC_REL16.
2404         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2405         and false branch of conditional.
2406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2407         Likewise.
2409 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
2411         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2412         libc-modules.h
2413         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2414         unused declaration of _hurd_intr_rpc_msg_in_trap.
2415         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2416         defined instead of whether it is non-zero.
2417         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2418         input constraint instead of both input and output constraint.  Use ecx
2419         clobber instead of %ecx.
2420         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2421         mutex_unlock): Use a statement expression instead of an expression list.
2422         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2423         type to vm_size_t instead of vm_address_t.
2424         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2425         defined instead of whether it is non-zero.
2426         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2427         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2428         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2429         comparisons with mapaddr.
2430         * nscd/nscd-client.h: Include <time.h>.
2431         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2432         9th parameter to __vm_region instead of int.
2433         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2434         * scripts/check-local-headers.sh (exclude): Add device/,
2435         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2436         cthreads.h.
2438 2015-03-19  Roland McGrath  <roland@hack.frob.com>
2440         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2441         to account for alignment padding.
2442         * sysdeps/arm/memmove.S: Likewise.
2444 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
2446         * sysdeps/unix/sysv/linux/generic/README: New file.
2448 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
2450         [BZ #18138]
2451         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2452         (futex_abstimed_wait)
2453         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2454         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2455         of lll_futex_timed_wait.
2457 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
2459         [BZ #17542]
2460         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2462 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
2464         [BZ #17090]
2465         [BZ #17620]
2466         [BZ #17621]
2467         [BZ #17628]
2468         * NEWS: Update.
2469         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2470         entries with Static TLS too.  Skip entries past the end of the
2471         allocated DTV, from Alan Modra.
2472         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
2473         Static TLS DTV entry set up from...
2474         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2475         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2476         * nptl/allocatestack.c (init_one_static_tls): ... and here...
2477         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2478         for Static TLS.
2479         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
2480         that the slot we find is associated with the given map before
2481         using its generation count.
2482         * nptl_db/db_info.c: Include ldsodefs.h.
2483         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2484         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2485         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2486         (link_map::l_tls_offset): New struct field.
2487         (dtv_t::counter): Likewise.
2488         (rtld_global): New struct.
2489         (_rtld_global): New rtld variable.
2490         (dl_tls_dtv_slotinfo_list): New rtld global field.
2491         (dtv_slotinfo_list): New struct.
2492         (dtv_slotinfo): Likewise.
2493         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2494         (td_lookup): Rename to...
2495         (td_mod_lookup): ... this.  Use new mod parameter instead of
2496         LIBPTHREAD_SO.
2497         * nptl_db/td_thr_tlsbase.c: Include link.h.
2498         (dtv_slotinfo_list, dtv_slotinfo): New functions.
2499         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
2500         addresses even if the DTV is out of date or missing them.
2501         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2502         index zero-length arrays.
2503         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2504         (td_lookup): Make it a macro implemented in terms of...
2505         (td_mod_lookup): ... this declaration.
2506         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2507         (DB_MAIN_VARIABLE): Likewise.
2509 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2511         [BZ #18134]
2512         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2514 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
2516         * stdlib/setenv.c (__add_to_environ): Revert previous change.
2518 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2520         [BZ #18128]
2521         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2522         (atomic_add, atomic_increment_and_test)
2523         (atomic_decrement_and_test): Fix 64-bit arithmetic.
2525 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
2527         * stdlib/setenv.c (__add_to_environ):
2528         Dump core quickly if setenv (..., NULL, ...) is called.
2530 2015-03-13  Roland McGrath  <roland@hack.frob.com>
2532         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2533         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2534         all the necessary asm magic in one place.
2535         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2536         using those.
2538 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
2540         [BZ #14906]
2541         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2542         traced file mtime. Use consistent log message.
2543         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2544         (register_traced_file): Call install_watches. Always set mtime.
2545         (invalidate_cache): Iterate over all trace files. Call install_watches.
2546         (inotify_check_files): Don't inline. Handle watching parent
2547         directories and configuration file movement in and out.
2548         (handle_inotify_events): New function.
2549         (main_loop_poll): Call handle_inotify_events.
2550         (main_loop_epoll): Likewise.
2551         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2552         (struct traced_file): Use array of inotify fds. Add parent directory,
2553         and basename.
2554         (struct database_dyn): Remove unused file_mtime.
2555         (init_traced_file): New inline function.
2556         (define_traced_file): New macro.
2557         * nss/nss_db/db-init.c: Use define_traced_file.
2558         (_nss_db_init): Use init_traced_file.
2559         * nss/nss_files/files-init.c: Use define_traced_file.
2560         (_nss_files_init): Use init_traced_file.
2562 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
2564         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2565         [_LIBC]: Do not include <stdlib.h>.
2566         [!_LIBC] (abort): Remove declaration.
2567         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2568         _FP_STATIC_ASSERT instead of conditionally calling abort.
2569         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2570         (_FP_EXTEND_CNAN): Likewise.
2571         (FP_TRUNC): Likewise.
2572         (__FP_CLZ): Likewise.
2573         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2575 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
2577         * manual/string.texi (XPG basename): Fix prototype.
2579 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2581         [BZ #18080]
2582         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2583         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2584         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2585         (__setcontext): Likewise.
2586         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2587         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2588         Call rt_sigprocmask syscall one time to set new signal mask
2589         and retrieve the current signal mask instead of two calls.
2590         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2591         (__swapcontext): Likewise.
2592         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2593         * stdlib/tst-setcontext2.c: New file.
2595 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2597         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2599 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
2601         [BZ #18093]
2602         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2603         the wrong size.
2605 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2607         [BZ #18043]
2608         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2610 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2612         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2613         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2614         Remove define.
2615         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2616         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2617         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2618         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2619         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2620         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2621         define.
2622         * nptl_db/td_symbol_list.c (td_lookup): Remove
2623         HAVE_ASM_GLOBAL_DOT_NAME code.
2624         * sysdeps/powerpc/powerpc64/configure.ac: Remove
2625         HAVE_ASM_GLOBAL_DOT_NAME check.
2626         * sysdeps/powerpc/powerpc64/configure: Regenerate.
2627         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2628         (DOT_LABEL): Remove define.
2629         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2630         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2631         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2632         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2633         (__TLS_GET_ADDR): Likewise.
2634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2635         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2637 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
2639         [BZ #18111]
2640         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2641         (_FPU_SETCW): Initialize cw from fpsr before storing.
2642         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2643         (fesetexceptflag): Rewrite using fpu_control.h.
2644         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2646 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
2648         [BZ #18110]
2649         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2650         asms.
2651         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2653 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
2655         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2656         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2657         abort.
2658         (_FP_FMA): Likewise.
2659         (_FP_DIV): Likewise.
2661 2015-03-10  Roland McGrath  <roland@hack.frob.com>
2663         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2664         with 0 in that case.
2665         * Makefile (summarize-tests): New canned sequence, factored out of
2666         commands for targets tests and xtests.  Display summary lines that
2667         don't start with PASS: or XFAIL: rather than ones that do start with
2668         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
2669         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2670         do start with ERROR: or FAIL:.
2671         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2672         (except for [$(build-shared) = yes]).
2673         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2674         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2675         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2676         * nptl/Makefile: Revert 2015-03-04 changes.
2677         [$(CXX) empty] (tests-unsupported): New variable.
2678         * debug/Makefile: Likewise.
2680         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2681         gnulib file.  Replace __attribute with __attribute__ throughout.
2683 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
2685         * sysdeps/hppa/fpu/libm-test-ulps: Update.
2687 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2689         [BZ #18104]
2690         * math/auto-libm-test-in: Add another test of pow.
2691         * math/auto-libm-test-out: Regenerated.
2693 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2695         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2696         $(config-cflags-nofma).
2698 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2700         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2701         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2702         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2703         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2704         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2705         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2706         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2707         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2708         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2709         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2710         Add comment on closing #endif.
2712 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2714         * posix/wordexp.c (CHAR_IN_SET): New macro.
2715         (parse_param): Use it.
2717 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2719         * sysdeps/powerpc/fpu/libm-test-ulps: update.
2721 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2723         [BZ #18043]
2724         * posix/wordexp.c (parse_param): Fix buffer overflow.
2725         * posix/wordexp-test.c (test_case): Add test case.
2727 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2729         [BZ #18042]
2730         * posix/wordexp.c (parse_backtick): Fix off-by-one.
2731         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2733 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2735         [BZ #18043]
2736         * posix/wordexp-test.c (test_case): Add test for BZ #18043
2737         (do_bz18043): Delete.
2738         (at_page_end): New.
2739         (testit): Refactor to have words at the edge of unreadable page.
2741 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2743         [BZ #16734]
2744         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2745         Cleanup read-only streams as well.
2746         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2748 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2750         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2751         <bits/libc-lockP.h>
2753 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
2755         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
2756         on [__KERNEL__].
2757         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2758         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2759         * soft-fp/op-common.h (_FP_DECL): Likewise.
2761 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2763         * elf/ifuncdep2.c (global): Replace
2764         __attribute__((visibility("protected"))) with
2765         asm (".protected global").
2766         * elf/ifuncmod1.c (global): Likewise.
2767         * elf/ifuncmod5.c (global): Likewise.
2769 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
2771         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2772         <asm/sfp-machine.h> instead of <sfp-machine.h>.
2774 2015-03-06  Roland McGrath  <roland@hack.frob.com>
2776         * manual/install.texi (Configuring and compiling):
2777         Document test-wrapper-env-only.
2778         * INSTALL: Regenerated.
2780 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2782         [BZ #18043]
2783         * posix/wordexp.c (parse_param): Fix buffer overflow.
2784         * posix/wordexp-test.c (do_bz18043): Add test case.
2786 2015-03-06  Vincent Bernat  <vincent@bernat.im>
2788         * time/tst-strptime2.c (do_test): Ensure failing tests are
2789         reported correctly.
2790         * time/tst-strptime3.c (do_test): Likewise.
2792 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
2794         Fix aio_error thread-safety.
2795         * sysdeps/pthread/aio_error.c: New file
2796         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2797         synchronization.
2799 2015-03-06  Florian Weimer  <fweimer@redhat.com>
2801         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2802         (group_number, vfprintf): Use it.
2803         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2804         (JUMP, REF): Use it.
2805         (WORK_BUFFER_SIZE): New enum constant.
2806         (process_arg, vfprintf): Use it.
2808 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
2810         * manual/errno.texi (Error Messages): Complete example function
2811         by adding missing #define.
2812         (program_invocation_name): Add statement indicating GNU
2813         extension and reference which header file declares the variable.
2814         (program_invocation_short_name): Likewise.
2816 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
2818         * manual/errno.texi (Error Messages): Delete strerror ISO C89
2819         compatibility note.
2821 2015-03-05  Roland McGrath  <roland@hack.frob.com>
2823         * Makeconfig (test-wrapper-env-only): New variable.
2824         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2825         then use that with $(test-wrapper-env-only) rather than using
2826         $(test-wrapper-env) $(run-program-env) $($*-ENV).
2828 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2830         [BZ #18082]
2831         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2832         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2833         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2834         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2835         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2836         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2837         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2838         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2839         Likewise.
2840         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2841         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2842         Likewise.
2843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2844         Likewise.
2845         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2846         Likewise.
2847         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2848         Likewise.
2849         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2850         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2851         Likewise.
2852         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2853         Likewise.
2854         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2855         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2857 2015-03-04  Roland McGrath  <roland@hack.frob.com>
2859         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2860         (ETH_ALEN): New macro.
2861         (struct ether_addr): Use it for length of ether_addr_octet.
2863         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2864         (setdb): Don't call __nss_configure_lookup for "rpc".
2865         (do_test): Don't call test_rpc.
2866         (output_rpcent, test_rpc): Functions moved ...
2867         * sunrpc/test-rpcent.c: ... to this new file.
2868         * sunrpc/Makefile (tests): Add it.
2870         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2871         __xpg_sigpause.
2872         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2873         * nptl/tst-signal6.c: Likewise.
2874         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2875         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2877         * configure.ac (libc_cv_cxx_link_ok): New check.
2878         Reset CXX to empty if it fails to link.
2879         * configure: Regenerated.
2880         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2881         bug-atexit3-lib only if $(CXX) is nonempty.
2882         * nptl/Makefile (tests): Likewise for tst-cancel24.
2883         (tests, tests-static): Likewise for tst-cancel24-static.
2884         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2885         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2886         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2887         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2889 2015-03-04  Andreas Schwab  <schwab@suse.de>
2891         [BZ #17631]
2892         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2893         for non-GCC compilers.
2894         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2895         Likewise.
2897 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2899         [BZ #17776]
2900         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2901         integer before bitwise and assembly operations.
2902         (feclearexcept): Likewise.
2903         * math/test-fenvinline.c: New file.
2904         * math/Makefile: Add test-fenvinline test.
2906 2015-03-03  Alan Modra  <amodra@gmail.com>
2908         [BZ #16512]
2909         * scripts/localplt.awk: Strip off symbol version.
2910         * NEWS: Mention bug fix.
2912 2015-03-02  Roland McGrath  <roland@hack.frob.com>
2914         * sysdeps/pthread/timer_routines.c
2915         (timer_free_list, thread_free_list, thread_active_list): Make static.
2917 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
2919         [BZ #17779]
2920         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2921         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2922         Undefine.
2923         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2924         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2925         Likewise.
2926         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2927         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2928         Likewise.
2930 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
2932         [BZ #18036]
2933         * posix/fnmatch_loop.c (END): Detect invalid pattern.
2934         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2936 2015-03-02  Andreas Schwab  <schwab@suse.de>
2938         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2939         variable name.
2941 2015-03-02  Florian Weimer  <fweimer@redhat.com>
2943         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2944         Return error status.
2946 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
2948         [BZ #15969]
2949         * locale/findlocale.c (_nl_find_locale): Introduce const
2950         version of loc_name and drop unsafe type casts.
2952 2015-02-27  Roland McGrath  <roland@hack.frob.com>
2954         * dlfcn/tststatic2.c (main): Converted to ...
2955         (do_test): ... this.
2956         (TEST_FUNCTION): New macro.
2957         Include test-skeleton.c.
2959 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
2961         [BZ #17711]
2962         * elf/Makefile (tests): Add vismain only if PIE is enabled.
2963         (tests-pie): Add vismain.
2964         (CFLAGS-vismain.c): New.
2965         * elf/vismain.c: Add comments for PIE requirement.
2967 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2969         [BZ #18046]
2970         [BZ #18047]
2971         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2972         0x1p-56L as threshold for just returning the argument.
2973         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2974         0x1p-32L as threshold for just returning the argument.
2975         * math/auto-libm-test-in: Add more tests of atanh.
2976         * math/auto-libm-test-out: Regenerated.
2977         * sysdeps/i386/fpu/libm-test-ulps: Update.
2978         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2980 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2982         * string/bcopy.c (bcopy): Call memmove for performance.
2984 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2986         * string/bzero.c (__bzero): Call memset for performance.
2988 2015-02-27  John David Anglin  <dave.anglin@bell.net>
2990         [BZ #18068]
2991         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2992         to 00100000.
2994 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2996         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2998 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3000         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3001         (__kernel_standard): Use CSTR macro when setting exc.name.
3002         * sysdeps/ieee754/Makefile [$(subdir) = math]
3003         (CFLAGS-k_standard.c): Remove variable.
3005         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3006         setting p and q from "else if" to "else".
3007         (qzero): Likewise.
3008         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3009         (qone): Likewise.
3010         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3011         (qzerof): Likewise.
3012         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3013         (qonef): Likewise.
3014         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3015         (qzero): Likewise.
3016         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3017         (qone): Likewise.
3019         [BZ #18038]
3020         [BZ #18039]
3021         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3022         return pi/2 for arguments below 0x1p-113L.
3023         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3024         return pi/2 for arguments below 0x1p-106L.
3025         * math/auto-libm-test-in: Add more tests of acos.
3026         * math/auto-libm-test-out: Regenerated.
3028         [BZ #16351]
3029         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3030         (MO): New macro.
3031         (__ieee754_asin): Force underflow exception for results with small
3032         absolute value.
3033         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3034         (MO): New macro.
3035         (__ieee754_asinf): Force underflow exception for results with
3036         small absolute value.
3037         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3038         (__ieee754_asin): Force underflow exception for results with small
3039         absolute value.
3040         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3041         (__ieee754_asinf): Force underflow exception for results with
3042         small absolute value.
3043         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3044         (__ieee754_asinl): Force underflow exception for results with
3045         small absolute value.
3046         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3047         (__ieee754_asinl): Force underflow exception for results with
3048         small absolute value.
3049         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3050         (__ieee754_asinl): Force underflow exception for results with
3051         small absolute value.
3052         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3053         Include <math.h>.
3054         * math/auto-libm-test-in: Do not mark underflow exceptions as
3055         possibly missing for bug 16351.
3056         * math/auto-libm-test-out: Regenerated.
3058         [BZ #18030]
3059         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3060         of power of 2 down when low part has opposite sign.
3061         * math/libm-test.inc (logb_test_data): Add more tests.
3063 2015-02-26  Andreas Schwab  <schwab@suse.de>
3065         [BZ #18032]
3066         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3067         over collating symbol inside a bracket expression.  Minor cleanup.
3068         * posix/tst-fnmatch3.c (do_test): Add test case.
3070 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3072         [BZ #18029]
3073         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3074         Adjust exponent of power of 2 down when low part has opposite
3075         sign.
3076         * math/libm-test.inc (ilogb_test_data): Add more tests.
3078 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3080         [BZ #15969]
3081         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3082         the previous change.
3084         [BZ #15969]
3085         * locale/findlocale.c (_nl_find_locale): Retry archive search
3086         after alias expansion.
3088 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3090         * iconv/tst-iconv3.c (main): Converted to ...
3091         (do_test): ... this.
3092         (TEST_FUNCTION): New macro.
3093         Include test-skeleton.c.
3095         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3096         (convert): Make function static.
3097         (test_unalign): Likewise.  Add const to argument pointee types.
3098         (main): Replace with static function do_test.
3099         Print "Succeeded." only if RET is zero.
3100         (TEST_FUNCTION): New macro.
3101         Include test-skeleton.c.
3103         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3104         returns a null pointer.
3106 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3108         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3109         to __memcpy_ppc only for static builds.
3111 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3113         [BZ #18020]
3114         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3115         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3116         * math/auto-libm-test-in: Add more tests of asinh.
3117         * math/auto-libm-test-out: Regenerated.
3118         * sysdeps/i386/fpu/libm-test-ulps: Update.
3119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3121 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
3123         [BZ #15850]
3124         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3125         and ip6_mtuinfo definitions here.
3126         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3127         in this define too.  Update comment.
3129 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
3131         * elf/sprof.c (load_shobj): Tweak error message to match others.
3133 2015-02-24  Kevin Easton  <kevin@guarana.org>
3135         [BZ #16145] (partial fix)
3136         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3137         to reduce lock contention.
3139 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
3141         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3142         (struct timex): Update time comment.
3143         (ADJ_SETOFFSET): Define.
3145 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3147         [BZ #18019]
3148         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3149         2**56 not 2**28 as threshold for log (2x) formula.
3150         * math/auto-libm-test-in: Add more tests of acosh.
3151         * math/auto-libm-test-out: Regenerated.
3152         * sysdeps/i386/fpu/libm-test-ulps: Update.
3153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3155 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3157         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3158         parenthesis around the buf assignment.
3159         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3161 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3163         [BZ #16783]
3164         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3165         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3166         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3167         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3168         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3169         * math/libm-test.inc (scalb_test_data): Add more tests.
3171 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3173         [BZ #17916]
3174         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3175         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3177 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3179         [BZ #17523]
3180         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3181         * io/bits/fcntl2.h (open): Use it.
3182         (openat): Likewise.
3183         * io/open.c (__libc_open): Likewise.
3184         * io/open64.c (__libc_open64): Likewise.
3185         * io/open64_2.c (__open64_2): Likewise.
3186         * io/open_2.c (__open_2): Likewise.
3187         * io/openat.c (__openat): Likewise.
3188         * io/openat64.c (__openat64): Likewise.
3189         * io/openat64_2.c (__openat64_2): Likewise.
3190         * io/openat_2.c (__openat_2): Likewise.
3191         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3192         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3193         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3194         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3195         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3196         (__open_nocancel): Likewise.
3197         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3198         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3199         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3201 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3203         [BZ #14841]
3204         * resolv/gethnamaddr.c (getanswer): Skip logging if
3205         RES_USE_DNSSEC is set.
3206         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3208 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3210         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3212 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3214         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3215         201304L, for Unicode 7.
3217 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3219         [BZ #17836]
3220         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3221         shared library.  Add gmon-start.os otherwise.
3222         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3223         $(objpfx)gmon-start.os if builing shared library.
3224         ($(objpfx)g$(static-start-installed-name)): Likewise.
3226 2015-02-23  Andreas Schwab  <schwab@suse.de>
3228         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3230 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3232         [BZ #17269]
3233         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3234         (enlarge_userbuf): Likewise.
3236 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
3238         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3239         * math/atest-exp.c (TIMEOUT): Adjust to 200.
3240         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3241         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3243 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
3245         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3246         expression inside statement expression.
3248 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3250         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3251         <sysdeps/nptl/lowlevellock.h> and remove macros and
3252         functions that are now defined there.
3253         (SYS_futex): Remove.
3254         (lll_compare_and_swap): Remove.
3255         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3257 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
3259         [BZ #17999]
3260         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3261         instead of scandirat.
3262         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3263         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3264         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3265         __scandirat.
3266         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3267         (__scandirat): Declare.  Use libc_hidden_proto.
3268         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3269         Remove variable.
3270         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3272 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3274         [BZ #15319]
3275         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3276         (MO): New macro.
3277         (__ieee754_atan2): For results with small absolute value, force
3278         underflow exception and remove excess range and precision from
3279         return value.
3280         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3281         (MO): New macro.
3282         (__ieee754_atan2f): For results with small absolute value, force
3283         underflow exception and remove excess range and precision from
3284         return value.
3285         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3286         (MO): New macro.
3287         (__atan): For results with small absolute value, force underflow
3288         exception and remove excess range and precision from return value.
3289         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3290         (MO): New macro.
3291         (__atanf): For results with small absolute value, force underflow
3292         exception and remove excess range and precision from return value.
3293         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3294         <math.h>.
3295         (__ieee754_atan2): Force underflow exception for results with
3296         small absolute value.
3297         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3298         <math_private.h>.
3299         (atan): Force underflow exception for results with small absolute
3300         value.
3301         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3302         (__atanf): Force underflow exception for results with small
3303         absolute value.
3304         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3305         <math.h>.
3306         (__atanl): Force underflow exception for results with small
3307         absolute value.
3308         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3309         (__atanl): Force underflow exception for results with small
3310         absolute value.
3311         * sysdeps/x86/fpu/bits/mathinline.h
3312         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3313         (__ieee754_atan2): Only define inline for long double.
3314         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3315         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3316         * math/auto-libm-test-in: Do not mark underflow exceptions as
3317         possibly missing for bug 15319.  Add more tests of atan2.
3318         * math/auto-libm-test-out: Regenerated.
3319         * math/libm-test.inc (casin_test_data): Do not mark underflow
3320         exceptions as possibly missing for bug 15319.
3321         (casinh_test_data): Likewise.
3322         * sysdeps/i386/fpu/libm-test-ulps: Update.
3324 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
3326         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3327         * sysdeps/mips/bits/endian.h: Fix comments.
3329 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3331         [BZ #17996]
3332         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3333         (hdestroy_r): Likewise.
3334         (hsearch_r): Likewise.
3335         (__hcreate_r): Declare and use libc_hidden_proto.
3336         (__hdestroy_r): Likewise.
3337         (__hsearch_r): Likewise.
3338         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3339         (hcreate): Call __hcreate_r instead of hcreate_r.
3340         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3341         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3342         as weak alias of __hcreate_r.
3343         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3344         __hdestroy_r.
3345         (hsearch_r): Rename to __hsearch_r and define as weak alias of
3346         __hsearch_r.
3347         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3348         Remove variable.
3349         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3350         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3351         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3352         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3354 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3356         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3357         arena_lock into a single arena_get.
3359 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
3361         * dl-reloc.c: Inlucde libc-internal.h.
3362         (_dl_try_allocate_static_tls): Call ALIGN_UP.
3363         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3364         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3365         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3366         (grow_heap): Likewise.
3367         * malloc/malloc.c: Include libc-internal.h.
3368         (do_check_malloc): Call powerof2.
3369         (sysmalloc): Use pagesize. Call ALIGN_UP.
3370         (systrim): Use pagesize.
3371         (mremap_chunk): Use pagesize. Call ALIGN_UP.
3372         (__libc_valloc): Use pagesize.
3373         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3375 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3377         [BZ #17991]
3378         * include/sys/resource.h (__getrlimit64): Declare.  Use
3379         libc_hidden_proto.
3380         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3381         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
3382         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3383         getrlimit64.
3384         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3385         __getrlimit64.
3386         [!getrlimit64] (getrlimit64): Define as weak alias of
3387         __getrlimit64.  Use libc_hidden_weak.
3388         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3389         using __getrlimit64 not __new_getrlimit64.
3390         (__GI_getrlimit64): Likewise.
3391         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3392         Likewise.
3393         (__GI_getrlimit64): Likewise.
3394         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3396         (getrlimit): Add __getrlimit64 alias.
3397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3398         Likewise.
3399         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3400         Remove variable.
3401         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3402         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3404 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
3406         * libio/fileops.c: Add missing sys/mman.h
3407         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3409 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3411         * manual/math.texi (Errors in Math Functions): Clarify goals
3412         regarding inexact and underflow exceptions.
3414 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3416         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3417         * sysdeps/mips/memset.S: Ditto.
3419 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3421         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3423 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3425         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3426         (__v1longjmp): Remove versioned symbol.
3427         (__v1siglongjmp): Remove alias and versioned symbol.
3428         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3429         (__v2siglongjmp): Likewise.
3431 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3433         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3435 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
3437         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3439 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3441         [BZ #17987]
3442         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3443         zero result does not depend on the sign resulting from
3444         subtraction.
3445         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3446         Likewise.
3447         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3448         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3449         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3450         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3451         * math/libm-test.inc (remquo_test_data): Add more tests.
3453 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
3455         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3456         Problem reported by J William Piggott.
3458 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3460         [BZ #17978]
3461         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3462         products 4 * y and 2 * y where those would overflow.
3463         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3464         Likewise.
3465         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3466         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3467         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3468         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3469         * math/libm-test.inc (remquo_test_data): Add more tests.
3471         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3473         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3474         [defined _COMPILING_NEWLIB].
3475         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3476         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3478         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3479         [!defined __mips_isa_rev || __mips_isa_rev < 6].
3481 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3483         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3484         acquired.
3486 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
3488         [BZ #17792]
3489         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3490         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3491         HOST_STACK_END_ADDR): Likewise.
3493 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
3495         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3496         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3497         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3499 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3501         * sysdeps/generic/c++-types.data: New file.
3502         * sysdeps/generic/ld.abilist: New file.
3503         * sysdeps/generic/libBrokenLocale.abilist: New file.
3504         * sysdeps/generic/libanl.abilist: New file.
3505         * sysdeps/generic/libc.abilist: New file.
3506         * sysdeps/generic/libcrypt.abilist: New file.
3507         * sysdeps/generic/libdl.abilist: New file.
3508         * sysdeps/generic/libm.abilist: New file.
3509         * sysdeps/generic/libpthread.abilist: New file.
3510         * sysdeps/generic/libresolv.abilist: New file.
3511         * sysdeps/generic/librt.abilist: New file.
3513 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3515         [BZ #17569]
3516         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3517         Compute absolute value of x as modified by fmod, not original
3518         value of x.
3519         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3520         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
3521         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
3522         RUN_TEST_ffI_f1_mod8.
3523         (remquo_test_data): Add more tests.
3525 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3527         * sysdeps/init_array/pt-crti.S: New file.
3529 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3531         [BZ #17967]
3532         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3533         __builtin_fmaf instead of relying on contraction of a * b + c.
3535 2015-02-12  J William Piggott  <elseifthen@gmx.com>
3537         [BZ #17969]
3538         * manual/time.texi: correct the zoneinfo path in the TZ Variable
3539         node.
3541 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3543         [BZ #17964]
3544         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3545         __builtin_fma instead of relying on contraction of a * b + c.
3547 2015-02-12  Roland McGrath  <roland@hack.frob.com>
3549         * Makeconfig (ASFLAGS): Add -Werror=undef.
3550         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3551         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3552         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3554         * Makeconfig (after-link): New variable.
3555         (+link-pie, +link-pie-tests): Use it.
3556         (+link-static, +link-static-tests): Likewise.
3557         (+link, +link-tests): Likewise.
3558         * Makerules (build-module, build-module-asneeded): Likewise.
3559         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3560         Likewise.
3561         * elf/Makefile ($(objpfx)ld.so): Likewise.
3563 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3565         [BZ #17965]
3566         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3567         both struct timeval and struct timespec.
3569 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3571         [BZ #16560]
3572         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3573         and redefine.
3574         (__ieee754_exp2l): Do not multiply small fractional parts by
3575         M_LN2l.
3576         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3577         small argument.
3578         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3579         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3580         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3581         * math/auto-libm-test-in: Add more tests of exp2.
3582         * math/auto-libm-test-out: Regenerated.
3584 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3586         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3587         unaligned path.
3589 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3591         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3592         little endian.
3594 2015-02-12  Andreas Schwab  <schwab@suse.de>
3596         [BZ #15790]
3597         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3598         Filter out elision flags from value returned in kind.
3599         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3600         * nptl/tst-pthread-mutexattr.c: New file.
3602 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3604         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3605         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3606         into gnu-gnu, and update comment to refer to abi-tags.
3608 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
3610         [BZ #15467]
3611         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3612         (__sincos): Set errno to EDOM for infinite argument.
3613         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3614         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3615         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3616         (__sincosl): Set errno to EDOM for infinite argument.
3617         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3618         (__sincosl): Set errno to EDOM for infinite argument.
3619         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3620         (__sincosl): Set errno to EDOM for infinite argument.
3621         * math/libm-test.inc (sincos_test_data): Test errno setting.
3623 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
3625         * string/strxfrm_l.c: Remove #define STRCMP.
3626         * string/strcoll_l.c: Remove #define STRLEN.
3627         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3628         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3630 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
3632         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3633         * sysdeps/mips/mips32/sfp-machine.h: ... here.
3634         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3635         * sysdeps/mips/mips64/Makefile: ... here.
3636         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3637         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3638         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3639         * sysdeps/mips/mips64/sfp-machine.h: ... here.
3640         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3641         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3642         * sysdeps/mips/mips64/n64/Implies: Likewise.
3644 2015-02-10  Roland McGrath  <roland@hack.frob.com>
3646         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3647         <sys/time.h>, <string.h>, and <errno.h>.
3648         (dest_offset, dest_address, value, zero): Remove unused variables.
3649         (ldouble): Remove typedef.
3650         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3651         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
3652         1).  Fix code style.
3653         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3654         (check): Function removed.
3655         (CHECK): New macro.
3656         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
3657         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3658         Don't call set_sigaction_FP and remove_sigaction_FP here.
3659         (ldouble_test): Just use 'long double' as macro argument, no need for
3660         the 'ldouble' typedef.
3661         (do_test): Set up SIGFPE handler at start, using plain signal rather
3662         than sigaction.  Fix code style.
3664 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
3666         [BZ #17949]
3667         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3668         jump label.
3670 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3672         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3673         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3675         * sysdeps/powerpc/configure.ac: Remove file.
3676         * sysdeps/powerpc/configure: Likewise.
3678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3679         [sysdep_routines]: Remove wordcopy-power6 object.
3680         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3681         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3682         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3683         (__memmove_ppc32): Likewise.
3684         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3685         file.
3686         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3687         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3688         Remove preprocessor.
3690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3691         [sysdep_routines]: Remove wide chars objects.
3692         [wcsmbs]: New rule for wide char objects.
3694         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3695         Remove wordcopy-power6 obejct.
3696         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3697         Use local call for wordcopy and memcpy symbols.
3698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3699         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3700         implementation for loader.
3701         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3704         Remove wordcopy-power7 object.
3705         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3706         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3707         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3708         (_wordcopy_fwd_dest_aligned): Likewise.
3709         (_wordcopy_bwd_aligned): Likewise.
3710         (_wordcopy_bwd_dest_aligned): Likewise.
3712         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3713         Rewrite to call __memmove_ppc instead of include default
3714         implementation.
3716         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3717         Remove wide chars objects.
3718         [wcsmbs]: New rule for wide char objects.
3720 2015-02-09  Andreas Schwab  <schwab@suse.de>
3722         [BZ #17912]
3723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3724         in terms of __O_DIRECTORY.
3726 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3728         * time/getdate.c: Include <stdbool.h>.
3729         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3730         call PTR_MANGLE.
3731         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3732         PTR_DEMANGLE.
3734 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3736         Add ersatz _Static_assert on older C hosts
3737         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3738         pre-C11 C platform that is not known to support _Static_assert.
3740 2015-02-07  Richard Braun  <rbraun@sceen.net>
3742         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3743         sigstate.
3744         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3746 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3748         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3749         priority against unexistent AIO_PRIO_DELTA_MAX.
3750         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3751         instead of int.
3752         * misc/fchflags.c (fchflags): Likewise.
3753         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3754         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3755         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3756         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3757         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3758         Declare macros.
3759         [__USE_MISC] (chflags, fchflags): Declare functions.
3760         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3761         EINVAL when nfds is greater than FD_SETSIZE.
3762         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3763         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3764         45.
3765         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3766         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3767         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3768         MACH_RCV_TIMED_OUT.
3769         * hurd/hurd/signal.h (_hurd_self_sigstate,
3770         _hurd_critical_section_lock, _hurd_critical_section_unlock):
3771         Explicit casts from void *.
3772         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3773         * abi-tags: Rename gnu-gnu os into gnu.
3775         [BZ #4719]
3776         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3777         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3778         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3779         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3780         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3781         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3783         [BZ #17944]
3784         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3785         duplicates ADDR->sun_path with sockaddr LEN limitation.
3786         * sysdeps/mach/hurd/connect.c: Include <string.h>
3787         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3788         * sysdeps/mach/hurd/sendmsg.c: Likewise.
3789         * sysdeps/mach/hurd/sendto.c: Likewise.
3790         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3791         implementing it by hand.
3793 2015-02-06  Roland McGrath  <roland@hack.frob.com>
3795         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3796         Use sfi_breg on ldr.
3797         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3798         Likewise.
3800         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3801         it's defined.
3802         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3803         Test SIGSETXID only if it's defined.
3805         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3807         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3808         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
3810         * nptl/tst-align2.c: Moved ...
3811         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3812         * nptl/Makefile (tests): Remove tst-align2.
3813         * sysdeps/unix/sysv/linux/Makefile
3814         [$(subdir) = nptl] (tests): Add tst-align-clone.
3815         * nptl/tst-getpid1.c: Moved ...
3816         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3817         * nptl/tst-getpid2.c: Moved ...
3818         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3819         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3820         * sysdeps/unix/sysv/linux/Makefile
3821         [$(subdir) = nptl] (tests): ... here.
3822         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3823         * sysdeps/unix/sysv/linux/Makefile
3824         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3826         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3827         Drop trailing \n from perror argument.  Use return rather than exit.
3829         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3830         on [SA_SIGINFO].
3831         * nptl/tst-cancel21.c (do_test): Likewise.
3832         * debug/tst-backtrace6.c: Include <signal.h> first thing.
3833         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3834         [!SA_SIGINFO]: Make it a stub test.
3836         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3837         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3839         * posix/tst-getlogin.c: Move to ...
3840         * login/tst-getlogin.c: ... here.
3841         * posix/Makefile (tests): Move tst-getlogin to ...
3842         * login/Makefile (tests): ... here.
3844         * libio/tst-atime.c (do_test): Move local variables SV and E
3845         inside [ST_NOATIME] conditional.
3847         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3849         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3851         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3852         (wait_code): New function replaces macro.
3853         Call nanosleep rather than syscall.
3855         * nptl/pt-system.c: Rewritten.  Put everything under
3856         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3857         Use IFUNC to redirect when possible.
3859         * nptl/pt-longjmp.c: Rewritten.  Put everything under
3860         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3861         Use IFUNC to redirect when possible.
3863         * nptl/pt-fork.c: Rewritten.  Put everything under
3864         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3865         Use IFUNC to redirect when possible.
3866         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3868         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3869         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3870         unconditionally nowadays.  This included the only reference to
3871         __vdso_clock_gettime that appears outside libc proper.
3872         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3873         Remove version set (containing only __vdso_clock_gettime).
3874         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3875         Add attribute_hidden.
3876         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3877         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3878         libc_hidden_data_def.
3879         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3880         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3882         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3883         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3884         setrpcent, and getrpcport to ...
3885         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3886         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3887         getrpcbynumber_r, and getrpcent_r to ...
3888         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3889         * inet/getrpcbyname.c: Moved ...
3890         * sunrpc/getrpcbyname.c: ... here.
3891         * inet/getrpcbyname_r.c: Moved ...
3892         * sunrpc/getrpcbyname_r.c: ... here.
3893         * inet/getrpcbynumber.c: Moved ...
3894         * sunrpc/getrpcbynumber.c: ... here.
3895         * inet/getrpcbynumber_r.c: Moved ...
3896         * sunrpc/getrpcbynumber_r.c: ... here.
3897         * inet/getrpcent.c: Moved ...
3898         * sunrpc/getrpcent.c: ... here.
3899         * inet/getrpcent_r.c: Moved ...
3900         * sunrpc/getrpcent_r.c: ... here.
3901         * inet/Makefile (routines): Move those to ...
3902         * sunrpc/Makefile (routines): ... here.
3903         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3904         the $(subdirs) list.
3905         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
3906         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3907         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3908         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3910         * elf/Makefile (routines): Include $(all-dl-routines), not just
3911         $(dl-routines).
3912         (rtld-routines): Likewise.  Use = rather than :=.
3913         * sysdeps/aarch64/Makefile [$(subdir) = elf]
3914         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3915         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3916         * sysdeps/arm/Makefile: Likewise.
3917         * sysdeps/i386/Makefile: Likewise.
3918         * sysdeps/x86_64/Makefile: Likewise.
3919         * sysdeps/hppa/Makefile [$(subdir) = elf]
3920         (sysdep_routines, sysdep-rtld-routines): Don't add
3921         $(sysdep-dl-routines) to these.
3922         * sysdeps/ia64/Makefile: Likewise.
3923         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3924         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3925         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3926         Don't add dl-static to these; sysdep-dl-routines alone is enough.
3927         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3928         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3929         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3930         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3931         * sysdeps/powerpc/Makefile [$(subdir) = elf]
3932         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3933         these; sysdep-dl-routines alone is enough.
3935 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
3937         [BZ #17932]
3938         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3939         where multiplication results in zero and third argument is finite
3940         and nonzero.
3941         * math/auto-libm-test-in: Add more tests of fma.
3942         * math/auto-libm-test-out: Regenerated.
3944         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3945         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3946         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3947         (_FP_CMP_EQ): Likewise.
3948         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3950         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3951         extra argument CHECK_NAN.  Redefine as wrapper around
3952         _FP_EXTEND_CNAN.
3954 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
3956         * version.h (RELEASE): Set to "stable".
3957         (VERSION): Set to "2.21"
3958         * include/features.h (__GLIBC_MINOR__): Set to 21.
3960         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3962 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3963             Paul Eggert  <eggert@cs.ucla.edu>
3965         [BZ #16618]
3966         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3967         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3968         size in bytes. Store needed elements in wpmax. Use needed size
3969         in bytes for extend_alloca.
3971 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
3973         * manual/install.texi: Latest tested versions are GCC 4.9.2,
3974         binutls 2.25, and texinfo 5.2.
3975         * INSTALL: Regenerate.
3976         * sysdeps/nios2/configure: Regenerate.
3977         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3978         * manual/contrib.texi: Update.
3979         * po/be.po: Update.
3980         * po/bg.po: Update.
3981         * po/ca.po: Update.
3982         * po/cs.po: Update.
3983         * po/da.po: Update.
3984         * po/de.po: Update.
3985         * po/el.po: Update.
3986         * po/eo.po: Update.
3987         * po/es.po: Update.
3988         * po/fi.po: Update.
3989         * po/fr.po: Update.
3990         * po/gl.po: Update.
3991         * po/hr.po: Update.
3992         * po/hu.po: Update.
3993         * po/ia.po: Update.
3994         * po/id.po: Update.
3995         * po/it.po: Update.
3996         * po/ja.po: Update.
3997         * po/ko.po: Update.
3998         * po/lt.po: Update.
3999         * po/nb.po: Update.
4000         * po/nl.po: Update.
4001         * po/pl.po: Update.
4002         * po/pt_BR.po: Update.
4003         * po/ru.po: Update.
4004         * po/rw.po: Update.
4005         * po/sk.po: Update.
4006         * po/sl.po: Update.
4007         * po/sv.po: Update.
4008         * po/tr.po: Update.
4009         * po/uk.po: Update.
4010         * po/vi.po: Update.
4011         * po/zh_CN.po: Update.
4012         * po/zh_TW.po: Update.
4014         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4015         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4016         * sysdeps/hppa/dl-irel.h: Remove #warning.
4017         * sysdeps/hppa/entry.h: Provide prototype for
4018         __canonicalize_funcptr_for_compare and cast argument.
4019         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4020         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4021         * sysdeps/hppa/sotruss-lib.c: New file.
4022         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4023         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4024         (atomic_compare_and_exchange_bool_acq): Likewise.
4025         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4026         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4028         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4029         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4030         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4032 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4034         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4035         called function in non-PIC case.
4037 2015-01-31  David S. Miller  <davem@davemloft.net>
4039         * sysdeps/sparc/sparc32/bits/atomic.h
4040         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4041         unlock not after it.
4042         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4043         volatile register usage warnings from the compiler.
4045         * sysdeps/sparc/nptl/sem_init.c: Delete.
4046         * sysdeps/sparc/nptl/sem_post.c: Delete.
4047         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4048         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4049         * sysdeps/sparc/sparc32/sem_init.c: New file.
4050         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4051         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4052         padding explicitly initialized.
4053         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4054         padding for in-semaphore spinlock.
4055         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4056         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4057         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4058         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4059         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4060         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4061         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4062         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4063         version.
4064         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4065         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4067 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4069         [BZ #17801]
4070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4071         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4072         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4073         New.
4074         (index_AVX_Fast_Unaligned_Load): Likewise.
4075         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4076         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4077         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4078         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4079         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4080         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4081         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4082         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4083         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4085 2015-01-29  Andreas Schwab  <schwab@suse.de>
4087         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4089 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4091         [BZ #17892]
4092         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4094 2015-01-28  Martin Sebor  <msebor@redhat.com>
4096         * math/README.libm-test: Clarify. Add "How to read the test output."
4098 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4100         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4101         Define to 0.
4103 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4105         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4106         (__HAVE_64B_ATOMICS): Define to 0.
4108 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4110         [BZ #17885]
4111         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4112         value to set as new flag.
4114         [BZ #16576]
4115         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4116         and use _ARCH_PPCSQ instead.
4117         (__ieee754_sqrt): Likewise.
4118         (__ieee754_sqrtf): Likewise.
4119         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4120         _ARCH_PPCSQ is defined.
4121         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4122         fsqrt instruction.
4123         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4124         _ARCH_PPCSQ is defined.
4125         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4126         fsqrts instruction.
4127         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4129 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4131         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4132         bug (GCC BZ #64739).
4134 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
4136         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4137         Mark _retval as used.
4138         (lll_futex_wake_unlock): Likewise.
4139         (lll_futex_timed_wait_requeue_pi): Likewise.
4141         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4142         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4143         register variables.
4145         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4146         libm_hidden_def.
4148         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4149         (__bswap_64): Mark as __always_inline.
4151 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
4153         [BZ #15378]
4154         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4155         when none of the search directories exist.
4157 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4159         [BZ #17869]
4160         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4161         power8 in .machine directive.
4163         [BZ #17868]
4164         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4165         set dependency from opd value.
4167 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4170         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4171         architecture.
4173 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4175         [BZ #17870]
4176         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4177         with uint64_t.
4178         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4179         (uint64_t) 1.
4180         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4181         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4182         Replace 1UL with (uint64_t) 1.
4183         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4184         int with uint64_t.
4186 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4188         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4189         (if_freenameindex): Likewise.
4191         * resource/getrlimit64.c: Add missing libc_hidden_def.
4193 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4195         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4196         __label__.
4197         (_FP_FMA): Likewise.
4198         (_FP_TO_INT_ROUND): Likewise.
4199         (_FP_FROM_INT): Likewise.
4201 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4203         [BZ #16418]
4204         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4205         Make code racy and cancel safe.
4207 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4209         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4210         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4211         attribution.
4213         * pwd/tst-getpw.c: Rewrite.
4215         [BZ #17702]
4216         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4217         (modules-names): Add moddummy1 and moddummy2.
4218         ($(objpfx)tst-rec-dlopen): Define.
4219         * dlfcn/moddummy1.c: New file.
4220         * dlfcn/moddummy2.c: New file.
4221         * dlfcn/tst-rec-dlopen.c: New file.
4222         * elf/dl-cache.c (_dl_load_cache_lookup):
4223         Return char*. Copy result with alloca/strcpy/strdup.
4224         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4225         returns char*. Free cached. If not saving realname
4226         free cached.
4227         * elf/dl-open.c (dl_open_worker): Do not assert that
4228         _r_debug->r_state is RT_CONSISTENT.
4229         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4230         returns char*.
4232 2015-01-21  Torvald Riegel  <triegel@redhat.com>
4233             Carlos O'Donell  <carlos@redhat.com>
4235         [BZ #12674]
4236         * nptl/sem_waitcommon.c: New file.
4237         * nptl/sem_wait.c: Include sem_waitcommon.c.
4238         (__sem_wait_cleanup, do_futex_wait): Remove.
4239         (__new_sem_wait): Adapt.
4240         (__new_sem_trywait): New function.
4241         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4242         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4243         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4244         (sem_timedwait): Adapt.
4245         * nptl/sem_post.c (__new_sem_post): Adapt.
4246         (futex_wake): New function.
4247         (__old_sem_post): Add release MO fence.
4248         * nptl/sem_open.c (sem_open): Adapt.
4249         * nptl/sem_init.c (__new_sem_init): Adapt.
4250         (futex_private_if_supported): New function.
4251         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4252         (__old_sem_getvalue): Add using previous code.
4253         * sysdeps/nptl/internaltypes.h: Adapt.
4254         * nptl/tst-sem13.c (do_test): Adapt.
4255         * nptl/tst-sem11.c (main): Adapt.
4256         * nptl/sem_trywait.c: Remove.
4257         * nptl/DESIGN-sem.txt: Remove.
4258         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4259         (gen-as-const-headers): Remove structsem.sym.
4260         * nptl/structsem.sym: Remove.
4261         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4262         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4263         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4264         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4265         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4266         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4267         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4268         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4269         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4270         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4271         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4272         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4273         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4274         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4275         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4276         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4277         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4278         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4279         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4280         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4281         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4282         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4284 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
4286         * INSTALL: Regenerated.
4288         * po/libc.pot: Regenerated.
4290 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
4291             Sandra Loosemore  <sandra@codesourcery.com>
4292             Andrew Jenner  <andrew@codesourcery.com>
4293             Joseph Myers  <joseph@codesourcery.com>
4294             Nathan Sidwell  <nathan@codesourcery.com>
4296         * NEWS: Mention new Nios II port.
4297         * sysdeps/nios2/Implies: New file.
4298         * sysdeps/nios2/Makefile: New file.
4299         * sysdeps/nios2/Subdirs: New file.
4300         * sysdeps/nios2/Versions: New file.
4301         * sysdeps/nios2/__longjmp.S: New file.
4302         * sysdeps/nios2/abort-instr.h: New file.
4303         * sysdeps/nios2/backtrace.c: New file.
4304         * sysdeps/nios2/bits/endian.h: New file.
4305         * sysdeps/nios2/bits/fenv.h: New file.
4306         * sysdeps/nios2/bits/link.h: New file.
4307         * sysdeps/nios2/bits/setjmp.h: New file.
4308         * sysdeps/nios2/bsd-_setjmp.S: New file.
4309         * sysdeps/nios2/bsd-setjmp.S: New file.
4310         * sysdeps/nios2/configure: New generated file.
4311         * sysdeps/nios2/configure.ac: New file.
4312         * sysdeps/nios2/crti.S: New file.
4313         * sysdeps/nios2/crtn.S: New file.
4314         * sysdeps/nios2/dl-init.c: New file.
4315         * sysdeps/nios2/dl-machine.h: New file.
4316         * sysdeps/nios2/dl-sysdep.h: New file.
4317         * sysdeps/nios2/dl-tls.h: New file.
4318         * sysdeps/nios2/dl-trampoline.S: New file.
4319         * sysdeps/nios2/gccframe.h: New file.
4320         * sysdeps/nios2/gmp-mparam.h: New file.
4321         * sysdeps/nios2/jmpbuf-offsets.h: New file.
4322         * sysdeps/nios2/jmpbuf-unwind.h: New file.
4323         * sysdeps/nios2/ldsodefs.h: New file.
4324         * sysdeps/nios2/libc-tls.c: New file.
4325         * sysdeps/nios2/libm-test-ulps: New file.
4326         * sysdeps/nios2/machine-gmon.h: New file.
4327         * sysdeps/nios2/math-tests.h: New file.
4328         * sysdeps/nios2/math_private.h: New file.
4329         * sysdeps/nios2/memusage.h: New file.
4330         * sysdeps/nios2/nptl/Makefile: New file.
4331         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4332         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4333         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4334         * sysdeps/nios2/nptl/pthreaddef.h: New file.
4335         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4336         * sysdeps/nios2/nptl/tls.h: New file.
4337         * sysdeps/nios2/preconfigure: New file.
4338         * sysdeps/nios2/s_fma.c: New file.
4339         * sysdeps/nios2/s_fmaf.c: New file.
4340         * sysdeps/nios2/setjmp.S: New file.
4341         * sysdeps/nios2/sfp-machine.h: New file.
4342         * sysdeps/nios2/sotruss-lib.c: New file.
4343         * sysdeps/nios2/stackguard-macros.h: New file.
4344         * sysdeps/nios2/stackinfo.h: New file.
4345         * sysdeps/nios2/start.S: New file.
4346         * sysdeps/nios2/sysdep.h: New file.
4347         * sysdeps/nios2/tls-macros.h: New file.
4348         * sysdeps/nios2/tst-audit.h: New file.
4349         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4350         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4351         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4352         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4353         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4354         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4355         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4356         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4357         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4358         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4359         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4360         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4361         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4362         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4363         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4364         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4365         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4366         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4367         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4368         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4369         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4370         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4371         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4372         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4373         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4374         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4375         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4376         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4377         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4378         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4379         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4380         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4381         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4382         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4383         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4384         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4385         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4386         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4387         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4388         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4389         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4390         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4391         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4392         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4394 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4396         [BZ #17844]
4397         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4398         (getutent): Use weak_alias in non SHARED case
4399         and default_symbol_version in SHARED case.
4400         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4401         (getutent_r, pututline): Likewise.
4402         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4403         (getutid): Likewise.
4404         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4405         (getutid_r): Likewise.
4406         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4407         (getutline): Likewise.
4408         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4409         (getutline_r): Likewise.
4410         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4411         (updwtmp): Likewise.
4413 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4415         [BZ #17848]
4416         * sysdeps/s390/s390-32/memcmp.S
4417         (memcmp_g5): Rename to __memcmp_g5.
4418         * sysdeps/s390/s390-32/memcpy.S
4419         (memcpy_g5): Rename to __memcpy_g5.
4420         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4421         (memcpy_mvcle) Rename to __memcpy_mvcle.
4422         * sysdeps/s390/s390-32/memset.S
4423         (memset_g5): Rename to __memset_g5.
4424         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4425         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4426         and use prefixed functions.
4427         * sysdeps/s390/s390-32/multiarch/memcmp.S
4428         (memcmp_z196): Rename to __memcmp_z196.
4429         (memcmp_z10): Rename to __memcmp_z10.
4430         (memcmp): Set alias to __memcmp_g5.
4431         (bcmp): Set alias to __memcmp_g5.
4432         * sysdeps/s390/s390-32/multiarch/memcpy.S
4433         (memcpy_z196): Rename to __memcpy_z196.
4434         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4435         (memcpy_z10): Rename to __memcpy_z10.
4436         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4437         (memcpy): Set alias to __memcpy_g5.
4438         * sysdeps/s390/s390-32/multiarch/memset.S
4439         (memset_z196): Rename to __memset_z196.
4440         Jump to __memset_mvcle instead of memset_mvcle.
4441         (memset_z10): Rename to __memset_z10.
4442         Jump to __memset_mvcle instead of memset_mvcle.
4443         (memset_mvcle) Rename to __memset_mvcle.
4444         (memset): Set alias to __memset_g5.
4445         * sysdeps/s390/s390-64/memcmp.S
4446         (memcmp_z900): Rename to __memcmp_z900.
4447         * sysdeps/s390/s390-64/memcpy.S
4448         (memcpy_z900): Rename to __memcpy_z900.
4449         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4450         (memcpy_mvcle) Rename to __memcpy_mvcle.
4451         * sysdeps/s390/s390-64/memset.S
4452         (memset_z900): Rename to __memset_z900.
4453         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4454         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4455         and use prefixed functions.
4456         * sysdeps/s390/s390-64/multiarch/memcmp.S
4457         (memcmp_z196): Rename to __memcmp_z196.
4458         (memcmp_z10): Rename to __memcmp_z10.
4459         (memcmp): Set alias to __memcmp_z900.
4460         (bcmp): Set alias to __memcmp_z900.
4461         * sysdeps/s390/s390-64/multiarch/memcpy.S
4462         (memcpy_z196): Rename to __memcpy_z196.
4463         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4464         (memcpy_z10): Rename to __memcpy_z10.
4465         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4466         (memcpy): Set alias to __memcpy_z900.
4467         * sysdeps/s390/s390-64/multiarch/memset.S
4468         (memset_z196): Rename to __memset_z196.
4469         Jump to __memset_mvcle instead of memset_mvcle.
4470         (memset_z10): Rename to __memset_z10.
4471         Jump to __memset_mvcle instead of memset_mvcle.
4472         (memset_mvcle) Rename to __memset_mvcle.
4473         (memset): Set alias to __memset_z900.
4475 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
4477         [BZ #17748]
4478         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4479         __fesetenv instead of fesetenv.
4481 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4483         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4484         macro.
4486 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4488         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4489         regression on LE.
4491         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4492         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4493         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4494         strncmp-power8 object.
4495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4496         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4497         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4498         * NEWS: Update.
4500 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4501             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4503         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4504         trailing byte check.
4506 2015-01-13  David S. Miller  <davem@davemloft.net>
4508         * include/signal.h (__sigreturn): Guard with __USE_MISC.
4510 2015-01-13  Roland McGrath  <roland@hack.frob.com>
4512         * login/logout.c (logout): Use memset rather than bzero.
4513         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4514         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4515         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4516         (_gethtbyaddr): Likewise.
4517         * locale/programs/simple-hash.c (bcopy): Macro removed.
4519 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4521         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4522         Add strcmp-power8 object.
4523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4524         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4525         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4526         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4527         __strcmp_power8 implementation.
4528         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4529         * NEWS: Update.
4531         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4532         Add strncpy-power8 and stpncpy-power8 objects.
4533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4534         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4535         implementations.
4536         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4537         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4538         __stpncpy_power8 implementation.
4539         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4540         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4541         __strncpy_power8 implementation.
4542         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4543         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4544         * NEWS: Update.
4546         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4547         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4548         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4550         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4551         strncat-power8 object.
4552         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4553         __strcat_power8 implementation.
4554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4555         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4556         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4557         optimized strcat for power8.
4559         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4560         strcpy-power8 and stpcpy-power8 objects.
4561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4562         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4563         implementations.
4564         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4565         multiarch stpcpy implementation for POWER8.
4566         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4567         multiarch strcpy implementation for POWER8.
4568         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4569         __strcpy_power8 function.
4570         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4571         stpcpy for POWER8.
4572         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4573         strcpy for POWER8.
4574         * NEWS: Update.
4576 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
4578         [BZ #16009]
4579         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4580         weights and rules. Use do_xfrm_cached if data fits in cache,
4581         do_xfrm otherwise.  Moved former main loop to...
4582         * (do_xfrm_cached): New function.
4583         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4584         find_idx, find_position and stack_push.
4585         * (find_idx): New function.
4586         * (find_position): Likewise.
4587         * localedata/sort-test.sh: Added test run for do_xfrm.
4588         * localedata/xfrm-test.c (main): Added command line option
4589         -nocache to run the test with strings that are too large for
4590         the STRXFRM cache.
4592 2015-01-13  Torvald Riegel  <triegel@redhat.com>
4594         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4595         variable to lll_futex_wake call, not the value itself.
4597 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
4599         [BZ #17803]
4600         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4601         twom64.  Adjust value to 0x1p-64L.
4602         (__scalblnl): Only return standard underflowing result for K <=
4603         -64 not K <= -63; adjust exponent for underflowing result by 64
4604         not 63.
4605         * math/libm-test.inc (scalbn_test_data): Add more tests.
4606         (scalbln_test_data): Likewise.
4608         [BZ #17834]
4609         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4610         0x1p63L.
4611         (__scalblnl): Get new exponent of adjusted subnormal value from ES
4612         not HX.
4613         * math/libm-test.inc (scalbn_test_data): Add more tests.
4614         (scalbln_test_data): Likewise.
4616 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4617             Stefani Seibold  <stefani@seibold.net>
4619         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4620         (sysdep_routines): Add dl-vdso here, ...
4621         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4622         (sysdep_routines): ... not here.
4623         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4624         fallback when vDSO is not presented.
4625         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4626         Define with libc_hidden_proto/libc_hidden_data_def definitions.
4627         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4628         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4629         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4630         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4631         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4632         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4633         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4635         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
4636         fallback configurable symbol when vDSO is not available.
4637         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4638         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
4639         be able to redefine fallback symbol when vDSO is not available.
4640         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4641         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4643 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4645         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4646         (TLS_INIT_TP): Add tm_capable initialization.
4647         (TLS_DEFINE_INIT_TP): Likewise.
4648         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4649         TCB.
4650         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4651         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4652         calculation.
4653         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4654         transactoion is lock elision is built and TCB tm_capable is set.
4655         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4657         (INTERNAL_SYSCALL_NCS): Likewise.
4658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4659         (INTERNAL_SYSCALL_NCS): Likewise.
4660         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4662         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4663         for powerpc.
4664         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4665         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4666         and remove it for 32 bits case.
4667         [pthread_rwlock_t] (__rwelision): New field for lock elision.
4668         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4669         initialization.
4670         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4671         Disable lock elision with rdlocks if elision is not available.
4673         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4674         (sysdep_routines): Add lock elision objects.
4675         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4676         [pthread_mutex_t] (__spins): Rework to add lock elision field.
4677         [pthread_mutex_t] (__elision): Add field.
4678         [__PTHREAD_SPINS]: Adjust to init lock elision field.
4679         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4680         elision definitions for powerpc.
4681         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4682         implementation of lock elision for powerpc.
4683         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4684         implementation of timed lock elision for powerpc.
4685         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4686         implementation of trylock with lock elision for powerpc.
4687         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4688         implementaion of unlock for lock elision for powerpc.
4689         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4690         automatic enable lock elision for mutexes.
4691         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4692         transaction execution definitions for powerpc.
4693         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4694         definitions.
4695         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4696         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4697         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4698         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4699         * NEWS: Update.
4701 2015-01-09  Roland McGrath  <roland@hack.frob.com>
4703         * sysdeps/posix/shm-directory.c: Use <> rather than ""
4704         for #include of <shm-directory.h>.
4706 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
4708         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4709         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4711 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
4713         [BZ #17791]
4714         * NEWS: Mention bug fix.
4715         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4716         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4717         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4719 2015-01-09  Torvald Riegel <triegel@redhat.com>
4721         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4723 2015-01-09  Torvald Riegel <triegel@redhat.com>
4725         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4727 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4729         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4730         pointer and cast to uintptr_t.
4732 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4734         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4735         removed.
4736         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4738 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4740         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4741         of 0.
4743 2015-01-08  Roland McGrath  <roland@hack.frob.com>
4745         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4746         <nptl/pthreadP.h> instead.
4747         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4749         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4750         already defined.
4751         [__SIGRTMIN] (init): Function removed.
4752         [__SIGRTMIN] (initialized): Variable removed.
4753         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4754         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4755         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4756         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4757         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4758         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4759         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4760         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4761         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4762         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4763         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4764         * sysdeps/nptl/allocrtsig.c: New file.
4765         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4766         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4767         * sysdeps/generic/testrtsig.h: File removed.
4769         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4770         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4772         * nptl/nptl-init.c (pthread_functions): Conditionalize
4773         .ptr__nptl_setxid initialization on [SIGSETXID].
4775         * sysdeps/nptl/sys/procfs.h: New file.
4776         * nptl_db/Makefile (headers): Add it.
4777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4779         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4780         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4781         * nptl/pthread_attr_setaffinity.c: Include it.
4782         * nptl/pthread_setattr_default_np.c: Likewise.
4783         * nptl/check-cpuset.h: New file.
4785 2015-01-08  Richard Henderson  <rth@redhat.com>
4787         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4788         (CFLAGS-tst-execstack-prog.c): Likewise.
4789         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4791 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
4792             Sandra Loosemore  <sandra@codesourcery.com>
4793             Andrew Jenner  <andrew@codesourcery.com>
4794             Joseph Myers  <joseph@codesourcery.com>
4795             Nathan Sidwell  <nathan@codesourcery.com>
4797         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4798         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4799         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4800         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4801         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4802         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4803         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4804         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4805         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4806         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4807         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4808         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4809         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4810         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4811         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4812         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4813         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4815 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4817         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4818         timespec struct member in syscall macro.
4819         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4820         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4821         first timeval struct member in syscall macro.
4822         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4824 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
4826         [BZ #17748]
4827         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4828         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4829         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4830         __feupdateenv and define as weak alias of __feupdateenv.  Use
4831         libm_hidden_weak.
4832         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4833         libm_hidden_def.
4834         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4835         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
4836         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4837         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4838         libm_hidden_def.
4839         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4840         __feupdateenv and define as weak alias of __feupdateenv.  Use
4841         libm_hidden_weak.
4842         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4843         libm_hidden_def.
4844         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4845         __feupdateenv and define as weak alias of __feupdateenv.  Use
4846         libm_hidden_weak.
4847         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4848         libm_hidden_def.
4849         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4850         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4851         (__feupdateenv): Likewise.
4852         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4853         __feupdateenv and define as weak alias of __feupdateenv.  Use
4854         libm_hidden_weak.
4855         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4856         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4857         libm_hidden_def.
4858         * sysdeps/tile/math_private.h (__feupdateenv): New inline
4859         function.
4860         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4861         libm_hidden_def.
4862         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4863         __feupdateenv instead of feupdateenv.
4864         (default_libc_feupdateenv_test): Likewise.
4865         (libc_feresetround_ctx): Likewise.
4867 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4869         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4870         prototype.
4872 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
4874         * posix/regcomp.c (parse_bracket_exp): Initialize type to
4875         COLL_SYM in a couple of places to avoid uninitialized variable
4876         wanings on tilegx gcc 4.8.2.
4878 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4880         * sysdeps/aarch64/strcpy.S: New file.
4881         * sysdeps/aarch64/stpcpy.S: New file.
4882         * NEWS: Updated.
4884 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4886         * sysdeps/aarch64/strrchr.S: New file.
4887         * NEWS: Updated.
4889 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
4891         [BZ #17658]
4892         * stdlib/setenv.c: Fix memory leak when setting large,
4893         duplicate string.
4895 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
4897         [BZ #17273]
4898         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4899         and tabs from buffer before parsing fstab entry.
4900         * misc/tst-mntent.c (main): Add test for mount entry with
4901         trailing spaces and tabs.
4903 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
4905         [BZ #17748]
4906         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
4907         * math/fesetround.c (fesetround): Rename to __fesetround and
4908         define as weak alias of __fesetround.  Use libm_hidden_weak.
4909         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4910         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4911         * sysdeps/arm/fesetround.c (fesetround): Likewise.
4912         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4913         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4914         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4915         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4916         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4917         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4918         __fesetround_inline.
4919         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4920         __fesetround_inline instead of __fesetround.
4921         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4922         __fesetround and define as weak alias of __fesetround.  Use
4923         libm_hidden_weak.  Call __fesetround_inline instead of
4924         __fesetround.
4925         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4926         __fesetround and define as weak alias of __fesetround.  Use
4927         libm_hidden_weak.
4928         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4929         Likewise.
4930         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4931         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4932         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4933         * sysdeps/tile/math_private.h (__fesetround): New inline function.
4934         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4935         __fesetround and define as weak alias of __fesetround.  Use
4936         libm_hidden_weak.
4937         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4938         __fesetround instead of fesetround.
4939         (default_libc_feholdexcept_setround): Likewise.
4940         (libc_feholdsetround_ctx): Likewise.
4941         (libc_feholdsetround_noex_ctx): Likewise.
4943         [BZ #17748]
4944         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4945         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4946         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4947         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4948         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4949         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4950         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4951         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4952         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4953         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4954         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4955         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4956         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4957         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4958         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4959         libm_hidden_def.
4960         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4961         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4962         Likewise.
4963         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4964         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4965         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4966         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4967         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4968         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4969         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4970         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4971         __fesetenv instead of fesetenv.
4972         (libc_feresetround_noex_ctx): Likewise.
4973         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4974         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4975         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4976         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4977         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4978         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4979         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4980         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4981         (__feupdateenv): Likewise.
4982         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4983         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4984         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4985         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4987 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4989         [BZ #17806]
4990         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4991         addresses have been freed.
4993 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4995         * resolv/res_init.c (__res_vinit): Improve comments about nserv
4996         and nservall.
4998 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5000         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5001         Clean up check_pf allocation pattern. addresses
5003 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5005         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5006         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5007         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5008         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5009         * nptl/pthread_join.c (pthread_join): Likewise.
5010         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5011         * sysdeps/posix/waitid.c (__waitid): Likewise.
5012         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5013         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5014         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5015         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5017         Likewise.
5018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5019         (__libc_pread64): Likewise.
5020         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5021         (__libc_pwrite): Likewise.
5022         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5023         (__libc_pwrite64): Likewsie.
5024         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5025         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5026         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5027         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5028         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5029         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5030         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5032         Likewise.
5033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5034         (__libc_pread64): Likewise.
5035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5036         Likewise.
5037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5038         (__libc_pwrite64): Likewise.
5039         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5040         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5041         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5042         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5043         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5044         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5045         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5046         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5047         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5048         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5049         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5050         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5051         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5052         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5053         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5054         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5055         Likewise.
5057 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5059         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5060         (CFLAGS-test-double.c): Likewise.
5061         (CFLAGS-test-ldouble.c): Likewise.
5062         (CPPFLAGS-test-ifloat.c): Likewise.
5063         (CPPFLAGS-test-idouble.c): Likewise.
5064         (CPPFLAGS-test-ildoubl.c): Likewise.
5065         (CFLAGS-test-test-fenv.c): Remove variable.
5066         (CFLAGS-test-misc.c): Likewise.
5068 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5070         [BZ #17797]
5071         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5072         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5073         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5074         CLOCKS_PER_SEC == 1000000.
5075         * time/clocktest.c (main): Replace %ld with %jd and cast to
5076         intmax_t.
5078 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5080         * sysdeps/generic/unwind-resume.h: New file.
5081         * sysdeps/gnu/unwind-resume.c: Include it.
5082         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5083         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5084         argument list.
5085         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5086         global rather than static.
5087         (_Unwind_Resume): Update user.
5088         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5089         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5090         rather than static.  Add __attribute__ ((cold)).
5091         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5092         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5093         * sysdeps/arm/arm-unwind-resume.S: New file.
5094         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5095         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5096         * sysdeps/arm/Makefile [$(subdir) = csu]
5097         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5098         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5099         Add rt-arm-unwind-resume.
5100         [$(subdir) = nptl]
5101         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5102         Add pt-arm-unwind-resume.
5103         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5104         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5106 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5108         [BZ #17748]
5109         * include/fenv.h (__feholdexcept): Declare.  Use
5110         libm_hidden_proto.
5111         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5112         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5113         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5114         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5115         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5116         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5117         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5118         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5119         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5120         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5121         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5122         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5123         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5124         (feholdexcept): Likewise.
5125         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5126         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5127         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5128         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5129         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5130         __feholdexcept instead of feholdexcept.
5131         (default_libc_feholdexcept_setround): Likewise.
5133 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5135         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5136         to avoid using stl/str to align destination.
5138 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5140         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5142 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5144         [BZ #17796]
5145         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5146         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5147         Define as weak alias not strong alias.
5149 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5151         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5152         bltzal with addiupc.
5153         (RTLD_START): Ditto.
5155 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5157         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5158         for __vdso_* functions in declarations.
5159         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5160         definitions.
5161         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5162         INTERNAL_VSYSCALL): Use struct return types to check for error.
5164         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5165         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5166         function with cast from llround().
5167         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5168         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5169         Define.
5171 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5173         [BZ #17793]
5174         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5175         Define as weak alias not strong alias.
5177         [BZ #17635]
5178         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5179         ...
5180         * ctype/ctype-extn.c: ... here.
5181         (__isblank_l): Move to ...
5182         * ctype/ctype-c99_l.c: ... here.  New file.
5183         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5184         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5185         Remove variable.
5186         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5187         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5188         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5189         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5190         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5192         [BZ #17777]
5193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5194         (posix_fadvise64): Define as weak alias not strong alias.
5195         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5196         (posix_fallocate64): Likewise.
5197         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5198         Remove variable.
5199         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5200         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5201         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5202         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5203         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5205 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5207         [BZ #16191]
5208         * NEWS: Mention bug fix.
5209         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5210         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5211         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5212         (HOST_STACK_END_ADDR): Likewise.
5214 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5216         [BZ #17748]
5217         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5218         * math/fegetround.c (fegetround): Rename to __fegetround and
5219         define as weak alias of __fegetround.  Use libm_hidden_weak.
5220         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5221         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5222         * sysdeps/arm/fegetround.c (fegetround): Likewise.
5223         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5224         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5225         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5226         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5227         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5228         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5229         Undefine after rather than before function definition; use
5230         parentheses around function name in definition.
5231         (__fegetround): Also undefine macro after function definition.
5232         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5233         __fegetround and define as weak alias of __fegetround.  Use
5234         libm_hidden_weak.  Do not undefine as macro.
5235         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5236         Likewise.
5237         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5238         __fegetround and define as weak alias of __fegetround.  Use
5239         libm_hidden_weak.
5240         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5241         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5242         * sysdeps/tile/math_private.h (__fegetround): New inline function.
5243         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5244         __fegetround and define as weak alias of __fegetround.  Use
5245         libm_hidden_weak.
5246         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5247         __fegetround instead of fegetround.
5249         [BZ #17782]
5250         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5251         Condition macro definition on [__USE_MISC].
5253         [BZ #17781]
5254         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5255         (struct sigaction): Change type of sa_flags field to int.
5257         [BZ #17780]
5258         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5259         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5260         __glibc_reserved0.
5262         * nptl/version.c (banner): Use single year in copyright notice.
5264         * NEWS: Update copyright dates.
5265         * catgets/gencat.c (print_version): Likewise.
5266         * csu/version.c (banner): Likewise.
5267         * debug/catchsegv.sh: Likewise.
5268         * debug/pcprofiledump.c (print_version): Likewise.
5269         * debug/xtrace.sh (do_version): Likewise.
5270         * elf/ldconfig.c (print_version): Likewise.
5271         * elf/ldd.bash.in: Likewise.
5272         * elf/pldd.c (print_version): Likewise.
5273         * elf/sotruss.sh: Likewise.
5274         * elf/sprof.c (print_version): Likewise.
5275         * iconv/iconv_prog.c (print_version): Likewise.
5276         * iconv/iconvconfig.c (print_version): Likewise.
5277         * locale/programs/locale.c (print_version): Likewise.
5278         * locale/programs/localedef.c (print_version): Likewise.
5279         * login/programs/pt_chown.c (print_version): Likewise.
5280         * malloc/memusage.sh (do_version): Likewise.
5281         * malloc/memusagestat.c (print_version): Likewise.
5282         * malloc/mtrace.pl: Likewise.
5283         * manual/libc.texinfo: Likewise.
5284         * nptl/version.c (banner): Likewise.
5285         * nscd/nscd.c (print_version): Likewise.
5286         * nss/getent.c (print_version): Likewise.
5287         * nss/makedb.c (print_version): Likewise.
5288         * posix/getconf.c (main): Likewise.
5289         * scripts/test-installation.pl: Likewise.
5290         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5292 2015-01-02  Will Newton  <will.newton@linaro.org>
5294         * sysdeps/arm/armv7/configure: Removed.
5295         * sysdeps/arm/armv7/configure.ac: Likewise.
5297 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5299         * All files with FSF copyright notices: Update copyright dates
5300         using scripts/update-copyrights.
5301         * intl/plural.c: Regenerated.
5302         * locale/programs/charmap-kw.h: Likewise.
5303         * locale/programs/locfile-kw.h: Likewise.
5305 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5307         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5309 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5311         [BZ #17748]
5312         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5313         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5314         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5315         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5316         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5317         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5318         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5319         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5320         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5321         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5322         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5323         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5324         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5325         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5326         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5327         libm_hidden_def.
5328         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5329         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5330         Likewise.
5331         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5332         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5333         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5334         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5335         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5336         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5337         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5338         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5339         __fegetenv instead of fegetenv.
5340         (libc_feholdsetround_noex_ctx): Likewise.
5342 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5344         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5345         (Elf_MIPS_ABIFlags_v0): New structure.
5346         (EF_MIPS_FP64): Define.
5347         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5348         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5349         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5350         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5351         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5352         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5353         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5354         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5355         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5356         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5357         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5358         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5359         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5360         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5361         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5362         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5363         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5364         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5365         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5366         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5367         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5368         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5369         field.
5370         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5371         EF_MIPS_FP64.
5372         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5373         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5374         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5375         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5376         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5377         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5378         * sysdeps/mips/tst-abi-interlink.c: Likewise.
5379         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5380         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5381         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5382         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5383         record the current FP ABI extension.
5384         (mips-mode-switch): Define to show if kernel headers support mode
5385         switching.
5386         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5387         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5388         supported SYSV ABI version to 3.
5389         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5390         feature.
5392 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5393             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5395         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5396         path.
5397         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5399 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5401         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5402         __fegetround and redefine to call __fegetround.  Remove condition
5403         on [!__NO_MATH_INLINES].
5404         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5405         function.
5406         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5407         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5408         Remove macro.
5409         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5410         instead of <fenv_libc.h>.
5411         (__llrintl): Call fegetround instead of __fegetround.
5412         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5413         instead of <fenv_libc.h>.
5414         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5415         (__lrintl): Call fegetround instead of __fegetround.
5416         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5417         instead of <fenv_libc.h>.
5418         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5419         (__rintl): Call fegetround instead of __fegetround.
5421 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5423         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5424         arrays.
5426 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5428         [BZ #17775]
5429         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5430         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5431         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5433 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5435         * sysdeps/i386/tls-macros.h: Include <features.h>.
5436         (TLS_LE): Use non-PIC version for GCC >= 5.0.
5437         (TLS_IE): Likewise.
5438         (TLS_LD): Likewise.
5439         (TLS_GD): Likewise.
5440         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5441         define for GCC >= 5.0.
5443 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
5445         * math/test-fenv.c (test_single_exception, set_single_exc,
5446         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5447         feexcp_mask_test, feenable_test, fe_single_test): Add
5448         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5449         case where they are not used.
5450         * math/libm-test.inc: Likewise.
5451         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5452         unused in the absence of FP rounding/exception support.
5453         * stdio-common/tst-printf-round.c: Likewise.
5454         * stdlib/tst-strtod-round.c: Likewise.
5455         * stdlib/tst-strtod-underflow.c: Likewise.
5457 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
5459         [BZ #17723]
5460         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5461         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5462         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5463         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5464         libm_hidden_weak.
5465         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5466         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5467         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5468         libm_hidden_def.
5469         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5470         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5471         libm_hidden_weak.
5472         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5473         Likewise.
5474         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5475         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5476         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5477         libm_hidden_weak.
5478         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5479         libm_hidden_def.
5480         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5481         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5482         (__feraiseexcept): Likewise.
5483         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5484         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5485         libm_hidden_weak.
5486         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5487         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5488         libm_hidden_def.
5489         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5490         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5491         Use libm_hidden_def.
5492         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5493         libm_hidden_def.
5494         (feraiseexcept): Define as weak not strong alias.  Use
5495         libm_hidden_weak.
5496         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5497         New inline function.  Factored out of ...
5498         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
5499         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5500         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5501         feraiseexcept.
5502         * math/w_acos.c (__acos): Likewise.
5503         * math/w_asin.c (__asin): Likewise.
5504         * math/w_ilogb.c (__ilogb): Likewise.
5505         * math/w_j0.c (y0): Likewise.
5506         * math/w_j1.c (y1): Likewise.
5507         * math/w_jn.c (yn): Likewise.
5508         * math/w_log.c (__log): Likewise.
5509         * math/w_log10.c (__log10): Likewise.
5510         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5511         * sysdeps/aarch64/fpu/math_private.h
5512         (libc_feupdateenv_test_aarch64): Likewise.
5513         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5514         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5515         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5516         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5517         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5518         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5519         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5520         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5521         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5522         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5524 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5526         [BZ #17732]
5527         * io/test-utime.c (main): Replace %ld with %jd and cast to
5528         intmax_t.
5529         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5530         * nptl/tst-mutex5.c: Include <stdint.h>.
5531         (do_test): Replace %ld with %jd and cast to intmax_t.
5532         * posix/tst-regex.c (run_test): Likewise.
5533         (run_test_backwards): Likewise.
5534         * rt/tst-clock.c: Include <stdint.h>.
5535         (clock_test): Replace %ld with %jd and cast to intmax_t.
5536         * rt/tst-cpuclock1.c: Include <stdint.h>.
5537         (do_test): Replace %lu with %ju and cast to uintmax_t.
5538         * rt/tst-cpuclock2.c: Include <stdint.h>.
5539         (do_test): Replace %lu with %ju and cast to uintmax_t.
5540         * rt/tst-mqueue1.c: Include <stdint.h>.
5541         (check_attrs): Replace %ld with %jd and cast to intmax_t.
5542         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5543         intmax_t.
5544         * rt/tst-mqueue4.c (do_test): Likewise.
5545         * rt/tst-timer4.c: Include <stdint.h>.
5546         (check_ts): Replace %ld with %jd and cast to intmax_t.
5547         (do_test): Likewise.
5548         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5549         and cast to intmax_t.
5550         * sysdeps/pthread/tst-timer.c (main): Likewise.
5551         * time/clocktest.c (main): Likewise.
5552         * time/tst-posixtz.c (do_test): Likewise.
5553         * timezone/tst-timezone.c (main): Likewise.
5555 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5556             H.J. Lu  <hongjiu.lu@intel.com>
5558         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5559         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5560         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5561         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5562         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5563         version if bit_Fast_Unaligned_Load is set.
5564         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5565         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5566         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5567         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5568         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5569         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5570         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5571         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5572         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5573         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5574         to 4.
5575         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5576         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5577         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5578         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5580 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
5582         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5583         instead of #if to avoid a Wundef warning.
5584         * stdlib/tst-limits.c (do_test): Likewise.
5586         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5587         parallel other exception macros.
5588         (fegetenv): Convert from macro to extern inline so that it applies
5589         retroactively to inline functions already seen by the compiler.
5590         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5592         * posix/Makefile (before-compile): Use $(objpfx) for
5593         posix-conf-vars-def.h.
5595 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5597         * posix/getconf.c (main): Use size_t for type of I.
5598         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5599         NSPEC.
5601         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5602         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5603         * posix/posix-envs.def: Likewise.
5604         * sysdeps/posix/sysconf.c: Likewise.
5605         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5606         (specs): Remove array.
5607         * scripts/gen-posix-conf-vars.awk: Support generation of specs
5608         array.
5610         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5611         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5612         (__sysconf): Use CONF_IS_* macros.
5614         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5615         ($(objpfx)posix-conf-vars-def.h): New target.
5616         * posix/posix-conf-vars.list: New file.
5617         * posix/posix-conf-vars.h: New file.
5618         * posix/confstr.c: Include posix-conf-vars.h.
5619         (confstr): Use CONF_IS_* macros.
5620         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
5621         CONF_IS_* macros.
5622         * scripts/gen-posix-conf-vars.awk: New file.
5624 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
5626         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5627         fegetround): Add no-op macros to avoid linknamespace issues.
5629         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5630         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5632         * sysdeps/unix/sysv/linux/tile/sysdep.h
5633         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5634         assembly-specific section to avoid a redefinition warning.
5636         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5637         long before casting to pointer to avoid a cast warning.
5639 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
5641         * sysdeps/tile/tilegx/Implies: New file.
5643 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
5645         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5647 2014-12-23  Florian Weimer  <fweimer@redhat.com>
5649         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5651 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5653         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5654         not define.
5655         * sysdeps/unix/sysv/linux/utimes.c: Do not include
5656         <kernel-features.h>.
5657         (__utimes) [__NR_utimes]: Make code unconditional.
5658         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5659         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5660         (__ASSUME_UTIMES): Do not undefine.
5661         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5662         (__ASSUME_UTIMES): Likewise.
5663         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5664         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5665         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5666         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5668 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5670         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5672 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
5674         [BZ #17747]
5675         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5676         alias to weak alias for j0l, y0l.
5677         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5678         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5680         [BZ #17746]
5681         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5682         conversion.
5684 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5686         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5687         to zero if not already defined.
5689 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5691         [BZ #17724]
5692         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5693         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
5694         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
5695         (char *) casts added.
5696         * sysdeps/ieee754/k_standardf.c: New file.
5697         * sysdeps/ieee754/k_standardl.c: Likewise.
5698         * math/Makefile (libm-support): Remove k_standard.
5699         (libm-calls): Add k_standard.
5701 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5703         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5704         Optimize to avoid an unnecessary FPCR read.
5706 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5708         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5709         Optimize to reduce FPCR/FPSR accesses.
5711 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5713         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5714         Call libc_fetestexcept_aarch64.
5716 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5718         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5719         Call libc_fesetround_aarch64.
5721 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5723         [BZ #17733]
5724         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5725         (__bind): Do not define as weak alias.
5726         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5727         define.
5728         (__getsockname): Do not define as weak alias.
5730 2014-12-22  Will Newton  <will.newton@linaro.org>
5732         * manual/install.texi: Document that we require bison 2.7
5733         or above.
5734         * INSTALL: Regenerate.
5735         * configure.ac: Use AC_CHECK_PROG_VER instead of
5736         AC_PATH_PROG when checking for bison and check for
5737         version 2.7 or above.
5738         * configure: Regenerate.
5740 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
5742         [BZ #17745]
5743         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5744         * sysdeps/tile/ffsll.c (ffsll): To here.
5746         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5748 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5750         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5751         if not defined.
5752         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5753         definition.
5754         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5755         hidden ___tls_get_addr.
5756         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5757         hidden __tls_get_addr.
5758         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5759         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5760         Likewise.
5762 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5764         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5765         _dl_init call.
5767 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5769         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5770         from "call _dl_init@PLT".
5771         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5773 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
5775         * manual/search.texi: (Array Sort Function): Clarify stable sorting
5776         guarantees.
5778 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
5780         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5782 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5784         [BZ #17744]
5785         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5786         strnlen.
5788 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5790         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5791         of multu on MIPSr6.
5792         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5793         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5794         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5795         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5796         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5798 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5800         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5801         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5802         (PTR_SUBU): Use subu for mips32r6/mips64r6.
5803         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5804         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5805         mips32r6/mips64r6.
5806         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5808 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
5810         * string/strncat.c (STRNCAT): Simplify implementation.
5812 2014-12-19  David S. Miller  <davem@davemloft.net>
5814         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5815         access the quad as both a long double and as a series of 4 words.
5817         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5818         link_map->l_info array access.
5820 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5822         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5824         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5825         * math/atest-exp2.c (TIMEOUT): Likewise.
5826         * math/atest-sincos.c (TIMEOUT): Likewise.
5828 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5830         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5831         -Wno-error with -fno-builtin-lround.
5833 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5835         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5836         Contains futex constants and functions moved over from ...
5837         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
5838         <lowlevellock-futex.h>.
5839         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5840         (lll_timedwait_tid): Add comments and parentheses around macro
5841         arguments.
5843 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5845         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5846         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
5847         (__lll_private_flag): Remove.
5848         (lll_futex_wait): Likewise.
5849         (lll_futex_timed_wait): Likewise.
5850         (lll_futex_wake): Likewise.
5851         (lll_futex_requeue): Likewise.
5852         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5853         (__lll_timedwait_tid): Spell out argument names.
5854         (lll_timedwait_tid): Add comments and parentheses around macro
5855         arguments.
5856         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5857         LLL_SHARED and LLL_PRIVATE usable from assembly code.
5859 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5861         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5862         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5863         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5864         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5865         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5866         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5867         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5868         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5869         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5872         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5873         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5874         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5875         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5876         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5877         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5878         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5879         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5881 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5883         * sysdeps/x86_64/x32/Makefile: New file.
5885 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5887         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5888         1L with (mp_limb_t) 1.
5890 2014-12-17  Roland McGrath  <roland@hack.frob.com>
5892         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5893         * nptl/libc_pthread_init.c: ... here.
5894         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5895         * nptl/register-atfork.c: ... here.
5897         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5898         Use pthread_sigmask rather than INTERNAL_SYSCALL.
5899         Use assert_perror to check its return value.
5900         (__gai_create_helper_thread): Likewise.
5902         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5904         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5906 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
5908         [BZ #17725]
5909         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5910         __profil_counter.
5911         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5912         Likewise.
5913         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5914         Likewise.
5915         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5916         Likewise.
5917         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5918         (profil_counter): Likewise.
5919         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5920         (profil_counter): Likewise.
5921         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5922         Likewise.
5923         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5924         Likewise.
5925         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5926         (profil_counter): Likewise.
5927         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5928         Likewise.
5929         [!__profil_counter] (profil_counter): Define as weak alias of
5930         __profil_counter.
5931         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5932         (profil_counter): Rename to __profil_counter.
5933         [!__profil_counter] (profil_counter): Define as weak alias of
5934         __profil_counter.
5935         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5936         (profil_counter): Rename to __profil_counter.
5937         [!__profil_counter] (profil_counter): Define as weak alias of
5938         __profil_counter.
5939         * sysdeps/posix/profil.c: Update comment referring to
5940         profil_counter.
5941         (__profil): Use __profil_counter instead of profil_counter.
5942         * sysdeps/posix/sprofil.c (profil_counter): Rename to
5943         __profil_counter.  Use __profil_counter_ushort and
5944         __profil_counter_uint in definitions.
5945         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5946         instead of profil_counter_uint and profil_counter_ushort.
5948         [BZ #17722]
5949         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5950         define as weak alias of __inet_makeaddr.
5951         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5952         as weak alias of __inet_addr.
5953         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5954         as weak alias of __inet_pton.  Use libc_hidden_weak.
5955         * include/arpa/inet.h (__inet_pton): Declare.  Use
5956         libc_hidden_proto.
5957         (inet_makeaddr): Don't use libc_hidden_proto.
5958         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
5959         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5960         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
5961         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5962         Remove variable.
5963         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5964         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5966 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
5968         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5970 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5972         * stdio-common/bug-vfprintf-nargs.c (do_test):
5973         Cast value to intptr_t to avoid format warning
5974         for usage with PRIdPTR printing macro.
5976 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5978         * libio/tst-widetext.c (do_test):
5979         Use format type %td instead of %Zd for ptrdiff_t
5980         in order to avoid format warning.
5982 2014-12-17  Andreas Schwab  <schwab@suse.de>
5984         * nscd/mem.c (gc): Add size_t cast to match printf format.
5986 2014-12-16  Roland McGrath  <roland@hack.frob.com>
5988         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5989         (init): Apply PTR_MANGLE to pointers before storing them.
5990         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5991         before using them.
5993 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
5995         [BZ #17719]
5996         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5997         define as weak alias of __memrchr.
5998         (__memrchr): Do not define as strong alias of memrchr.
5999         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6000         Remove variable.
6001         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6002         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6003         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6005         [BZ #17717]
6006         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6007         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6008         (if_indextoname): Rename to __if_indextoname and define as weak
6009         alias of __if_indextoname.  Use libc_hidden_weak.
6010         (if_freenameindex): Rename to __if_freenameindex and define as
6011         weak alias of __if_freenameindex.
6012         (if_nameindex): Rename to __if_nameindex and define as weak alias
6013         of __if_nameindex.
6014         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6015         __if_nametoindex and define as weak alias of __if_nametoindex.
6016         Use libc_hidden_weak.
6017         (if_freenameindex): Rename to __if_freenameindex and define as
6018         weak alias of __if_freenameindex.
6019         (if_nameindex): Rename to __if_nameindex and define as weak alias
6020         of __if_nameindex.
6021         (if_indextoname): Rename to __if_indextoname and define as weak
6022         alias of __if_indextoname.  Use libc_hidden_weak.
6023         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6024         __if_nametoindex and define as weak alias of __if_nametoindex.
6025         Use libc_hidden_weak.
6026         (if_freenameindex): Rename to __if_freenameindex and define as
6027         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6028         (if_nameindex_netlink): Use __if_freenameindex instead of
6029         if_freenameindex.
6030         (if_nameindex): Rename to __if_nameindex and define as weak alias
6031         of __if_nameindex.  Use libc_hidden_weak.
6032         (if_indextoname): Rename to __if_indextoname and define as weak
6033         alias of __if_indextoname.  Use libc_hidden_weak.
6034         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6035         libc_hidden_proto.
6036         [!_ISOMAC] (__if_freenameindex): Likewise.
6037         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6038         if_nametoindex.
6039         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6040         variable.
6041         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6042         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6043         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6044         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6045         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6046         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6047         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6049         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6050         Remove variable.
6051         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6052         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6054 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6056         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6057         subscript above bounds'
6059         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6060         bounds.
6062 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6064         * libio/tst-fopenloc.c: Use test-skeleton.c.
6066         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6067         (entry): Rename to ITEM.
6068         (do_test, comp): Adjust.
6070         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6072 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6074         * string/tester.c: Include <libc-internal.h>.
6075         (test_memset): Ignore -Wmemset-transposed-args.
6077 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6079         * misc/tst-mntent2.c (do_test): Fix warning.
6081 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6083         * elf/tst-unique4lib.cc(a): Mark as used.
6085 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6087         [BZ #17630]
6088         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6089         names.
6091 2014-12-16  Allan McRae  <allan@archlinux.org>
6093         * stdio-common/Makefile (tests): Re-add bug26.
6095 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6097         [BZ #17657]
6098         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6099         static array.
6101 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6103         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6104         (__lll_lock_wait): Likewise.
6105         (__lll_timedlock_wait): Likewise.
6106         (__lll_timedwait_tid): Likewise.
6107         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6108         (__lll_robust_timedlock_wait): Likewise.
6109         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6110         (lll_cond_trylock): Likewise.
6111         (__lll_lock): Likewise.
6112         (__lll_robust_lock): Likewise.
6113         (__lll_cond_lock): Likewise.
6114         (lll_robust_cond_lock): Likewise.
6115         (__lll_timedlock): Likewise.
6116         (__lll_robust_timedlock): Likewise.
6117         (__lll_unlock): Likewise.
6118         (__lll_robust_unlock): Likewise.
6119         (lll_wait_tid): Likewise.
6120         (lll_timedwait_tid): Likewise.
6122 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6124         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6126 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6128         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6130 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6132         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6133         * stdio-common/tst-sprintf.c: Likewise.
6135 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6137         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6139 2014-12-15  Jeff Law  <law@redhat.com>
6141         [BZ #16617]
6142         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6143         on the heap.  (CVE-2012-3406)
6144         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6145         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
6146         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6148 2014-12-15  Will Newton  <will.newton@linaro.org>
6150         * manual/install.texi: Bump required version of texinfo
6151         to 4.7 from 4.5.
6152         * INSTALL: Regenerated.
6153         * configure.ac: Check for makeinfo version 4.7 and above.
6154         * configure: Regenerated.
6156 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6158         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6159         PREFIX, string constant to insert between directory and name.
6160         * sysdeps/posix/shm_open.c: Update caller.
6161         * sysdeps/posix/shm_unlink.c: Likewise.
6162         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6163         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6164         (SEM_SHM_PREFIX): New macro.
6165         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6166         [$(have-thread-library) = no].
6167         * nptl/Makefile (libpthread-routines): Add shm-directory.
6168         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6169         * sysdeps/nptl/shm-directory.h: New file.
6170         * sysdeps/posix/shm-directory.c
6171         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6172         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6173         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6174         INTERNAL_SYSCALL.
6175         (__where_is_shmfs): Function removed.
6176         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6177         Variables removed.
6178         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6179         Use SHM_GET_NAME.
6180         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6182         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6183         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6184         unconditional for use inside libpthread.
6185         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6187 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6189         * nptl/pthread_getaffinity.c: New file.
6190         * nptl/pthread_setaffinity.c: New file.
6191         * nptl/pthread_getname.c: New file.
6192         * nptl/pthread_setname.c: New file.
6194         * nptl/pthread_create.c (START_THREAD_DEFN)
6195         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6197 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6198             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6200         * resolv/res_send.c (send_vc): Disable warning resplen may
6201         be used uninitialized.
6203 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6205         * nptl/tst-mutex6.c
6206         (ATTR_NULL): New define checks ATTR against NULL.
6207         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6208         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6210 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6212         [BZ #17581]
6213         * malloc/hooks.c
6214         (mem2mem_check): Revert my previous change.
6215         (malloc_check_get_size): Revert my previous change.
6216         (mem2chunk_check): Revert my previous change.
6218 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6220         * sysdeps/posix/shm-directory.c: New file.
6221         * sysdeps/posix/shm-directory.h: New file.
6222         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6223         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6224         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
6225         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6226         Transmute EPERM to EACCES.
6227         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6228         from ...
6229         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
6230         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6232 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6234         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6235         pointer and cast to uintptr_t.
6236         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6237         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6238         Add cast to avoid warning.
6239         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6241 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6243         * nptl/semaphore.h: Move to ...
6244         * sysdeps/pthread/semaphore.h: ... here.
6245         * Makefile (installed-headers): Change nptl/semaphore.h to
6246         sysdeps/pthread/semaphore.h.
6248 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6250         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6251         generated error format strings.
6253         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6254         -Wformat-extra-args warnings for scanf formats.
6255         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6256         test of zero-length format (duh).
6257         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6258         corner-case scanf format test.
6259         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6260         generated fprintf format string.
6261         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6262         corner-case sprintf format tests.
6263         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6264         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6265         -Wformat-extra-args warnings throughout.
6266         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6267         (CFLAGS-scanf4.c): Likewise.
6268         (CFLAGS-scanf7.c): Likewise.
6269         (CFLAGS-tst-sprintf.c): Likewise.
6270         (CFLAGS-tst-printf.c): Likewise.
6271         (CFLAGS-tst-printfsz.c): Likewise.
6273 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6275         * include/cpio.h: New file.
6276         * include/fmtmsg.h: Likewise.
6278         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
6279         corresponding format argument to size_t.
6280         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
6281         arguments.
6282         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
6283         corresponding format argument to size_t.
6284         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
6285         arguments.
6286         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
6287         corresponding format argument to size_t.
6288         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6289         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6290         (CFLAGS-tst-mbswcs2.c): Likewise.
6291         (CFLAGS-tst-mbswcs3.c): Likewise.
6292         (CFLAGS-tst-mbswcs4.c): Likewise.
6293         (CFLAGS-tst-mbswcs5.c): Likewise.
6294         (CFLAGS-tst-trans.c): Likewise
6296 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6298         * posix/regexbug1.c (main): Use "%s" format with regerror results,
6299         rather than assuming they won't contain any '%'s.
6301 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
6303         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6304         inhibit_loop_to_libcall to avoid recursive calls.
6305         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6306         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6308 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6310         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6311         prototype.
6313 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6315         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6316         integer value instead of boolean.
6318 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6320         * malloc/malloc.c: Fix powerof2 check.
6322 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6324         * locale/programs/locfile.h (maybe_swap_uint32):
6325         Remove inline and add unused attribute.
6327 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6329         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6330         Truncating assembler expression to a .long expression.
6332 2014-12-11  Andreas Schwab  <schwab@suse.de>
6334         * elf/rtld.c (struct map_args): Constify str member.
6335         (do_preload): Constify fname argument.
6337 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6339         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6340         constants definition.
6342 2014-12-11  Andreas Schwab  <schwab@suse.de>
6344         [BZ #16657]
6345         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6346         FORCE_ELISION instead of DO_ELISION.
6347         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6348         Remove.
6349         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6350         Likewise.
6352         * iconvdata/gconv-modules: Remove duplicate entry.
6354 2014-12-11  Will Newton  <will.newton@linaro.org>
6356         Merge gettext 0.19.3 into intl/.
6358         This involves a number of cosmetic changes to comments
6359         and ANSI function definitions and prototypes throughout
6360         all the files. The gettext copyright header is used but
6361         with the date ranges taken from the glibc copy.
6363         * NEWS: Add gettext merge to 2.21.
6364         * intl/bindtextdom.c: Switch to gettext copyright.
6365         Use ANSI definitions and prototypes.
6366         Use gl_* locking primitives rather than __libc_* ones.
6367         Use __builtin_expect rather than __glibc_likely/unlikely.
6368         * intl/dcgettext.c: Switch to gettext copyright.
6369         Use ANSI definitions and prototypes.
6370         * intl/dcigettext.c: Switch to gettext copyright.
6371         Use ANSI definitions and prototypes.
6372         (INTDIV0_RAISES_SIGFPE): New define.
6373         Use gl_* locking primitives rather than __libc_* ones.
6374         Include eval-plural.h instead of plural-eval.c.
6375         Use __builtin_expect rather than __glibc_likely/unlikely.
6376         * intl/dcngettext.c: Switch to gettext copyright.
6377         Use ANSI definitions and prototypes.
6378         * intl/dgettext.c: Likewise.
6379         * intl/dngettext.c: Likewise.
6380         * intl/plural-eval.c: Renamed to...
6381         * intl/eval-plural.h: ...this.
6382         * intl/explodename.c: Switch to gettext copyright.
6383         Use ANSI definitions and prototypes.
6384         (_nl_explode_name): Use strchr instead of __rawmemchr.
6385         * intl/finddomain.c: Switch to gettext copyright.
6386         Use ANSI definitions and prototypes.
6387         Use gl_* locking primitives rather than __libc_* ones.
6388         (_nl_find_domain): Use malloc rather than alloca for
6389         allocation of temporary locale name.
6390         * intl/gettext.c: Switch to gettext copyright.
6391         Use ANSI definitions and prototypes.
6392         * intl/gettextP.h: Switch to gettext copyright.
6393         Use ANSI definitions and prototypes.
6394         Use gl_* locking primitives rather than __libc_* ones.
6395         * intl/gmo.h: Switch to gettext copyright.
6396         (struct sysdep_string): Move struct segment_pair outside of
6397         struct definition.
6398         * intl/hash-string.c: Use ANSI definitions and prototypes.
6399         * intl/hash-string.h: Switch to gettext copyright.
6400         Use ANSI definitions and prototypes.
6401         * intl/l10nflist.c: Switch to gettext copyright.
6402         Use ANSI definitions and prototypes.
6403         (_nl_normalize_codeset): Avoid integer overflow.
6404         * intl/loadinfo.h: Switch to gettext copyright.
6405         Use ANSI definitions and prototypes.
6406         (LIBINTL_DLL_EXPORTED): New define.
6407         (PATH_SEPARATOR): New define.
6408         * intl/loadmsgcat.c: Switch to gettext copyright.
6409         * intl/localealias.c: Switch to gettext copyright.
6410         Use ANSI definitions and prototypes.
6411         (_nl_expand_alias): Use PATH_SEPARATOR.
6412         * intl/ngettext.c: Switch to gettext copyright.
6413         Use ANSI definitions and prototypes.
6414         * intl/plural-exp.c: Likewise.
6415         * intl/plural-exp.h: Switch to gettext copyright.
6416         Use ANSI definitions and prototypes.
6417         (struct expression): Move definition of enum operator outside
6418         of struct definition.
6419         * intl/plural.c: Regenerate.
6420         * intl/plural.y: Switch to gettext copyright.
6421         Use ANSI definitions and prototypes.
6422         Port to bison 3.0.
6423         * intl/textdomain.c: Switch to gettext copyright.
6424         Use ANSI definitions and prototypes.
6425         Use gl_* locking primitives rather than __libc_* ones.
6427 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
6429         * debug/warning-nop.c: Add used atrribute.
6431 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6433         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6435         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6436         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6437         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6439 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6440             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6442         [BZ #17634]
6443         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6444         Undefine after defining function.  Define as weak alias of
6445         __wcschr.  Use libc_hidden_weak.
6446         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
6447         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6448         (libc_hidden_def): Also define __GI___wcschr alias.
6449         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6450         __wcschr and define as weak alias of __wcschr.
6451         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6452         __wcschr.
6453         [!WCSCHR] (DEFAULT_WCSCHR): Define.
6454         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6455         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
6456         libc_hidden_weak.  Do not use libc_hidden_def.
6457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6458         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6459         __GI___wcschr alias.
6460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6461         [IS_IN (libc)] (wcschr): Define as macro expanding to
6462         __redirect_wcschr.
6463         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6464         [IS_IN (libc)] (__wcschr_power6): Likewise.
6465         [IS_IN (libc)] (__wcschr_power7): Likewise.
6466         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
6467         instead of wcschr.
6468         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6469         __libc_wcschr.
6470         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6471         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6472         __wcschr and define as weak alias of __wcschr.  Use
6473         libc_hidden_builtin_def.
6474         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6475         as weak alias of __wcschr.  Use libc_hidden_weak.
6476         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6477         wcschr.
6478         * time/era.c (_nl_init_era_entries): Likewise.
6479         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6480         variable.
6481         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6482         (test-xfail-XPG4/time.h/linknamespace): Likewise.
6484 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6486         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6487         format for long int variable.
6489 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
6491         [BZ #10672]
6492         * manual/search.texi: (Array Sort Function): Remove claim how to make
6493         qsort stable.
6495 2014-12-10  Andreas Schwab  <schwab@suse.de>
6497         [BZ #12847]
6498         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6499         user-controlled locks.
6501 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
6503         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6504         register.
6506 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6508         * configure.ac (--disable-werror): New configure option.
6509         (enable_werror): New AC_SUBST.
6510         * configure: Regenerated.
6511         * config.make.in (enable-werror): New variable.
6512         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6513         -Wno-error=undef.
6514         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6515         * manual/install.texi (Configuring and compiling): Document
6516         --disable-werror.
6517         * INSTALL: Regenerated.
6518         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6519         (CFLAGS-tst-chk2.c): Likewise.
6520         (CFLAGS-tst-chk3.c): Likewise.
6521         (CFLAGS-tst-chk4.cc): Likewise.
6522         (CFLAGS-tst-chk5.cc): Likewise.
6523         (CFLAGS-tst-chk6.cc): Likewise.
6524         (CFLAGS-tst-lfschk1.c): Likewise.
6525         (CFLAGS-tst-lfschk2.c): Likewise.
6526         (CFLAGS-tst-lfschk3.c): Likewise.
6527         (CFLAGS-tst-lfschk4.cc): Likewise.
6528         (CFLAGS-tst-lfschk5.cc): Likewise.
6529         (CFLAGS-tst-lfschk6.cc): Likewise.
6531         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6532         (main): Disable -Wdeprecated-declarations around calls to
6533         register_printf_function.
6535         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6536         (do_test): Disable -Wdiv-by-zero around some calls to
6537         fwrite_unlocked and fread_unlocked.
6539         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6540         (DIAG_POP_NEEDS_COMMENT): Likewise.
6541         (_DIAG_STR1): Likewise.
6542         (_DIAG_STR): Likewise.
6543         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6544         * stdio-common/bug21.c: Include <libc-internal.h>.
6545         (do_test): Disable -Wformat around call to sscanf.
6546         * stdio-common/scanf14.c: Include <libc-internal.h>.
6547         (main): Disable -Wformat around some calls to scanf functions.
6549 2014-12-09  Torvald Riegel  <triegel@redhat.com>
6551         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6553 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6555         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6556         stack variable alignment.
6558 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
6560         [BZ #17682]
6561         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6562         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6563         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6564         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6565         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6566         __getrlimit instead of getrlimit.
6567         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6568         __gettimeofday instead of gettimeofday.
6569         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6570         Likewise.
6571         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6572         Likewise.
6573         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6574         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6575         Remove variable.
6576         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6577         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6579 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6581         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6582         for wide-character tests.
6584 2014-12-04  Roland McGrath  <roland@hack.frob.com>
6586         * io/openat64.c: #include <libc-internal.h>
6587         (__openat64): Prototypify.  Use ignore_value on MODE.
6588         * io/openat.c: Likewise.
6589         * misc/reboot.c: #include <libc-internal.h>
6590         (reboot): Prototypify.  Use ignore_value on HOWTO.
6591         * misc/ptrace.c: #include <libc-internal.h>
6592         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
6594 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
6596         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6597         XPG4, UNIX98 and XOPEN2K.
6598         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6599         Remove variable.
6600         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6602 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6604         * libio/fileops.c: Use ISO C style for function definitions.
6605         * libio/iofopen.c: Likewise.
6606         * libio/wfileops.c: Likewise.
6608         [BZ #17653]
6609         * libio/fileops.c (_IO_new_file_underflow): Unset cached
6610         offset on EOF.
6611         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6612         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6613         (fgets_func): Function pointer to fgets and fgetws.
6614         (do_ftell_test): Add test to verify ftell value after read
6615         EOF.
6616         (do_test): Set fgets_func.
6618         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6619         O_TRUNC flag for w and w+ modes.
6620         (do_rewind_test): Likewise.
6621         (do_ftell_test): Likewise.
6622         (do_write_test): Likewise.
6624         [BZ #17647]
6625         * libio/fileops.c (do_ftell): Seek only when there are
6626         unflushed writes.
6627         * libio/wfileops.c (do_ftell_wide): Likewise.
6628         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6629         test case.
6630         (do_one_test): Call it.
6632 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
6634         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6635         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6636         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6637         Remove variable.
6638         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6639         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6640         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6642 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6644         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6645         Remove variable.
6646         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6648         [BZ #17668]
6649         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6650         as weak alias of __getifaddrs.  Use libc_hidden_weak.
6651         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6652         __freeifaddrs.  Use libc_hidden_weak.
6653         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6654         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
6655         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6656         __freeifaddrs.  Use libc_hidden_weak.
6657         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6658         __getifaddrs and define as weak alias of __getifaddrs.  Use
6659         libc_hidden_weak.
6660         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6661         __freeifaddrs.  Use libc_hidden_weak.
6662         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6663         Remove variable.
6664         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6665         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6667 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6669         [BZ #17601]
6670         * sysdeps/mips/start.S (__start): Use indirect jump to call
6671         __libc_start_main.
6673 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6675         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6677         * nptl/tst-mutex1.c: Include <stdbool.h>.
6678         [!ATTR] (ATTR_NULL): New macro.
6679         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6680         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6681         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6683         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6684         to char *.
6686         [BZ #17665]
6687         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6688         Change conditional to [__USE_MISC].
6690         [BZ #17664]
6691         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6692         fgets_unlocked.
6693         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6694         __fgets_unlocked.
6695         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6696         fgets_unlocked.
6697         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6698         Remove variable.
6699         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6700         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6701         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6702         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6703         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6704         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6705         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6706         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6707         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6709         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6711 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6713         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6714         Remove strpbrk objects.
6715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6716         (__libc_ifunc_impl_list): Remove strpbrk implementation.
6717         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6718         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6719         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6720         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6723         Remove strcspn objects.
6724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6725         (__libc_ifunc_impl_list): Remove strcspn implementation.
6726         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6727         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6728         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6729         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6731         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6732         Remove strspn objetcs.
6733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6734         (__libc_ifunc_impl_list): Remove strspn implementation.
6735         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6736         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6737         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6738         * sysdeps/powerpc/powerpc64/strspn.S: New file.
6740 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
6742         [BZ #17581]
6743         * malloc/hooks.c
6744         (mem2mem_check): Add a terminator to the chain of checking blocks.
6745         (malloc_check_get_size): Use it here.
6746         (mem2chunk_check): Ditto.
6748 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6750         * sysdeps/powerpc/powerpc64/strtok.S: New file.
6751         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6753 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
6755         * bits/ioctl-types.h: Indent preprocessor directives correctly.
6757         * nptl/nptl-init.c: Include libc-internal.h.
6758         (__pthread_initialize_minimal_internal): Use ROUND_UP.
6760         * elf/ldconfig.c (search_dir): Expand comment.
6762 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
6764         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6765         variable.
6766         (linknamespace-symlist-stdlibs-tests): Likewise.
6767         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6768         instead of $(objpfx)symlist-stdlibs.
6769         (linknamespace-libs-isoc): New variable.
6770         (linknamespace-libs): Use $(linknamespace-libs-isoc).
6771         (linknamespace-libs-ISO): New variable.
6772         (linknamespace-libs-ISO99): Likewise.
6773         (linknamespace-libs-ISO11): Likewise.
6774         (linknamespace-libs-XPG3): Likewise.
6775         (linknamespace-libs-XPG4): Likewise.
6776         (linknamespace-libs-POSIX): Likewise.
6777         (linknamespace-libs-UNIX98): Likewise.
6778         (linknamespace-libs-XOPEN2K): Likewise.
6779         (linknamespace-libs-POSIX2008): Likewise.
6780         (linknamespace-libs-XOPEN2K8): Likewise.
6781         ($(objpfx)symlist-stdlibs): Replace by
6782         $(linknamespace-symlist-stdlibs-tests).  Use
6783         $(linknamespace-libs-$*) as set of libraries.
6784         ($(linknamespace-header-tests)): Update dependencies.  Use
6785         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6786         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6787         * conform/linknamespace.pl: Remove comment about considering
6788         definitions of symbols from irrelevant libraries.
6790 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6792         [BZ #13862]
6793         * elf/dl-tls.c: Include <atomic.h>.
6794         (oom): Remove #ifdef SHARED/#endif.
6795         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6796         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
6797         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6798         big enough.
6799         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6800         * nptl/Makefile (tests): Add tst-stack4.
6801         (modules-names): Add tst-stack4mod.
6802         ($(objpfx)tst-stack4): New.
6803         (tst-stack4mod.sos): Likewise.
6804         ($(objpfx)tst-stack4.out): Likewise.
6805         ($(tst-stack4mod.sos)): Likewise.
6806         (clean): Likewise.
6807         * nptl/tst-stack4.c: New file.
6808         * nptl/tst-stack4mod.c: Likewise.
6810 2014-11-27  J. Brown  <jb999@gmx.de>
6812         * sysdeps/x86/bits/string.h: Add recent CPUs.
6814 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6816         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6817         sigblock.
6819         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6820         feof.
6822         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6823         variable.
6825 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6827         * nscd/connections.c: Include libc-internal.h because of macro
6828         usage ignore_value.
6830 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6832         * string/bits/string3.h (__warn_memset_zero_len): Don't
6833         declare for gcc newer than 5.0.
6834         (memset): Don't test for zero-length __LEN for gcc newer than
6835         5.0.
6837 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6839         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6840         size_t for %zu format.
6842         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6843         difference, not %ju.
6845 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6847         * include/libc-internal.h (ignore_value): New macro.
6848         * nscd/connections.c (restart): Wrap calls to setuid and setgid
6849         with ignore_value.
6851         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6852         definition.
6854         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6855         pthread_cleanup_push to void *.
6857         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6858         Undefine.
6860         [BZ #16619]
6861         [BZ #16740]
6862         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6863         instead of 1L << 52.
6865         * libio/bug-rewind.c (do_test): Check fwscanf return values.
6866         * libio/bug-rewind2.c (do_test): Likewise.
6868         * debug/test-stpcpy_chk-ifunc.c: Remove file.
6869         * debug/test-strcpy_chk-ifunc.c: Likewise.
6870         * wcsmbs/test-wcschr-ifunc.c: Likewise.
6871         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6872         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6873         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6874         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6875         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6876         * Rules [$(multi-arch) = no] (tests): Do not filter out
6877         $(tests-ifunc).
6878         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6879         * debug/Makefile (tests-ifunc): Remove variable.
6880         (tests): Do not add $(tests-ifunc).
6881         * wcsmbs/Makefile (tests-ifunc): Remove variable.
6882         (tests): Do not add $(tests-ifunc).
6883         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6884         [TEST_IFUNC]: Remove conditionals.
6885         * string/test-string.h (TEST_IFUNC): Remove macro.
6886         [TEST_IFUNC]: Remove conditionals.
6888         * string/test-strchr.c [!WIDE] (L): New macro.
6889         [WIDE] (L): Likewise.
6890         (check1): Use CHAR instead of char.  Use L on string and character
6891         constants.
6893 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
6895         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6896         tests.
6897         * sysdeps/powerpc/bits/atomic.h
6898         (__arch_atomic_exchange_and_add_32_acq): Add definition.
6899         (__arch_atomic_exchange_and_add_32_rel): Likewise.
6900         (atomic_exchange_and_add_acq): Likewise.
6901         (atomic_exchange_and_add_rel): Likewise.
6902         * sysdeps/powerpc/powerpc32/bits/atomic.h
6903         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6904         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6905         * sysdeps/powerpc/powerpc64/bits/atomic.h
6906         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6907         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6909 2014-11-26  Torvald Riegel  <triegel@redhat.com>
6911         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6912         Change synchronization of __sched_fifo_min_prio and
6913         __sched_fifo_max_prio.
6914         * nptl/pthread_mutexattr_getprioceiling.c
6915         (pthread_mutexattr_getprioceiling): Likewise.
6916         * nptl/pthread_mutexattr_setprioceiling.c
6917         (pthread_mutexattr_setprioceiling): Likewise.
6918         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6919         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6920         Likewise.
6922 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6924         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6925         void.
6927 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6929         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6930         third argument const.
6932 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
6934         fnmatch: work around GCC compiler warning bug with uninit var
6935         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6936         This works around a bug with x86-64 GCC 4.9.2 and earlier
6937         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6938         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6939         used uninitialized in this function [-Wmaybe-uninitialized]".
6941 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6943         * posix/bug-regex31.c (main): Return RES not 0.
6945 2014-11-25  Anton Blanchard <anton@samba.org>
6947         * sysdeps/powerpc/bits/atomic.h
6948         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6950 2014-11-24  Sterling Augustine  <saugustine@google.com>
6952         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6954 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
6956         [BZ #17608]
6957         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6959 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
6961         [BZ #17633]
6962         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6963         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6964         variable.
6965         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6966         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6968 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6970         * string/strncpy.c (strncpy): Improve performance by using memset.
6972 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6974         * string/strcpy.c (strcpy):
6975         Improve performance by using strlen and memcpy.
6977 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
6979         * string/strcoll_l.c (get_next_seq): __always_inline.
6980         * string/strcoll_l.c (do_compare): __always_inline.
6982 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6984         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6985         defined.
6986         * include/mqueue.h: Likewise.
6987         * include/stdlib.h: Likewise.
6989         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6990         (get_null_defines): Adjust.
6991         * sunrpc/Makefile: Adjust comment.
6992         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6993         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6994         (CFLAGS-interp.c): Likewise.
6995         (CFLAGS-ldconfig.c): Likewise.
6996         (CPPFLAGS-.os): Likewise.
6997         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6998         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6999         * extra-modules.mk (extra-modules.mk): Likewise.
7000         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7001         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7002         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7003         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7004         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7005         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7006         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7007         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7008         * iconvdata/Makefile (CPPFLAGS): Likewise.
7009         (cpp-srcs-left): Add libof for all iconvdata routines.
7010         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7011         * include/assert.h: Likewise.
7012         * include/ctype.h: Likewise.
7013         * include/errno.h: Likewise.
7014         * include/libc-symbols.h: Likewise.
7015         * include/math.h: Likewise.
7016         * include/netdb.h: Likewise.
7017         * include/resolv.h: Likewise.
7018         * include/stdio.h: Likewise.
7019         * include/stdlib.h: Likewise.
7020         * include/string.h: Likewise.
7021         * include/sys/stat.h: Likewise.
7022         * include/wctype.h: Likewise.
7023         * intl/l10nflist.c: Likewise.
7024         * libidn/idn-stub.c: Likewise.
7025         * libio/libioP.h: Likewise.
7026         * nptl/libc_multiple_threads.c: Likewise.
7027         * nptl/pthreadP.h: Likewise.
7028         * posix/regex_internal.h: Likewise.
7029         * resolv/res_hconf.c: Likewise.
7030         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7031         * sysdeps/arm/memmove.S: Likewise.
7032         * sysdeps/arm/sysdep.h: Likewise.
7033         * sysdeps/generic/_itoa.h: Likewise.
7034         * sysdeps/generic/symbol-hacks.h: Likewise.
7035         * sysdeps/gnu/errlist.awk: Likewise.
7036         * sysdeps/gnu/errlist.c: Likewise.
7037         * sysdeps/i386/i586/memcpy.S: Likewise.
7038         * sysdeps/i386/i586/memset.S: Likewise.
7039         * sysdeps/i386/i686/memcpy.S: Likewise.
7040         * sysdeps/i386/i686/memmove.S: Likewise.
7041         * sysdeps/i386/i686/mempcpy.S: Likewise.
7042         * sysdeps/i386/i686/memset.S: Likewise.
7043         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7044         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7045         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7046         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7047         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7048         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7049         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7050         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7051         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7052         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7053         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7054         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7055         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7056         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7057         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7058         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7059         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7060         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7061         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7062         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7063         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7064         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7065         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7066         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7067         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7068         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7069         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7070         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7071         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7072         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7073         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7074         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7076         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7077         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7078         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7079         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7080         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7081         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7082         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7083         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7084         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7085         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7086         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7087         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7088         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7089         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7090         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7091         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7092         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7093         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7094         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7095         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7096         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7097         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7098         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7099         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7100         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7101         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7102         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7103         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7104         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7105         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7106         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7107         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7108         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7109         * sysdeps/posix/closedir.c: Likewise.
7110         * sysdeps/posix/opendir.c: Likewise.
7111         * sysdeps/posix/readdir.c: Likewise.
7112         * sysdeps/posix/rewinddir.c: Likewise.
7113         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7114         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7115         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7116         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7117         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7118         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7119         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7121         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7123         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7124         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7125         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7126         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7127         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7128         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7129         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7130         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7131         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7132         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7133         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7134         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7135         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7136         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7137         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7139         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7141         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7148         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7149         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7150         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7151         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7152         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7153         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7154         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7155         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7156         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7157         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7158         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7159         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7160         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7161         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7162         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7163         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7164         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7166         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7167         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7168         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7169         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7170         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7171         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7172         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7173         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7174         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7175         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7176         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7177         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7178         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7179         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7180         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7181         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7182         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7183         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7184         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7185         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7186         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7187         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7188         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7189         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7190         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7191         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7192         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7193         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7194         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7195         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7196         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7197         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7198         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7199         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7200         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7201         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7202         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7203         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7204         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7205         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7206         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7207         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7208         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7209         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7210         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7211         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7212         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7213         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7214         * sysdeps/unix/alpha/sysdep.S: Likewise.
7215         * sysdeps/unix/alpha/sysdep.h: Likewise.
7216         * sysdeps/unix/make-syscalls.sh: Likewise.
7217         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7218         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7219         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7220         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7221         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7222         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7223         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7224         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7225         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7226         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7227         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7228         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7229         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7230         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7231         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7232         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7233         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7234         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7235         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7236         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7237         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7238         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7239         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7240         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7241         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7242         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7243         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7246         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7247         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7248         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7250         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7251         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7252         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7253         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7254         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7255         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7256         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7257         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7258         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7259         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7260         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7261         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7263         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7264         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7265         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7266         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7267         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7268         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7269         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7270         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7271         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7272         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7273         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7274         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7275         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7276         * sysdeps/x86_64/memcpy.S: Likewise.
7277         * sysdeps/x86_64/memmove.c: Likewise.
7278         * sysdeps/x86_64/memset.S: Likewise.
7279         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7280         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7281         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7282         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7283         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7284         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7285         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7286         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7287         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7288         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7289         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7290         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7291         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7292         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7293         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7294         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7295         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7296         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7297         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7298         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7299         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7300         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7301         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7302         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7303         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7304         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7305         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7306         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7307         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7308         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7309         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7310         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7311         * sysdeps/x86_64/strcmp.S: Likewise.
7313         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7315         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7316         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7317         * elf/rtld-Rules: Likewise.
7318         * elf/setup-vdso.h: Likewise.
7319         * include/assert.h: Likewise.
7320         * include/bits/stdlib-float.h: Likewise.
7321         * include/errno.h: Likewise.
7322         * include/sys/stat.h: Likewise.
7323         * include/unistd.h: Likewise.
7324         * sysdeps/aarch64/setjmp.S: Likewise.
7325         * sysdeps/alpha/setjmp.S: Likewise.
7326         * sysdeps/arm/__longjmp.S: Likewise.
7327         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7328         * sysdeps/arm/setjmp.S: Likewise.
7329         * sysdeps/arm/sysdep.h: Likewise.
7330         * sysdeps/generic/_itoa.h: Likewise.
7331         * sysdeps/generic/dl-sysdep.h: Likewise.
7332         * sysdeps/generic/ldsodefs.h: Likewise.
7333         * sysdeps/i386/dl-tls.h: Likewise.
7334         * sysdeps/i386/setjmp.S: Likewise.
7335         * sysdeps/m68k/setjmp.c: Likewise.
7336         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7337         * sysdeps/mach/hurd/opendir.c: Likewise.
7338         * sysdeps/posix/getcwd.c: Likewise.
7339         * sysdeps/posix/opendir.c: Likewise.
7340         * sysdeps/posix/profil.c: Likewise.
7341         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7342         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7343         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7344         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7345         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7346         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7347         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7348         * sysdeps/s390/dl-tls.h: Likewise.
7349         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7350         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7351         * sysdeps/sh/sh3/setjmp.S: Likewise.
7352         * sysdeps/sh/sh4/setjmp.S: Likewise.
7353         * sysdeps/unix/alpha/sysdep.h: Likewise.
7354         * sysdeps/unix/arm/sysdep.S: Likewise.
7355         * sysdeps/unix/i386/sysdep.S: Likewise.
7356         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7357         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7358         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7359         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7360         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7361         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7362         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7363         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7364         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7365         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7366         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7367         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7368         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7371         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7372         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7373         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7374         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7375         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7376         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7377         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7378         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7379         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7380         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7381         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7383         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7384         * sysdeps/x86_64/setjmp.S: Likewise.
7386         * include/math.h: Use IS_IN instead of IS_IN_libm.
7387         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7388         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7389         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7390         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7391         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7392         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7393         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7394         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7395         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7396         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7397         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7398         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7399         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7400         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7401         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7402         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7403         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7404         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7405         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7406         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7407         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7408         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7409         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7410         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7411         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7412         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7413         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7414         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7415         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7416         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7417         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7418         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7419         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7421         Likewise.
7422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7423         Likewise.
7424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7425         Likewise.
7426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7427         Likewise.
7428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7429         Likewise.
7430         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7431         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7432         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7433         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7434         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7435         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7441         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7442         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7443         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7444         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7445         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7446         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7447         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7448         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7449         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7450         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7451         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7452         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7453         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7454         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7456         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7458         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7459         * nptl/pthreadP.h: Likewise.
7460         * nptl_db/structs.def: Likewise.
7461         * sysdeps/arm/sysdep.h: Likewise.
7462         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7463         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7464         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7465         * sysdeps/unix/alpha/sysdep.h: Likewise.
7466         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7468         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7469         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7470         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7471         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7473         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7474         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7475         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7476         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7477         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7478         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7479         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7482         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7483         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7484         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7485         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7486         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7487         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7488         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7489         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7490         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7491         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7493         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7494         * nptl/pthreadP.h: Likewise.
7495         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7496         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7497         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7498         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7499         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7500         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7501         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7502         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7503         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7504         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7505         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7506         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7508         Likewise.
7509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7510         Likewise.
7511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7513         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7516         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7517         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7518         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7520         * dlfcn/dladdr.c: Use IS_IN.
7521         * dlfcn/dladdr1.c: Likewise.
7522         * dlfcn/dlclose.c: Likewise.
7523         * dlfcn/dlerror.c: Likewise.
7524         * dlfcn/dlinfo.c: Likewise.
7525         * dlfcn/dlmopen.c: Likewise.
7526         * dlfcn/dlopen.c: Likewise.
7527         * dlfcn/dlsym.c: Likewise.
7528         * dlfcn/dlvsym.c: Likewise.
7530         * include/ifaddrs.h: Use IS_IN.
7531         * inet/check_pf.c: Likewise.
7532         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7533         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7535         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7536         IS_IN_ldconfig.
7537         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7538         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7540         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7541         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7542         IS_IN (libc).
7544         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7546         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7547         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7548         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7549         * include/libc-symbols.h (IS_IN_LIB): New macro.
7550         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7551         * include/netdb.h: Likewise.
7552         * include/stap-probe.h: Remove all uses of IN_LIB.
7554         * Makeconfig (module-cppflags-real): Define MODULE_NAME
7555         instead of IN_MODULE.
7556         * include/libc-symbols.h (IN_MODULE): Define using
7557         MODULE_NAME.
7558         (PASTE_NAME, PASTE_NAME1): New macros.
7559         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7560         of IN_LIB.
7561         (STAP_PROBE_ASM): Likewise.
7563 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7565         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7566         __mach_init in dlopened libc.
7568 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
7570         * sysdeps/arm/preconfigure.ac: Delete EABI check.
7571         * sysdeps/arm/preconfigure: Regenerate.
7573 2014-11-21  Roland McGrath  <roland@hack.frob.com>
7575         * nptl/pthread_create.c (__pthread_create_2_1): Set
7576         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7577         when copying values from IATTR into PD.
7579 2014-11-21  Will Newton  <will.newton@linaro.org>
7580             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7582         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7583         Refactor inline-asm.  Also add comment.
7585         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7586         ElfW macro instead of hardcoded Elf64 types.
7587         (la_aarch64_gnu_pltenter): Likewise.
7588         * sysdeps/aarch64/dl-machine.h
7589         (elf_machine_runtime_setup): Use ElfW(Addr).
7591         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7592         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7593         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7594         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7595         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7596         (R_AARCH64_TLS_DTPMOD64): Rename to ..
7597         (R_AARCH64_TLS_DTPMOD): This.
7598         (R_AARCH64_TLS_DTPREL64): Rename to ...
7599         (R_AARCH64_TLS_DTPREL): This.
7600         (R_AARCH64_TLS_TPREL64): Rename to ...
7601         (R_AARCH64_TLS_TPREL): This.
7602         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7603         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7604         R_AARCH64_TLS_TPREL64.
7605         (elf_machine_rela): Likewise.
7607 2014-11-21  Torvald Riegel  <triegel@redhat.com>
7609         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7610         by setting it to 0.  64b atomics are not supported currently.
7612 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7614         [BZ #16469]
7615         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7616         search domain names.
7618 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7620         [BZ #16469]
7621         * NEWS: Update.
7622         * resolv/res_query.c (__libc_res_nquerydomain): Retain
7623         trailing dot.
7624         * posix/tst-getaddrinfo5.c: New.
7625         * posix/Makefile (tests): Add it.
7627 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7629         [BZ #14498]
7630         * NEWS: Fixed.
7631         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7632         after parsing line but before break_if_match.
7633         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7634         if there is a protocol mismatch.
7636 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7638         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7639         because the potential race is on the user-supplied stream.
7641 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7643         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7644         string literal if not passed a buffer.
7645         * manual/job.texi (ctermid): Update reasoning, note deviation
7646         from posix, suggest mtasurace when not passed a buffer, for
7647         future non-preliminary safety notes.
7649 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7651         * manual/users.texi (cuserid): Fix MT-Safety note for the case
7652         of not passing it a buffer.
7653         Reported by Peng Haitao.
7655 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7657         * manual/Makefile ($(objpfx)stamp-summary): Require
7658         check-safety.sh to pass.
7659         * manual/check-safety.sh: Wish for verification that every
7660         @deftypefn and @deftypefun is followed by a @safety remark.
7662 2014-11-20  Roland McGrath  <roland@hack.frob.com>
7664         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7666         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7667         PTHREAD_CANCEL_ASYNCHRONOUS.
7668         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7669         send SIGCANCEL.
7671         * nptl/default-sched.h: New file.
7672         * sysdeps/unix/sysv/linux/default-sched.h: New file.
7673         * nptl/pthread_create.c: Include it.
7674         (__pthread_create_2_1): Use collect_default_sched instead of making
7675         Linux syscalls here directly.
7677 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7679         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7680         __pthread_once): Use C11 atomics.
7682 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7684         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7686 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7688         * include/atomic.h (__atomic_link_error, __atomic_check_size,
7689         atomic_thread_fence_acquire, atomic_thread_fence_release,
7690         atomic_thread_fence_seq_cst, atomic_load_relaxed,
7691         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7692         atomic_compare_exchange_weak_relaxed,
7693         atomic_compare_exchange_weak_acquire,
7694         atomic_compare_exchange_weak_release,
7695         atomic_exchange_acquire, atomic_exchange_release,
7696         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7697         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7698         atomic_fetch_and_acquire,
7699         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7701 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7703         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7704         USE_ATOMIC_COMPILER_BUILTINS): Define.
7705         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7707         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7709         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7711         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7713         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7715         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7717         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7719         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7721         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7723         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7725         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7727         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7729         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7731         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7733         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7735         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7737         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7738         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7739         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7740         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7741         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7743         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7744         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7746 2014-11-19  Roland McGrath  <roland@hack.frob.com>
7748         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7749         the sched_priority value here.  It was already checked when the user
7750         called pthread_attr_setschedparam.
7752         * nptl/tst-bad-schedattr.c: New file.
7753         * nptl/Makefile (tests): Add it.
7755 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
7756             Florian Weimer  <fweimer@redhat.com>
7757             Joseph Myers  <joseph@codesourcery.com>
7758             Adam Conrad  <adconrad@0c3.net>
7759             Andreas Schwab  <schwab@suse.de>
7760             Brooks  <bmoses@google.com>
7762         [BZ #17625]
7763         * wordexp-test.c (__dso_handle): Add prototype.
7764         (__register_atfork): Likewise.
7765         (__app_register_atfork): New function.
7766         (registered_forks): New global.
7767         (register_fork): New function.
7768         (test_case): Add 3 new tests for WRDE_CMDSUB.
7769         (main): Call __app_register_atfork.
7770         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7771         fork count is non-zero fail the test.
7772         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7773         is set.
7774         (parse_dollars): Remove check for WRDE_NOCMD.
7775         (parse_dquote): Likewise.
7777 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7779         * Makeconfig (built-modules): List non-library modules to be
7780         built.
7781         (module-cppflags): Include libc-modules.h for
7782         everything except shlib-versions.v.i.
7783         (CPPFLAGS): Use it.
7784         (before-compile): Add libc-modules.h.
7785         ($(common-objpfx)libc-modules.h,
7786         $(common-objpfx)libc-modules.stmp): New targets.
7787         (common-generated): Add libc-modules.h and libc-modules.stmp.
7788         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7789         * include/libc-symbols.h: Don't include libc-modules.h.
7790         * include/libc-modules.h: Remove file.
7791         * scripts/gen-libc-modules.awk: New script to generate
7792         libc-modules.h.
7793         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7794         Depend on libc-modules.stmp.
7796         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7798         * Makeconfig (in-module): Get value of libof set for the
7799         translation unit.
7800         (CPPFLAGS): Use $(in-module).
7801         * Makerules: Don't suffix routine names for nonlib.
7802         * include/libc-modules.h: New file.
7803         * include/libc-symbols.h: Include libc-modules.h
7804         (IS_IN): New macro to replace IS_IN_* macros.
7805         * elf/Makefile: Set libof-* for each routine.
7806         * elf/rtld-Rules: Likewise.
7807         * extra-modules.mk: Likewise.
7808         * iconv/Makefile: Likewise.
7809         * iconvdata/Makefile: Likewise.
7810         * locale/Makefile: Likewise.
7811         * malloc/Makefile: Likewise.
7812         * nss/Makefile: Likewise.
7813         * sysdeps/gnu/Makefile: Likewise.
7814         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7815         * sysdeps/unix/sysv/linux/Makefile: Likewise.
7816         * sysdeps/s390/s390-64/Makefile: Likewise.
7817         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
7818         CPPFLAGS for nscd instead of nonlib.
7820 2014-11-18  Roland McGrath  <roland@hack.frob.com>
7822         * nptl/createthread.c: New file.
7824         * nptl/createthread.c: Moved ...
7825         * sysdeps/unix/sysv/linux/createthread.c: ... here.
7827         * nptl/createthread.c: Add proper top-line comment.
7828         (do_clone): Folded into ...
7829         (create_thread): ... here.  Take new arguments STOPPED_START and
7830         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
7831         increment __nptl_threads, do event-reporting logic, do
7832         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7833         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
7834         resource cleanup if sched_setaffinity or sched_setscheduler fails,
7835         just send SIGCANCEL.
7836         * nptl/pthread_create.c: Forward-declare create_thread before
7837         including createthread.c.
7838         (start_thread): Use new macro START_THREAD_DEFN to replace defining
7839         declaration, and new macro START_THREAD_SELF to replace argument.
7840         Remove return statement.
7841         (report_thread_creation): New function.
7842         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
7843         synchronization logic, and __nptl_nthreads increment here, around
7844         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
7845         PD->parent_cancelhandling here, before create_thread.  When
7846         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7847         __deallocate_stack, and ENOMEM translation here.
7849 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
7851         [BZ #17616]
7852         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7853         (mptwo): Rename to __mptwo.
7854         (__inv): Use __mptwo instead of mptwo.
7855         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7856         (mptwo): Rename to __mptwo.
7857         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7858         of mpone and __mptwo instead of mptwo.
7859         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7860         instead of mpone.
7861         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7862         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7863         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7864         of mpone and __mptwo instead of mptwo.
7865         (__mpranred): Use __mpone instead of mpone.
7866         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7867         variable.
7868         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7869         (test-xfail-ISO99/math.h/linknamespace): Likewise.
7870         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7871         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7872         (test-xfail-ISO11/math.h/linknamespace): Likewise.
7873         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7874         (test-xfail-XPG3/math.h/linknamespace): Likewise.
7875         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7876         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7877         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7878         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7879         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7880         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7881         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7882         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7883         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7884         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7885         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7886         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7888 2014-11-18  Tom de Vries  <tom@codesoucery.com>
7890         * manual/signal.texi (Primitives Interrupted by Signals): In section,
7891         replace BSD Handler xref with BSD Signal Handling.
7893 2014-11-17  Richard Henderson  <rth@redhat.com>
7895         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7896         (_FP_PACK_RAW_2): Remove.
7897         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7898         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7899         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7900         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7901         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7902         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7903         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7904         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7905         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7906         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7907         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7908         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7909         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7910         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7911         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7912         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7914 2014-11-14  Roland McGrath  <roland@hack.frob.com>
7916         * signal/signal.h [__USE_MISC]
7917         (struct sigvec): Remove type.
7918         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7919         (sigvec): Remove declaration.
7920         * sysdeps/posix/sigvec.c: Moved ...
7921         * signal/sigvec.c: ... here, replacing old file.
7922         (struct sigvec): New type, copied from old signal.h definition.
7923         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7924         (__sigvec): Convert definition to prototype.
7925         (sigvec): Replace weak_alias with compat_symbol.
7926         * signal/Versions (libc: GLIBC_2.21): New version set.
7927         * include/signal.h: Remove __sigvec declaration.
7928         * sysdeps/unix/bsd/sigvec.c: Remove file.
7929         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7930         * manual/signal.texi (BSD Handler): Remove subsection.
7931         Move siginterrupt up to ...
7932         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
7933         (Blocking in BSD): Fold subsection into its parent.
7934         * NEWS: Mention sigvec removal.
7936 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7938         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7939         (DLA_FMS): Make definition conditional only on [__FMA4__].
7940         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7941         definition.
7943         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7944         Make definition conditional only on [PROF].
7945         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7946         definition.
7947         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7948         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7950         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7951         !__GNUC__].
7952         * include/signal.h (__sigpause): Move declaration above call to
7953         libc_hidden_proto.
7954         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7955         variable.
7956         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7957         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7959 2014-11-14  David S. Miller  <davem@davemloft.net>
7961         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7962         Define before including <string/memcpy.c> and <string/mempcpy.c>.
7964 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7966         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7967         * configure: Regenerated.
7968         * manual/install.texi (Tools for Compilation): Document a
7969         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7970         compiler verified to work.
7971         * INSTALL: Regenerated.
7973         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7974         redeclare with asm name.
7975         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7976         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7977         including <string.h>.
7978         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7979         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7980         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7981         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7982         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7983         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7984         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7986 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
7988         * stdlib/strtol.c (__strtol): Use prototype definition.
7990         [BZ #17594]
7991         * stdlib/strtol.c (SYM__): New macro.
7992         (SYM__1): Likewise.
7993         (__strtol): Likewise.
7994         (strtol): Rename to __strtol and define as weak alias of
7995         __strtol.  Use libc_hidden_weak.
7997 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7999         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8000         Use numbered labels in inline assembly.
8002 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8004         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8005         Add setjmp LIBC_PROBE.
8006         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8007         Likewise.
8008         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8009         Add longjmp, longjmp_target LIBC_PROBE.
8010         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8011         Likewise.
8013 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8015         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8016         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8017         to get rid of unused variable warning.
8019 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8021         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8022         Check for unwind_backtrace ==  NULL only in SHARED case.
8023         (__backchain_backtrace): Compile only in SHARED case.
8024         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8025         Likewise.
8026         (__backchain_backtrace): Declare as static.
8028 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8030         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8031         (__libc_multiple_threads_ptr): Variable moved ...
8032         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8034 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8036         * conform/GlibcConform.pm: New file.
8037         * conform/conformtest.pl: Use GlibcConform module.
8038         * conform/linknamespace.pl: New file.
8039         * conform/list-header-symbols.pl: Likewise.
8040         * conform/Makefile (linknamespace-symlists-base): New variable.
8041         (linknamespace-symlists-tests): Likewise.
8042         (linknamespace-header-base): Likewise.
8043         (linknamespace-header-tests): Likewise.
8044         (tests-special): Add new tests.
8045         ($(linknamespace-symlists-tests)): New rule.
8046         (linknamespace-libs): New variable.
8047         ($(objpfx)symlist-stdlibs): New rule.
8048         ($(linknamespace-header-tests)): Likewise.
8049         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8050         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8051         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8052         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8053         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8054         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8055         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8056         (test-xfail-ISO/math.h/linknamespace): Likewise.
8057         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8058         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8059         (test-xfail-ISO/time.h/linknamespace): Likewise.
8060         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8061         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8062         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8063         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8064         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8065         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8066         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8067         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8068         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8069         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8070         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8071         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8072         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8073         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8074         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8075         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8076         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8077         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8078         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8079         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8080         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8081         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8082         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8083         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8084         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8085         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8086         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8087         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8088         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8089         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8090         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8091         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8092         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8093         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8094         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8095         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8096         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8097         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8098         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8099         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8100         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8101         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8102         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8103         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8104         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8105         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8106         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8107         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8108         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8109         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8110         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8111         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8112         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8113         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8114         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8115         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8116         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8117         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8118         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8119         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8120         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8121         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8122         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8123         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8124         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8125         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8126         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8127         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8128         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8129         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8130         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8131         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8132         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8133         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8134         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8135         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8136         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8137         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8138         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8139         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8140         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8141         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8142         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8143         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8144         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8145         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8146         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8147         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8148         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8149         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8150         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8151         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8152         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8153         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8154         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8155         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8156         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8157         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8158         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8159         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8160         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8161         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8162         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8163         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8164         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8165         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8166         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8167         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8168         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8169         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8170         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8171         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8172         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8173         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8174         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8175         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8176         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8177         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8178         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8179         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8180         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8181         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8182         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8183         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8184         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8185         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8186         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8187         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8188         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8189         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8190         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8191         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8192         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8193         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8194         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8195         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8196         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8197         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8198         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8199         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8200         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8201         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8202         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8203         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8204         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8205         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8206         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8207         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8208         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8209         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8211         [BZ #17589]
8212         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8213         of fgets_unlocked.
8215         [BZ #17585]
8216         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8217         (memmem): Rename to __memmem and define as weak alias of
8218         __memmem.  Use libc_hidden_weak.
8219         (__memmem): Use libc_hidden_def.
8220         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8221         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8222         memmem.
8224         [BZ #17582]
8225         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8226         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
8227         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8228         and define as weak alias of __fgets_unlocked.  Use
8229         libc_hidden_weak.
8230         (__fgets_unlocked): Use libc_hidden_def.
8231         * include/stdio.h (__fgets_unlocked): Declare.  Use
8232         libc_hidden_proto.
8233         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8234         __fgets_unlocked instead of fgets_unlocked.
8235         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8236         (GET_NPROCS_CONF_PARSER): Likewise.
8237         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8238         (GET_NPROCS_CONF_PARSER): Likewise.
8240         [BZ #17574]
8241         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8242         weak alias of __wmemset.  Use libc_hidden_weak.
8243         (__wmemset): Use libc_hidden_def.
8244         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
8245         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8246         of wmemset.
8248         [BZ #17573]
8249         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8250         with asm name __mempcpy.
8251         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8253         [BZ #17572]
8254         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8255         and define as weak alias of __rawmemchr.
8256         (__rawmemchr): Do not define as strong alias of rawmemchr.
8258         [BZ #17571]
8259         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8260         alias of __qsort_r.
8261         (qsort): Call __qsort_r instead of qsort_r.
8262         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8263         (__qsort_r): Declare.  Call libc_hidden_proto.
8264         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8265         instead of qsort_r.
8266         * nscd/gai.c (__qsort_r): Define to qsort_r.
8267         * posix/tst-rfc3484.c (__qsort_r): Likewise.
8268         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8269         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8271         [BZ #17570]
8272         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8273         define as weak alias of __malloc_info.
8275         [BZ #17584]
8276         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8277         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8278         (__rewinddir): Use libc_hidden_def.
8279         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8280         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8281         (__rewinddir): Use libc_hidden_def.
8282         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8283         weak alias of __rewinddir.  Don't use libc_hidden_def.
8284         (__rewinddir): Use libc_hidden_def.
8285         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8286         (__rewinddir): Use libc_hidden_proto.
8287         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8288         rewinddir.
8289         (__getcwd): Use __rewinddir instead of rewinddir.
8291         [BZ #17583]
8292         * libio/fileno.c (fileno): Rename to __fileno and define as weak
8293         alias of __fileno.  Use libc_hidden_weak.
8294         (__fileno): Use libc_hidden_def.
8295         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8296         * libio/ftello.c (ftello): Rename to __ftello and define as weak
8297         alias of __ftello.
8298         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8299         __ftello.
8300         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8301         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
8302         libc_hidden_def.
8303         (fread_unlocked): Don't use libc_hidden_ver.
8304         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8305         and define as weak alias of __fread_unlocked.  Don't use
8306         libc_hidden_def.
8307         (__fread_unlocked): Use libc_hidden_def.
8308         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
8309         (ftello): Don't use libc_hidden_proto.
8310         (__ftello): Declare.  Use libc_hidden_proto.
8311         (fread_unlocked): Don't use libc_hidden_proto.
8312         (__fread_unlocked): Declare.  Use libc_hidden_proto.
8313         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8314         and __ftello instead of fileno, fread_unlocked and ftello.
8316 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8318         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8319         GOT12.
8320         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8321         Likewise.
8322         (_dl_start_user): Likewise.
8323         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8325 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
8326             Siddhesh Poyarekar  <siddhesh@redhat.com>
8328         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8329         Move argv and envp down instead of moving argc up.
8330         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8332 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
8334         [BZ #17506]
8335         * test-skeleton.c (main): Return successful if one of
8336         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8337         * string/tst-strcoll-overflow.c: Define expected status.
8339 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
8341         [BZ #17475]
8342         * locale/iso-639.def: Define Bhili and Tulu language codes.
8344 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
8346         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8348 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
8350         [BZ #17555]
8351         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8353 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8355         * configure.ac: Updated check of minimal required version to
8356         2.22.
8357         * manual/install.texi (Tools for Compilation): Updated version
8358         number.
8359         * configure: Regenerated.
8360         * INSTALL: Likewise.
8362 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
8364         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8365         __tls_get_addr.
8367 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
8369         * include/sys/wait.h (__libc_waitpid): Remove declaration.
8370         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8371         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8372         libc_hidden_weak.
8373         (waitpid): Define as alias of __waitpid.
8374         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8375         __waitpid.
8376         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8377         libc_hidden_weak.
8378         (waitpid): Define as alias of __waitpid.
8379         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8380         __libc_waitpid alias.
8381         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8382         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8383         Likewise.
8384         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8385         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8386         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8387         alias.
8388         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8389         __waitpid.
8390         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8391         libc_hidden_weak.
8392         (waitpid): Define as alias of __waitpid.
8394 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
8396         * manual/llio.texi: Add comment that write safety has been
8397         fixed in Linux.
8399         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8400         (localplt-build-dso): Add elf/ld.so.
8401         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8402         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8403         and free for ld.so.
8404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8405         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8407         Likewise.
8408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8409         Likewise.
8410         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8411         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8412         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8413         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8414         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8415         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8416         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8417         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8418         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8419         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8420         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8422 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
8424         [BZ #14132]
8425         * include/libc-symbols.h (INTUSE): Remove macro.
8426         (INTDEF): Likewise.
8427         (INTVARDEF): Likewise.
8428         (_INTVARDEF): Likewise.
8429         (INTDEF2): Likewise.
8430         (INTVARDEF2): Likewise.
8431         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8432         rtld_hidden_def instead of INTVARDEF.
8433         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8434         (_dl_starting_up_internal): Remove declaration.
8435         (_dl_starting_up): Use rtld_hidden_proto.
8436         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8437         declaration.
8438         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8439         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8440         _dl_starting_up.
8441         * elf/dl-writev.h (_dl_writev): Likewise.
8442         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8443         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8444         _dl_starting_up_internal.
8446 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8448         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8449         test-skeleton.c.
8451 2014-11-05  Will Newton  <will.newton@linaro.org>
8453         * benchtests/Makefile: (bench-malloc): Add malloc thread
8454         scalability benchmark.
8455         * benchtests/bench-malloc-threads.c: New file.
8457 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
8459         * sysdeps/aarch64/strchrnul.S: New file.
8461 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8463         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8464         definition.
8465         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8466         Likwise.
8467         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8468         Likewise.
8469         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8470         Likewise.
8471         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8472         Likewise.
8473         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8474         Likewise.
8476 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
8478         * catgets/test-gencat.c: Use test-skeleton.c.
8479         * catgets/tst-catgets.c: Likewise.
8480         * csu/tst-empty.c: Likewise.
8481         * elf/tst-audit2.c: Likewise.
8482         * elf/tst-global1.c: Likewise.
8483         * elf/tst-pathopt.c: Likewise.
8484         * elf/tst-piemod1.c: Likewise.
8485         * elf/tst-tls10.c: Likewise.
8486         * elf/tst-tls11.c: Likewise.
8487         * elf/tst-tls12.c: Likewise.
8488         * gnulib/tst-gcc.c: Likewise.
8489         * iconvdata/tst-e2big.c: Likewise.
8490         * iconvdata/tst-loading.c: Likewise.
8491         * iconv/tst-iconv1.c: Likewise.
8492         * iconv/tst-iconv2.c: Likewise.
8493         * inet/test-inet6_opt.c: Likewise.
8494         * inet/tst-gethnm.c: Likewise.
8495         * inet/tst-network.c: Likewise.
8496         * inet/tst-ntoa.c: Likewise.
8497         * intl/tst-codeset.c: Likewise.
8498         * intl/tst-gettext2.c: Likewise.
8499         * intl/tst-gettext3.c: Likewise.
8500         * intl/tst-ngettext.c: Likewise.
8501         * intl/tst-translit.c: Likewise.
8502         * io/test-stat.c: Likewise.
8503         * libio/test-fmemopen.c: Likewise.
8504         * libio/tst-freopen.c: Likewise.
8505         * libio/tst-sscanf.c: Likewise.
8506         * libio/tst-ungetwc1.c: Likewise.
8507         * libio/tst-ungetwc2.c: Likewise.
8508         * libio/tst-widetext.c: Likewise.
8509         * localedata/tst-ctype.c: Likewise.
8510         * localedata/tst-digits.c: Likewise.
8511         * localedata/tst-leaks.c: Likewise.
8512         * localedata/tst-mbswcs1.c: Likewise.
8513         * localedata/tst-mbswcs2.c: Likewise.
8514         * localedata/tst-mbswcs3.c: Likewise.
8515         * localedata/tst-mbswcs4.c: Likewise.
8516         * localedata/tst-mbswcs5.c: Likewise.
8517         * localedata/tst-setlocale.c: Likewise.
8518         * localedata/tst-trans.c: Likewise.
8519         * localedata/tst-wctype.c: Likewise.
8520         * localedata/tst-xlocale1.c: Likewise.
8521         * login/tst-grantpt.c: Likewise.
8522         * malloc/tst-calloc.c: Likewise.
8523         * malloc/tst-malloc.c: Likewise.
8524         * malloc/tst-mallocstate.c: Likewise.
8525         * malloc/tst-mcheck.c: Likewise.
8526         * malloc/tst-mtrace.c: Likewise.
8527         * malloc/tst-obstack.c: Likewise.
8528         * math/atest-exp2.c: Likewise.
8529         * math/atest-exp.c: Likewise.
8530         * math/atest-sincos.c: Likewise.
8531         * math/test-matherr.c: Likewise.
8532         * math/test-misc.c: Likewise.
8533         * math/test-powl.c: Likewise.
8534         * math/tst-definitions.c: Likewise.
8535         * misc/tst-dirname.c: Likewise.
8536         * misc/tst-efgcvt.c: Likewise.
8537         * misc/tst-fdset.c: Likewise.
8538         * misc/tst-hsearch.c: Likewise.
8539         * misc/tst-mntent2.c: Likewise.
8540         * nptl/tst-sem7.c: Likewise.
8541         * nptl/tst-sem8.c: Likewise.
8542         * nptl/tst-sem9.c: Likewise.
8543         * nss/test-netdb.c: Likewise.
8544         * posix/tst-fnmatch.c: Likewise.
8545         * posix/tst-getlogin.c: Likewise.
8546         * posix/tst-gnuglob.c: Likewise.
8547         * posix/tst-mmap.c: Likewise.
8548         * pwd/tst-getpw.c: Likewise.
8549         * resolv/tst-inet_ntop.c: Likewise.
8550         * rt/tst-timer.c: Likewise.
8551         * stdio-common/test-fseek.c: Likewise.
8552         * stdio-common/test-popen.c: Likewise.
8553         * stdio-common/test-vfprintf.c: Likewise.
8554         * stdio-common/tst-cookie.c: Likewise.
8555         * stdio-common/tst-fileno.c: Likewise.
8556         * stdio-common/tst-gets.c: Likewise.
8557         * stdio-common/tst-obprintf.c: Likewise.
8558         * stdio-common/tst-perror.c: Likewise.
8559         * stdio-common/tst-sprintf2.c: Likewise.
8560         * stdio-common/tst-sprintf3.c: Likewise.
8561         * stdio-common/tst-sprintf.c: Likewise.
8562         * stdio-common/tst-swprintf.c: Likewise.
8563         * stdio-common/tst-tmpnam.c: Likewise.
8564         * stdio-common/tst-unbputc.c: Likewise.
8565         * stdio-common/tst-wc-printf.c: Likewise.
8566         * stdlib/tst-environ.c: Likewise.
8567         * stdlib/tst-fmtmsg.c: Likewise.
8568         * stdlib/tst-limits.c: Likewise.
8569         * stdlib/tst-rand48-2.c: Likewise.
8570         * stdlib/tst-rand48.c: Likewise.
8571         * stdlib/tst-random2.c: Likewise.
8572         * stdlib/tst-random.c: Likewise.
8573         * stdlib/tst-strtol.c: Likewise.
8574         * stdlib/tst-strtoll.c: Likewise.
8575         * stdlib/tst-tls-atexit.c: Likewise.
8576         * stdlib/tst-xpg-basename.c: Likewise.
8577         * string/test-ffs.c: Likewise.
8578         * string/tst-bswap.c: Likewise.
8579         * string/tst-inlcall.c: Likewise.
8580         * string/tst-strtok.c: Likewise.
8581         * string/tst-strxfrm.c: Likewise.
8582         * sysdeps/x86_64/tst-audit10.c: Likewise.
8583         * sysdeps/x86_64/tst-audit3.c: Likewise.
8584         * sysdeps/x86_64/tst-audit4.c: Likewise.
8585         * sysdeps/x86_64/tst-audit5.c: Likewise.
8586         * time/tst-ftime_l.c: Likewise.
8587         * time/tst-getdate.c: Likewise.
8588         * time/tst-mktime3.c: Likewise.
8589         * time/tst-mktime.c: Likewise.
8590         * time/tst-posixtz.c: Likewise.
8591         * time/tst-strptime2.c: Likewise.
8592         * time/tst-strptime3.c: Likewise.
8593         * wcsmbs/tst-btowc.c: Likewise.
8594         * wcsmbs/tst-mbrtowc.c: Likewise.
8595         * wcsmbs/tst-mbsrtowcs.c: Likewise.
8596         * wcsmbs/tst-wchar-h.c: Likewise.
8597         * wcsmbs/tst-wcpncpy.c: Likewise.
8598         * wcsmbs/tst-wcrtomb.c: Likewise.
8599         * wcsmbs/tst-wcsnlen.c: Likewise.
8600         * wcsmbs/tst-wcstof.c: Likewise.
8602 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
8604         [BZ #14132]
8605         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8606         INTDEF.
8607         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8608         declaration.
8609         (_dl_mcount): Use rtld_hidden_proto.
8610         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8611         _dl_mcount.
8612         * elf/rtld.c (_rtld_global_ro): Likewise.
8614         [BZ #14132]
8615         * elf/dl-init.c (_dl_init): Don't use INTDEF.
8616         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8617         of _dl_init_internal.
8618         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8619         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8620         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8621         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8622         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8623         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8624         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8625         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8626         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8627         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8628         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8629         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8630         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8631         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8632         * sysdeps/tile/dl-start.S (_start): Likewise.
8633         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8634         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8636         [BZ #14132]
8637         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8638         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8639         (rtld_progname): Make macro definition unconditional.
8640         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8641         INTDEF.
8642         (dlmopen_doit): Do not use INTUSE with _dl_argv.
8643         (dl_main): Likewise.
8644         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8645         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8646         instead of _dl_argv_internal.
8647         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8648         __GI__dl_argv instead of INTUSE(_dl_argv).
8649         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8650         __GI__dl_argv instead of _dl_argv_internal.
8652         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8653         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8654         macro.
8655         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8656         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8657         New macro.
8658         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8659         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8660         macro.
8661         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8662         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8664 2014-11-04  Andreas Schwab  <schwab@suse.de>
8666         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8668 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8670         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8671         mtvsrd instruction in binary form.
8673 2014-11-03  Andreas Schwab  <schwab@suse.de>
8675         [BZ #17522]
8676         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8677         for less than MB_LEN_MAX use a local buffer of that size.
8678         * libio/tst-fputws.c: New file.
8679         * libio/Makefile (tests): Add tst-fputws.
8681 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
8683         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8684         the size of the fpu_fr.fpu_dregs[] array.
8686 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
8688         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8689         (__nanosleep): Do not define as alias.
8690         (nanosleep): Define as alias of __nanosleep.
8691         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8692         __libc_nanosleep name.
8694 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8696         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8697         install.texi in comment.
8699 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8701         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8702         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8703         ... add here and use lwsync or sync ...
8704         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8705         ... and add here using lwsync.
8707 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8709         * elf/dl-machine-reject-phdr.h: New file.
8710         * elf/dl-load.c: #include that.
8711         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8712         if that returned true.
8714 2014-10-31  Roland McGrath  <roland@hack.frob.com>
8716         [BZ #17496]
8717         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8718         gen-as-const-headers chunk.  Add a big scare comment after the last
8719         safe place to touch before-compile.
8721 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8723         * manual/install.texi (Tools for Compilation): Update autoconf
8724         version requirements.
8725         * INSTALL: Regenerated.
8727         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8728         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8729         (__libc_pselect): Likewise.
8731         [BZ #14138]
8732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8737 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8739         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8740         correct barrier instruction.
8741         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8742         Likewise.
8743         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8744         Likewise.
8746 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8748         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8749         after defining inlines.  Instead, just use parens to defeat macro
8750         expansion of __isctype in its declaration.
8752 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8754         * include/sys/uio.h (__libc_readv): Remove declaration.
8755         (__libc_writev): Likewise.
8756         * misc/readv.c (__libc_readv): Rename to __readv.
8757         (__readv): Do not define as alias.
8758         (readv): Define as alias of __readv.
8759         * misc/writev.c (__libc_writev): Rename to __writev.
8760         (__writev): Do not define as alias.
8761         (writev): Define as alias of __writev.
8762         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8763         (__readv): Do not define as alias.
8764         (readv): Define unconditionally as alias of __readv.
8765         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8766         (__writev): Do not define as alias.
8767         (writev): Define unconditionally as alias of __writev.
8768         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8769         name.
8770         (writev): Do not define __libc_writev name.
8772 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8774         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8775         (convert_charseq): New function, broken out of ...
8776         (use_from_charmap): ... here.  Call it.
8777         (use_to_charmap): Use convert_charseq and free instead of duplicating
8778         its code with a variable-length stack struct.
8780 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8782         * include/fcntl.h (__libc_creat): Remove declaration.
8783         * io/creat.c (__libc_creat): Rename to creat.
8784         (creat): Do not define as alias.
8785         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8786         of creat instead of __libc_creat.
8787         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8788         to creat.
8789         (creat): Do not define as alias.
8790         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8791         __libc_creat.
8792         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8793         __libc_creat name.
8794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8795         Likewise.
8797 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
8799         * manual/llio.texi: Add comments discussing why write() may be
8800         considered MT-unsafe on Linux.
8802 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
8804         * dl-load.c (local_strdup): Remove.
8805         (expand_dynamic_string_token): Use __strdup.
8806         (decompose_rpath): Likewise.
8807         (_dl_map_object): Likewise.
8809 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
8811         [BZ #14132]
8812         * sysdeps/generic/unwind-dw2-fde.c
8813         (__register_frame_info_bases_internal): Do not declare.
8814         (__register_frame_info_table_bases_internal): Likewise.
8815         (__deregister_frame_info_bases_internal): Likewise.
8816         (__register_frame_info_bases): Declare and use hidden_proto before
8817         definition.  Use hidden_def instead of INTDEF.
8818         (__register_frame_info_table_bases): Likewise.
8819         (__deregister_frame_info_bases): Likewise.
8820         (__register_frame_info): Do not use INTUSE.
8821         (__register_frame): Likewise.
8822         (__register_frame_info_table): Likewise.
8823         (__register_frame_table): Likewise.
8824         (__deregister_frame_info): Likewise.
8825         (__deregister_frame): Likewise.
8827 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
8829         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8830         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8831         not undefine.
8832         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8833         Likewise.
8834         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8835         Likewise.
8837 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
8839         [BZ #14138]
8840         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8841         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8842         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8843         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8844         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8845         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8846         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8847         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8848         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8849         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8850         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8851         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8852         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8853         syscall.
8854         (setfsuid): Likewise.
8855         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8856         (setfsuid): Likewise.
8857         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8858         (setfsuid): Likewise.
8859         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8860         Likewise.
8861         (setfsuid): Likewise.
8862         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8863         (setfsuid): Likewise.
8864         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8865         Likewise.
8866         (setfsuid): Likewise.
8868 2014-10-27  Andreas Schwab  <schwab@suse.de>
8870         [BZ #17501]
8871         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8872         check for Slow_SSE4_2 feature bit.
8873         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8874         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8875         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8876         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
8878 2014-10-24  Roland McGrath  <roland@hack.frob.com>
8880         * configure.ac: Validate compiler version with a empirical test of
8881         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8882         $CC -v output.
8883         * configure: Regenerated.
8885         * inet/htons.c (htons): Prototypify.
8886         * inet/htonl.c (htonl): Likewise.
8888 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8890         * string/strncat.c (strncat): Improve performance by using strlen.
8892 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8894         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8896 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8898         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8899         Call libc_fetestexcept_aarch64.
8901 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8903         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8904         Call libc_feholdexcept_aarch64.
8906 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8908         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8909         Call get_rounding_mode.
8911 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8913         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8914         Simplify logic.
8916 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8918         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8919         Simplify logic.
8921 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
8923         [BZ #14138]
8924         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8925         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8926         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8927         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8928         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8929         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8930         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8931         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8932         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8933         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8934         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8935         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8936         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8937         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8938         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8939         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8940         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8941         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8942         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8943         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8944         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8945         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8946         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8947         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8948         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8949         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8950         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8951         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8952         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8953         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8954         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8955         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8956         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8957         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8958         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8959         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8960         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8961         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8962         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8963         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8964         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8965         syscall.
8966         (geteuid): Likewise.
8967         (getgid): Likewise.
8968         (getuid): Likewise.
8969         (getresgid): Likewise.
8970         (getresuid): Likewise.
8971         (getgroups): Likewise.
8972         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8973         (geteuid): Likewise.
8974         (getgid): Likewise.
8975         (getuid): Likewise.
8976         (getresgid): Likewise.
8977         (getresuid): Likewise.
8978         (getgroups): Likewise.
8979         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8980         (geteuid): Likewise.
8981         (getgid): Likewise.
8982         (getuid): Likewise.
8983         (getresgid): Likewise.
8984         (getresuid): Likewise.
8985         (getgroups): Likewise.
8986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8987         Likewise.
8988         (geteuid): Likewise.
8989         (getgid): Likewise.
8990         (getuid): Likewise.
8991         (getresgid): Likewise.
8992         (getresuid): Likewise.
8993         (getgroups): Likewise.
8994         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8995         (geteuid): Likewise.
8996         (getgid): Likewise.
8997         (getuid): Likewise.
8998         (getresgid): Likewise.
8999         (getresuid): Likewise.
9000         (getgroups): Likewise.
9001         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9002         Likewise.
9003         (geteuid): Likewise.
9004         (getgid): Likewise.
9005         (getuid): Likewise.
9006         (getgroups): Likewise.
9008         [BZ #14138]
9009         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9010         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9011         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9012         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9013         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9014         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9015         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9016         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9017         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9018         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9019         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9020         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9021         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9022         __chown.
9023         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9024         (lchown): Likewise.
9025         (fchown): Likewise.
9026         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9027         Likewise.
9028         (lchown): Likewise.
9029         (fchown): Likewise.
9030         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9031         (lchown): Likewise.
9032         (fchown): Likewise.
9033         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9034         Likewise.
9035         (lchown): Likewise.
9036         (fchown): Likewise.
9038 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9040         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9041         Simplify logic.
9043 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9045         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9046         Cleanup logic.
9048 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9050         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9051         Remove unused include.
9053 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9055         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9056         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9057         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9058         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9060 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9061             Helge Deller <deller@gmx.de>
9063         [BZ #17508]
9064         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9065         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9066         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9068 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9070         [BZ #14132]
9071         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9072         Remove macro definition.
9073         (__ashrdi3_v_glibc20): Likewise.
9074         (__lshrdi3_v_glibc20): Likewise.
9075         (__cmpdi2_v_glibc20): Likewise.
9076         (__ucmpdi2_v_glibc20): Likewise.
9077         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9078         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9079         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9080         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9081         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9082         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9084 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9086         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9087         old GNU extension [0] syntax.
9088         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9089         alloca rather than an array member with variable length.
9090         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9091         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9092         (parse_opt): ... here.  Likewise use alloca there.
9093         Validate the -i argument before checking for rootness.
9094         (send_shutdown): New function, broken out of ...
9095         (parse_opt): ... here.
9097 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9099         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9100         macro to get at the _rt_local_ro field.
9101         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9102         ([PIC] case) or _dl_hwcap ([!PIC] case).
9103         * sysdeps/arm/setjmp.S: Likewise.
9105         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9106         * sysdeps/arm/configure.ac: New check to define it.
9107         * sysdeps/arm/configure: Regenerated.
9108         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9109         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9110         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9111         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9112         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9113         Use move/movt pair instead of a load.
9114         (LDST_GLOBAL): Macro removed.
9115         (LDR_GLOBAL): New macro replaces it.
9116         (LDR_HIDDEN): New macro.
9117         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9118         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9120         * setjmp/tst-setjmp-static.c: New file.
9121         * setjmp/Makefile (tests): Add it.
9122         (tests-static): New variable.
9124 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
9126         [BZ #17485]
9127         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9129 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
9131         [BZ #14132]
9132         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9134 2014-10-21  Roland McGrath  <roland@hack.frob.com>
9136         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9138 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9140         * io/fts.c (dirent_not_directory): New function.
9141         (fts_build): Call it.
9143 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9145         * nptl/version.c (__nptl_main): Use normal __write rather than
9146         INTERNAL_SYSCALL.
9147         (banner): Update copyright years.
9149         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9150         gettimeofday.
9151         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9152         * nptl/pthread_cond_timedwait.c: Likewise.
9153         * nptl/pthread_mutex_timedlock.c: Likewise.
9154         * nptl/sem_timedwait.c: Likewise.
9156         * sysdeps/nptl/bits/libc-lock.h
9157         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9158         (__libc_lock_init_recursive): Return void, not 0.
9159         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9160         (__libc_rwlock_init): Likewise.
9161         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9163 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9165         [BZ #15215]
9166         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9167         (__pthread_once_slow): ... here.
9168         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9169         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9171 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9173         [BZ #15215]
9174         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9175         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9176         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9177         * nptl/pthread_once.c (__pthread_once): Likewise.
9178         Update comments.
9180 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9182         [BZ #14138]
9183         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9184         name.
9185         (writev): Use __libc_writev as strong name.
9186         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9187         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9189 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9191         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9193         * sysdeps/i386/nptl/tls.h
9194         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9195         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9196         New macros.
9197         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9198         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9199         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9200         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9201         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9202         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9204         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9205         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9206         on [__NR_futex].
9207         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9208         broken out of ...
9209         (__pthread_mutex_init): ... here.  Call it.
9210         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9211         Conditionalize PI cases on [__NR_futex].
9212         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9213         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9214         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9216         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9217         conditional on [SIGSETXID].
9218         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9219         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9220         is defined.  Likewise for SIGSETXID.
9221         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9222         Conditionalize definitions on [SIGSETXID].
9223         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9224         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9225         unblocking on [SIGCANCEL].
9227         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9228         [__NR_set_robust_list].
9230 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9232         * string/strcoll_l.c (get_next_seq): Fix up formatting.
9233         (do_compare): Likewise.
9235 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
9237         [BZ #15884]
9238         * string/strcoll_l.c: Don't include stdio.h.
9239         (coll_seq): Remove members idxarr and rulearr.
9240         (get_next_seq_cached): Remove function.
9241         (get_next_seq): Likewise.
9242         (get_next_seq_nocache): Rename to get_next_seq.
9243         (do_compare): Remove function.
9244         (do_compare_nocache): Rename to do_compare.
9245         (STRCOLL): Remove weight and rules cache.
9247 2014-10-16  Roland McGrath  <roland@hack.frob.com>
9249         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9250         * sysdeps/arm/sfp-machine.h: ... to here.
9251         * sysdeps/arm/Implies: Remove arm/soft-fp.
9253 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
9255         * conform/data/sys/utsname.h-data (*_t): Allow.
9256         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9257         [POSIX] (WEXITED): Do not expect constant.
9258         [POSIX] (WSTOPPED): Likewise.
9259         [POSIX] (WNOHANG): Likewise.
9260         [POSIX] (WNOWAIT): Likewise.
9261         [POSIX] (siginfo_t): Do not expect type or elements.
9262         [POSIX] (pid_t): Do not expect type.
9263         [POSIX] (signal.h): Do not allow header.
9264         [POSIX] (sys/resource.h): Likewise.
9265         [POSIX] (si_*): Do not allow pattern.
9266         [POSIX] (W*): Likewise.
9267         [POSIX] (P_*): Likewise.
9268         [POSIX] (BUS_*): Likewise.
9269         [POSIX] (CLD_*): Likewise.
9270         [POSIX] (FPE_*): Likewise.
9271         [POSIX] (ILL_*): Likewise.
9272         [POSIX] (POLL_*): Likewise.
9273         [POSIX] (SEGV_*): Likewise.
9274         [POSIX] (SI_*): Likewise.
9275         [POSIX] (TRAP_*): Likewise.
9276         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9277         variable.
9279 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9281         [BZ #12926]
9282         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9283         infinite loop when __recvmsg returns 0.
9285 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
9287         * CANCEL-FCT-WAIVE: Remove file.
9288         * CANCEL-FILE-WAIVE: Likewise.
9290         [BZ #14132]
9291         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9292         instead of INTVARDEF.
9293         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9294         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9295         rtld_hidden_data_def instead of INTVARDEF.
9296         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9297         * elf/dl-deps.c (expand_dst): Likewise.
9298         * elf/dl-load.c (_dl_dst_count): Likewise.
9299         (_dl_dst_substitute): Likewise.
9300         (decompose_rpath): Likewise.
9301         (_dl_init_paths): Likewise.
9302         (open_path): Likewise.
9303         (_dl_map_object): Likewise.
9304         * elf/rtld.c (dl_main): Likewise.
9305         (process_dl_audit): Likewise.
9306         (process_envvars): Likewise.
9307         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9308         Remove declaration.
9309         (__libc_enable_secure): Use rtld_hidden_proto.
9311 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9313         * elf/dl-load.c
9314         (add_path): New function broken out of _dl_rtld_di_serinfo.
9315         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
9317 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9319         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9320         parentheses around macro arguments.
9321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9322         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9323         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9325         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9327         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9329         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9330         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9331         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9332         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9333         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9334         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9335         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9336         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9337         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9338         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9340         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9341         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9345         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9347         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9348         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9349         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9350         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9351         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9352         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9353         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9354         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9355         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9356         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9357         Likewise.
9358         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9359         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9360         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9363         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9365         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9366         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9367         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9368         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9369         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9370         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9379         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9380         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9381         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9383         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9384         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9385         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9386         (_FP_FRAC_SRS_1): Likewise.
9387         (_FP_FRAC_CLZ_1): Likewise.
9388         (_FP_MUL_MEAT_1_imm): Likewise.
9389         (_FP_MUL_MEAT_1_wide): Likewise.
9390         (_FP_MUL_MEAT_1_hard): Likewise.
9391         (_FP_SQRT_MEAT_1): Likewise.
9392         (_FP_FRAC_ASSEMBLE_1): Likewise.
9393         (_FP_FRAC_DISASSEMBLE_1): Likewise.
9394         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9395         (__FP_CLZ_2): Likewise.
9396         (_FP_MUL_MEAT_2_wide): Likewise.
9397         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9398         (_FP_MUL_MEAT_2_gmp): Likewise.
9399         (_FP_MUL_MEAT_2_120_240_double): Likewise.
9400         (_FP_SQRT_MEAT_2): Likewise.
9401         (_FP_FRAC_ASSEMBLE_2): Likewise.
9402         (_FP_FRAC_DISASSEMBLE_2): Likewise.
9403         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9404         (_FP_FRAC_CLZ_4): Likewise.
9405         (_FP_MUL_MEAT_4_wide): Likewise.
9406         (_FP_MUL_MEAT_4_gmp): Likewise.
9407         (_FP_SQRT_MEAT_4): Likewise.
9408         (_FP_FRAC_ASSEMBLE_4): Likewise.
9409         (_FP_FRAC_DISASSEMBLE_4): Likewise.
9410         * soft-fp/op-common.h (_FP_CMP): Likewise.
9411         (_FP_CMP_EQ): Likewise.
9412         (_FP_CMP_UNORD): Likewise.
9413         (_FP_TO_INT): Likewise.
9414         (_FP_FROM_INT): Likewise.
9415         [!__FP_CLZ] (__FP_CLZ): Likewise.
9416         (_FP_DIV_HELP_imm): Likewise.
9417         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9418         Likewise.
9419         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9420         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9421         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9423         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9424         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9425         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9427         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9428         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9429         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9430         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9431         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9432         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9433         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9434         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9435         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9436         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9439         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9443         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9445         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9446         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9447         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9448         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9449         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9450         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9451         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9452         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9453         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9454         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9455         (FP_UNPACK_RAW_SP): Likewise.
9456         (FP_PACK_RAW_S): Likewise.
9457         (FP_PACK_RAW_SP): Likewise.
9458         (FP_UNPACK_S): Likewise.
9459         (FP_UNPACK_SP): Likewise.
9460         (FP_UNPACK_SEMIRAW_S): Likewise.
9461         (FP_UNPACK_SEMIRAW_SP): Likewise.
9462         (FP_PACK_S): Likewise.
9463         (FP_PACK_SP): Likewise.
9464         (FP_PACK_SEMIRAW_S): Likewise.
9465         (FP_PACK_SEMIRAW_SP): Likewise.
9466         (_FP_SQRT_MEAT_S): Likewise.
9467         (FP_CMP_S): Likewise.
9468         (FP_CMP_EQ_S): Likewise.
9469         (FP_CMP_UNORD_S): Likewise.
9470         (FP_TO_INT_S): Likewise.
9471         (FP_FROM_INT_S): Likewise.
9473         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9475         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9476         (FP_EX_INVALID_IMZ): Likewise.
9477         (FP_EX_INVALID_IMZ_FMA): Likewise.
9478         (FP_EX_INVALID_ISI): Likewise.
9479         (FP_EX_INVALID_ZDZ): Likewise.
9480         (FP_EX_INVALID_IDI): Likewise.
9481         (FP_EX_INVALID_SQRT): Likewise.
9482         (FP_EX_INVALID_CVI): Likewise.
9483         (FP_EX_INVALID_VC): Likewise.
9484         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9485         "invalid" exceptions.
9486         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9487         (_FP_ADD_INTERNAL): Likewise.
9488         (_FP_MUL): Likewise.
9489         (_FP_FMA): Likewise.
9490         (_FP_DIV): Likewise.
9491         (_FP_CMP_CHECK_NAN): Likewise.
9492         (_FP_SQRT): Likewise.
9493         (_FP_TO_INT): Likewise.
9494         (FP_EXTEND): Likewise.
9496 2014-10-09  Allan McRae  <allan@archlinux.org>
9498         * po/fr.po: Update French translation from translation project.
9500 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9502         [BZ #14132]
9503         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9504         of INTDEF.
9505         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9506         (__cxa_atexit): Use libc_hidden_proto.
9507         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9509         [BZ #14132]
9510         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9511         declaration.
9512         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9513         [!_ISOMAC] (__iswspace_l_internal): Likewise.
9514         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9515         [!_ISOMAC] (__iswctype_internal): Likewise.
9516         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9517         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9518         alias.
9519         (fcntl): Remove __fcntl_internal alias.
9520         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9521         __connect_internal alias.
9522         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9523         Likewise.
9525         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9526         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9527         FP_DENORM_ZERO.
9528         (_FP_CHECK_FLUSH_ZERO): New macro.
9529         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9530         (_FP_CMP): Likewise.
9531         (_FP_CMP_EQ): Likewise.
9532         (_FP_TO_INT): Do not set inexact for subnormal arguments if
9533         FP_DENORM_ZERO.
9534         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9535         (FP_TRUNC): Likewise.
9537         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9538         treated as invalid conversion, not as normal exponent.
9540         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9541         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
9542         (_FP_CMP_EQ): Likewise.
9543         (_FP_CMP_UNORD): Likewise.
9544         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9545         (FP_CMP_EQ_D): Likewise.
9546         (FP_CMP_UNORD_D): Likewise.
9547         * soft-fp/extended.h (FP_CMP_E): Likewise.
9548         (FP_CMP_EQ_E): Likewise.
9549         (FP_CMP_UNORD_E): Likewise.
9550         * soft-fp/quad.h (FP_CMP_Q): Likewise.
9551         (FP_CMP_EQ_Q): Likewise.
9552         (FP_CMP_UNORD_Q): Likewise.
9553         * soft-fp/single.h (FP_CMP_S): Likewise.
9554         (FP_CMP_EQ_S): Likewise.
9555         (FP_CMP_UNORD_S): Likewise.
9556         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9557         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9558         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9559         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9560         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9561         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9562         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9563         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9564         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9565         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9566         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9567         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9568         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9569         to FP_CMP_Q.
9570         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9571         FP_CMP_Q.
9572         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9573         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9574         FP_CMP_EQ_Q.
9575         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9576         FP_CMP_Q.
9577         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9578         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9579         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9580         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9581         FP_CMP_EQ_Q.
9582         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9583         FP_CMP_Q.
9584         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9585         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9586         FP_CMP_EQ_Q.
9587         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9588         FP_CMP_Q.
9589         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9590         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9591         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9592         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9593         FP_CMP_EQ_Q.
9595         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9596         a subnormal result, set the underflow exception if trapping on
9597         underflow is enabled.
9598         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9599         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9600         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9601         redefine to 0.
9602         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9603         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9604         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9605         * soft-fp/extendxftf2.c (__extendxftf2): Use
9606         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9608         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9609         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9610         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9611         FP_HANDLE_EXCEPTIONS.
9612         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9613         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9614         FP_HANDLE_EXCEPTIONS.
9615         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9616         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9617         FP_HANDLE_EXCEPTIONS.
9618         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9619         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9620         FP_HANDLE_EXCEPTIONS.
9622 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
9624         [BZ #14132]
9625         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9626         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9627         use INTUSE.
9628         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9629         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9630         Remove alias.
9631         (__adjtimex): Define using libc_hidden_ver.
9632         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9633         Remove declaration.
9634         (ntp_gettime): Call __adjtimex directly.
9635         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9636         Remove declaration.
9637         (ntp_gettimex): Call __adjtimex directly.
9638         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9639         __adjtimex_internal alias.
9641 2014-10-08  Roland McGrath  <roland@hack.frob.com>
9643         [BZ #17460]
9644         * nscd/nscd.c (more_help): Rewrite list of tables collection
9645         using xstrdup and asprintf.
9647         * nscd/nscd_conf.c: Remove local xstrdup declaration.
9649 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9650             Roland McGrath  <roland@hack.frob.com>
9652         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9653         (do_lookup_unique): ... local function 'enter' here; update callers.
9655 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
9657         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9658         compat_symbol calls on [SHARED].
9659         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9660         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9661         Remove.
9662         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9663         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9664         (oldsetrlimit): Remove.
9665         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9667         (lchown): New syscall entry.
9668         (oldsetrlimit): Remove.
9669         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9670         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9671         (oldsetrlimit): Remove.
9672         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9674         [BZ #14138]
9675         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9676         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9677         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9678         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9679         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9680         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9681         (fchown): Likewise.
9682         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9683         (fchown): Likewise.
9684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9685         Likewise.
9687 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9689         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9690         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9691         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9692         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9693         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9694         Likewise.
9695         (__old_sem_post): Likewise.
9697 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
9699         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9700         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9701         HAVE_CLOCK_GETTIME_VSYSCALL macros.
9702         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9703         Use INLINE_VSYSCALL macro.
9704         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9705         __vdso_clock_gettime.
9706         * sysdeps/unix/sysv/linux/tile/init-first.c
9707         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9708         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9709         __vdso_clock_gettime.
9711         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9712         to set up frame more cleanly.
9714         * sysdeps/tile/memcmp.c: New file.
9716         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9718         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9719         * sysdeps/tile/tilegx/strcasestr.c: New file.
9720         * sysdeps/tile/tilegx/strnlen.c: New file.
9721         * sysdeps/tile/tilegx/strstr.c: New file.
9723         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9725 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
9727         * nptl/tst-setuid3.c: Write errors to stdout.
9729 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9731         * elf/dl-deps.c
9732         (preload): New functions broken out of _dl_map_object_deps.
9733         (_dl_map_object_deps):  Remove a nested function. Update call sites.
9735 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
9737         [BZ #14138]
9738         * sysdeps/unix/sysv/linux/execve.c: Remove file.
9739         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9741 2014-10-01  Steve Ellcey  <sellcey@mips.com>
9743         * sysdeps/mips/strcmp.S: New.
9745 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
9747         [BZ #14138]
9748         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9749         (linkat): Likewise.
9750         (mkdirat): Likewise.
9751         (readlinkat): Likewise.
9752         (renameat): Likewise.
9753         (symlinkat): Likewise.
9754         (unlinkat): Likewise.
9755         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9756         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9757         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9758         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9759         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9760         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9761         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9763 2014-09-30  Will Newton  <will.newton@linaro.org>
9765         * math/math.h: Define long double math functions if
9766         _LIBC_TEST is defined.
9767         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9769         * localedata/Makefile: Move assignment to tests-special
9770         into an ifdef testing run-built-tests.
9771         * timezone/Makefile: Likewise.
9773 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
9775         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9776         with $(BASH) not $(SHELL).
9778 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
9779             Matthew LeGendre  <legendre1@llnl.gov>
9781         [BZ #17411]
9782         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9783         l_reloc_result.
9785 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9787         * stdio-common/printf_fp.c
9788         (hack_digit): New function, broken out of ...
9789         (__printf_fp): ... local function here.  Update call sites.
9790         hack_digit now takes an additional parameter that is a pointer
9791         to a struct of the referenced locals.  Those locals moved inside
9792         the struct and references updated.
9794 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
9796         * aclocal.m4: Require autoconf 2.69.
9797         * configure: Regenerated.
9798         * sysdeps/aarch64/configure: Likewise.
9799         * sysdeps/alpha/configure: Likewise.
9800         * sysdeps/arm/armv7/configure: Likewise.
9801         * sysdeps/arm/configure: Likewise.
9802         * sysdeps/ia64/configure: Likewise.
9803         * sysdeps/mach/configure: Likewise.
9804         * sysdeps/mips/configure: Likewise.
9805         * sysdeps/s390/configure: Likewise.
9806         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9809         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9810         file.
9811         * sysdeps/ia64/configure.ac: Likewise.
9813 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
9815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9816         specify symbol version for ld.so.  Do not include entry for
9817         libpthread.
9818         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9819         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9820         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9822         [BZ #14171]
9823         * Makeconfig [$(build-shared) = yes]
9824         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9825         makefiles.
9826         [$(build-shared) = yes && $(soversions.mk-done) = t]
9827         ($(common-objpfx)gnu/lib-names.h): Remove rule.
9828         [$(build-shared) = yes && $(soversions.mk-done) = t]
9829         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
9830         to Makerules.
9831         [$(build-shared) = yes && $(soversions.mk-done) = t]
9832         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9833         here.
9834         [$(build-shared) = yes && $(soversions.mk-done) = t]
9835         (common-generated): Don't append gnu/lib-names.h and
9836         gnu/lib-names.stmp here.
9837         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9838         (lib-names-h-abi): New variable.
9839         [$(build-shared) = yes && $(soversions.mk-done) = t]
9840         (lib-names-stmp-abi): Likewise.
9841         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9842         abi-variants] (before-compile): Append
9843         $(common-objpfx)$(lib-names-h-abi).
9844         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9845         abi-variants] (common-generated): Append gnu/lib-names.h.
9846         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9847         abi-variants] (install-others-nosubdir): Depend on
9848         $(inst_includedir)/$(lib-names-h-abi).
9849         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9850         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9851         [$(build-shared) = yes && $(soversions.mk-done) = t]
9852         ($(common-objpfx)$(lib-names-h-abi)): New rule.
9853         [$(build-shared) = yes && $(soversions.mk-done) = t]
9854         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9855         [$(build-shared) = yes && $(soversions.mk-done) = t]
9856         (common-generated): Append $(lib-names-h-abi) and
9857         $(lib-names-stmp-abi).
9858         * scripts/lib-names.awk: Do not handle multi being set.
9859         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9860         Remove variable.
9861         (abi-lp64_be-ld-soname): Likewise.
9862         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9863         Likewise.
9864         (abi-hard-ld-soname): Likewise.
9865         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9866         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9867         Remove variable.
9868         (abi-o32_hard-ld-soname): Likewise.
9869         (abi-o32_soft_2008-ld-soname): Likewise.
9870         (abi-o32_hard_2008-ld-soname): Likewise.
9871         (abi-n32_soft-ld-soname): Likewise.
9872         (abi-n32_hard-ld-soname): Likewise.
9873         (abi-n32_soft_2008-ld-soname): Likewise.
9874         (abi-n32_hard_2008-ld-soname): Likewise.
9875         (abi-n64_soft-ld-soname): Likewise.
9876         (abi-n64_hard-ld-soname): Likewise.
9877         (abi-n64_soft_2008-ld-soname): Likewise.
9878         (abi-n64_hard_2008-ld-soname): Likewise.
9879         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9880         Likewise.
9881         (abi-64-v2-ld-soname): Likewise.
9882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9883         ld.so entries.
9884         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9885         variable.
9886         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9887         entry.
9888         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9889         variable.
9890         (abi-64-ld-soname): Likewise.
9891         (abi-x32-ld-soname): Likewise.
9892         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9893         entry.
9894         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9896 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
9898         [BZ #14138]
9899         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9900         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9901         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9902         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9903         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9904         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9905         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9906         syscall entry for GLIBC_2.2 symbol version.
9907         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9908         Likewise.
9909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9910         (setrlimit): Likewise.
9911         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9912         Likewise.
9914 2014-09-23  Will Newton  <will.newton@linaro.org>
9916         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9917         _LINUX_ARM_SYSDEP_H include guard too.
9918         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9919         define.
9921 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9923         * sysdeps/unix/sysv/linux/eventfd.c:
9924         Make first argument unsigned.
9925         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9926         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9928 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
9930         * socket/recvmmsg.c (recvmmsg): Drop const argument.
9931         * socket/sys/socket.h: Likewise
9932         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9934 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9936         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9938 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
9940         * time/tst-ftime.c: New test.
9941         * time/Makefile (tests): Add tst-ftime.
9943 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
9945         * soft-fp/extended.h: Fix comment formatting.
9946         * soft-fp/op-1.h: Likewise.
9947         * soft-fp/op-2.h: Likewise.
9948         * soft-fp/op-4.h: Likewise.
9949         * soft-fp/op-8.h: Likewise.
9950         * soft-fp/op-common.h: Likewise.
9951         * soft-fp/soft-fp.h: Likewise.
9953         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9955 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
9957         [BZ #6652]
9958         * Makeconfig (soversions-default-setname): Remove variable.
9959         ($(common-objpfx)soversions.i): Don't pass default_setname to
9960         soversions.awk.
9961         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9962         oldest_abi to abi-versions.awk.
9963         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9964         * config.make.in (oldest-abi): Remove variable.
9965         * configure.ac (--enable-oldest-abi): Remove configure option.
9966         * configure: Regenerated.
9967         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9968         text.
9969         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9970         * scripts/soversions.awk: Do not handle default_setname variable.
9971         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9972         variable.
9973         * sysdeps/mach/hurd/configure: Regenerated.
9974         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9975         variable.
9976         * sysdeps/unix/sysv/linux/configure: Regenerated.
9978 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9980         * elf/Makefile (CFLAGS-interp.c): Remove.
9981         ($(elf-objpfx)runtime-linker.h): Generate header with linker
9982         path string.
9983         * elf/interp.c: Include generated runtime-linker.h
9985         * Makerules (lib%.so): Don't include $(+interp) in
9986         prerequisites.
9987         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9988         * dlfcn/eval.c: Remove file.
9990         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9991         macros.
9993         [BZ #17266]
9994         * misc/sys/cdefs.h: Define __extern_always_inline for clang
9995         4.2 and newer.
9997         [BZ #17370]
9998         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10000 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10001             Jakub Jelinek  <jakub@redhat.com>
10003         [BZ #17266]
10004         * libio/stdio.h: Check definition of __fortify_function
10005         instead of __extern_always_inline to include bits/stdio2.h.
10006         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10007         check if __extern_always_inline is defined.
10008         [__USE_MISC || __USE_XOPEN]: Likewise.
10009         [__USE_ISOC99] Likewise.
10010         * misc/sys/cdefs.h (__fortify_function): Define only if
10011         __extern_always_inline is defined.
10012         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10013         __extern_always_inline and __extern_inline only for g++-4.3
10014         and newer or a compatible gcc.
10016 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10018         [BZ #17371]
10019         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10020         last change to handle zero prefix length.
10022 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10024         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10025         _SC_REGEX_VERSION.
10027         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10028         _POSIX_RAW_SOCKETS.
10030 2014-09-13  Allan McRae  <allan@archlinux.org>
10032         * po/ru.po: Update Russian translation from translation project.
10034 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10036         * locale/programs/locale.c (show_locale_vars): Inline local function
10037         into its sole call site.  Clean up some style nits.
10038         (print_item): New function, broken out of ...
10039         (show_info): ... local function here.  Clean up style nits.
10041         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10042         out of ...
10043         (set_class_defaults): ... local function set_default here.
10044         Define set_default as a macro locally to pass constant parameters.
10045         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10046         rather than a shared local.
10048         * stdlib/rpmatch.c (try): New function, broken out of ...
10049         (rpmatch): ... local function here.  Also, prototypify definition.
10051 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10053         * scripts/soversions.awk: Do not handle configuration names.
10054         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10055         vendor and os variables to soversions.awk.
10056         * configure.ac: Do not modify gnu-* host_os.
10057         * configure: Regenerated
10058         * shlib-versions: Remove first column with configuration names.
10059         * nptl/shlib-versions: Likewise.
10060         * nptl_db/shlib-versions: Likewise.
10061         * sysdeps/hppa/shlib-versions: Likewise.
10062         * sysdeps/m68k/shlib-versions: Likewise.
10063         * sysdeps/mach/hurd/shlib-versions: Likewise.
10064         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10065         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10066         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10067         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10068         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10069         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10070         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10071         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10073         Likewise.
10074         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10075         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10076         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10077         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10078         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10079         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10080         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10081         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10084         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10086         Regenerated.
10087         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10089         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10091         * shlib-versions: Remove OS-specific entries.  Moved to files in
10092         sysdeps.
10093         * sysdeps/mach/hurd/shlib-versions: New file.
10094         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10096         * nptl/shlib-versions: Remove architecture-specific entries.
10097         Moved to files in sysdeps.
10098         * shlib-versions: Likewise.
10099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10100         file.
10101         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10102         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10103         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10104         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10106         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10107         (UDP_NO_CHECK6_RX): Likewise.
10109 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10111         * sysdeps/posix/sysconf.c (__sysconf): Spell
10112         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10114 2014-08-12  Florian Weimer  <fweimer@redhat.com>
10116         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10117         loading.
10118         * iconv/Versions (__gconv_transliterate): Export for use from
10119         gconv modules.
10120         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10121         (struct __gconv_trans_data, __gconv_trans_fct,
10122         __gconv_trans_context_fct, __gconv_trans_query_fct,
10123         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10124         definitions.
10125         (struct __gconv_step_data): Remove __trans member.
10126         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
10127         longer hidden.  Remove unused trans_data argument.
10128         * iconv/gconv_int.h (struct trans_struct): Remove definition.
10129         (__gconv_translit_find): Remove declaration.
10130         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
10131         prototype.
10132         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10133         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10134         trans_data argument.  Add hidden definition.
10135         (__gconv_translit_find): Remove.
10136         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10137         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10138         * iconv/skeleton.c: Remove transliteration initialization.
10139         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10140         __gconv_step_data initialization.
10141         * libio/iofwide.c (__libio_translit_): Remove.
10142         (_IO_fwide): Adjust struct __gconv_step_data initialization.
10143         * wcsmbs/btowc.c (__btowc): Likewise.
10144         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10145         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10146         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10147         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10148         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10149         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10150         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10151         * wcsmbs/wctob.c (wctob): Likewise.
10153 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10155         [BZ #16194]
10156         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10157         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10158         register usage.
10159         * sysdeps/x86/Makefile: Adjust.
10161 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10162             Roland McGrath  <roland@hack.frob.com>
10164         * locale/weight.h: Add include guard.
10165         (findidx): Make static rather than auto; take new parameters
10166         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10167         * locale/weightwc.h: Likewise.
10168         * posix/fnmatch_loop.c
10169         (FCT): Change type of EXTRA from int32_t to wint_t.
10170         Don't include either header inside the function.
10171         Call FINDIDX rather than findidx, and pass new arguments.
10172         #undef FINDIDX at the end of the file.
10173         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10174         FINDIDX before including fnmatch_loop.c for the non-wide version.
10175         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10176         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10177         for the wide version.
10178         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10179         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10180         Pass new arguments to findidx.
10181         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10182         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10183         Don't #include it inside the function.  Pass new arguments to findidx.
10184         * posix/regex_internal.h
10185         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10186         (re_string_elem_size_at): Don't #include it inside the function.
10187         Pass new arguments to findidx.
10188         * string/strcoll_l.c: #include WEIGHT_H at top level.
10189         (get_next_seq): Don't #include it inside the function.
10190         Pass new arguments to findidx.
10191         (get_next_seq_nocache): Likewise.
10192         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10193         (STRXFRM): Don't #include it inside the function.
10194         Pass new arguments to findidx.
10196 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10198         [BZ #17344]
10199         * malloc/malloc.c (unlink): Turn asserts into a call to
10200         malloc_printerr.
10202 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10204         [BZ #17370]
10205         * libio/wfileops (do_ftell_wide): Free OUT.
10207 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10209         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10211 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10213         [BZ #17363]
10214         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10215         group if the current group is empty.
10217 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10219         * benchtests/bench-memset.c (test_main): Add more test from size
10220         from 32 to 512 bytes.
10221         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10222         Add POWER8 memset object.
10223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10224         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10225         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10226         implementation.
10227         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10228         Likewise.
10229         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10230         multiarch POWER8 memset optimization.
10231         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10232         POWER8 memset optimization.
10234         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10235         Remove bzero multiarch objects.
10236         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10237         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10238         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10239         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10240         Remove define.
10241         [__bzero]: Redefine to specific name.
10242         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10243         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10244         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10245         define.
10246         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10247         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10249 2014-09-10  Florian Weimer  <fweimer@redhat.com>
10251         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10252         warnings into errors.
10254         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10255         __cxa_thread_atexit_impl prototype.
10257 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10259         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10260         Fix capitalization of error message.
10262 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10264         * sysdeps/mips/preconfigure: Modify ABI tests.
10266 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
10268         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10270 2014-09-07  Roland McGrath  <roland@hack.frob.com>
10271             Carlos O'Donell  <carlos@systemhalted.org>
10273         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10274         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10275         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10276         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10277         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10278         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10279         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10280         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10281         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10282         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10283         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10284         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10286         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10288         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10292         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10293         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10294         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10295         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10296         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10297         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10298         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10299         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10300         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10301         Deconditionalize the code that was previously under [RESET_PID].
10302         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10303         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10304         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10305         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10306         include sysdep.h.
10308 2014-09-08  Allan McRae  <allan@archlinux.org>
10310         * version.h (RELEASE): Set to "development".
10311         (VERSION): Set to "2.20.90"
10313 2014-09-07  Allan McRae  <allan@archlinux.org
10315         * version.h (RELEASE): Set to "stable".
10316         (VERSION): Set to "2.20"
10317         * include/features.h (__GLIBC_MINOR__): Set to 20.
10319         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10320         Liebler.
10322         * po/ko.po: Update Korean translation from translation project.
10324 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
10326         [BZ #17354]
10327         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10328         macro for handling signed relocations.
10330 2014-09-03  Florian Weimer  <fweimer@redhat.com>
10332         [BZ #17325]
10333         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10334         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10335         assert.
10336         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10337         * iconvdata/ibm935.c (BODY): Likewise.
10338         * iconvdata/ibm937.c (BODY): Likewise.
10339         * iconvdata/ibm939.c (BODY): Likewise.
10340         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10341         assert.
10342         * iconvdata/Makefile (iconv-test.out): Pass module list to test
10343         script.
10344         * iconvdata/run-iconv-test.sh: New test loop for checking for
10345         decoder crashers.
10347 2014-09-02  Khem Raj  <raj.khem@gmail.com>
10349         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10350         libm_hidden_ver.
10352 2014-09-01  Allan McRae  <allan@archlinux.org>
10354         * po/eo.po: Update Esperanto translation from translation project.
10356         * po/ca.po: Update Catalan translation from translation project.
10358 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10360         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10361         __proc_dostop call.
10363 2014-08-27  Mark Wielaard  <mjw@redhat.com>
10365         [BZ #17319]
10366         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10367         to call set_thread_area instead of hand written asm.
10368         (__NR_set_thread_area): Removed define.
10369         (TLS_FLAG_WRITABLE): Likewise.
10370         (__ASSUME_SET_THREAD_AREA): Remove check.
10371         (TLS_EBX_ARG): Remove define.
10372         (TLS_LOAD_EBX): Likewise.
10374 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10376         Simplify atomicity of socket creation in bind.
10378         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10379         looking up the name after linking the file.
10381 2014-08-27  Allan McRae  <allan@archlinux.org>
10383         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10385 2014-08-26  Florian Weimer  <fweimer@redhat.com>
10387         [BZ #17187]
10388         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10389         trans_compare, open_translit, __gconv_translit_find):
10390         Remove module loading code.
10392 2014-08-26  Allan McRae  <allan@archlinux.org>
10394         * po/vi.po: Update Vietnamese translation from translation project.
10396         * po/uk.po: Update Ukrainian translation from translation project.
10398         * po/fr.po: Update French translation from translation project.
10400         * po/ru.po: Update Russian translation from translation project.
10402         * po/pl.po: Update Polish translation from translation project.
10404         * po/cs.po: Update Czech translation from translation project.
10406         * po/de.po: Update German translation from translation project.
10408         * po/bg.po: Update Bulgarian translation from translation project.
10410         * po/sv.po: Update Sweedish translation from translation project.
10412         * po/nl.po: Update Dutch translation from translation project.
10414         * po/es.po: Update Spanish translation from translation project.
10416 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10418         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10420         * catgets/Makefile (CPPFLAGS-gencat): Remove.
10421         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10422         (CPPFLAGS-iconvconfig): Likewise.
10423         * timezone/Makefile (CPPFLAGS-zic): Likewise.
10425         * include/libc-symbols.h: Remove unnecessary check for
10426         NOT_IN_libc.
10427         * nptl/pthreadP.h: Likewise.
10428         * sysdeps/aarch64/setjmp.S: Likewise.
10429         * sysdeps/alpha/setjmp.S: Likewise.
10430         * sysdeps/arm/sysdep.h: Likewise.
10431         * sysdeps/i386/setjmp.S: Likewise.
10432         * sysdeps/m68k/setjmp.c: Likewise.
10433         * sysdeps/posix/getcwd.c: Likewise.
10434         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10435         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10436         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10437         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10438         * sysdeps/sh/sh3/setjmp.S: Likewise.
10439         * sysdeps/sh/sh4/setjmp.S: Likewise.
10440         * sysdeps/unix/alpha/sysdep.h: Likewise.
10441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10442         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10443         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10444         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10448         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10449         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10451         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10452         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10454         * sysdeps/x86_64/setjmp.S: Likewise.
10456 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
10458         [BZ #17263]
10459         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10460         <stdint.h>.
10461         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10462         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10464 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10466         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10468         [BZ #17262]
10469         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10470         and __x86_64__ when disabling x87 inline functions.
10472 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
10474         [BZ #17259]
10475         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10476         asm statement with __cpuid_count.
10478 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
10480         * configure.ac: Change __ehdr_start code to dereference the struct.
10481         Run readelf on the output to look for relocations.
10482         * configure: Regenerated.
10484 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
10486         [BZ #17261]
10487         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10488         value to 0.
10489         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10491 2014-08-12  Roland McGrath  <roland@hack.frob.com>
10493         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10495 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
10497         [BZ #16892]
10498         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10499         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10501 2014-08-12  Sean Anderson  <seanga2@gmail.com>
10503         * malloc/malloc.c: Fix typo in comment.
10505 2014-08-09  Allan McRae  <allan@archlinux.org>
10507         * Regenerate libc.po.
10509 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
10511         * intl/tst-gettext2.sh: Check every lang file for creation.
10513 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10515         * sysdeps/aarch64/fpu/math_private.h
10516         (libc_feholdsetround_noex_aarch64_ctx): New function.
10518 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10520         * sysdeps/arm/armv6/strcpy.S (strcpy):
10521         Fix performance issue in misaligned cases.
10523 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10525         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10526         Move definition from termios.h.
10527         (struct termio): Likewise.
10528         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10529         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10530         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10531         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10532         Likewise.
10533         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10534         Move definition to ioctl-types.h
10535         (struct termio): Likewise.
10536         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10537         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10538         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10539         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10540         Likewise.
10542 2014-08-05  Richard Henderson  <rth@redhat.com>
10544         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10545         exceptions.
10546         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10547         Add fraiseexcpt.
10548         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10549         Use __feraiseexcept.
10550         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10551         Protect libm symbols with IS_IN_libm.
10553         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10555 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
10557         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10559 2014-08-04  Will Newton  <will.newton@linaro.org>
10561         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10562         file.
10564 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
10566         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10567         variants for each function.
10569 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10571         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10572         appended ...
10573         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10574         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10575         appended ...
10576         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10577         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10578         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10579         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10580         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10581         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10582         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10583         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10584         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10585         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10586         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10587         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10588         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10589         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10590         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10591         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10592         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10593         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10594         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10595         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10596         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10597         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10598         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10599         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10600         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10601         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10602         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10603         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10604         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10605         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10606         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10607         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10608         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10609         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10610         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10611         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10612         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10613         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10614         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10615         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10616         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10617         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10618         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10620         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10622         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10624         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10626         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10627         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10628         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10629         Update #include.
10630         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10631         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10633 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10635         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10636         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10637         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10638         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10639         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10640         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10642 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10644         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10645         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10646         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10647         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10649 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10651         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10652         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10653         (__libc_vfork): Define function under this name.
10654         (__vfork): Define as an alias.
10655         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10656         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10658 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10660         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10661         that was previously under [RESET_PID].
10662         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10664 2014-08-04  Andreas Schwab  <schwab@suse.de>
10666         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10668 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
10670         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10671         (main): Likewise.
10673 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10675         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10677 2014-08-01  Richard Henderon  <rth@redhat.com>
10679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10680         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10681         typo in exact zero test.
10682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10683         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10684         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10686 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10688         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10689         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10690         * sysdeps/arm/sysdep.h: ... here.
10691         [!__ASSEMBLER__]: Include <stdint.h>.
10693 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10695         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10696         (HAVE_WCTYPE_H): Likewise.
10697         (HAVE_ISWCTYPE): Likewise.
10698         (ENABLE_NLS): Likewise.
10699         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10700         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10702         * posix/regex_internal.c: Check if DEBUG is defined and is
10703         set.
10705         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10706         (HAVE_MBSRTOWCS): Likewise.
10707         * posix/fnmatch.c: Include string.h unconditionally.
10709 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10711         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10712         reversal.
10714 2014-07-31  Roland McGrath  <roland@hack.frob.com>
10716         * sysdeps/generic/safe-fatal.h: New file.
10717         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10718         * nptl/forward.c: Include it.
10719         (__pthread_unwind): Use __safe_fatal as default action, rather
10720         than a bogus use of INTERNAL_SYSCALL that could never work.
10722         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10723         * configure.ac (libc_cv_builtin_trap): New test.
10724         * configure: Regenerated.
10725         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10726         (ABORT_INSTRUCTION): Define using __builtin_trap.
10728         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10729         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10730         * sysdeps/nptl/nptl-signals.h: New file.
10731         * nptl/pthreadP.h: Include <nptl-signals.h>.
10733 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10735         * sysdeps/s390/s390-64/utf16-utf32-z9.c
10736         (ONE_DIRECTION): Define.
10737         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10738         (ONE_DIRECTION): Define.
10739         * sysdeps/s390/s390-64/utf8-utf32-z9.c
10740         (ONE_DIRECTION): Define.
10742 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10744         * sysdeps/s390/Makefile: Delete file.
10745         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10746         * sysdeps/s390/__longjmp.c: Delete file.
10747         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10748         Remove fields __flags and __reserved.
10749         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10750         and add versioning.
10751         * sysdeps/s390/rtld-__longjmp.c: Delete file.
10752         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10753         * sysdeps/s390/rtld-setjmp.S: Likewise.
10754         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10755         * sysdeps/s390/s390-32/__longjmp.c: ... here.
10756         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10757         * sysdeps/s390/s390-32/setjmp.S: ... here.
10758         Add versioning.
10759         (__sigsetjmp): Remove setting __flags field.
10760         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10761         * sysdeps/s390/s390-64/__longjmp.c: ... here.
10762         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10763         * sysdeps/s390/s390-64/setjmp.S: ... here.
10764         Add versioning.
10765         (__sigsetjmp): Remove setting __flags field.
10766         * sysdeps/s390/setjmp.S: Delete file.
10767         * sysdeps/s390/sigjmp.c: Likewise.
10768         * sysdeps/s390/v1-longjmp.c: Likewise.
10769         * sysdeps/s390/v1-setjmp.h: Likewise.
10770         * sysdeps/s390/v1-sigjmp.c: Likewise.
10771         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10772         Remove v1-longjmp_chk.
10773         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10774         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10775         Include debug/longjmp_chk.c and add versioning.
10776         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10777         Include nptl/pt-longjmp.c and add versioning.
10778         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10779         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10780         Include __longjmp.c.
10781         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10782         Move to ...
10783         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10784         (__getcontext): Remove setting __flags field.
10785         Add versioning.
10786         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10787         Don't restore upper high grps.
10788         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10789         Likewise.
10790         (__swapcontext): Remove setting uc_flags field.
10791         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10792         Delete file.
10793         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10794         Include __longjmp.c.
10795         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10796         Move to ...
10797         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10798         (__getcontext): Remove setting __flags field.
10799         Add versioning.
10800         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10801         (__swapcontext): Remove setting uc_flags field.
10802         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10803         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10804         Remove fields uc_high_gprs and __reserved.
10805         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10806         New file with reverted content.
10807         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10808         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10809         Regenerated.
10810         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10811         Regenerated.
10813 2014-07-31  Andreas Schwab  <schwab@suse.de>
10815         * config.h.in (HAVE_IFUNC): Define to 0.
10816         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10817         definedness.
10819 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
10821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10822         memmove-avx-unaligned, memcpy-avx-unaligned and
10823         mempcpy-avx-unaligned.
10824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10825         Add tests for AVX memcpy functions.
10826         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10827         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10828         memcpy_chk.
10829         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10830         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10831         memmove_chk.
10832         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10833         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10834         mempcpy_chk.
10835         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10836         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10837         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10839 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10841         [BZ #17213]
10842         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10843         powerpc64le.
10845 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
10847         [BZ #16839]
10848         * manual/llio.texi: Add section about open file description locks.
10849         * manual/examples/ofdlocks.c: Example of open file description
10850         lock usage.
10851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10852         F_OFD_SETLK, and F_OFD_SETLKW.
10854 2014-07-23  Allan McRae  <allan@archlinux.org>
10856         * po/es.po: Update Spanish translation from translation project.
10858 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
10860         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10862 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
10864         [BZ #17078]
10865         * sysdeps/arm/dl-machine.h (elf_machine_rela)
10866         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10867         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10869 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
10871         [BZ #17088]
10872         * math/fesetenv.c (__fesetenv)
10873         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10874         * math/feupdateenv.c (__feupdateenv)
10875         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10877         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10878         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10879         (__ASSUME_SOCKETCALL): Do not define.
10881         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10882         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10883         (__ASSUME_SOCKETCALL): Do not define.
10884         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10885         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10886         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10887         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10888         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10889         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10890         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10891         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10893         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10894         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10895         (__ASSUME_SOCKETCALL): Do not define.
10896         (__ASSUME_IPC64): Define unconditionally.
10897         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10898         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10899         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10900         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10901         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10902         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10903         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10904         Likewise.
10906         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10907         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10908         (__ASSUME_SOCKETCALL): Do not define.
10909         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10910         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10911         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10912         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10913         (__ASSUME_REQUEUE_PI): Define unconditionally.
10914         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10915         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10916         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10917         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10918         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10919         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10921         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10922         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10923         (__ASSUME_SOCKETCALL): Do not define.
10924         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10925         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10926         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10927         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10928         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10929         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10931         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10932         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10933         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10934         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10935         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10936         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10937         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10938         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10939         (__ASSUME_GETCPU_SYSCALL): Likewise.
10941         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10942         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
10943         cases for individual architectures.
10944         * sysdeps/gnu/configure: Regenerated.
10945         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10946         LIBC_SLIBDIR_RTLDDIR.
10947         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10948         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10949         LIBC_SLIBDIR_RTLDDIR.
10950         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10952         LIBC_SLIBDIR_RTLDDIR.
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10954         Regenerated.
10955         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10956         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10957         file.
10958         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10959         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10960         file.
10961         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10962         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10963         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10964         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10966         * sysdeps/aarch64/shlib-versions: Move to ...
10967         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10968         * sysdeps/alpha/shlib-versions: Move to ...
10969         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10970         * sysdeps/arm/shlib-versions: Move to ...
10971         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10972         * sysdeps/hppa/shlib-versions: Move all contents except for
10973         libgcc_s entry to ...
10974         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
10975         entry from ...
10976         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
10977         * sysdeps/ia64/shlib-versions: Move to ...
10978         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
10979         entry from ...
10980         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
10981         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10982         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10983         * sysdeps/microblaze/shlib-versions: Move to ...
10984         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10985         * sysdeps/mips/shlib-versions: Move to ...
10986         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
10987         entry from ...
10988         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
10989         * sysdeps/tile/shlib-versions: Move to ...
10990         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10991         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10992         from ...
10993         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
10994         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10995         entry from ...
10996         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
10998 2014-07-17  Will Newton  <will.newton@linaro.org>
11000         * sysdeps/arm/bits/atomic.h
11001         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11002         (__arch_compare_and_exchange_bool_16_int): Likewise.
11003         (__arch_compare_and_exchange_bool_64_int): Likewise.
11005         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11006         into an #else block.
11008 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11010         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11011         just Linux configurations.  Test empirically that the compiler sets
11012         __ARM_EABI__, rather than using the tuple to decide.
11013         * sysdeps/arm/preconfigure: Regenerated.
11014         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11015         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11016         contents appended ...
11017         * sysdeps/arm/configure.ac: ... here.
11018         * sysdeps/arm/configure: Regenerated.
11020 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11022         * nptl/pthread_kill.c: New file.
11023         * nptl/pthread_sigmask.c: New file.
11024         * nptl/pthread_sigqueue.c: New file.
11026         * sysdeps/nptl/lowlevellock.h: New file.
11027         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11028         * sysdeps/nptl/lowlevellock-futex.h: New file.
11030         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11031         Remove dead declarations.
11033 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11035         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11036         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11037         config-cflags-avx2.
11038         * sysdeps/x86_64/configure.ac: Likewise.
11039         * sysdeps/i386/configure: Regenerated.
11040         * sysdeps/x86_64/configure: Likewise.
11041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11042         memset-avx2 only if config-cflags-avx2 is yes.
11043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11044         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11045         defined.
11046         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11047         only if HAVE_AVX2_SUPPORT is defined.
11048         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11050 2014-07-14  Alan Modra  <amodra@gmail.com>
11052         [BZ #17153]
11053         * elf/elf.h (DT_PPC64_NUM): Correct value.
11054         * NEWS: Add to fixed bug list.
11056 2014-07-13  Jim Meyering  <meyering@fb.com>
11058         [BZ 17150]
11059         regex: don't deref NULL upon heap allocation failure
11060         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11061         failure in one more place.
11062         To trigger the segfault, configure grep -with-included-regex,
11063         build it, and run these commands:
11064         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11066 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11068         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11070 2014-07-11  Richard Henderson  <rth@redhat.com>
11072         * sysdeps/aarch64/libm-test-ulps: Update.
11074 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11076         [BZ #17135]
11077         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11078         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11079         (__nptl_setxid): Initialize error member.  Call
11080         __nptl_setxid_error.
11081         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11082         * nptl/descr.h (struct xid_command): Add error member.
11083         * nptl/tst-setuid3.c: New file.
11084         * nptl/Makefile (tests): Add it.
11086 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11088         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11089         New define.
11090         (__lll_trylock): Use __lll_base_trylock.
11091         (__lll_cond_trylock): Likewise.
11093 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11095         * nptl/pthread_create.c (start_thread): Use atomic_or and
11096         lll_futex_wake directly rather than lll_robust_dead.
11097         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11098         (lll_robust_dead): Macro removed.
11099         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11100         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11101         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11102         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11103         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11104         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11105         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11106         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11107         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11108         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11109         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11110         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11111         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11112         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11113         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11115         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11116         Use atomic_compare_and_exchange_val_acq directly rather than
11117         lll_robust_trylock.
11118         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11119         (__lll_robust_trylock, lll_robust_trylock): Removed.
11120         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11121         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11122         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11123         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11124         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11125         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11126         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11127         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11129         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11130         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11131         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11132         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11133         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11135 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11137         * manual/locale.texi (Locale Names): New section documenting
11138         locale name syntax.  Adjust menu and node chaining accordingly.
11139         (Choosing Locale): Reference Locale Names, Locale Categories.
11140         Mention setting LC_ALL=C.  Reflect that name syntax is now
11141         documented.
11142         (Locale Categories): New section title.  Reference Locale Names.
11143         LC_ALL is an environment variable, but not a category.
11144         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11145         description, now in Locale Name.  Reference that section.  Locale
11146         name syntax is now documented.
11148 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11150         [BZ #17137]
11151         * locale/findlocale.c (name_present, valid_locale_name): New
11152         functions.
11153         (_nl_find_locale): Use the loc_name variable to store name
11154         candidates.  Call name_present and valid_locale_name to check and
11155         validate locale names.  Return an error if the locale is invalid.
11157 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11159         * locale/setlocale.c (setlocale): Use strdup for allocating
11160         composite name copy.
11162 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11164         Sync up with gnulib.
11165         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11166         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11167         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11168         and _GL_ARG_NONNULL.
11169         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11170         [!_LIBC]: Include code for Windows and Cygwin.
11171         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11172         Include prototype for int strerror_r.
11173         [!_LIBC] (is_open): New function.
11174         (flush_stdout): New function.
11175         (print_errno_message): Use it.
11176         (error): Likewise.
11177         (error_at_line): Likewise.
11178         (error_tail) Add function attribute macros.  Use
11179         __builtin_expect.
11181         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11183         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11185         * io/ftw.c: Include sys/param.h unconditionally.
11187         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11189         [BZ #17125]
11190         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11191         libc_freeres_ptr.
11192         (freecache): New function to free CACHE on exit.
11194         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11195         initialization.
11197 2014-07-09  David S. Miller  <davem@davemloft.net>
11199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11201         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11202         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11203         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11204         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11205         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11206         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11207         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11208         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11209         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11210         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11211         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11212         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11213         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11215 2014-07-09  Andreas Schwab  <schwab@suse.de>
11217         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11218         output.
11219         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11220         (do_test): Likewise.
11222         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11224 2014-07-09  Will Newton  <will.newton@linaro.org>
11226         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11227         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11228         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11229         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11230         * sysdeps/hppa/start.S (_start): Likewise.
11232 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11234         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11236         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11237         defined.
11239 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11241         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11242         after checking that it is non-NULL.
11244         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11246 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11248         * sysdeps/powerpc/memmove.c: Remove file.
11249         * sysdeps/powerpc/powerpc32/power4/memcopy.h
11250         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11252         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11253         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11254         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11255         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11256         string memmove instead of removed powerpc one.
11258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11259         [weak_alias]: Fix compiler warning due trailing data.
11260         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11261         [weak_alias]: Likewise.
11262         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11263         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11266         (__libc_ifunc_impl_list): Add memmove functions.
11268 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11270         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11271         Remove code.
11272         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11273         Likewise
11274         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11275         Likewise
11276         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11277         Likewise
11278         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11279         Likewise
11280         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11281         Likewise
11282         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11283         Likewise
11284         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11285         Likewise
11286         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11287         Likewise
11288         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11289         Likewise
11290         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11291         Likewise
11292         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11293         Likewise
11294         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11295         Likewise
11296         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11297         Likewise
11298         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11299         Likewise
11300         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11301         Likewise
11302         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11303         Likewise
11305 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11307         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11308         to avoid alignment traps in non-cacheable memory.
11309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11312         multiarch objects.
11313         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11314         file: multiarch power7 memmove.
11315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11316         multiarch default memmove.
11317         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11318         multiarch memove for powerpc32/power4.
11320         * string/bcopy.c: Use full path to include memmove.c.
11321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11322         multiarch objects.
11323         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11324         bcopy for powerpc64.
11325         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11326         bcopy for powerpc64.
11327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11328         and memmove implementations.
11329         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11330         optimized multiarch memmove for POWER7/powerpc64.
11331         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11332         default multiarch memmove for powerpc64.
11333         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11334         multiarch for powerpc64.
11335         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11336         for POWER7/powerpc64.
11337         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11338         memmove for POWER7/powerpc64.
11340         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11341         glibc default one.
11343         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11344         __ELF_NATIVE_CLASS equal to 64.
11346 2014-07-07  Roland McGrath  <roland@hack.frob.com>
11348         * sysdeps/nptl/lowlevellock.h: File removed.
11350         * NEWS: NPTL is no longer an add-on!
11351         * nptl/internaltypes.h: Moved ...
11352         * sysdeps/nptl/internaltypes.h: ... here.
11353         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11354         * sysdeps/nptl/fork.c: Likewise.
11355         * sysdeps/nptl/gai_misc.h: Likewise.
11356         * sysdeps/nptl/librt-cancellation.c: Likewise.
11357         * sysdeps/nptl/jmp-unwind.c: Likewise.
11358         * sysdeps/nptl/setxid.h: Likewise.
11359         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11360         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11361         * sysdeps/unix/sysv/linux/arm/Implies: New file.
11362         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11363         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11364         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11365         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11366         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11367         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11368         * sysdeps/unix/sysv/linux/mips/Implies: New file.
11369         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11370         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11371         * sysdeps/unix/sysv/linux/sh/Implies: New file.
11372         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11373         * sysdeps/unix/sysv/linux/tile/Implies: New file.
11374         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11375         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11376         * nptl/Makeconfig: Moved ...
11377         * sysdeps/nptl/Makeconfig: ... here.
11378         * nptl/configure: File removed.
11379         * nptl/ANNOUNCE: File removed.
11380         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11381         * sysdeps/unix/sysv/linux/configure: Regenerated.
11383         * nptl/Makefile (routines): Add libc_pthread_init,
11384         libc_multiple_threads, register-atfork and unregister-atfork.
11385         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11386         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11387         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11388         pthread-pi-defines.sym, structsem.sym.
11389         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11390         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11391         [$(subdir) = nptl] (tests): Add tst-setgetname.
11392         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11393         * sysdeps/unix/sysv/linux/sigaction.c: Just include
11394         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11395         [!LIBC_SIGACTION]: Remove aliases.
11396         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11397         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11398         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11399         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11400         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11401         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11402         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11403         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11404         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11405         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11406         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11407         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11408         __libc_allocate_rtsig_private.
11409         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11410         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11411         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11412         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11413         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11414         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11415         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11416         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11417         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11418         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11419         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11420         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11421         * nptl/internaltypes.h: ... here.
11422         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11423         * sysdeps/nptl/jmp-unwind.c: ... here.
11424         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11425         * nptl/libc-lowlevellock.c: ... here.
11426         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11427         * nptl/libc_multiple_threads.c: ... here.
11428         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11429         * nptl/libc_pthread_init.c: ... here.
11430         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11431         * nptl/lowlevelbarrier.sym: ... here.
11432         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11433         * nptl/lowlevelcond.sym: ... here.
11434         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11435         * nptl/lowlevellock.c: ... here.
11436         * nptl/lowlevellock.h: Moved ...
11437         * sysdeps/nptl/lowlevellock.h: ... here.
11438         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11439         * nptl/lowlevelrobustlock.c: ... here.
11440         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11441         * nptl/lowlevelrobustlock.sym: ... here.
11442         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11443         * nptl/lowlevelrwlock.sym: ... here.
11444         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11445         * nptl/pt-fork.c: ... here.
11446         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11447         * nptl/pthread-pi-defines.sym: ... here.
11448         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11449         * nptl/pthread_attr_getaffinity.c: ... here.
11450         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11451         * nptl/pthread_attr_setaffinity.c: ... here.
11452         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11453         * nptl/pthread_mutex_cond_lock.c: ... here.
11454         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11455         Update #include.
11456         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11457         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11458         * nptl/pthread_once.c: ... here, replacing old file.
11459         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11460         * nptl/pthread_yield.c: ... here.
11461         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11462         * nptl/register-atfork.c: ... here.
11463         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11464         * nptl/sem_post.c: ... here.
11465         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11466         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11467         * nptl/sem_timedwait.c: ... here.
11468         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11469         * nptl/sem_trywait.c: ... here.
11470         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11471         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11472         * nptl/sem_wait.c: ... here.
11473         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11474         * nptl/structsem.sym: ... here.
11475         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11476         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11477         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11478         * nptl/unregister-atfork.c: ... here.
11479         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11480         * nptl/unwindbuf.sym: ... here.
11481         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11482         * sysdeps/nptl/fork.c: ... here.
11483         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11484         * sysdeps/nptl/fork.h: ... here.
11485         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11486         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11487         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11488         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11489         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11490         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11491         * sysdeps/unix/sysv/linux/getpid.c: ... here.
11492         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11493         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11494         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11495         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11496         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11497         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11498         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11499         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11500         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11501         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11502         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11503         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11504         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11505         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11506         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11507         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11508         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11509         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11510         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11511         * sysdeps/unix/sysv/linux/raise.c: ... here.
11512         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11513         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11514         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11515         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11516         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11517         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11518         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11519         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11520         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11521         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11522         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11523         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11524         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11525         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11526         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11528 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11530         * sysdeps/generic/memcopy.h: Add comment for
11531         MEMCPY_OK_FOR_FWD_MEMMOVE.
11533 2014-07-04  Will Newton  <will.newton@linaro.org>
11535         * string/memchr.c: Merge from gnulib.
11536         [_LIBC]: Remove conditionals.
11537         (__ptr_t): Remove define.
11538         (LONG_MAX_32_BITS): Likewise.
11539         (LONG_MAX): Likewise.
11540         (MEMCHR): Use ANSI prototype and optimize algorithm.
11542         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11544 2014-07-03  Roland McGrath  <roland@hack.frob.com>
11546         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11547         (lll_futex_timed_wait_bitset): Fix syscall argument count.
11549         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11550         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11551         in a bare environment with no <stdlib.h> installed.
11552         * sysdeps/nptl/configure: Regenerated.
11554         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11556         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11557         AC_EGREP_CPP for kernel header checks, so they only succeed if
11558         including <linux/version.h> actually works right.
11559         * sysdeps/unix/sysv/linux/configure: Regenerated.
11561         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11562         value so it's not diagnosed as unused.
11564         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11565         thing) with "ifeq ($(subdir),rt)".
11567 2014-07-03  Richard Henderson  <rth@redhat.com>
11569         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11570         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11571         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11573         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11574         (math_force_eval): New.
11576         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11577         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11579         * sysdeps/alpha/fpu/s_round.c: Remove file.
11580         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11582         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11583         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11584         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11585         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11586         (_dl_start, print_statistics): Likewise.
11587         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11588         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11590         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11591         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11592         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11593         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11595         (HP_SMALL_TIMING_AVAIL): Define.
11596         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11597         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11598         (HP_SMALL_TIMING_AVAIL): Define.
11599         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11600         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11602         * sysdeps/aarch64/hp-timing.h: New file.
11604         * sysdeps/generic/hp-timing.h: Remove dead comment.
11605         * sysdeps/generic/hp-timing-common.h: New file.
11606         * sysdeps/alpha/hp-timing.h: Include it.
11607         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11608         * sysdeps/i386/i686/hp-timing.h: Likewise.
11609         * sysdeps/ia64/hp-timing.h: Likewise.
11610         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11611         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11612         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11613         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11614         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11615         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11616         (hp_timing_t): New.
11618         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11619         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11620         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11621         * elf/rtld.c (_dl_start_final): Likewise.
11622         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11623         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11624         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11625         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11626         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11627         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11628         (HP_TIMING_DIFF_INIT): Remove.
11629         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11631         (HP_TIMING_DIFF_INIT): Remove.
11632         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11633         * sysdeps/i386/i686/hp-timing.c: Remove file.
11634         * sysdeps/x86_64/hp-timing.c: Remove file.
11635         * sysdeps/ia64/hp-timing.c: Remove file.
11636         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11637         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11638         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11639         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11641         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11642         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11643         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11644         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11645         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11646         (HP_TIMING_ACCUM): Remove.
11647         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11648         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11649         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11651         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11652         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11653         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11654         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11655         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11656         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11657         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11658         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11660         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11662 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
11664         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11666 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11668         Sync up with gettext.
11669         * intl/loadmsgcat.c: Define O_BINARY if not defined.
11670         [_MSC_VER]: Include malloc.h
11671         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11672         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11673         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
11674         TEMP_FAILURE_RETRY.  Cast return of alloca.
11675         [!_LIBC] Call gl_rwlock_init.
11676         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11678 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11680         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11681         before checking its value.
11683 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11685         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11687         * debug/memcpy_chk.c: Don't include pagecopy.h.
11688         * debug/mempcpy_chk.c: Likewise.
11689         * string/memcpy.c: Likewise.
11690         * string/memmove.c: Likewise.
11691         * sysdeps/powerpc/memmove.c: Likewise.
11692         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
11693         definition of PAGE_COPY_FWD_MAYBE here...
11694         * sysdeps/generic/pagecopy.h: ... from here.
11695         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11697 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11698             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11700         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11702         optimizations.
11703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11704         (__libc_ifunc_impl_list): Likewise.
11705         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11706         multiarch strcat for PPC64.
11707         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11708         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11710 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11712         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11714 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11716         * intl/loadmsgcat.c: Remove declaration of
11717         get_sysdep_segment_value.
11718         (get_sysdep_segment_value): Use ISO C style.
11719         (_nl_load_domain): Use ISO C style.  Get rid of redundant
11720         semicolon.  Fix typo and formatting in comment.
11721         (_nl_unload_domain): Use ISO C style.
11723         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11725 2014-07-02  Will Newton  <will.newton@linaro.org>
11727         * malloc/obstack.c: Merge from gnulib master.
11728         [HAVE_CONFIG_H]: Remove conditional code.
11729         [!_LIBC]: Include config.h.
11730         [!ELIDE_CODE]: Don't include inttypes.h, include
11731         stdint.h unconditionally.
11732         (print_and_abort): Mark as _Noreturn.
11733         (_obstack_allocated_p): Mark as __attribute_pure__.
11734         (obstack_free): Rename to __obstack_free.
11735         [!__attribute__]: Remove conditional code.
11736         * malloc/obstack.h: Merge from gnulib master.
11737         [__cplusplus]: Move conditional down.
11738         [!__attribute_pure__]: Define __attribute_pure__ here
11739         if it is not already defined.
11740         (_obstack_memory_used): Mark as __attribute_pure__.
11741         [!__obstack_free]: Define as obstack_free.
11742         [__GNUC__]: Remove check for ancient NeXT gcc.
11744 2014-07-02  Will Newton  <will.newton@linaro.org>
11745             Paul Eggert  <eggert@cs.ucla.edu>
11747         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11749 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11751         * resolv/gethnamaddr.c: Add comment warning that the file is
11752         not maintained.
11754 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
11756         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11757         entries.
11759         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11760         entry for aio_cancel and aio_cancel64.
11761         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11762         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11763         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11764         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11765         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11766         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11767         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11768         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11769         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11770         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11771         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11772         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11773         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11775 2014-07-01  Roland McGrath  <roland@hack.frob.com>
11777         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11778         * nptl/pthread_mutex_lock.c: Likewise.
11779         * nptl/pthread_mutex_timedlock.c: Likewise.
11780         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11782 2014-07-01  Richard henderson  <rth@redhat.com>
11784         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11785         (__isnan, __isnanl): Remove.
11786         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11788         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11790 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11792         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11794 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11796         * resolv/nss_dns/dns-host.c (getanswer_r)
11797         [MULTI_PTRS_ARE_ALIASES]: Remove code.
11799 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
11801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11802         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11803         undefine.
11804         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11805         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11807 2014-07-01  Roland McGrath <roland@hack.frob.com>
11809         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11810         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11812         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11813         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11815         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11816         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11817         ... here.
11818         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11819         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11821         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11822         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11823         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11824         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11826         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11827         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11828         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11829         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11830         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11831         Moved ...
11832         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11833         ... here.
11834         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11835         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11836         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11837         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11838         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11839         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11840         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11841         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11842         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11843         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11844         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11845         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11846         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11847         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11848         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11849         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11850         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11851         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11852         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11853         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11854         ... here.
11855         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11856         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11857         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11858         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11859         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11860         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11861         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11862         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11864 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
11866         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11867         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11868         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11869         Add sysdep.
11871 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11875 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11877         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11878         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11880         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11882         * sysdeps/arm/libm-test-ulps: Regenerated.
11884 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11885             Roland McGrath <roland@hack.frob.com>
11887         * test-skeleton.c (signal_handler): Kill the whole process group
11888         before killing the child individually.
11889         (main): Report any failure on `setpgid'.
11891 2014-06-30  Roland McGrath  <roland@hack.frob.com>
11893         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11894         from _TLS_H to _ARM_NPTL_TLS_H.
11895         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11896         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11898 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11900         [BZ #16539]
11901         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11902         (__expm1l): Return argument unchanged when small but not
11903         subnormal.
11905         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11906         include macro name.
11907         (_FP_UNPACK_RAW_1_P): Likewise.
11908         (_FP_PACK_RAW_1): Likewise.
11909         (_FP_PACK_RAW_1_P): Likewise.
11910         (_FP_MUL_MEAT_1_wide): Likewise.
11911         (_FP_MUL_MEAT_DW_1_hard): Likewise.
11912         (_FP_MUL_MEAT_1_hard): Likewise.
11913         (_FP_DIV_MEAT_1_imm): Likewise.
11914         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11915         (_FP_DIV_MEAT_1_udiv): Likewise.
11916         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11917         (_FP_UNPACK_RAW_2): Likewise.
11918         (_FP_UNPACK_RAW_2_P): Likewise.
11919         (_FP_PACK_RAW_2): Likewise.
11920         (_FP_PACK_RAW_2_P): Likewise.
11921         (_FP_MUL_MEAT_DW_2_wide): Likewise.
11922         (_FP_MUL_MEAT_2_wide): Likewise.
11923         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11924         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11925         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11926         (_FP_MUL_MEAT_2_gmp): Likewise.
11927         (_FP_DIV_MEAT_2_udiv): Likewise.
11928         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11929         (_FP_FRAC_SRL_4): Likewise.
11930         (_FP_FRAC_SRST_4): Likewise.
11931         (_FP_FRAC_SRS_4): Likewise.
11932         (_FP_UNPACK_RAW_4): Likewise.
11933         (_FP_UNPACK_RAW_4_P): Likewise.
11934         (_FP_PACK_RAW_4): Likewise.
11935         (_FP_PACK_RAW_4_P): Likewise.
11936         (_FP_MUL_MEAT_DW_4_wide): Likewise.
11937         (_FP_MUL_MEAT_4_wide): Likewise.
11938         (_FP_MUL_MEAT_4_gmp): Likewise.
11939         (umul_ppppmnnn): Likewise.
11940         (_FP_DIV_MEAT_4_udiv): Likewise.
11941         (__FP_FRAC_ADD_4): Likewise.
11942         (__FP_FRAC_SUB_3): Likewise.
11943         (__FP_FRAC_SUB_4): Likewise.
11944         (__FP_FRAC_DEC_3): Likewise.
11945         (__FP_FRAC_DEC_4): Likewise.
11946         (__FP_FRAC_ADDI_4): Likewise.
11947         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11948         (_FP_FRAC_SRL_8): Likewise.
11949         (_FP_FRAC_SRS_8): Likewise.
11951         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11952         include macro name.
11953         (FP_UNPACK_RAW_EP): Likewise.
11954         (FP_PACK_RAW_E): Likewise.
11955         (FP_PACK_RAW_EP): Likewise.
11956         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11957         (_FP_ISSIGNAN): Likewise.
11958         (_FP_ADD_INTERNAL): Likewise.
11959         (_FP_FMA): Likewise.
11960         (_FP_CMP): Likewise.
11961         (_FP_SQRT): Likewise.
11962         (_FP_TO_INT): Likewise.
11963         (_FP_FROM_INT): Likewise.
11964         (FP_EXTEND): Likewise.
11965         (_FP_DIV_MEAT_N_loop): Likewise.
11967 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11969         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11970         throughout.
11972 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
11974         [BZ #17097]
11975         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11976         result with correct sign in case of exponents that produce
11977         overflow except for X very close to 1.
11979 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
11981         mktime: merge #if/#ifdef usage from glibc
11982         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11983         as that works with both Glibc's and Gnulib's style.
11984         See thread starting at Siddhesh Poyarekar's bug report at:
11985         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11987 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11989         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11990         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11991         * sysdeps/tile/tilegx/memmove.c: Remove file.
11993 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11995         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11996         abi-name definition.
11997         * scripts/soversions.awk: Do not handle or generate ABI lines.
11998         * shlib-versions: Remove ABI entries.
11999         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12000         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12002 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12005         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12006         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12007         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12009         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12011         Moved ...
12012         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12013         ... here.
12014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12015         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12017         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12019         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12021         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12023         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12025         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12027         Moved ...
12028         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12030         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12032         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12034         Moved ...
12035         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12037         Moved ...
12038         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12040         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12042         Moved ...
12043         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12045         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12047         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12049         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12051         Moved ...
12052         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12054         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12055         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12056         Moved ...
12057         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12059         Moved ...
12060         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12061         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12062         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12063         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12064         Moved ...
12065         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12066         ... here.
12067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12068         Identical file removed.
12069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12070         Moved ...
12071         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12073         Identical file removed.
12074         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12075         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12076         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12077         Moved ...
12078         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12080         Identical file removed.
12081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12082         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12084         Identical file removed.
12085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12086         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12088         Identical file removed.
12089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12090         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12092         Identical file removed.
12093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12094         Moved ...
12095         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12097         Identical file removed.
12098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12099         Moved ...
12100         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12102         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12104         Identical file removed.
12105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12106         Moved ...
12107         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12108         ... here.
12109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12110         Identical file removed.
12111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12112         Moved ...
12113         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12114         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12115         Identical file removed.
12116         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12117         Moved ...
12118         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12120         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12122         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12124         Moved ...
12125         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12126         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12127         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12129         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12130         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12131         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12132         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12133         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12135 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
12137         [BZ #17092]
12138         * nscd/nscd.c (monitor_child): Return exit status of child
12139         instead of return value from wait syscall.
12141 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12143         * configure.ac (libc_commonpagesize): Remove variable.
12144         (libc_relro_required): Likewise.
12145         (libc_cv_z_relro): Remove configure test.
12146         * configure: Regenerated.
12147         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12148         variable.
12149         (libc_relro_required): Likewise.
12150         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12151         (libc_relro_required): Likewise.
12152         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12153         (libc_relro_required): Likewise.
12154         * sysdeps/arm/preconfigure: Regenerated.
12155         * sysdeps/ia64/preconfigure: Remove file.
12156         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12157         variable.
12158         (libc_relro_required): Likewise.
12160         [BZ #16561]
12161         [BZ #16562]
12162         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12163         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12164         recompute overflowing results in original rounding mode.
12165         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12166         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12167         recompute overflowing results in original rounding mode.
12168         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12169         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12170         recompute overflowing results in original rounding mode.
12171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12172         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12173         recompute overflowing results in original rounding mode.
12174         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12175         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12176         recompute overflowing results in original rounding mode.
12177         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12178         (libc_feholdsetround_ctx): New macro.
12179         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12180         * sysdeps/i386/fpu/libm-test-ulps: Update.
12181         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12183 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12185         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12186         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12187         corresponding .cpsetup call.
12189 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12191         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12192         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12193         * sysdeps/arm/Makefile [$(subdir) = csu]
12194         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12195         (static-only-routines): Add aeabi_read_tp here.
12196         (shared-only-routines): Add libc-aeabi_read_tp here.
12197         (CFLAGS-libc-start.c): Add -fexceptions here.
12198         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12199         (sysdep_routines, static-only-routines, shared-only-routines):
12200         Don't add to these here.
12201         (CFLAGS-libc-start.c): Likewise.
12203         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12204         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12205         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12206         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12207         * sysdeps/arm/Makefile [$(subdir) = rt]
12208         (librt-sysdep_routines, librt-shared-only-routines):
12209         Append rt-aeabi_unwind_cpp_pr1 here.
12210         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12211         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12212         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12213         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12214         Append nptl-aeabi_unwind_cpp_pr1 here.
12215         (tests): Filter out tst-cleanupx4 here.
12216         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12217         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12218         Don't do those here.
12220 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12222         * scripts/list-sources.sh: Do not handle ports specially.
12224 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12226         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12227         * sysdeps/arm/feupdateenv.c: Likewise.
12229         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12231 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12233         * manual/texinfo.tex: Update to version 2014-05-05.10 with
12234         trailing whitespace removed.
12235         * scripts/config.guess: Update to version 2014-03-23.
12236         * scripts/config.sub: Update to version 2014-05-01
12237         * scripts/install-sh: Update to version 2013-12-25.23.
12238         * scripts/move-if-change: Update from gnulib.
12240 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12242         * debug/memmove_chk.c: Remove pagecopy.h include.
12244 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
12246         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
12247         identical to gnulib mktime.
12249 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12251         * configure.ac: Do not test for machine being rs6000.  Do not test
12252         for powerpc*-*soft.
12253         * configure: Regenerated.
12255         [BZ #11505]
12256         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12257         test.
12258         * configure: Regenerated.
12259         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12260         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12261         Remove configure test.
12262         * sysdeps/arm/configure: Regenerated.
12263         * sysdeps/nptl/configure.ac: Do not check
12264         libc_cv_asm_cfi_directives.
12265         * sysdeps/nptl/configure: Regenerated.
12266         * sysdeps/x86_64/nptl/configure.ac: Remove file.
12267         * sysdeps/x86_64/nptl/configure: Remove generated file.
12268         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12269         unconditional.
12270         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12272 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12274         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12275         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12276         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12277         it is defined.
12279         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12280         instead of whether it is defined.
12281         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12282         * sysdeps/hppa/dl-machine.h: Likewise.
12283         * sysdeps/ia64/dl-machine.h: Likewise.
12284         * sysdeps/m68k/dl-machine.h: Likewise.
12285         * sysdeps/microblaze/dl-machine.h: Likewise.
12286         * sysdeps/mips/dl-machine.: Likewise.
12287         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12288         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12289         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12290         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12291         * sysdeps/sh/dl-machine.h: Likewise.
12292         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12293         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12294         * sysdeps/tile/dl-machine.h: Likewise.
12295         * sysdeps/x86_64/dl-machine.h: Likewise.
12297         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12298         code.
12299         (verify_persistent_db): Likewise.
12301 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12304         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12306         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12308         Moved ...
12309         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12310         ... here.
12311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12312         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12314         Identical file removed.
12315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12316         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12318         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12320         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12322         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12324         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12326         Moved ...
12327         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12329         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12331         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12333         Moved ...
12334         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12336         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12338         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12340         Identical file removed.
12341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12342         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12344         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12346         Moved ...
12347         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12348         ... here.
12349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12350         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12352         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12354         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12356         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12358         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12360         Moved ...
12361         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12363         Moved ...
12364         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12366         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12368         Moved ...
12369         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12371         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12373         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12374         folded into ...
12375         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12376         * sysdeps/unix/sysv/linux/s390/Versions
12377         (libpthread: GLIBC_2.19): New version set.
12378         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12379         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12380         (librt: GLIBC_2.3.3): New version set.
12381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12382         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12383         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12384         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12385         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12386         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12387         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12388         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12389         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12390         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12391         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12392         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12393         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12394         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12395         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12396         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12397         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12398         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12399         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12400         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12401         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12402         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12403         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12404         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12405         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12407         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12409         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12411         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12412         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12413         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12417         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12419         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12421         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12425         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12427         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12428         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12429         (__libc_vfork): Define the function under this name.
12430         [!NOT_IN_libc] (__vfork): Make this an alias.
12431         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12433         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12434         (__libc_vfork): Define the function under this name.
12435         [!NOT_IN_libc] (__vfork): Make this an alias.
12436         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12437         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12438         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12439         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12440         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12441         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12443         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12444         code that was previously under [RESET_PID].
12445         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12446         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12449         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12450         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12451         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12452         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12453         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12454         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12455         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12456         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12457         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12458         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12459         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12460         Moved ...
12461         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12462         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12463         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12464         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12465         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12466         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12467         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12468         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12469         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12470         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12471         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12472         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12473         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12474         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12475         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12476         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12477         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12478         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12479         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12480         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12481         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12482         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12483         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12484         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12485         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12486         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12487         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12488         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12489         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12491 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12493         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12494         that was previously under [RESET_PID].
12495         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12497 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12499         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12500         not undefine and redefine.
12501         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12502         [O_CLOEXEC]: Make code unconditional.
12503         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12504         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12505         <kernel-features.h>.
12506         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12507         conditional variable definition.
12508         (shm_open) [O_CLOEXEC]: Make code unconditional.
12509         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12510         code.
12512         * configure.ac (USE_REGPARMS): Don't define here.
12513         * configure: Regenerated.
12514         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12515         * sysdeps/i386/configure: Regenerated.
12517         * nptl/createthread.c: Don't include kernel-features.h.
12518         * nptl/pthread_cancel.c: Likewise.
12519         * nptl/pthread_condattr_setclock.c: Likewise.
12520         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12521         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12522         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12523         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12524         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12525         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12526         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12527         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12528         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12529         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12530         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12531         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12532         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12533         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12534         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12535         * nscd/gai.c: Likewise.
12536         * nss/nss_db/db-open.c: Likewise.
12537         * sysdeps/generic/ldsodefs.h: Likewise.
12538         * sysdeps/sh/nptl/tls.h: Likewise.
12539         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12540         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12541         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12542         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12543         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12544         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12545         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12546         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12547         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12548         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12549         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12550         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12551         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12552         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12553         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12554         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12555         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12556         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12557         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12558         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12559         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12560         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12561         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12562         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12567         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12568         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12569         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12570         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12571         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12572         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12573         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12574         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12575         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12576         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12577         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12578         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12579         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12580         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12581         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12582         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12583         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12584         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12585         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12586         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12587         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12588         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12589         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12590         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12591         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12592         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12593         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12594         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12595         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12596         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12619         * sysdeps/unix/sysv/linux/pread.c: Likewise.
12620         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12621         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12622         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12623         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12624         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12625         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12626         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12627         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12628         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12629         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12630         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12631         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12632         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12633         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12634         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12635         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12636         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12637         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12638         * sysdeps/unix/sysv/linux/system.c: Likewise.
12639         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12640         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12641         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12642         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12643         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12644         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12645         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12647         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12648         * configure: Regenerated.
12649         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12651         * configure.ac (base_machine): Do not set specially for particular
12652         machines here.
12653         * configure: Regenerated.
12654         * sysdeps/powerpc/preconfigure: Move machine and base_machine
12655         settings from configure.ac.
12656         * sysdeps/i386/preconfigure: New file.
12657         * sysdeps/s390/preconfigure: Likewise.
12658         * sysdeps/sh/preconfigure: Likewise.
12659         * sysdeps/sparc/preconfigure: Likewise.
12661 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12663         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12664         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12665         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12666         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12667         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12668         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12669         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12670         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12671         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12672         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12673         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12674         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12675         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12677         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12678         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12679         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12680         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12681         * sysdeps/sparc/sparc64/Makefile: ... appended here.
12683         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12684         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12685         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12686         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12687         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12688         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12689         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12690         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12691         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12692         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12693         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12694         * sysdeps/sparc/sparc32/sem_post.c: ... here.
12695         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12696         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12697         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12698         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12699         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12700         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12701         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12702         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12703         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12704         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12706         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12712         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12713         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12714         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12716         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12718         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12719         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12720         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12723         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12725         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12727         Moved ...
12728         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12729         ... here.
12730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12731         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12733         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12735         Moved ...
12736         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12738         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12740         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12742         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12744         Moved ...
12745         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12747         Moved ...
12748         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12750         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12752         Moved ...
12753         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12755         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12757         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12759         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12761         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12763         Moved ...
12764         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12765         ... here.
12766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12767         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12769         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12771         Moved ...
12772         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12774         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12776         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12778         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12780         Moved ...
12781         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12783         Moved ...
12784         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12786         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12788         Moved ...
12789         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12791         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12793         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12795 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12797         * timezone/checktab.awk: Update from tzcode 2014e.
12798         * timezone/private.h: Likewise.
12799         * timezone/tzfile.h: Likewise.
12800         * timezone/zdump.c: Likewise.
12801         * timezone/zic.c: Likewise.
12803         * sysdeps/unix/sysv/linux/kernel-features.h
12804         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12805         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12806         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12807         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12808         Remove conditional code.
12810 2014-06-25  Will Newton  <will.newton@linaro.org>
12812         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12813         (_dl_arm_cap_flags): Add HWCAP2 values.
12814         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12815         (_DL_HWCAP_COUNT): Increase to 37.
12816         (_DL_HWCAP_LAST): New define.
12817         (_DL_HWCAP2_LAST): New define.
12818         (_dl_procinfo): Add support for printing
12819         AT_HWCAP2 entries.
12820         (_dl_string_hwcap): Use _dl_hwcap_string.
12822 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12826 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12828         * README: Do not mention ports directory.
12830         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12831         Remove macro.
12832         * sysdeps/unix/sysv/linux/futimes.c: Do not include
12833         <kernel-features.h>.
12834         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12835         conditional variable definition.
12836         (__futimes): Update comment.
12837         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12838         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12840         [BZ #16560]
12841         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12842         arguments close to 0.
12843         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12844         Likewise.
12845         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12846         Likewise.
12847         * math/auto-libm-test-in: Add more tests of exp10.
12848         * math/auto-libm-test-out: Regenerated.
12849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12851         * sysdeps/unix/sysv/linux/kernel-features.h
12852         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12853         * sysdeps/unix/sysv/linux/readv.c: Do not include
12854         <kernel-features.h>.
12855         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12856         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12857         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12858         unconditional.
12859         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12860         conditional code.
12861         * sysdeps/unix/sysv/linux/writev.c: Do not include
12862         <kernel-features.h>.
12863         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12864         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12865         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12866         unconditional.
12867         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12868         conditional code.
12870 2014-06-25  Will Newton  <will.newton@linaro.org>
12872         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12873         comment changes throughout the file.  Remove checks
12874         for HAVE_*_H definitions that are not required.
12875         (__gen_tempname): Call abort if an unknown kind value is
12876         passed.
12878 2014-06-25  Andreas Schwab  <schwab@suse.de>
12880         [BZ #17086]
12881         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12882         scalbln, scalblnf, scalblnl in libc.
12884 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12886         [BZ #17086]
12887         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12888         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12889         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12891 2014-06-24  Roland McGrath  <roland@hack.frob.com>
12893         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12894         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12895         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12896         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12897         Update #include.
12898         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12899         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12900         Update #include.
12901         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12902         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12903         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12904         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12905         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12906         * sysdeps/x86/bits/pthreadtypes.h: ... here.
12907         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12908         * sysdeps/x86/bits/semaphore.h: ... here.
12909         * sysdeps/x86/nptl/elide.h: Moved ...
12910         * sysdeps/x86/elide.h: ... here.
12911         * sysdeps/x86_64/nptl/Implies: File removed.
12912         * sysdeps/i386/nptl/Implies: File removed.
12914 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
12916         [BZ #16539]
12917         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12918         return the argument for normal arguments with exponent below -64.
12919         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12920         Likewise.
12921         * math/auto-libm-test-in: Add another test of expm1.
12922         * math/auto-libm-test-out: Regenerated.
12924         [BZ #16287]
12925         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12926         calling __erfcl for arguments at least 16.
12927         * math/auto-libm-test-in: Add more tests of erf.
12928         * math/auto-libm-test-out: Regenerated.
12930         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12931         individual architectures.
12932         * sysdeps/unix/sysv/linux/configure: Regenerated.
12933         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12934         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12935         * sysdeps/unix/sysv/linux/powerpc/configure.ac
12936         (ldd_rewrite_script): Define variable.
12937         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12939         file.
12940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12941         generated file.
12942         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12943         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12944         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12945         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12946         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12947         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12948         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12949         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12951 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12953         [BZ #17084]
12954         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12955         Rename member __data.d to __data.__elision_data.
12957 2014-06-24  Wilco  <wdijkstr@arm.com>
12959         * NEWS: Add 16918 to fixed bug list.
12961 2014-06-24  Wilco  <wdijkstr@arm.com>
12963         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12965 2014-06-24  Wilco  <wdijkstr@arm.com>
12967         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12968         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12969         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12970         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12971         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12972         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12973         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12974         Use _FPU_MASK_RM.
12976 2014-06-24  Wilco  <wdijkstr@arm.com>
12978         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12980 2014-06-24  Wilco  <wdijkstr@arm.com>
12982         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12983         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12984         * sysdeps/arm/fesetround.c (fesetround): Remove space.
12985         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12987 2014-06-24  Wilco  <wdijkstr@arm.com>
12989         [BZ #16918]
12990         * sysdeps/arm/feupdateenv.c (feupdateenv):
12991         Rewrite to reduce FPSCR accesses and fix return value.
12993 2014-06-24  Wilco  <wdijkstr@arm.com>
12995         * sysdeps/arm/fclrexcpt.c (feclearexcept):
12996         Optimize to avoid unnecessary FPSCR writes.
12997         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12998         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12999         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13000         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13002 2014-06-24  Wilco  <wdijkstr@arm.com>
13004         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13005         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13006         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13007         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13008         Call libc_fetestexcept_vfp.
13009         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13010         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13011         __SOFTFP__ ifdef so that they can be built for softfp.
13013 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13015         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13016         argument type signed char.
13018         * Makerules (check-abi): Dump diff of symlist if the test
13019         fails.
13021 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13023         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13024         using abort.
13026         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13027         Remove unused variable ST.
13029 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13031         [BZ #16354]
13032         [BZ #17061]
13033         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13034         small arguments before calling __expm1.
13035         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13036         small arguments before calling __expm1f.
13037         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13038         small arguments before calling __expm1l.
13039         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13040         Likewise.
13041         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13042         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13043         spurious underflow for some cosh tests.
13044         * math/auto-libm-test-out: Regenerated.
13045         * sysdeps/i386/fpu/libm-test-ulps: Update.
13047         [BZ #17050]
13048         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13049         (__ieee754_y1): Set errno if return value overflows.
13050         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13051         (__ieee754_y1f): Set errno if return value overflows.
13052         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13053         (__ieee754_y1l): Set errno if return value overflows.
13054         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13055         (__ieee754_y1l): Set errno if return value overflows.
13056         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13057         * math/auto-libm-test-out: Regenerated.
13059         * math/gen-auto-libm-tests.c: Document use of
13060         ignore-zero-inf-sign.
13061         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13062         (input_flags): Add ignore-zero-inf-sign.
13063         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13064         * math/gen-libm-test.pl (generate_testfile): Handle
13065         ignore-zero-inf-sign.
13066         * math/auto-libm-test-in: Mark some cpow tests with
13067         ignore-zero-inf-sign and some with xfail-rounding.
13068         * math/auto-libm-test-out: Regenerated.
13069         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13070         * sysdeps/i386/fpu/libm-test-ulps: Update.
13071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13073         [BZ #16315]
13074         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13075         overflowing or underflowing operations take place with sign of
13076         result.
13077         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13078         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13079         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13080         (__ieee754_pow): Recompute overflowing and underflowing results in
13081         original rounding mode.
13082         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13083         (__powl_helper): Allow negative argument X and scale negated value
13084         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13085         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13086         overflowing or underflowing operations take place with sign of
13087         result.
13088         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13089         Include <math.h>.
13090         * math/auto-libm-test-in: Add more tests of pow.
13091         * math/auto-libm-test-out: Regenerated.
13092         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13093         (pow_tonearest_test_data): Remove.
13094         (pow_test_tonearest): Likewise.
13095         (pow_towardzero_test_data): Likewise.
13096         (pow_test_towardzero): Likewise.
13097         (pow_downward_test_data): Likewise.
13098         (pow_test_downward): Likewise.
13099         (pow_upward_test_data): Likewise.
13100         (pow_test_upward): Likewise.
13101         (main): Don't call removed functions.
13102         * sysdeps/i386/fpu/libm-test-ulps: Update.
13103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13105 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13108         Moved ...
13109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13111         Moved ...
13112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13114         Moved ...
13115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13117         Moved ...
13118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13120         File removed.
13121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13122         File removed.
13123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13124         File removed.
13125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13126         File removed.
13127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13128         File removed.
13129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13130         File removed.
13131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13132         File removed.
13133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13134         File removed.
13135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13136         File removed.
13137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13138         File removed.
13139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13140         File removed.
13141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13142         File removed.
13143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13144         Moved ...
13145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13147         Moved ...
13148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13149         ... here.
13150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13151         Moved ...
13152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13154         Moved ...
13155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13157         Moved ...
13158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13160         Moved ...
13161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13163         Moved ...
13164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13166         Moved ...
13167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13169         Moved ...
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13173         ... here.
13174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13175         Moved ...
13176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13178         Moved ...
13179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13180         ... here.
13181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13182         Moved ...
13183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13184         ... here.
13185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13186         Moved ...
13187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13188         ... here.
13189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13190         Moved ...
13191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13193         Moved ...
13194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13198         Moved ...
13199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13200         ... here.
13201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13202         Moved ...
13203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13204         ... here.
13205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13206         Moved ...
13207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13209         Moved ...
13210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13212         Moved ...
13213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13215         Moved ...
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13218         Moved ...
13219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13220         ... here.
13221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13222         Moved ...
13223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13225         Moved ...
13226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13228         Moved ...
13229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13231         Moved ...
13232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13236         Moved ...
13237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13239         Moved ...
13240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13242         Moved ...
13243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13244         ... here.
13245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13246         Moved ...
13247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13248         ... here.
13249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13250         Moved ...
13251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13252         ... here.
13253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13254         Moved ...
13255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13257         Moved ...
13258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13260         Moved ...
13261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13263         Moved ...
13264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13265         ... here.
13266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13267         Moved ...
13268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13269         ... here.
13270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13271         Moved ...
13272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13273         ... here.
13274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13275         Moved ...
13276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13278         Moved ...
13279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13281 2014-06-23  Will Newton  <will.newton@linaro.org>
13282             Wilco  <wdijkstr@arm.com>
13284         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13285         implementation.  Include get-rounding-mode.h.
13286         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13287         [!libc_feholdsetround_noex_ctx]: Define
13288         libc_feholdsetround_noex_ctx.
13289         [!libc_feholdsetround_noexf_ctx]: Define
13290         libc_feholdsetround_noexf_ctx.
13291         [!libc_feholdsetround_noexl_ctx]: Define
13292         libc_feholdsetround_noexl_ctx.
13293         (libc_feholdsetround_ctx): New function.
13294         (libc_feresetround_ctx): New function.
13295         (libc_feholdsetround_noex_ctx): New function.
13296         (libc_feresetround_noex_ctx): New function.
13298 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13300         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13301         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13302         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13303         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13304         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13305         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13307         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13308         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13309         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13310         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13311         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13312         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13314         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13316         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13317         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13318         Moved ...
13319         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13320         ... here.
13321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13322         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13324         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13326         Moved ...
13327         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13329         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13331         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13333         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13335         Moved ...
13336         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13338         Moved ...
13339         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13341         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13343         Moved ...
13344         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13345         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13346         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13347         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13348         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13349         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13350         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13352         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13353         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13354         Moved ...
13355         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13356         ... here.
13357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13358         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13360         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13362         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13364         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13366         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13368         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13370         Moved ...
13371         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13373         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13375         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13377         Moved ...
13378         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13380         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13381         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13382         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13384         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13385         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13386         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13387         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13388         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13389         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13390         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13391         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13392         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13393         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13394         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13395         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13396         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13397         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13398         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13399         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13400         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13401         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13402         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13403         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13404         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13405         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13406         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13407         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13408         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13409         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13410         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13411         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13413 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13415         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13416         (FALLOC_FL_COLLAPSE_RANGE): New macro.
13417         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13418         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13419         (IPV6_PMTUDISC_INTERFACE): Likewise.
13420         (IPV6_PMTUDISC_OMIT): Likewise.
13422 2014-06-23  Andreas Schwab  <schwab@suse.de>
13424         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13425         Remove unused errout label.
13427 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13429         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13430         macro: hardware supports Vector Crypto instructions.
13432 2014-06-23  Will Newton  <will.newton@linaro.org>
13434         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13435         rather than __builtin_expect.
13437         * elf/dl-lookup.c (undefined_msg): Remove variable.
13438         (_dl_lookup_symbol_x): Replace undefined_msg with string
13439         literal.
13441         * elf/dl-lookup.c (do_lookup_unique): New function.
13442         (do_lookup_x): Move STB_GNU_UNIQUE handling code
13443         to a separate function.
13445 2014-06-23  Andreas Schwab  <schwab@suse.de>
13447         [BZ #17079]
13448         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13449         before reading the next line.
13451 2014-06-23  Will Newton  <will.newton@linaro.org>
13453         * test-skeleton.c (signal_handler): Use printf and %m
13454         rather than perror.  Use printf rather than fprintf to
13455         stderr.  Use puts rather than fputs to stderr.
13456         (main): Likewise.
13458 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
13460         * nscd/nscd.c (thread_info_t): Remove typedef.
13461         (thread_info): Remove variable.
13463 2014-06-21  Allan McRae  <allan@archlinux.org>
13465         * NEWS: Mention CVE-2014-4043.
13467 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13469         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13470         * nptl/smp.h: ... here.
13472         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13474         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13475         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13476         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13477         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13479         * nptl/allocatestack.c: Include <stack-aliasing.h>.
13480         * nptl/stack-aliasing.h: New file.
13481         * sysdeps/i386/i686/stack-aliasing.h: New file.
13482         * sysdeps/i386/i686/nptl/Makefile: File removed.
13483         * sysdeps/x86_64/stack-aliasing.h: New file.
13484         * sysdeps/x86_64/nptl/Makefile
13485         (CFLAGS-pthread_create.c): Variable removed.
13487         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13488         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13489         old file.
13490         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13491         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13492         old file.
13494 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
13496         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13497         (__ASSUME_SIGFRAME_V2): Remove macro.
13498         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13499         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13500         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13501         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13502         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13503         Declare as function.  Remove conditional macro definitions.
13504         (__default_rt_sa_restorer): Likewise.
13505         (__default_sa_restorer_v1): Remove declaration.
13506         (__default_sa_restorer_v2): Likewise.
13507         (__default_rt_sa_restorer_v1): Likewise.
13508         (__default_rt_sa_restorer_v2): Likewise.
13509         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13510         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13511         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13513 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13515         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13516         (libpthread-routines): Add sysdep.
13517         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13518         * sysdeps/unix/sysv/linux/sparc/Versions
13519         (libpthread: GLIBC_2.3.3): New version set.
13520         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13521         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13522         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13523         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13524         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
13525         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13526         Moved ...
13527         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13528         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13529         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13530         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13531         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13532         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13533         * sysdeps/sparc/nptl/sem_init.c: ... here.
13534         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13535         * sysdeps/sparc/nptl/sem_post.c: ... here.
13536         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13537         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13538         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13539         * sysdeps/sparc/nptl/sem_wait.c: ... here.
13540         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13541         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13542         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13543         (libpthread-routines): Add cpu_relax.
13544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13545         File removed.
13546         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13547         (librt: GLIBC_2.3.3): New version set.
13548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13549         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13550         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13551         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13554         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13556         Moved ...
13557         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13559         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13561         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13563         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13565         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13567         Moved ...
13568         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13569         Update #include.
13570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13571         Moved ...
13572         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13573         Update #include.
13574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13575         Moved ...
13576         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13577         Update #include.
13578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13579         Moved ...
13580         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13581         Update #include.
13582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13583         Moved ...
13584         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13585         Update #include.
13586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13587         Moved ...
13588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13589         Update #include.
13590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13591         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13593         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13595         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13597         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13599         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13601         Moved ...
13602         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13606         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13608 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13610         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13611         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13612         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13613         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13614         * nscd/nscd.c: Likewise.
13615         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13616         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13617         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13618         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13620         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13621         <kernel-features.h>.
13622         (init_mq_netlink): Remove conditional have_sock_cloexec
13623         definitions.  Remove code conditional on have_sock_cloexec < 0.
13624         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13625         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13626         * sysdeps/unix/sysv/linux/opensock.c: Do not include
13627         <kernel-features.h>.
13628         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13629         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13631 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13633         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13634         Add tests for memset_chk and memset.
13636         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13637         with AVX2_Usable.
13639 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13641         [BZ #16046]
13642         * elf/tst-dl-iter-static.c: New file.
13643         * elf/Makefile (tests-static): Add tst-dl-iter-static.
13645         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13646         error.
13648 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13650         * sysdeps/unix/sysv/linux/kernel-features.h
13651         (__ASSUME_F_GETOWN_EX): Remove macro.
13652         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13653         <kernel-features.h>.
13654         (miss_F_GETOWN_EX): Remove variable or macro.
13655         (do_fcntl): Do not check miss_F_GETOWN_EX.
13656         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13659         Remove macro.
13660         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13661         [!__ASSUME_AT_RANDOM]: Remove conditional code.
13662         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13664         * sysdeps/unix/sysv/linux/kernel-features.h
13665         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13666         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13667         [ADJ_OFFSET_SS_READ]: Make code unconditional.
13668         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13670 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13672         [BZ #17075]
13673         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13674         Fix calculation of the symbol's value.
13675         * sysdeps/arm/tst-armtlsdescloc.c: New file.
13676         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13677         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13678         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13679         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13680         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13681         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13682         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13683         (modules-names): Add `tst-armtlsdescmod',
13684         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13685         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13686         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13687         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13688         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13689         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13690         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13691         ($(objpfx)tst-armtlsdescloc): New dependency.
13692         ($(objpfx)tst-armtlsdescextnow): Likewise.
13693         ($(objpfx)tst-armtlsdescextlazy): Likewise.
13694         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13695         TLS scheme support.
13696         * sysdeps/arm/configure: Regenerate.
13698 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13700         * include/fcntl.h (__atfct_seterrno): Remove prototype.
13701         (__atfct_seterrno_2): Likewise.
13702         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13703         <kernel-features.h>.
13704         (__ASSUME_ATFCTS): Do not undefine and redefine.
13705         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13706         (__have_atfcts): Remove conditional definition.
13707         (__fxstatat([__NR_fstatat64]: Make code unconditional.
13708         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13709         unreachable if [__ASSUME_ATFCTS].
13710         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13711         not undefine and redefine.
13712         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13713         <kernel-features.h>.
13714         (faccessat) [__NR_faccessat]: Make code unconditional.
13715         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13716         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13717         <kernel-features.h>.
13718         (fchmodat) [__NR_fchmodat]: Make code unconditional.
13719         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13720         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13721         <kernel-features.h>.
13722         (fchownat) [__NR_fchownat]: Make code unconditional.
13723         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13724         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13725         <kernel-features.h>.
13726         (futimesat) [__NR_futimesat]: Make code unconditional.
13727         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13728         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13729         <kernel-features.h>.
13730         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13731         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13732         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13733         <kernel-features.h>.
13734         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13735         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13736         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13737         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13738         <kernel-features.h>.
13739         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13740         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13741         * sysdeps/unix/sysv/linux/linkat.c: Do not include
13742         <kernel-features.h>.
13743         (linkat) [__NR_linkat]: Make code unconditional.
13744         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13745         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13746         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13747         <kernel-features.h>.
13748         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13749         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13750         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13751         <kernel-features.h>.
13752         (mkdirat) [__NR_mkdirat]: Make code unconditional.
13753         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13754         * sysdeps/unix/sysv/linux/openat.c: Do not include
13755         <kernel-features.h>.
13756         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13757         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13758         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13759         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13760         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13761         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13762         <kernel-features.h>.
13763         (readlinkat) [__NR_readlinkat]: Make code unconditional.
13764         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
13765         result of INLINE_SYSCALL directly, not via int variable.
13766         * sysdeps/unix/sysv/linux/renameat.c: Do not include
13767         <kernel-features.h>.
13768         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13769         (renameat) [__NR_renameat]: Make code unconditional.
13770         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13771         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13772         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13773         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13774         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13775         (__ASSUME_ATFCTS): Do not undefine and redefine.
13776         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13777         <kernel-features.h>.
13778         (symlinkat) [__NR_symlinkat]: Make code unconditional.
13779         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13780         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13781         <kernel-features.h>.
13782         (unlinkat) [__NR_unlinkat]: Make code unconditional.
13783         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13784         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13785         (__ASSUME_ATFCTS): Do not undefine and redefine.
13786         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13787         <kernel-features.h>.
13788         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13789         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13790         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13791         <kernel-features.h>.
13792         (__xmknodat) [__NR_mknodat]: Make code unconditional.
13793         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13795 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13797         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13799 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
13801         [BZ #17069]
13802         * posix/regcomp.c (parse_reg_exp): Deallocate partially
13803         constructed tree before returning error.
13804         * posix/bug-regexp36.c: Expand test case.
13806 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13808         [BZ #6803]
13809         * math/libm-test.inc (scalbln_test_date):
13810         Add errno expectations.
13811         * math/w_scalblnf.c: New File.
13812         Add wrapper which checks for setting errno to ERANGE.
13813         Add weak_alias for corresponding scalbln function.
13814         * math/w_scalbln.c: Likewise.
13815         * math/w_scalblnl.c: Likewise.
13816         * math/Makefile (libm-calls): Add w_scalbln.
13817         * sysdeps/ieee754/flt-32/s_scalblnf.c:
13818         Remove weak_alias for corresponding scalbln function.
13819         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13820         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13821         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13822         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13823         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13824         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13825         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13826         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13827         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13828         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13829         Remove long_double_symbol for scalblnl function in libm, libc.
13830         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13831         Add wrapper which checks for setting errno to ERANGE.
13832         Add long_double_symbol for scalblnl function in libm, libc.
13833         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13834         Remove long_double_symbol for scalblnl in libm.
13835         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13836         Add wrapper which checks for setting errno to ERANGE.
13837         Add long_double_symbol for scalblnl function in libm.
13838         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13839         Do not use wrapper because of own implementation.
13841 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
13843         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13844         3 bytes for __pad1 for x32.
13845         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13847 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
13848             H.J. Lu  <hongjiu.lu@intel.com>
13850         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13851         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13852         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13853         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13854         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13856 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
13858         [BZ #17069]
13859         * posix/regcomp.c (parse_expression): Deallocate partially
13860         constructed tree before returning error.
13861         * posix/Makefile.c (tests): Add bug-regex36.
13862         (generated): Add bug-regex36.mtrace.
13863         (tests-special): Add $(objpfx)bug-regex36-mem.out
13864         (bug-regex36-ENV): New variable.
13865         ($(objpfx)bug-regex36-mem.out): New rule.
13866         * posix/bug-regex36.c: New file.
13868 2014-06-19  Will Newton  <will.newton@linaro.org>
13870         * malloc/malloc.c (systrim): If extra is zero then return
13871         early.
13873 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13875         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13877 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
13879         * sysdeps/aarch64/strchr.S: New file.
13881 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13883         [BZ #17022]
13884         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13885         from arguments -2 or below.
13886         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13887         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13889 2014-06-18  Andreas Schwab  <schwab@suse.de>
13891         [BZ #17062]
13892         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13893         of a bracket expr not to run off the end of the string.
13894         * posix/Makefile (tests): Add tst-fnmatch3.
13895         * posix/tst-fnmatch3.c: New file.
13897 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13899         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13900         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13901         [$(cross-compiling) = no]: Likewise.
13902         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13903         [$(cross-compiling) = no]: Likewise.
13905 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13907         [BZ #17031]
13908         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13909         double, adjusted for any remainder from the high double.
13910         * math/libm-test.inc (nearbyint): Add tests.
13911         (rint): Likewise.
13913 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13915         * nptl/sysdeps/powerpc/Makefile: Moved ...
13916         * sysdeps/powerpc/nptl/Makefile: ... here.
13917         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13918         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13919         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13920         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13921         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13922         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13923         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13924         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13925         * nptl/sysdeps/powerpc/tls.h: Moved ...
13926         * sysdeps/powerpc/nptl/tls.h: ... here.
13928 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
13930         [BZ #16681]
13931         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13932         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13933         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13934         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13935         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13936         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13937         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13938         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13939         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13941 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
13943         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13945 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
13947         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13948         defined operator.
13950         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13951         $TIMEOUTFACTOR.
13953 2014-06-16  Florian Weimer  <fweimer@redhat.com>
13955         [BZ #17058]
13956         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13957         non-executed part of the test.
13959 2014-06-16  Andreas Schwab  <schwab@suse.de>
13961         * string/bits/string2.h (strdup, strndup): Update feature guard.
13963 2014-06-14  David S. Miller  <davem@davemloft.net>
13965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13967 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
13969         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13970         that was previously under [RESET_PID].
13971         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13973         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13974         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13975         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13976         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13977         (__libc_vfork): New strong alias.
13978         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13980 2014-06-14 Andi Kleen  <ak@linux.intel.com>
13982         * sysdeps/generic/elide.h: New file.
13984 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13986         * Makefile (installed-headers): Adjust path of pthread.h header.
13988 2014-06-13  Roland McGrath  <roland@hack.frob.com>
13990         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13991         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13992         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13993         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13995         * nptl/sysdeps/s390/Makefile: Moved ...
13996         * sysdeps/s390/nptl/Makefile: ... here.
13997         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13998         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13999         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14000         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14001         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14002         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14003         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14004         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14005         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14006         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14007         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14008         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14009         * nptl/sysdeps/s390/tls.h: Moved ...
14010         * sysdeps/s390/nptl/tls.h: ... here.
14012         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14013         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14015 2014-06-13  David S. Miller  <davem@davemloft.net>
14017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14020         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14024         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14025         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14026         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14027         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14028         Remove RESET_PID cpp guards.
14029         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14030         Remove RESET_PID cpp guards.
14031         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14033 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14035         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14036         __sp to uintptr_t.
14038 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14042         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14043         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14044         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14048         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14049         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14053         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14054         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14058         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14059         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14061         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14062         (pthread_rwlock_rdlock): Add elision.
14063         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14064         (pthread_rwlock_wrlock): Add elision.
14065         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14066         (pthread_rwlock_trywrlock): Add elision.
14067         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14068         (pthread_rwlock_tryrdlock): Add elision.
14069         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14070         (pthread_rwlock_tryrdlock): Add elision unlock.
14071         * nptl/sysdeps/pthread/pthread.h:
14072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14073         (PTHREAD_RWLOCK_INITIALIZER,
14074         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14075         Handle new elision field.
14076         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14077         * sysdeps/arm/nptl/bits/pthreadtypes.h
14078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14079         * sysdeps/sh/nptl/bits/pthreadtypes.h
14080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14081         * sysdeps/tile/nptl/bits/pthreadtypes.h
14082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14083         * sysdeps/a/nptl/bits/pthreadtypes.h
14084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14085         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14087         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14089         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14091         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14093         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14095         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14097         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14099         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14101         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14102         (elision_init): Set try_xbegin to zero when no RTM.
14103         * sysdeps/x86/nptl/bits/pthreadtypes.h
14104         (pthread_rwlock_t): Change __pad1 to __rwelision.
14105         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14107 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14109         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14110         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14111         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14112         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14114 2014-06-13  Meador Inge  <meadori@codesourcery.com>
14116         [BZ #16996]
14117         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14118         that the cached result has been set before returning it.
14120 2014-06-12  Roland McGrath  <roland@hack.frob.com>
14122         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14123         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14124         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14125         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14126         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14127         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14129         * nptl/sysdeps/sparc/Makefile: Moved ...
14130         * sysdeps/sparc/nptl/Makefile: ... here.
14131         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14132         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14133         * nptl/sysdeps/sparc/tls.h: Moved ...
14134         * sysdeps/sparc/nptl/tls.h: ... here.
14135         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14136         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14137         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14138         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14139         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14140         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14141         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14142         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14143         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14144         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14145         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14146         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14147         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14148         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14149         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14150         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14151         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14152         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14153         Update #include.
14154         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14155         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14156         Update #include.
14157         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14159         Update #include.
14160         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14161         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14162         Update #include.
14164         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14166         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14167         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14169         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14170         (struct list_links): Type removed.
14171         (struct thread_node, struct timer_node): Replace struct list_links
14172         with struct list_head.
14173         (list_unlink_ip): Likewise.
14174         * sysdeps/pthread/timer_routines.c
14175         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14176         (list_append, list_insbefore): Likewise.
14177         (list_init): Function removed.
14178         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14179         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14180         * sysdeps/pthread/Makefile: ... here, new file.
14182         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14183         * sysdeps/nptl/Implies: ... here.
14184         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14185         * nptl/sysdeps/pthread/list.h: Moved ...
14186         * include/list.h: ... here.
14187         * nptl/sysdeps/pthread/createthread.c: Moved ...
14188         * nptl/createthread.c: ... here.
14189         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14190         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14191         * nptl/pt-longjmp.c: ... here.
14192         * nptl/sysdeps/pthread/Makefile: Moved ...
14193         * sysdeps/nptl/Makefile: ... here.
14194         * nptl/sysdeps/pthread/Subdirs: Moved ...
14195         * sysdeps/nptl/Subdirs: ... here.
14196         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14197         * sysdeps/nptl/aio_misc.h: ... here.
14198         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14199         * sysdeps/nptl/bits/libc-lock.h: ... here.
14200         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14201         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14202         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14203         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14204         * nptl/sysdeps/pthread/configure: Moved ...
14205         * sysdeps/nptl/configure: ... here.
14206         * nptl/sysdeps/pthread/configure.ac: Moved ...
14207         * sysdeps/nptl/configure.ac: ... here.
14208         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14209         * sysdeps/nptl/gai_misc.h: ... here.
14210         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14211         * sysdeps/nptl/librt-cancellation.c: ... here.
14212         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14213         * sysdeps/nptl/malloc-machine.h: ... here.
14214         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14215         * sysdeps/nptl/pthread-functions.h: ... here.
14216         * nptl/sysdeps/pthread/pthread.h: Moved ...
14217         * sysdeps/nptl/pthread.h: ... here.
14218         * nptl/sysdeps/pthread/setxid.h: Moved ...
14219         * sysdeps/nptl/setxid.h: ... here.
14220         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14221         * sysdeps/nptl/sigfillset.c: ... here.
14222         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14223         * sysdeps/nptl/tcb-offsets.h: ... here.
14224         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14225         * sysdeps/nptl/tst-mqueue8x.c: ... here.
14226         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14227         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14228         * nptl/sysdeps/pthread/allocalim.h: Moved ...
14229         * sysdeps/pthread/allocalim.h: ... here.
14230         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14231         * sysdeps/pthread/bits/sigthread.h: ... here.
14232         * nptl/sysdeps/pthread/flockfile.c: Moved ...
14233         * sysdeps/pthread/flockfile.c: ... here.
14234         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14235         * sysdeps/pthread/ftrylockfile.c: ... here.
14236         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14237         * sysdeps/pthread/funlockfile.c: ... here.
14238         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14239         * sysdeps/pthread/posix-timer.h: ... here.
14240         * nptl/sysdeps/pthread/timer_create.c: Moved ...
14241         * sysdeps/pthread/timer_create.c: ... here.
14242         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14243         * sysdeps/pthread/timer_delete.c: ... here.
14244         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14245         * sysdeps/pthread/timer_getoverr.c: ... here.
14246         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14247         * sysdeps/pthread/timer_gettime.c: ... here.
14248         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14249         * sysdeps/pthread/timer_routines.c: ... here.
14250         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14251         * sysdeps/pthread/timer_settime.c: ... here.
14252         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14253         * sysdeps/pthread/tst-timer.c: ... here.
14254         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14255         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14257         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14258         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14260         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14261         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14262         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14263         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14264         Update #include target.
14265         * nptl/sysdeps/i386/i686/Makefile: Moved ...
14266         * sysdeps/i386/i686/nptl/Makefile: ... here.
14267         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14268         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14269         Update #include target.
14270         * nptl/sysdeps/i386/i686/tls.h: Moved ...
14271         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
14272         * nptl/sysdeps/i386/Makefile: Moved ...
14273         * sysdeps/i386/nptl/Makefile: ... here.
14274         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14275         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14276         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14277         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14278         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14279         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14280         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14281         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14282         * sysdeps/i386/nptl/pthreaddef.h: ... here.
14283         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14284         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14285         * nptl/sysdeps/i386/tls.h: Moved ...
14286         * sysdeps/i386/nptl/tls.h: ... here.
14288         * sysdeps/sh/Makefile [$(subdir) = csu]
14289         (gen-as-const-headers): Add tcb-offsets.sym.
14290         * nptl/sysdeps/sh/Makefile: File removed.
14291         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14292         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14293         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14294         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14295         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14296         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14297         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14298         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14299         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14300         * sysdeps/sh/nptl/pthreaddef.h: ... here.
14301         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14302         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14303         * nptl/sysdeps/sh/tls.h: Moved ...
14304         * sysdeps/sh/nptl/tls.h: ... here.
14305         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14306         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14307         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14308         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14309         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14310         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14311         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14312         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14313         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14314         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14315         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14316         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14318         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14320         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14322         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14324         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14326         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14328         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14330         Moved ...
14331         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14332         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14333         Moved ...
14334         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14339         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14340         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14341         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14342         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14343         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14344         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14345         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14346         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14347         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14348         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14349         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14350         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14351         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14352         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14354 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14356         * posix/spawn_faction_addopen.c: Include string.h.
14358 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14360         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14361         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14362         * nptl/sysdeps/x86_64/Makefile: Moved ...
14363         * sysdeps/x86_64/nptl/Makefile: ... here.
14364         * nptl/sysdeps/x86_64/configure: Moved ...
14365         * sysdeps/x86_64/nptl/configure: ... here.
14366         * nptl/sysdeps/x86_64/configure.ac: Moved ...
14367         * sysdeps/x86_64/nptl/configure.ac: ... here.
14368         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14369         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14370         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14371         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14372         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14373         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14374         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14375         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14376         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14377         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14378         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14379         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14380         * nptl/sysdeps/x86_64/tls.h: Moved ...
14381         * sysdeps/x86_64/nptl/tls.h: ... here.
14382         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14383         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14384         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14385         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14387         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14389 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14393 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
14395         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14396         type.
14397         [POSIX] (off_t): Likewise.
14398         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14399         [POSIX] (S_ISBLK): Require macro.
14400         [POSIX] (S_ISCHR): Likewise.
14401         [POSIX] (S_ISDIR): Likewise.
14402         [POSIX] (S_ISFIFO): Likewise.
14403         [POSIX] (S_ISREG): Likewise.
14404         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14405         optional-macro.
14406         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14407         type.
14408         [POSIX] (time_t): Likewise.
14409         [POSIX] (timer_t): Likewise.
14411 2014-06-11  Florian Weimer  <fweimer@redhat.com>
14413         [BZ #17048]
14414         * posix/spawn_int.h (struct __spawn_action): Make the path string
14415         non-const to support deallocation.
14416         * posix/spawn_faction_addopen.c
14417         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14418         * posix/spawn_faction_destroy.c
14419         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
14420         path in all spawn_do_open actions.
14421         * posix/tst-spawn.c (do_test): Exercise the copy operation in
14422         posix_spawn_file_actions_addopen.
14424 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
14426         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14427         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14428         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14429         conditional code always true.
14430         (__libc_vfork): New alias.
14432 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14434         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14435         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14437         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14439         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14440         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14442         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14443         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14445         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14446         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14448 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14450         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14451         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14452         multiarch strcmp for PPC64.
14453         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14454         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14456         multiarch optimizations.
14457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14458         (__libc_ifunc_impl_list): Likewise.
14460 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14462         * benchtests/scripts/validate_benchout.py: New script.
14463         * benchtests/Makefile (bench-func): Call it.
14464         * benchtests/scripts/benchout.schema.json: New file.
14466 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
14468         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14469         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14470         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14471         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14472         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14473         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14474         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14475         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14476         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14477         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14478         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14479         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14480         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14481         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14482         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14483         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14485         Moved ...
14486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14487         ... here.
14488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14489         Moved ...
14490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14492         Moved ...
14493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14494         ... here.
14495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14496         Moved ...
14497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14498         ... here.
14499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14500         Moved ...
14501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14503         Moved ...
14504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14505         ... here.
14506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14507         Moved ...
14508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14509         ... here.
14510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14511         Moved ...
14512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14514         Moved ...
14515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14516         ... here.
14517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14518         Moved ...
14519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14520         ... here.
14521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14522         Moved ...
14523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14524         ... here.
14525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14526         Moved ...
14527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14529         Moved ...
14530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14531         ... here.
14532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14533         Moved ...
14534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14535         ... here.
14536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14537         Moved ...
14538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14539         ... here.
14540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14541         Moved ...
14542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14544         Moved ...
14545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14546         ... here.
14547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14548         Moved ...
14549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14550         ... here.
14551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14552         Moved ...
14553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14555         Moved ...
14556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14557         ... here.
14558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14559         Moved ...
14560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14562         Moved ...
14563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14565         Moved ...
14566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14567         ... here.
14568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14569         Moved ...
14570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14571         ... here.
14572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14573         Moved ...
14574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14575         ... here.
14576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14577         Moved ...
14578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14580         Moved ...
14581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14582         ... here.
14583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14584         Moved ...
14585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14586         ... here.
14587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14588         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14590         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14592         Moved ...
14593         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14594         ... here.
14595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14596         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14598         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14600         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14602         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14604         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14606         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14608         Moved ...
14609         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14610         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14611         Moved ...
14612         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14614         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14616         Moved ...
14617         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14618         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14619         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14620         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14621         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14622         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14623         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14625 2014-06-10  Wilco  <wdijkstr@arm.com>
14627         * math/test-fenv-return.c: New file.
14628         * math/Makefile: Add new test test-fenv-return.
14630 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
14632         [BZ #17042]
14633         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14634         when x - 1 is zero.
14635         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14636         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14637         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14638         0.0L for an argument of 1.0L.
14639         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14640         Likewise.
14641         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14642         value when x - 1 is zero.
14643         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14644         * sysdeps/i386/fpu/libm-test-ulps: Update.
14645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14647 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
14649         [BZ #15119]
14650         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14652 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14654         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14655         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14657 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14659         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14660         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14662         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14663         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14665         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14666         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14668         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14669         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14671         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14672         if not already defined.
14673         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14674         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14675         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14676         (TLS_INIT_TP): Use it.
14677         (TLS_DEFINE_INIT_TP): New macro.
14678         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14680 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
14682         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14683         constant.
14684         [POSIX] (IXANY): Likewise.
14685         [POSIX] (OLCUC): Likewise.
14686         [POSIX || POSIX2008] (CBAUD): Do not allow.
14687         [POSIX || POSIX2008] (DEFECHO): Likewise.
14688         [POSIX || POSIX2008] (ECHOCTL): Likewise.
14689         [POSIX || POSIX2008] (ECHOKE): Likewise.
14690         [POSIX || POSIX2008] (ECHOPRT): Likewise.
14691         [POSIX || POSIX2008] (EXTA): Likewise.
14692         [POSIX || POSIX2008] (EXTB): Likewise.
14693         [POSIX || POSIX2008] (FLUSHO): Likewise.
14694         [POSIX || POSIX2008] (LOBLK): Likewise.
14695         [POSIX || POSIX2008] (PENDIN): Likewise.
14696         [POSIX || POSIX2008] (SWTCH): Likewise.
14697         [POSIX || POSIX2008] (VDISCARD): Likewise.
14698         [POSIX || POSIX2008] (VDSUSP): Likewise.
14699         [POSIX || POSIX2008] (VLNEXT): Likewise.
14700         [POSIX || POSIX2008] (VREPRINT): Likewise.
14701         [POSIX || POSIX2008] (VSTATUS): Likewise.
14702         [POSIX || POSIX2008] (VWERASE): Likewise.
14703         (B*): Change to B[0123456789]*.
14704         * conform/data/time.h-data [POSIX || UNIX98]
14705         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14706         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14707         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14708         [POSIX] (tm_*): Do not allow.
14710 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
14712         * Makefile (install): Don't set LANGUAGE.
14713         * Makefile.in (install): Likewise.
14714         * assert/Makefile (test-assert-ENV): Remove variable.
14715         (test-assert-perr-ENV): Likewise.
14716         * elf/Makefile (neededtest4-ENV): Likewise.
14717         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14718         [$(cross-compiling) = no]: Don't set LANGUAGE.
14719         * io/ftwtest-sh (LANG): Remove variable.
14720         * libio/Makefile (tst-widetext-ENV): Likewise.
14721         * manual/install.texi (Running make install): Don't refer to
14722         environment settings for make install.
14723         * INSTALL: Regenerated.
14724         * nptl/tst-tls6.sh: Don't set LANG.
14725         * posix/globtest.sh (LANG): Remove variable.
14726         * string/Makefile (tester-ENV): Likewise.
14727         (inl-tester-ENV): Likewise.
14728         (noinl-tester-ENV): Likewise.
14729         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14730         [$(cross-compiling) = no]: Don't set LANGUAGE.
14731         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14732         without explicit environment settings.
14734 2014-06-06  Roland McGrath  <roland@hack.frob.com>
14736         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14737         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14738         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14739         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14741 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
14743         * crypt/crypt-private.h [DOS]: Add some includes taken from the
14744         other files in the crypt directory.
14745         * crypt/crypt.c: Remove duplicate includes.
14746         * crypt/crypt-entry.c: Likewise.
14747         * crypt/crypt_util.c: Likewise.
14749 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
14751         * Makeconfig (run-program-env): New variable.
14752         (run-program-prefix-before-env): Likewise.
14753         (run-program-prefix-after-env): Likewise.
14754         (run-program-prefix): Define in terms of new variables.
14755         (built-program-cmd-before-env): New variable.
14756         (built-program-cmd-after-env): Likewise.
14757         (built-program-cmd): Define in terms of new variables.
14758         (test-program-prefix-before-env): New variable.
14759         (test-program-prefix-after-env): Likewise.
14760         (test-program-prefix): Define in terms of new variables.
14761         (test-program-cmd-before-env): New variable.
14762         (test-program-cmd-after-env): Likewise.
14763         (test-program-cmd): Define in terms of new variables.
14764         * Rules (make-test-out): Use $(run-program-env).
14765         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14766         (help): Do not mention environment variables.  Mention
14767         --timeoutfactor option.
14768         (timeoutfactor): New variable.
14769         (blacklist_exports): Remove function.
14770         (exports): Remove variable.
14771         (command): Do not include ${exports}.
14772         * manual/install.texi (Configuring and compiling): Do not mention
14773         test wrappers preserving environment variables.  Mention that last
14774         assignment to a variable must take precedence.
14775         * INSTALL: Regenerated.
14776         * benchtests/Makefile (run-bench): Use $(run-program-env).
14777         * catgets/Makefile ($(objpfx)test1.cat): Use
14778         $(built-program-cmd-before-env), $(run-program-env) and
14779         $(built-program-cmd-after-env).
14780         ($(objpfx)test2.cat): Do not specify environment variables
14781         explicitly.
14782         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14783         $(run-program-env) and $(built-program-cmd-after-env).
14784         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14785         $(run-program-env) and $(test-program-cmd-after-env).
14786         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14787         explicitly.
14788         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14789         run_program_env and test_program_cmd_after_env arguments.
14790         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14791         * elf/tst-pathopt.sh: Use run_program_env argument.
14792         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14793         $(test-wrapper-env) and $(run-program-env).
14794         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14795         run_program_env arguments.
14796         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14797         * intl/Makefile ($(objpfx)tst-gettext.out): Use
14798         $(test-program-prefix-before-env), $(run-program-env) and
14799         $(test-program-prefix-after-env).
14800         ($(objpfx)tst-gettext2.out): Likewise.
14801         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14802         run_program_env and test_program_prefix_after_env arguments.
14803         * intl/tst-gettext2.sh: Likewise.
14804         * intl/tst-gettext4.sh: Do not set environment variables
14805         explicitly.
14806         * intl/tst-gettext6.sh: Likewise.
14807         * intl/tst-translit.sh: Likewise.
14808         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14809         $(test-program-prefix-before-env), $(run-program-env) and
14810         $(test-program-prefix-after-env).
14811         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14812         run_program_env and test_program_prefix_after_env arguments.
14813         * math/Makefile (run-regen-ulps): Use $(run-program-env).
14814         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14815         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
14816         explicitly with each use of ${test_wrapper_env}.
14817         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14818         $(test-program-prefix-before-env), $(run-program-env) and
14819         $(test-program-prefix-after-env).
14820         * posix/tst-getconf.sh: Do not set environment variables
14821         explicitly.
14822         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14823         run_program_env and test_program_prefix_after_env arguments.
14824         * stdio-common/tst-printf.sh: Do not set environment variables
14825         explicitly.
14826         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14827         $(test-program-prefix-before-env), $(run-program-env) and
14828         $(test-program-prefix-after-env).
14829         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14830         run_program_env and test_program_prefix_after_env arguments.
14831         Split $test calls into $test_pre and $test.
14832         * timezone/Makefile (build-testdata): Use
14833         $(built-program-cmd-before-env), $(run-program-env) and
14834         $(built-program-cmd-after-env).
14836 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14838         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14839         strlen for non SHARED builds.
14841 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14843         * nptl/allocatestack.c (check_list): Inlined function...
14844         (__reclaim_stacks): ... here.
14846 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14848         [BZ #15698]
14849         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14850         memory overrun.
14852 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
14854         * Rules (make-test-out): Include
14855         LOCPATH=$(common-objpfx)localedata in default environment.
14856         * debug/Makefile (tst-chk1-ENV): Remove variable.
14857         (tst-chk2-ENV): Likewise.
14858         (tst-chk3-ENV): Likewise.
14859         (tst-chk4-ENV): Likewise.
14860         (tst-chk5-ENV): Likewise.
14861         (tst-chk6-ENV): Likewise.
14862         (tst-lfschk1-ENV): Likewise.
14863         (tst-lfschk2-ENV): Likewise.
14864         (tst-lfschk3-ENV): Likewise.
14865         (tst-lfschk4-ENV): Likewise.
14866         (tst-lfschk5-ENV): Likewise.
14867         (tst-lfschk6-ENV): Likewise.
14868         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14869         (tst-iconv7-ENV): Likewise.
14870         * intl/Makefile (LOCPATH-ENV): Likewise.
14871         (tst-codeset-ENV): Likewise.
14872         (tst-gettext3-ENV): Likewise.
14873         (tst-gettext5-ENV): Likewise.
14874         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14875         (tst-fopenloc-ENV): Likewise.
14876         (tst-fgetws-ENV): Remove variable.
14877         (tst-ungetwc1-ENV): Likewise.
14878         (tst-ungetwc2-ENV): Likewise.
14879         (bug-ungetwc2-ENV): Likewise.
14880         (tst-swscanf-ENV): Likewise.
14881         (bug-ftell-ENV): Likewise.
14882         (tst-fgetwc-ENV): Likewise.
14883         (tst-fseek-ENV): Likewise.
14884         (tst-ftell-partial-wide-ENV): Likewise.
14885         (tst-ftell-active-handler-ENV): Likewise.
14886         (tst-ftell-append-ENV): Likewise.
14887         * posix/Makefile (tst-fnmatch-ENV): Likewise.
14888         (tst-regexloc-ENV): Likewise.
14889         (bug-regex1-ENV): Likewise.
14890         (tst-regex-ENV): Likewise.
14891         (tst-regex2-ENV): Likewise.
14892         (bug-regex5-ENV): Likewise.
14893         (bug-regex6-ENV): Likewise.
14894         (bug-regex17-ENV): Likewise.
14895         (bug-regex18-ENV): Likewise.
14896         (bug-regex19-ENV): Likewise.
14897         (bug-regex20-ENV): Likewise.
14898         (bug-regex22-ENV): Likewise.
14899         (bug-regex23-ENV): Likewise.
14900         (bug-regex25-ENV): Likewise.
14901         (bug-regex26-ENV): Likewise.
14902         (bug-regex30-ENV): Likewise.
14903         (bug-regex32-ENV): Likewise.
14904         (bug-regex33-ENV): Likewise.
14905         (bug-regex34-ENV): Likewise.
14906         (bug-regex35-ENV): Likewise.
14907         (tst-rxspencer-ENV): Likewise.
14908         (tst-rxspencer-no-utf8-ENV): Likewise.
14909         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14910         (tst-sscanf-ENV): Likewise.
14911         (tst-swprintf-ENV): Likewise.
14912         (tst-swscanf-ENV): Likewise.
14913         (test-vfprintf-ENV): Likewise.
14914         (scanf13-ENV): Likewise.
14915         (bug14-ENV): Likewise.
14916         (tst-grouping-ENV): Likewise.
14917         * stdlib/Makefile (tst-strtod-ENV): Likewise.
14918         (tst-strtod3-ENV): Likewise.
14919         (tst-strtod4-ENV): Likewise.
14920         (tst-strtod5-ENV): Likewise.
14921         (testmb2-ENV): Likewise./
14922         * string/Makefile (tst-strxfrm-ENV): Likewise.
14923         (tst-strxfrm2-ENV): Likewise.
14924         (bug-strcoll1-ENV): Likewise.
14925         (test-strcasecmp-ENV): Likewise.
14926         (test-strncasecmp-ENV): Likewise.
14927         * time/Makefile (tst-strptime-ENV): Likewise.
14928         (tst-ftime_l-ENV): Likewise.
14929         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14930         (tst-mbrtowc-ENV): Likewise.
14931         (tst-wcrtomb-ENV): Likewise.
14932         (tst-mbrtowc2-ENV): Likewise.
14933         (tst-c16c32-1-ENV): Likewise.
14934         (tst-mbsnrtowcs-ENV): Likewise.
14936 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14938         * manual/resource.texi (How to get information about the memory
14939         subsystem?): Fix typo.
14940         Reported by Peon de la Parra Ivan <peon@keba.com>
14942 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
14944         [BZ #16882]
14945         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14946         (pthread_spin_lock): Branch out of spin loop to proper location.
14947         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14948         (pthread_spin_lock): Likewise.
14950         * nptl/tst-spin4.c: New test.
14951         * nptl/Makefile (tests): Add tst-spin4.
14953 2014-06-03  Andreas Schwab  <schwab@suse.de>
14955         [BZ #15946]
14956         * resolv/res_send.c (send_dg): Reload file descriptor after
14957         calling reopen.
14959 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
14961         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14963 2014-06-03  Richard Henderson  <rth@redhat.com>
14965         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14966         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14967         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14968         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
14969         in the SAVE_PID block.
14970         (__libc_vfork): New alias.
14971         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14973         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14974         child in registers, not on the stack.  Remove RESET_PID conditionals.
14975         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14977 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14979         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14981 2014-06-03  Wilco  <wdijkstr@arm.com>
14983         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14984         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14985         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14986         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14987         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14988         Likewise.
14990 2014-06-03  Wilco  <wdijkstr@arm.com>
14992         * sysdeps/aarch64/fpu/math_private.h
14993         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14994         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14995         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14996         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14997         Fix declarations.
14999 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15001         * crypt/crypt-private.h: Include ufc-crypt.h.
15002         (__b64_from_24bit): Declare extern.
15003         * crypt/crypt_util.c(__b64_from_24bit): New function.
15004         (b64t): New static const variable.
15005         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15006         (b64t): Remove variable.
15007         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15008         * crypt/sha256-crypt.c: Include crypt-private.h.
15009         (b64t): Remove variable.
15010         (__sha256_crypt_r): Remove b64_from_24bit and replace
15011         with __b64_from_24bit.
15012         * crypt/sha512-crypt.c: Likewise.
15014 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15016         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15017         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15018         Label the code __libc_vfork rather than __vfork.
15019         [!NOT_IN_libc] (vfork): Define as weak alias.
15020         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15021         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15022         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15024 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15026         * malloc/malloc.c (malloc_info): Fix format specifier for
15027         n_mmaps.
15029 2014-06-02  Wilco  <wdijkstr@arm.com>
15031         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15032         FPCR write.
15034 2014-06-02  Wilco  <wdijkstr@arm.com>
15036         [BZ #17009]
15037         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15038         Rewrite to reduce FPCR/FPSR accesses.
15040 2014-06-01  David S. Miller  <davem@davemloft.net>
15042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15044 2014-05-31  David S. Miller  <davem@davemloft.net>
15046         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15047         to occur in round to nearest mode when |x| >= 2.0
15049 2014-05-30  Richard Henderson  <rth@twiddle.net>
15051         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15052         (PSEUDO_RET_NOERRNO): Remove.
15053         (ret): Don't redefine.
15054         (ret_NOERRNO): Define in terms of ret.
15055         (ret_ERRVAL): Likewise.
15057         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15058         use of PSEUDO_RET; perform the error check directly.
15060 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15062         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15063         with __int128_t.
15065 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15067         * malloc/malloc (malloc_info): Fix formatting.
15069 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15070             Roland McGrath  <roland@hack.frob.com>
15072         * malloc/malloc (malloc_info): Also print mmapped statistics.
15074 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15076         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15077         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15079 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15081         * malloc/malloc.c (malloc_info): Inline mi_arena.
15083 2014-05-29  Richard Henderson  <rth@twiddle.net>
15085         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15086         Remove comma before expanding ASM_ARGS_##nr.
15087         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15088         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15089         of ASM_ARGS_##nr.
15090         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15091         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15092         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15093         (ASM_ARGS_1): Add leading comma.
15095         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15096         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15097         to __errno_location.
15098         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15099         Remove the expected plt for __errno_location.
15101         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15102         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15103         call to __read_tp.
15105         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15106         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15107         it and break it down.
15108         (DOCARGS_0, DOCARGS_1): Do nothing.
15109         (DOCARGS_2): Update to store into the new stack frame.
15110         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15111         (UNDOCARGS_1): Update to restore from the new stack frame.
15112         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15113         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15115         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15116         (SINGLE_THREAD_P): New parameter for result regno.
15117         (PSEUDO): Update to match; use cbz instead of beq.
15119         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15120         Use ENTRY to define the _nocancel entry point.  Share the syscall
15121         and syscall error check paths with the cancel path.
15122         (PSEUDO_END): New.
15124         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15125         whitespace; tabs before and after asm mnemonics.
15127 2014-05-29  Eric Wong  <normalperson@yhbt.net>
15129         [BZ #15132]
15130         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15131         Call fstat64 or stat64 internally, depending on arguments passed.
15132         Replace stat buffer argument with file descriptor argument.
15133         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15134         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15135         Pass fd to __internal_statvfs instead of calling fstat64.
15136         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15137         Pass fd to __internal_statvfs64 instead of calling fstat64.
15138         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15139         Pass -1 to __internal_statvfs instead of calling stat64.
15140         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15141         Pass -1 to __internal_statvfs64 instead of calling stat64.
15143 2014-05-28  Roland McGrath  <roland@hack.frob.com>
15145         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15146         that was previously under [RESET_PID].
15147         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15149         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15150         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15152 2014-05-27  Roland McGrath  <roland@hack.frob.com>
15154         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15156         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15157         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15159 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15161         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15163 2014-05-27  Andreas Schwab  <schwab@suse.de>
15165         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15166         TLS_INIT_TP macro.
15167         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15168         * elf/rtld.c (init_tls, dl_main): Likewise.
15169         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15170         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15171         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15172         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15173         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15174         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15175         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15176         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15177         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15178         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15179         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15180         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15181         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15182         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15183         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15184         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15185         * sysdeps/generic/tls.h: Update description.
15187 2014-05-27  Will Newton  <will.newton@linaro.org>
15189         [BZ #16990]
15190         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15191         and restore r2 rather than just restoring.
15193 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15195         [BZ #16724]
15196         * libio/tst-ftell-append.c: New test case.
15197         * libio/Makefile (tests): Add test case.
15198         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15199         append mode.
15200         * libio/wfileops.c (do_ftell_wide): Likewise.
15202 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15206         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15207         ...
15208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15210         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15211         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15212         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15213         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15214         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15215         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15217         Moved ...
15218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15220         Moved ...
15221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15222         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15223         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15224         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15225         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15226         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15227         ...
15228         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15229         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15230         Moved ...
15231         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15232         here.
15233         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15234         ...
15235         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15236         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15237         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15239         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15240         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15241         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15242         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15245         merge into ...
15246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15247         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15248         ...
15249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15251         ...
15252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15254         Moved ...
15255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15256         here.
15257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15258         Moved ...
15259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15261         Moved ...
15262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15265         conditional [RESET_PID].
15266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15268         removed.
15269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15270         removed.
15272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15273         <tcb-offsets.h>.
15274         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15275         (__libc_vfork): New strong alias.
15276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15277         removed.
15278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15279         Removed.
15281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15282         <tcb-offsets.h>.
15283         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15284         (__libc_vfork): New strong alias.
15285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15286         removed.
15287         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15288         removed.
15290 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
15292         * malloc/malloc.c (mi_arena): New function.
15293         (malloc_info): Remove nested function mi_arena. Call non-nosted
15294         function mi_arena.
15296 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15298         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15299         by insrwi.
15300         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15301         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15302         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15303         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15304         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15305         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15306         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15308 2014-05-26  Andreas Schwab  <schwab@suse.de>
15310         [BZ #16984]
15311         * locale/programs/repertoire.c (repertoire_read): Add slash
15312         between I18NPATH element and file name.
15313         * locale/programs/locfile.c (locfile_read): Likewise.
15315 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15317         * nptl/pthread_mutexattr_settype.c
15318         (__pthread_mutexattr_settype):
15319         Disable lock elision for PTHREAD_MUTEX_NORMAL.
15321 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15323         * nptl/tst-mutex5 (do_test):
15324         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15326 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15328         * benchtests/README: Document 'init' directive.
15329         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15330         BENCH_INIT.
15331         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15332         (parse_file): Recognize 'init' directive.
15334 2014-05-26  Kyle McMartin  <kyle@redhat.com>
15336         [BZ #16796]
15337         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15338         alignment of struct pthread.
15340 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15342         [BZ #16878]
15343         * nscd/netgroupcache.c (addgetnetgrentX): Look for
15344         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15345         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15346         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15348 2014-05-25  Richard Henderson  <rth@twiddle.net>
15350         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15351         (SINGLE_THREAD_P_PIC): Remove.
15352         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15353         (SINGLE_THREAD_P_PIC): Remove.
15355         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15356         branch to syscall error ...
15357         (PSEUDO): ... here.
15358         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15359         from __local_syscall_error to .Lsyscall_error.
15360         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15361         (SYSCALL_ERROR): Update label name.
15363         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15364         Do not use DOARGS/UNDOARGS.
15365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15366         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15367         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15368         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15369         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15372         block comment.
15374         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15375         define if !NOT_IN_libc.
15376         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15377         define with non-default symbol versions.
15379 2014-05-23  Richard Henderson  <rth@twiddle.net>
15381         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15382         (vfork, __vfork): Define via compat_symbol.
15384         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15385         [!HAVE_IFUNC] (vfork_compat): Remove.
15386         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15388 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15390         [BZ #16978]
15391         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15392         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15393         variable.
15395 2014-05-23  Richard Henderson  <rth@twiddle.net>
15397         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15398         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15399         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15400         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15402         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15403         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15404         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15405         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15407         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15408         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15409         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15410         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15411         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15412         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15413         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15414         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15415         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15416         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15417         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15418         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15419         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15420         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15421         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15422         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15423         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15424         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15425         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15426         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15427         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15428         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15429         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15430         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15431         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15432         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15433         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15434         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15435         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15436         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15437         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15438         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15439         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15440         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15441         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15442         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15443         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15444         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15445         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15446         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15447         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15448         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15449         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15451         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15453         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15455         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15456         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15457         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15459         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15460         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15461         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
15462         before exiting on error.
15463         (__libc_vfork): New strong alias.
15464         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15465         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15467         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15468         that was previously under [RESET_PID].
15469         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15471         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15473 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15475         [BZ #16977]
15476         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15477         value when x - 1 is zero.
15478         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15479         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15480         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15481         0.0L for an argument of 1.0L.
15482         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15483         Likewise.
15484         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15485         value when x - 1 is zero.
15486         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15487         * sysdeps/i386/fpu/libm-test-ulps: Update.
15488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15490 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15492         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15493         alphasort and versionsort.
15495 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15497         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15498         macro.
15499         [copysignf]: Likewise.
15501 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15503         * crypt/md5-crypt.c: Fix formatting.
15505 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15507         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15508         (b64_from_24bit): New function.
15510 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15512         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15513         libc_hidden_builtin_def to ifunc.
15514         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15515         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15517 2014-05-21  Roland McGrath  <roland@hack.frob.com>
15519         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15520         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15522 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
15524         * nscd/Depend (linuxthreads): Remove.
15525         (nptl): Add.
15526         * resolv/Depend (linuxthreads): Remove.
15527         * rt/Depend (linuxthreads): Remove.
15529         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15530         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15531         $(common-objpfx)elf/.
15532         (link-libc-before-gnulib): Likewise.
15533         (elfobjdir): Remove variable.
15534         * Makefile (install): Use $(elf-objpfx) instead of
15535         $(common-objpfx)elf/.
15536         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15537         $(elfobjdir)/.
15538         (link-libc-deps): Likewise.
15539         ($(common-objpfx)libc.so): Likewise.
15540         ($(common-objpfx)linkobj/libc.so): Likewise.
15541         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15542         instead of $(common-objpfx)elf/.
15543         (symbolic-link-list): Likewise.
15544         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15545         [$(cross-compiling) = no]: Likewise.
15546         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15547         $(elfobjdir)/.
15548         (static-gnulib-arch): Likewise.
15549         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15550         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15551         $(common-objpfx)elf/.
15553 2014-05-21  Richard Henderson  <rth@redhat.com>
15555         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15556         (SINGLE_THREAD_P): Use the correct width load.  Fold
15557         into the ldr offset.
15559         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15560         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15562 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
15564         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15565         (libgcc_s_resume): Use __attribute_used__.
15566         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15567         Likewise.
15569 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15571         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15572         optimization when used with float constants.
15574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15576 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
15578         [BZ #16915]
15579         * locale/nl_langinfo_l.c: Make direct reference to every
15580         _nl_current_CATEGORY symbol.
15581         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15582         (tests-static): Add tst-langinfo-static.
15583         (tests-special): Add tst-langinfo-static.out.
15584         ($(objpfx)tst-langinfo.out): Redirect output.
15585         ($(objpfx)tst-langinfo-static.out): New.
15586         * localedata/tst-langinfo.sh: Send output to stdout.
15587         * localedata/tst-langinfo-static.c: New file.
15589         [BZ #16965]
15590         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15591         when the shift amount is modulo the limb size.
15593 2014-05-20  Richard Henderson  <rth@redhat.com>
15595         [BZ #16967]
15596         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15597         Change type of sa_flags from unsigned int to int.
15599         [BZ #16966]
15600         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15602         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15604 2014-05-20  Will Newton  <will.newton@linaro.org>
15606         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15607         Test the return value of the system call in the nocancel case.
15609 2014-05-20  Will Newton  <will.newton@linaro.org>
15610             Yvan Roux  <yvan.roux@linaro.org>
15612         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15613         #include of asm/ptrace.h.
15614         (PTRACE_GET_THREAD_AREA): Remove #undef.
15615         (PTRACE_GETHBPREGS): Likewise.
15616         (PTRACE_SETHBPREGS): Likewise.
15617         (struct user_regs_struct): New structure.
15618         (struct user_fpsimd_struct): New structure.
15619         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15620         #include of asm/ptrace.h and second #include of sys/user.h.
15621         (PTRACE_GET_THREAD_AREA): Remove #undef.
15622         (PTRACE_GETHBPREGS): Likewise.
15623         (PTRACE_SETHBPREGS): Likewise.
15624         (ELF_NGREG): Use new struct user_regs_struct.
15625         (elf_fpregset_t): Use new struct user_fpsimd_struct.
15627 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15629         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15630         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15632 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
15634         [BZ #16958]
15635         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15636         membar to avoid block loads/stores to overlap previous stores.
15638 2014-05-17  Richard Henderson  <rth@redhat.com>
15640         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15641         Create the __##syscall_name##_nocancel entry point.
15642         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15643         Remove; let the sysdep-cancel.h code create it.
15645 2014-05-17  David S. Miller  <davem@davemloft.net>
15647         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15648         Protect with __USE_GNU.
15649         (TIOCSET_TEMPT): Likewise.
15650         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15651         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15652         these are already provided in bits/ioctl-types.h
15654 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15656         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15657         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15659         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15660         Use wait4 regardless of [__NR_waitpid].
15662 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15664         PR libgcc/60166
15665         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15666         (_FP_NANSIGN_Q): Set the quiet bit.
15668 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
15670         * benchtests/Makefile
15671         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15672         not $(common-objpfx)math/libm.so.
15673         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15674         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15675         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15676         $(common-objpfx)dlfcn/libdl.so.
15677         ($(objpfx)tst-audit8): Depend on $(libm), not
15678         $(common-objpfx)math/libm.so.
15679         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15680         not $(common-objpfx)dlfcn/libdl.so.
15681         * math/Makefile
15682         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15683         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
15684         [$(build-shared) = yes].
15685         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15686         $(common-objpfx)nptl/libpthread.so.
15687         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15688         $(common-objpfx)math/libm.so$(libm.so-version) or
15689         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15690         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15691         $(common-objpfx)dlfcn/libdl.so.
15692         * setjmp/Makefile (link-libm): Remove variable.
15693         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15694         * stdio-common/Makefile (link-libm): Remove variable.
15695         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15696         * stdlib/Makefile (link-libm): Remove variable.
15697         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15698         ($(objpfx)tst-strtod-round): Likewise.
15699         ($(objpfx)tst-tininess): Likewise.
15700         ($(objpfx)tst-strtod-underflow): Likewise.
15701         ($(objpfx)tst-strtod6): Likewise.
15702         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15703         $(libdl), not $(common-objpfx)nptl/libpthread.so and
15704         $(common-objpfx)dlfcn/libdl.so.
15706 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15708         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15709         BSD terminal modes definitions.
15711 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15713         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15714         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15716         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15717         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15718         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15719         Don't do #include_next.
15720         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15721         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15722         Don't do #include_next.
15723         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15724         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15725         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15726         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15728 2014-05-16  Allan McRae  <allan@archlinux.org>
15730         * po/sv.po: Update Swedish translation from translation project.
15732         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15733         in sed expression.
15735 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
15737         [BZ #16917]
15738         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15739         errno if the TIOCGPTN ioctl fails with an error different than
15740         EINVAL.
15741         * login/tst-ptsname.c: New file.
15742         * login/Makefile (tests): Add tst-ptsname.
15744         [BZ #16943]
15745         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15746         and prlimit64.
15748 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15750         [BZ #16849]
15751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15752         herrno to return EAI_AGAIN.
15754 2014-05-14  Roland McGrath  <roland@hack.frob.com>
15756         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15757         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15758         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15759         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15760         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15761         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15762         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15763         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15764         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15765         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15766         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15767         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15768         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15769         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15770         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15771         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15772         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15773         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15774         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15775         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15776         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15777         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15778         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15779         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15780         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15781         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15782         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15783         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15784         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15785         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15787         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15789         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15791         Moved ...
15792         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15794         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15796         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15798         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15800         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15802         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15804         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15806         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15808         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15810         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15812         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15814         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15816         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15818         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15820         Moved ...
15821         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15823         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15825         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15827         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15829         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15833         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15835         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15837         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15839         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15841         Moved ...
15842         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15844         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15846         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15847         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15848         (libpthread-sysdep_routines): Add elision-related stuff here instead.
15849         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15850         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15851         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15852         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15853         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15854         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15855         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15856         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15857         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15858         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15859         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15860         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15861         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15862         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15863         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15864         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15865         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15866         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15867         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15868         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15869         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15870         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15871         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15872         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15873         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15875         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15876         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15878         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15879         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15881         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15882         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15883         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15884         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15885         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15887         Moved ...
15888         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15889         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15890         Moved ...
15891         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15893         Moved ...
15894         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15895         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15896         Moved ...
15897         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15898         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15899         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15900         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15901         Moved ...
15902         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15903         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15904         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15905         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15906         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15907         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15908         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15909         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15910         Moved ...
15911         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15913         Moved ...
15914         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15915         ... here.
15916         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15917         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15918         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15919         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15920         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15921         Moved ...
15922         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15923         ... here.
15924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15925         Moved ...
15926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15927         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15928         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15929         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15930         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15932         Moved ...
15933         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15934         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15935         Moved ...
15936         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15938         Moved ...
15939         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15940         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15941         Moved ...
15942         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15943         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15944         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15945         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15946         Moved ...
15947         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15948         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15949         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15950         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15951         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15952         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15953         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15954         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15955         Moved ...
15956         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15958         Moved ...
15959         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15960         ... here.
15961         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15962         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15963         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15964         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15965         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15966         Moved ...
15967         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15968         ... here.
15969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15970         Moved ...
15971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15972         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15973         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15974         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15975         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15976         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15977         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15978         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15979         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15980         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15981         Moved ...
15982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15984         Moved ...
15985         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15987         Moved ...
15988         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15989         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15990         Moved ...
15991         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15992         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15993         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15994         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15995         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15996         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15997         Moved ...
15998         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15999         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16000         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16001         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16002         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16003         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16004         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16006         Moved ...
16007         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16009         Moved ...
16010         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16011         ... here.
16012         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16013         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16014         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16015         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16016         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16017         Moved ...
16018         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16019         ... here.
16020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16021         Moved ...
16022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16023         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16024         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16025         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16026         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16027         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16028         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16029         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16030         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16031         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16032         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16034         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16035         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16037         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16038         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16040         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16041         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16042         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16043         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16044         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16045         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16046         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16047         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16048         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16049         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16051         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16052         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16053         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16054         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16056         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16058         Moved ...
16059         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16061         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16063         Moved ...
16064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16066         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16068         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16072         Moved ...
16073         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16075         Moved ...
16076         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16080         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16082         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16083         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16084         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16085         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16086         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16087         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16088         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16089         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16090         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16091         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16092         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16094         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16095         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16096         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16097         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16098         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16100         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16101         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16102         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16103         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16104         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16105         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16106         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16107         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16108         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16109         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16114         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16115         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16116         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16117         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16118         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16119         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16120         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16121         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16122         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16123         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16125         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16126         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16127         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16129         Update #include.
16130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16131         Likewise.
16132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16133         Likewise.
16134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16135         Likewise.
16136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16137         Likewise.
16138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16139         Likewise.
16140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16141         Likewise.
16142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16143         Likewise.
16144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16145         Likewise.
16146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16147         Likewise.
16148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16152         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16156         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16157         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16161         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16162         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16164         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16165         that was previously under [RESET_PID].
16166         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16167         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16168         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16170         * sysdeps/i386/nptl/Implies: New file.
16171         * sysdeps/x86_64/nptl/Implies: New file.
16172         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16173         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16174         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16175         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16177         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16178         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16179         (__libc_vfork): New strong alias.
16180         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16181         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16183         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16184         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16185         (__libc_vfork): New strong alias.
16186         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16187         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16189         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16190         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16191         (__libc_vfork): New strong alias.
16192         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16193         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16194         * nptl/pt-vfork.c: New file.
16195         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16196         (libpthread: GLIBC_2.20): New version set (empty).
16198 2014-05-14  Will Newton  <will.newton@linaro.org>
16200         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16201         rather than #if.
16203 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16205         [BZ #16564]
16206         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16207         arguments with exponent 65 or above.
16208         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16209         arguments 0x1p113L or above.
16210         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16211         to arguments 0x1p107L or above.
16212         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16213         positive arguments with exponent 65 or above.
16214         * math/auto-libm-test-in: Add more tests of log1p.
16215         * math/auto-libm-test-out: Regenerated.
16217         [BZ #16928]
16218         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16219         non-finite arguments is +0.
16220         * math/s_cacosf.c (__cacosf): Likewise.
16221         * math/s_cacosl.c (__cacosl): Likewise.
16222         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16223         * sysdeps/i386/fpu/libm-test-ulps: Update.
16224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16226         [BZ #16927]
16227         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16228         value.
16229         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16230         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16231         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16232         for explicit high bit of mantissa when testing for argument equal
16233         to 1.
16234         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16235         * sysdeps/i386/fpu/libm-test-ulps: Update.
16236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16238         [BZ #16516]
16239         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16240         (__erf): Scale by 16 instead of 8 in potentially underflowing
16241         case.  Ensure exception if result actually underflows.
16242         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16243         (__erff): Scale by 16 instead of 8 in potentially underflowing
16244         case.  Ensure exception if result actually underflows.
16245         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16246         (efx8): Remove variable.
16247         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16248         case.  Ensure exception if result actually underflows.
16249         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16250         (efx8): Remove variable.
16251         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16252         case.  Ensure exception if result actually underflows.
16253         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16254         (efx8): Remove variable.
16255         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16256         case.  Ensure exception if result actually underflows.
16257         * math/auto-libm-test-in: Add more tests of erf.
16258         * math/auto-libm-test-out: Regenerated.
16260 2014-05-14  Andreas Schwab  <schwab@suse.de>
16262         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16263         Remove code conditionalized on USE___THREAD.
16265         * config.h.in (HAVE_PT_CHOWN): Define as 0.
16266         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16267         not definedness.
16269 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16271         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16272         Define unconditionally.
16273         (__ASSUME_O_CLOEXEC): Likewise.
16274         (__ASSUME_SOCK_CLOEXEC): Likewise.
16275         (__ASSUME_IN_NONBLOCK): Likewise.
16276         (__ASSUME_PIPE2): Likewise.
16277         (__ASSUME_EVENTFD2): Likewise.
16278         (__ASSUME_SIGNALFD4): Likewise.
16279         (__ASSUME_DUP3): Likewise.
16280         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16281         (__ASSUME_DUP3): Do not define.
16282         (__ASSUME_EVENTFD2): Likewise.
16283         (__ASSUME_IN_NONBLOCK): Likewise.
16284         (__ASSUME_O_CLOEXEC): Likewise.
16285         (__ASSUME_PIPE2): Likewise.
16286         (__ASSUME_SIGNALFD4): Likewise.
16287         (__ASSUME_SOCK_CLOEXEC): Likewise.
16288         (__ASSUME_UTIMES): Undefine.
16289         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16290         (__ASSUME_UTIMES): Do not define.
16291         (__ASSUME_O_CLOEXEC): Likewise.
16292         (__ASSUME_SOCK_CLOEXEC): Likewise.
16293         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16294         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16295         0x020621].
16296         (__ASSUME_PIPE2): Likewise.
16297         (__ASSUME_EVENTFD2): Likewise.
16298         (__ASSUME_SIGNALFD4): Likewise.
16299         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16300         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16301         Do not define.
16302         (__ASSUME_EVENTFD2): Likewise.
16303         (__ASSUME_SIGNALFD4): Likewise.
16304         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16305         (__ASSUME_32BITUIDS): Likewise.
16306         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16307         (__ASSUME_IPC64): Likewise.
16308         (__ASSUME_ST_INO_64_BIT): Likewise.
16309         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16310         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16311         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16312         (__ASSUME_UTIMES): Do not define.
16313         (__ASSUME_PSELECT): Likewise.
16314         (__ASSUME_PPOLL): Likewise.
16315         (__ASSUME_O_CLOEXEC): Likewise.
16316         (__ASSUME_SOCK_CLOEXEC): Likewise.
16317         (__ASSUME_IN_NONBLOCK): Likewise.
16318         (__ASSUME_PIPE2): Likewise.
16319         (__ASSUME_EVENTFD2): Likewise.
16320         (__ASSUME_SIGNALFD4): Likewise.
16321         (__ASSUME_DUP3): Likewise.
16322         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16323         (__ASSUME_UTIMES): Likewise.
16324         (__ASSUME_O_CLOEXEC): Likewise.
16325         (__ASSUME_SOCK_CLOEXEC): Likewise.
16326         (__ASSUME_IN_NONBLOCK): Likewise.
16327         (__ASSUME_PIPE2): Likewise.
16328         (__ASSUME_EVENTFD2): Likewise.
16329         (__ASSUME_SIGNALFD4): Likewise.
16330         (__ASSUME_DUP3): Likewise.
16331         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16332         (__ASSUME_UTIMES): Likewise.
16333         (__ASSUME_O_CLOEXEC): Likewise.
16334         (__ASSUME_SOCK_CLOEXEC): Likewise.
16335         (__ASSUME_IN_NONBLOCK): Likewise.
16336         (__ASSUME_PIPE2): Likewise.
16337         (__ASSUME_EVENTFD2): Likewise.
16338         (__ASSUME_SIGNALFD4): Likewise.
16339         (__ASSUME_DUP3): Likewise.
16340         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16341         Likewise.
16342         (__ASSUME_UTIMES): Likewise.
16343         (__ASSUME_EVENTFD2): Likewise.
16344         (__ASSUME_SIGNALFD4): Likewise.
16345         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16346         (__ASSUME_O_CLOEXEC): Likewise.
16347         (__ASSUME_SOCK_CLOEXEC): Likewise.
16348         (__ASSUME_IN_NONBLOCK): Likewise.
16349         (__ASSUME_PIPE2): Likewise.
16350         (__ASSUME_EVENTFD2): Likewise.
16351         (__ASSUME_SIGNALFD4): Likewise.
16352         (__ASSUME_DUP3): Likewise.
16353         (__ASSUME_UTIMES): Undefine.
16355         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16356         feclearexcept.  Remove symbol versioning code.
16357         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
16358         symbol versioning code.
16359         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
16360         symbol versioning code.
16361         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16362         feupdateenv.  Remove symbol versioning code.
16363         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16364         fegetexceptflag.  Remove symbol versioning code.
16365         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16366         fesetexceptflag.  Remove symbol versioning code.
16367         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16368         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
16369         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16370         (__posix_fadvise64_l32): Remove prototype.
16371         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16372         code.
16374 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16376         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16377         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16378         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16379         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16381 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
16383         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16384         current working directory
16386 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16388         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16389         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16390         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16391         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16392         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16393         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16394         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16395         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16396         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16397         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16398         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16399         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16400         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16401         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16402         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16403         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16404         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16405         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16406         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16407         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16408         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16409         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16410         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16411         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16412         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16413         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16414         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16415         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16416         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16417         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16418         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16419         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16420         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16421         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16422         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16423         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16424         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16425         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16426         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16427         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16428         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16429         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16431         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16432         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16434         * sysdeps/unix/sysv/linux/arm/Makefile
16435         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16436         Add rt-aeabi_unwind_cpp_pr1.
16437         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16438         Add nptl-aeabi_unwind_cpp_pr1.
16439         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16440         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16441         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16442         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16443         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16444         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16446         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16447         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16448         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16449         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16451         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16452         Deconditionalize the code that was previously under [RESET_PID].
16453         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16455         * sysdeps/generic/exit-thread.h: New file.
16456         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16457         * include/unistd.h (__exit_thread): Remove declaration.
16458         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16459         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16460         * csu/libc-start.c: Include <exit-thread.h>.
16461         (LIBC_START_MAIN): Pass no argument to __exit_thread.
16462         * nptl/pthread_create.c: Include <exit-thread.h>.
16463         (start_thread): Call __exit_thread in place of __exit_thread_inline.
16464         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16465         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16466         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16467         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16468         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16469         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16470         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16471         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16472         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16473         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16474         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16475         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16476         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16477         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16478         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16479         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16481 2014-05-13  Andreas Schwab  <schwab@suse.de>
16483         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16485 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
16487         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16488         (__ASSUME_UTIMES): Do not condition on kernel version.
16489         (__ASSUME_PSELECT): Define unconditionally.
16490         (__ASSUME_PPOLL): Likewise.
16491         (__ASSUME_ATFCTS): Likewise.
16492         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16493         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16494         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16495         (__ASSUME_UTIMENSAT): Define unconditionally.
16496         (__ASSUME_PRIVATE_FUTEX): Likewise.
16497         (__ASSUME_FALLOCATE): Likewise.
16498         (__ASSUME_O_CLOEXEC): Likewise.
16499         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16500         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16501         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16502         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16503         (__ASSUME_IN_NONBLOCK): Likewise.
16504         (__ASSUME_PIPE2): Likewise.
16505         (__ASSUME_EVENTFD2): Likewise.
16506         (__ASSUME_SIGNALFD4): Likewise.
16507         (__ASSUME_DUP3): Likewise.
16508         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16509         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16510         (__ASSUME_AT_RANDOM): Likewise.
16511         (__ASSUME_PREADV): Likewise.
16512         (__ASSUME_PWRITEV): Likewise.
16513         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16514         (__ASSUME_F_GETOWN_EX): Define unconditionally.
16515         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16516         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16517         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16518         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16519         (__ASSUME_O_CLOEXEC): Define unconditionally.
16520         (__ASSUME_PSELECT): Do not undefine conditionally.
16521         (__ASSUME_PPOLL): Likewise.
16522         (__ASSUME_ATFCTS): Likewise.
16523         (__ASSUME_SET_ROBUST_LIST): Likewise.
16524         (__ASSUME_UTIMENSAT): Likewise.
16525         (__ASSUME_FDATASYNC): Define unconditionally.
16526         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16527         (__ASSUME_SIGFRAME_V2): Likewise.
16528         )__ASSUME_EVENTFD2): Likewise.
16529         (__ASSUME_SIGNALFD4): Likewise.
16530         (__ASSUME_PSELECT): Do not undefine conditionally.
16531         (__ASSUME_PPOLL): Likewise.
16532         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16533         (__ASSUME_PSELECT): Define unconditionally.
16534         (__ASSUME_PPOLL): Likewise.
16535         (__ASSUME_O_CLOEXEC): Likewise.
16536         (__ASSUME_SOCK_CLOEXEC): Likewise.
16537         (__ASSUME_IN_NONBLOCK): Likewise.
16538         (__ASSUME_PIPE2): Likewise.
16539         (__ASSUME_EVENTFD2): Likewise.
16540         (__ASSUME_SIGNALFD4): Likewise.
16541         (__ASSUME_DUP3): Likewise.
16542         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16543         (__ASSUME_O_CLOEXEC): Likewise.
16544         (__ASSUME_SOCK_CLOEXEC): Likewise.
16545         (__ASSUME_IN_NONBLOCK): Likewise.
16546         (__ASSUME_PIPE2): Likewise.
16547         (__ASSUME_EVENTFD2): Likewise.
16548         (__ASSUME_SIGNALFD4): Likewise.
16549         (__ASSUME_DUP3): Likewise.
16550         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16551         (__ASSUME_EVENTFD2): Likewise.
16552         (__ASSUME_SIGNALFD4): Likewise.
16553         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16555 2014-05-12  Andreas Schwab  <schwab@suse.de>
16557         [BZ #16932]
16558         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16559         (_nss_nis_gethostbyname4_r): Return error if item length is larger
16560         than maximum RPC packet size.
16561         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16562         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16563         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16564         (_nss_nis_getservbyport_r): Likewise.
16566 2014-05-12  Will Newton  <will.newton@linaro.org>
16568         * malloc/Makefile (tests): Add tst-mallopt.
16569         * malloc/tst-mallopt.c: New file.
16571 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16573         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16574         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16576 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16578         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16579         (tst-tlsmod6.so): Likewise.
16581 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16583         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16585 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
16587         [BZ #16064]
16588         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16589         and <dl-procinfo.h>.
16590         (__fegetenv): Save SSE state in envp->__eip if supported.
16591         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16592         envp->__eip if supported.
16593         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16594         and <dl-procinfo.h>.
16595         (__fesetenv): Always set __eip, __cs_selector, __opcode,
16596         __data_offset and __data_selector in environment to 0.  Set SSE
16597         state if supported.
16598         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16599         test-fenv-sse.
16600         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16601         -mfpmath=sse.
16602         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16604 2014-05-09  Will Newton  <will.newton@linaro.org>
16606         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16607         and libc_relro_required for ARM.
16608         * sysdeps/arm/preconfigure: Regenerate.
16610 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
16611             Stefan Liebler  <stli@linux.vnet.ibm.com>
16613         * config.make.in (enable-lock-elision): New Makefile variable.
16614         * configure.ac: Likewise.
16615         * configure: Regenerate.
16616         * sysdeps/s390/configure.ac:
16617         Add check for gcc transactions support.
16618         * sysdeps/s390/configure: Regenerate.
16619         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16620         Build elision files if enabled.
16621         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16622         Add lock elision support for s390.
16623         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16624         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16625         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16626         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16627         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16628         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16629         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16630         Likewise.
16631         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16632         Likewise.
16633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16634         Likewise.
16635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16636         Likewise.
16637         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16638         (__lll_timedlock_elision, __lll_lock_elision)
16639         (__lll_unlock_elision, __lll_trylock_elision)
16640         (lll_timedlock_elision, lll_lock_elision)
16641         (lll_unlock_elision, lll_trylock_elision): Add.
16642         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16643         (pthread_mutex_t): Add lock elision support for s390.
16645 2014-05-14  Wilco  <wdijkstr@arm.com>
16647         * sysdeps/arm/fclrexcpt.c: Cleanup.
16648         * sysdeps/arm/fedisblxcpt.c: Cleanup.
16649         * sysdeps/arm/feenablxcpt.c: Cleanup.
16650         * sysdeps/arm/fegetenv.c: Cleanup.
16651         * sysdeps/arm/fegetexcept.c: Cleanup.
16652         * sysdeps/arm/fegetround.c: Cleanup.
16653         * sysdeps/arm/feholdexcpt.c: Cleanup.
16654         * sysdeps/arm/fesetenv.c: Cleanup.
16655         * sysdeps/arm/fesetround.c: Cleanup.
16656         * sysdeps/arm/feupdateenv.c: Cleanup.
16657         * sysdeps/arm/fgetexcptflg.c: Cleanup.
16658         * sysdeps/arm/fraiseexcpt.c: Cleanup.
16659         * sysdeps/arm/fsetexcptflg.c: Cleanup.
16660         * sysdeps/arm/ftestexcept.c: Cleanup.
16661         * sysdeps/arm/get-rounding-mode.h: Cleanup.
16662         * sysdeps/arm/setfpucw.c: Cleanup.
16664 2014-05-09  Will Newton  <will.newton@linaro.org>
16666         * sysdeps/arm/armv7/strcmp.S: New file.
16667         * NEWS: Mention addition of ARMv7 optimized strcmp.
16669 2014-05-08  Roland McGrath  <roland@hack.frob.com>
16671         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16672         look for %.ac rather than %.in.
16674         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16675         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16676         * sysdeps/mach/hurd/configure: Regenerated.
16677         * sysdeps/unix/sysv/linux/configure: Regenerated.
16679         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16681 2014-05-07  Steve Ellcey  <sellcey@mips.com>
16683         [BZ# 16922]
16684         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16685         (LONG_SUB): Ditto.
16686         (PTR_SUB): Ditto.
16688 2014-05-07  Andreas Schwab  <schwab@suse.de>
16690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16691         when skipping over non-matching result from nscd.
16693 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
16695         [BZ #16876]
16696         * nptl/sockperf.c (client): Check socket return value.
16698         [BZ #16877]
16699         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16700         nscd security class.
16702 2014-05-06  Roland McGrath  <roland@hack.frob.com>
16704         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16705         * sysdeps/arm/unwind.h: ... here.
16707 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
16709         [BZ# 16916]
16710         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16711         Define.
16713 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16715         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16716         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16717         multiarch strncpy for PPC64.
16718         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16719         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16721         multiarch optimizations.
16722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16723         (__libc_ifunc_impl_list): Likewise.
16724         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16725         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16726         multiarch stpncpy for PPC64.
16727         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16728         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16730 2014-05-06  Andreas Schwab  <schwab@suse.de>
16732         [BZ #16912]
16733         * gmon/mcount.c (_MCOUNT_DECL): Use
16734         atomic_compare_and_exchange_bool_acq instead of
16735         catomic_compare_and_exchange_bool_acq.
16737 2014-05-05  Roland McGrath  <roland@hack.frob.com>
16739         * elf/Makefile (others, install-bin): Remove pldd.
16740         (pldd-modules): Variable removed.
16741         ($(objpfx)pldd): Target removed.
16742         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16743         (others, install-bin): Append pldd here.
16744         ($(objpfx)pldd): New target.
16746         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16747         to 0, so the first #if test emitted later doesn't see it undefined.
16748         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16749         * sysdeps/gnu/errlist.c: Regenerated.
16751 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16753         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16754         [libc_hidden_builtin_def]: Define to empty value.
16755         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16756         [libc_hidden_builtin_def]: Likewise.
16757         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16758         [libc_hidden_builtin_def]: Likewise.
16759         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16760         [libc_hidden_builtin_def]: Likewise.
16761         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16762         __redirect_memcpy and define ifunc as default hidden symbol.
16763         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16764         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16766 2014-05-04  Adam Conrad  <adconrad@0c3.net>
16768         * locale/iso-4217.def: Reintroduce XDR currency.
16770 2014-05-04  Allan McRae  <allan@archlinux.org>
16772         * po/eo.po: Update Esperanto translation from translation project.
16774 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
16776         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16777         and FEATURE_INDEX_MAX to 1.
16778         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16780 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16782         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16783         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16784         * iconvdata/big5.c (ONE_DIRECTION): Define.
16785         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16786         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16787         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16788         * iconvdata/cp932.c (ONE_DIRECTION): Define.
16789         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16790         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16791         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16792         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16793         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16794         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16795         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16796         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16797         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16798         * iconvdata/gbk.c (ONE_DIRECTION): Define.
16799         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16800         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16801         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16802         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16803         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16804         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16805         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16806         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16807         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16808         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16809         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16810         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16811         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16812         * iconvdata/iso646.c (ONE_DIRECTION): Define.
16813         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16814         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16815         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16816         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16817         * iconvdata/johab.c (ONE_DIRECTION): Define.
16818         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16819         * iconvdata/sjis.c (ONE_DIRECTION): Define.
16820         * iconvdata/t.61.c (ONE_DIRECTION): Define.
16821         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16822         * iconvdata/tscii.c (ONE_DIRECTION): Define.
16823         * iconvdata/uhc.c (ONE_DIRECTION): Define.
16824         * iconvdata/unicode.c (ONE_DIRECTION): Define.
16825         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16826         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16827         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16829 2014-05-01  Roland McGrath  <roland@hack.frob.com>
16831         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16832         (_IO_JUMPS_OFFSET): Define to 0.
16834         * nptl/sysdeps/pthread/bits/libc-lock.h
16835         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16836         (__libc_lock_define_initialized_recursive): Always define using
16837         initializer.  Modern compilers treat uninitialized (implicit zero) and
16838         explicit zero initializers the same (i.e. put the datum in bss).
16840 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16842         * nscd/nscd-client.h: Include <string.h>.
16844 2014-05-01  David S. Miller  <davem@davemloft.net>
16846         [BZ #16885]
16847         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16848         multiple zero bytes exist at the end of a string.
16849         Reported by Aurelien Jarno <aurelien@aurel32.net>
16851         * string/test-strcmp.c (check): Add explicit test for situations where
16852         there are multiple zero bytes after the first.
16854 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16856         [BZ #16890]
16857         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16858         when compiling wprintf.
16859         * stdio-common/tstdiomisc.c (t3): New function.
16860         (main): Call it.
16862 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16864         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16865         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16866         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16867         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16869 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16871         * stdlib/longlong.h: Updated from GCC.
16873 2014-05-01  Will Newton  <will.newton@linaro.org>
16874             Bernard Ogden  <bernie.ogden@linaro.org>
16876         * NEWS: Update fixed bug list.
16878         [BZ #15119]
16879         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16881 2014-04-30  David S. Miller  <davem@davemloft.net>
16883         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16884         (libc_feholdexcept_setround_sparc_ctx): New function.
16885         (libc_fesetenv_sparc_ctx): Likewise.
16886         (libc_feupdateenv_sparc_ctx): Likewise.
16887         (libc_feholdsetround_sparc_ctx): Likewise.
16888         (libc_feholdexcept_setround_ctx): Define.
16889         (libc_feholdexcept_setroundf_ctx): Likewise.
16890         (libc_feholdexcept_setroundl_ctx): Likewise.
16891         (libc_fesetenv_ctx): Likewise.
16892         (libc_fesetenvf_ctx): Likewise.
16893         (libc_fesetenvl_ctx): Likewise.
16894         (libc_feupdateenv_ctx): Likewise.
16895         (libc_feupdateenvf_ctx): Likewise.
16896         (libc_feupdateenvl_ctx): Likewise.
16897         (libc_feresetround_ctx): Likewise.
16898         (libc_feresetroundf_ctx): Likewise.
16899         (libc_feresetroundl_ctx): Likewise.
16900         (libc_feholdsetround_ctx): Likewise.
16901         (libc_feholdsetroundf_ctx): Likewise.
16902         (libc_feholdsetroundl_ctx): Likewise.
16904         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16905         with __USE_GNU instead of XOPEN cpp guards.
16907         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16908         0.
16910         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16911         with XOPEN cpp guards.
16913 2014-04-30  Julian Brown  <julian@codesourcery.com>
16915         [BZ #16888]
16916         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16917         handling.
16919 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
16921         [BZ #9894]
16922         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16923         Change to 2.6.32.
16924         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16925         * sysdeps/unix/sysv/linux/configure: Regenerated.
16926         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16927         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16928         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16929         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16930         * README: Update reference to required Linux kernel version.
16931         * manual/install.texi (Linux): Update reference to required Linux
16932         kernel headers version.
16933         * INSTALL: Regenerated.
16935         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16936         header inclusion.
16937         [POSIX] (limits.h): Likewise.
16938         [POSIX] (math.h): Likewise.
16939         [POSIX] (sys/wait.h): Likewise.
16940         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16941         function.
16942         [POSIX] (stddef.h): Do not allow header inclusion.
16944 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16946         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16948 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
16950         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16951         Return immediately after lll_futex_wake.
16953 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16955         [BZ #16791]
16956         * nscd/nscd-client.h (datahead_init_common): Initialize entire
16957         structure.
16958         (datahead_init_pos): Call datahead_init_common early.
16959         (datahead_init_neg): Likewise.
16961         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16962         datahead_init_neg): New functions.
16963         * nscd/aicache.c (addhstaiX): Use them.
16964         * nscd/grpcache.c (cache_addgr): Likewise.
16965         * nscd/hstcache.c (cache_addhst): Likewise.
16966         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16967         * nscd/netgroupcache.c (do_notfound): Likewise.
16968         (addgetnetgrentX): Likewise.
16969         (addinnetgrX): Likewise.
16970         * nscd/pwdcache.c (cache_addpw): Likewise.
16971         * nscd/servicescache.c (cache_addserv): Likewise.
16973 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16974             Atsushi Onoe  <atsushi@onoe.org>
16976         [BZ #14308]
16977         [BZ #12994]
16978         [BZ #13651]
16979         * resolv/res_query.c (__libc_res_nsearch): Return if at least
16980         one response is valid.
16981         * resolv/res_send.c (send_dg): Check for validity of other
16982         response if the current response is a referral.
16984 2014-04-29  Steve Ellcey  <sellcey@mips.com>
16986         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16988 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
16990         [BZ #16823]
16991         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16992         Always divide by positive zero when computing -Inf result.
16993         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16994         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16996 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16998         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16999         FPSCR if value do not change.
17000         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17001         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17002         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17003         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17004         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17005         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17006         function.
17008 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17010         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17011         * sysdeps/unix/sysv/linux/hppa: Move directory from
17012         ports/systeps/unix/sysv/linux/hppa.
17013         * README: Update listing for hppa-*-linux-gnu.
17015 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17017         [BZ #16754]
17018         * manual/stdio.texi (Hook functions): Fix types of stream hook
17019         functions.
17020         [BZ #16854]
17021         * socket/sys/socket.h: Fix typo in comment.
17023 2014-04-28  Wilco  <wdijkstr@arm.com>
17025         * sysdeps/arm/fenv_private.h: New file.
17026         * sysdeps/arm/math_private.h: New file.
17027         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17029 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17031         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17032         with __int128_t.
17033         (La_x86_64_retval): Likewise.
17035 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17037         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17038         fpsr if value didn't change.
17039         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17040         to fpcr if value didn't change.
17041         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17042         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17043         fpsr or fpcr if value didn't change.
17044         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17045         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17046         fpcr if value didn't change.
17047         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17048         to fpsr if value didn't change.
17050 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17052         * nptl/tst-sem3.c: Use test-skeleton.c
17053         (main): Rename to do_test.  Use return instead of
17054         exit.
17055         * nptl/tst-sem4.c: Use test-skeleton.c
17056         (main): Rename to do_test.
17058 2014-04-22  David S. Miller  <davem@davemloft.net>
17060         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17061         (struct sigaction): New struct member __glibc_reserved0, change
17062         type of sa_flags to int.
17064 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17066         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17067         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17069 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17071         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17072         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17074 2014-04-22  Will Newton  <will.newton@linaro.org>
17075             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17077         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17078         (__longjmp): Add longjmp and longjmp_target SystemTap
17079         probes.
17080         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17081         (__sigsetjmp): Add setjmp SystemTap probe.
17083 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17085         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17086         match manual order.
17088 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17090         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17092         * sysdeps/powerpc/fpu/fenv_private.h
17093         (libc_feholdexcept_setroundl_ctx): Define to
17094         libc_feholdexcept_setround_ppc_ctx.
17095         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17096         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17097         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17098         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17100 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17102         * sysdeps/aarch64/math-tests.h: New file.
17104 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17106         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17107         New.
17108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17109         Check and set bit_AVX2_Usable.
17110         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17111         macro.
17112         (bit_AVX2): Likewise.
17113         (index_AVX2_Usable): Likewise.
17114         (CPUID_AVX2): Likewise.
17115         (HAS_AVX2): Likewise.
17117 2014-04-17  Will Newton  <will.newton@linaro.org>
17119         * manual/setjmp.texi (System V contexts): Add note that
17120         calling setcontext on a context created by a call to a
17121         signal handler is undefined.  Update text to note that
17122         setcontext from a signal handler is possible but not
17123         recommended.
17125         [BZ #16629]
17126         * stdlib/tst-setcontext.c: Include signal.h.
17127         (main): Check that the signal stack before and
17128         after swapcontext is the same.
17130         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17131         Re-implement to restore registers in user code and avoid
17132         rt_sigreturn system call.
17134 2014-04-17  Wilco  <wdijkstr@arm.com>
17136         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17137         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17138         * math/test-fenv.c: Skip exception trap tests on targets which only
17139         support non-stop mode.
17141 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17142             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17144         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17145         (libc_feholdsetround_aarch64_ctx)
17146         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17147         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17148         (libc_feresetround_ctx, libc_feresetroundf_ctx)
17149         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17150         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17151         (libc_feresetround_noexl_ctx): Define.
17153 2014-04-16  Richard Henderson  <rth@redhat.com>
17155         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17157         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17158         unwind tables.
17160         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17161         const from the non-libc, non-ldso copy.
17163         * sysdeps/alpha/libm-test-ulps: Regenerate.
17165 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17166             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17168         * sysdeps/aarch64/fpu/math_private.h: New file.
17170 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17172         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17174 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17176         [BZ #16275]
17177         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17178         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17179         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17180         Intel MPX bound registers before _dl_profile_fixup.
17181         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17182         registers after _dl_profile_fixup.  Save and restore bound
17183         registers bnd0/bnd1 when calling _dl_call_pltexit.
17184         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17185         (LR_BND_OFFSET): Likewise.
17186         (LRV_BND0_OFFSET): Likewise.
17187         (LRV_BND1_OFFSET): Likewise.
17189 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17191         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17192         to...
17193         * sysdeps/mach/hurd/i386/tls.h: ... here.
17194         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17195         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17196         fields.
17198 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17200         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17202 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17204         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17206 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17208         [BZ #14770]
17209         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17210         * sysdeps/s390/configure: Regenerate.
17212         [BZ #16824]
17213         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17214         Set round-to-nearest internally to reduce error accumulation.
17216 2014-04-16  Alan Modra  <amodra@gmail.com>
17218         [BZ #16740]
17219         [BZ #16619]
17220         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17221         * math/libm-test.inc (frexp_test_data): Add tests.
17222         * NEWS: Update fixed bug list.
17224 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17226         * benchtests/Makefile: Depend on libraries in build directory.
17227         (bench-math): Separate out math tests.
17228         (bench-pthread): Separate out pthread tests.
17229         (bench): Include math and pthread tests.
17231 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
17233         [BZ #16831]
17234         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17235         _dl_debug_initialize.
17237         * configure.ac: Remove SELinux header check.
17238         * configure: Regenerate.
17239         * nscd/selinux.c (perms): Array of const char* to permission names.
17240         (nscd_request_avc_has_perm): Call security_deny_unknown to find
17241         default policy. Call string_to_security_class and string_to_av_perm to
17242         translate strings. Enforce default policy and call avs_has_perm with
17243         results of translated strings.
17245 2014-04-13  David S. Miller  <davem@davemloft.net>
17247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17249 2014-04-12  Allan McRae  <allan@archlinux.org>
17251         [BZ #16838]
17252         * manual/string.texi (Collation Functions): Fix qsort argument
17253         order in example.
17254         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17256 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
17258         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17259         Make the test a no-op if there are no exceptions defined.
17261 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17263         * elf/Makefile (tests): make tst-dlopen-aout conditional on
17264         enable-hardcoded-path-in-tests
17266 2014-04-11  Will Newton  <will.newton@linaro.org>
17268         * benchtests/Makefile (extra-objs): Add json-lib.o.
17269         (bench-func): Tidy up JSON output.
17270         * benchtests/bench-skeleton.c: Include json-lib.h.
17271         (main): Use JSON library functions to do output of
17272         benchmark results.
17273         * benchtests/bench-timing-type.c (main): Output the
17274         timing type simply, leaving formatting to the user.
17275         * benchtests/json-lib.c: New file.
17276         * benchtests/json-lib.h: Likewise.
17278 2014-04-11  Torvald Riegel  <triegel@redhat.com>
17280         [BZ #15215]
17281         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17282         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
17283         memory barriers.  Add comments.
17284         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17285         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17286         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17287         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17288         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17289         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17291 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17293         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17294         * sysdeps/s390/s390-64/configure.ac: ... this ...
17295         * sysdeps/s390/configure.ac: ... to here.
17296         * sysdeps/s390/s390-32/configure: Delete file.
17297         * sysdeps/s390/s390-64/configure: Delete file.
17298         * sysdeps/s390/configure: Regenerate.
17300 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
17302         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17304 2014-04-11  Will Newton  <will.newton@linaro.org>
17306         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17307         to zero if it is not defined elsewhere.  (mtrim): Test
17308         the value of MALLOC_DEBUG with #if rather than #ifdef.
17310 2014-04-10 Torvald Riegel  <triegel@redhat.com>
17312         * benchtests/pthread_once-inputs: New file.
17313         * benchtests/pthread_once-source.c: New file.
17314         * benchtests/README: Update documentation.
17316 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17317             H.J. Lu  <hongjiu.lu@intel.com>
17319         [BZ #16275]
17320         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17321         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17322         * sysdeps/x86_64/configure: Regenerated.
17323         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17324         macro.
17325         (REGISTER_SAVE_RAX): Likewise.
17326         (REGISTER_SAVE_RCX): Likewise.
17327         (REGISTER_SAVE_RDX): Likewise.
17328         (REGISTER_SAVE_RSI): Likewise.
17329         (REGISTER_SAVE_RDI): Likewise.
17330         (REGISTER_SAVE_R8): Likewise.
17331         (REGISTER_SAVE_R9): Likewise.
17332         (REGISTER_SAVE_BND0): Likewise.
17333         (REGISTER_SAVE_BND1): Likewise.
17334         (REGISTER_SAVE_BND2): Likewise.
17335         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
17336         bound registers when calling _dl_fixup.
17338 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17340         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17341         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17342         of its definition.
17343         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17344         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17345         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17346         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17347         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17348         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17349         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17351 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
17353         [BZ #15514]
17354         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17355         pathconf(_PC_NAME_MAX).
17357 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17359         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17360         Remove macro usage.
17361         (__PTHREAD_SPINS): Move definition to ...
17362         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17363         (__PTHREAD_SPINS): ... here.
17364         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17365         (__PTHREAD_SPIN): Likewise.
17366         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17367         (__PTHREAD_SPIN): Likewise.
17368         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17369         (__PTHREAD_SPIN): Likewise.
17370         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17371         (__PTHREAD_SPIN): Likewise.
17372         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17373         (__PTHREAD_SPIN): Likewise.
17374         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17375         (__PTHREAD_SPIN): Likewise.
17376         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17377         (__PTHREAD_SPIN): Likewise.
17378         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17379         (__PTHREAD_SPIN): Likewise.
17380         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17381         (__PTHREAD_SPIN): Likewise.
17382         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17383         (__PTHREAD_SPIN): Likewise.
17384         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17385         (__PTHREAD_SPIN): Likewise.
17386         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17387         (__PTHREAD_SPIN): Likewise.
17389         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17390         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17391         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17392         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17393         imply folder.
17394         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17395         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17396         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17397         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17398         correct imply path.
17399         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17400         strlen symbol for non multi-arch builds.
17401         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17402         missing hidden_def and weak_alias.
17404 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
17406         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17408 2014-04-07  Will Newton  <will.newton@linaro.org>
17410         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17411         and contents.  [!_LIBC] Remove #ifndef and contents.
17412         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
17413         * string/memccpy.c (__memccpy): Use ANSI prototype.
17414         * string/memfrob.c (memfrob): Likewise.
17415         * string/strcoll.c (STRCOLL): Likewise.
17416         * string/strlen.c (strlen): Likewise.
17417         * string/strtok.c (STRTOK): Likewise.
17418         * string/strcat.c: Remove unused #include of memcopy.h.
17419         (strcat): Use ANSI prototype.
17420         * string/strchr.c: Remove unused #include of memcopy.h.
17421         (strchr): Use ANSI prototype.
17422         * string/strcmp.c: Remove unused #include of memcopy.h.
17423         (strcmp): Use ANSI prototype.
17424         * string/strcpy.c: Remove unused #include of memcopy.h.
17425         (strcpy): Use ANSI prototype.
17427 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17429         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17430         * config.make.in (config-extra-cppflags): Set it from
17431         libc_extra_cppflags.
17432         * configure.ac (libc_extra_cflags): Make it accumulate over
17433         configure fragments.
17434         (libc_extra_cppflags): New flag.
17435         * configure. Regenerate.
17436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17437         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17438         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17441         [BZ #16815]
17442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17443         result for FE_DOWNWARD rounding mode.
17444         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17445         Likewise.
17446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17448 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
17450         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17451         in function argument name.
17453 2014-04-03  David Svoboda  <svoboda@cert.org>
17455         [BZ #5666]
17456         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17457         explicitly.
17459 2014-04-03  Roland McGrath  <roland@hack.frob.com>
17461         * elf/dl-unmap-segments.h: New file.
17462         * sysdeps/generic/ldsodefs.h
17463         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17464         * elf/dl-close.c: Include <dl-unmap-segments.h>.
17465         * elf/dl-fptr.c: Likewise.
17466         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17467         * sysdeps/aarch64/tlsdesc.c: Likewise.
17468         * sysdeps/arm/tlsdesc.c: Likewise.
17469         * sysdeps/i386/tlsdesc.c: Likewise.
17470         * sysdeps/tile/dl-runtime.c: Likewise.
17471         * sysdeps/x86_64/tlsdesc.c: Likewise.
17472         * elf/dl-load.h: New file.
17473         * elf/dl-load.c: Include it.
17474         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17475         Macros moved to dl-load.h.
17476         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17477         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17478         Use _dl_unmap_segments in place of __munmap.
17479         Break out segment-mapping loop into ...
17480         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17482 2014-04-03  Will Newton  <will.newton@linaro.org>
17484         * elf/dl-lookup.c (do_lookup_x): Remove comment
17485         referring to nested function and move variable
17486         declarations down to before first use.
17488 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
17490         [BZ #16799]
17491         [BZ #16800]
17492         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17493         with 0 numerator.
17494         * math/s_catanf.c (__catanf): Likewise.
17495         * math/s_catanh.c (__catanh): Likewise.
17496         * math/s_catanhf.c (__catanhf): Likewise.
17497         * math/s_catanhl.c (__catanhl): Likewise.
17498         * math/s_catanl.c (__catanl): Likewise.
17499         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17500         by positive zero when computing -Inf result.
17501         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17502         (catanh_test): Likewise.
17503         * sysdeps/i386/fpu/libm-test-ulps: Update.
17504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17506         [BZ #16789]
17507         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17508         instead of using underflowing value in computing result.
17509         * math/s_clog10.c (__clog10): Likewise.
17510         * math/s_clog10f.c (__clog10f): Likewise.
17511         * math/s_clog10l.c (__clog10l): Likewise.
17512         * math/s_clogf.c (__clogf): Likewise.
17513         * math/s_clogl.c (__clogl): Likewise.
17514         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17515         (clog10_test): Likewise.
17516         * sysdeps/i386/fpu/libm-test-ulps: Update.
17517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17519 2014-04-02  Alan Modra  <amodra@gmail.com>
17521         [BZ #16739]
17522         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17523         output when value is near a power of two.  Use int64_t for lx and
17524         remove casts.  Use decimal rather than hex exponent constants.
17525         Don't use long double multiplication when double will suffice.
17526         * math/libm-test.inc (nextafter_test_data): Add tests.
17527         * NEWS: Add 16739 and 16786 to bug list.
17529         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17531         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17533 2014-04-01  Will Newton  <will.newton@linaro.org>
17535         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17536         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
17538 2014-04-01  Florian Weimer  <fweimer@redhat.com>
17540         [BZ #13347]
17541         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17542         * nptl/tst-setuid2.c: New file.
17543         * nptl/Makefile (xtests): Add tst-setuid2.
17545 2014-04-01  Alan Modra  <amodra@gmail.com>
17547         [BZ #16786]
17548         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17550 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17552         [BZ #6803]
17553         [BZ #6804]
17554         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17555         set errno as appropriate.
17556         * math/w_scalbf.c (__scalbf): Likewise.
17557         * math/w_scalbl.c (__scalbl): Likewise.
17558         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17559         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17560         * math/libm-test.inc (scalb_test_data): Add errno expectations.
17561         Add more NaN tests.
17563         [BZ #16349]
17564         * math/w_atan2.c: Include <errno.h>.
17565         (__atan2): Set errno for result underflowing to zero.
17566         * math/w_atan2f.c: Include <errno.h>.
17567         (__atan2f): Set errno for result underflowing to zero.
17568         * math/w_atan2l.c: Include <errno.h>.
17569         (__atan2l): Set errno for result underflowing to zero.
17570         * math/auto-libm-test-in: Don't allow missing errno for some atan2
17571         tests.
17572         * math/auto-libm-test-out: Regenerated.
17574 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17576         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17577         Encode instruction correctly in little endian.
17578         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17579         Likewise.
17580         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17581         Likewise.
17582         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17583         Likewise.
17584         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17585         Likewise.
17587 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17589         [BZ #9894]
17590         * sysdeps/unix/sysv/linux/kernel-features.h
17591         [__sparc__ && !__arch64__ && !__sparc_v9__]
17592         (__ASSUME_SET_ROBUST_LIST): Do not define.
17593         [__sparc__ && !__arch64__ && !__sparc_v9__]
17594         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17595         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17596         Likewise.
17597         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17598         (__ASSUME_FUTEX_LOCK_PI): Undefine.
17599         (__ASSUME_REQUEUE_PI): Likewise.
17600         (__ASSUME_SET_ROBUST_LIST): Likewise.
17601         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17602         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17603         Undefine.
17604         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17605         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17606         Likewise.
17607         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17608         Likewise.
17609         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17610         Likewise.
17611         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17612         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17613         Undefine.
17614         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17615         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17616         Likewise.
17618         [BZ #16648]
17619         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17620         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17621         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17623 2014-03-31  Will Newton  <will.newton@linaro.org>
17625         * benchtests/Makefile (bench): Add ffs and ffsll to list
17626         of tests.
17627         * benchtests/ffs-inputs: New file.
17628         * benchtests/ffsll-inputs: Likewise.
17630 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
17632         [BZ #16770]
17633         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17634         too large before casting to int.
17635         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17636         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17637         * math/libm-test.inc (scalb_test_data): Add more tests.
17639 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17641         * benchtests/Makefile (DETAILED_OPT): New make option.
17642         (bench-func): Run benchmark program with -d if DETAILED_OPT is
17643         set.
17644         * benchtests/bench-skeleton.c: Include stdbool.h.
17645         (main): Store and print timings per input.
17646         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17647         member to each argument value.
17648         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17649         (_print_arg_data): Initialize per-input timing to 0.
17651         * benchtests/Makefile (timing-type): New binary.
17652         (bench-clean): Also remove bench-timing-type.
17653         (bench): New target for timing-type.
17654         (bench-func): Print output in JSON format.
17655         * benchtests/bench-skeleton.c (main): Print output in JSON
17656         format.
17657         * benchtests/bench-timing-type.c: New file.
17658         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17659         (TIMING_PRINT_STATS): Remove.
17660         * benchtests/scripts/bench.py (_print_arg_data): Store variant
17661         name separately.
17663         * benchtests/bench-modf.c: Remove.
17664         * benchtests/modf-inputs: New inputs file.
17666 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
17668         [BZ #16362]
17669         * math/s_clog10.c (M_PI_LOG10E): New macro.
17670         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17671         imaginary parts are 0.
17672         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17673         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17674         imaginary parts are 0.
17675         * math/s_clog10l.c (M_PI_LOG10El): New macro.
17676         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17677         imaginary parts are 0.
17678         * math/libm-test.inc (clog10_test_data): Update expected results
17679         for when real and imaginary parts are 0.
17681 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
17683         * elf/dl-load.c: Finish conversion of __builtin_expect into
17684         __glibc_{un}likely.
17686 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
17688         [BZ #16348]
17689         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17690         1+x for argument with exponent below -67.
17691         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17692         Likewise.
17693         * math/auto-libm-test-in: Add more tests of exp.
17694         * math/auto-libm-test-out: Regenerated.
17696 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17698         [BZ #16759]
17699         * inet/getnetgrent_r.c (get_nonempty_val): New function.
17700         (nscd_getnetgrent): Use it.
17702         [BZ #16760]
17703         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17704         of stpcpy.
17706 2014-03-27  Andi Kleen  <ak@linux.intel.com>
17708         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17709         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17710         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17711         (lll_robust_unlock): Remove out of line section. Use cfi
17712         intrinsics.
17713         (LLL_STUB_UNWIND_INFO*): Remove.
17714         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17715         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17716         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17717         (lll_robust_unlock): Remove out of line section. Use cfi
17718         intrinsics.
17719         (LLL_STUB_UNWIND_INFO*): Remove.
17721 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17723         [BZ #16758]
17724         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17725         blank values.
17727 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17729         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17731 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
17733         [BZ #16198]
17734         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17735         fnstenv.
17736         * math/test-fenv-preserve.c: New file.
17737         * math/Makefile (tests): Add test-fenv-preserve.
17739 2014-03-26  Will Newton <will.newton@linaro.org>
17741         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17743 2014-03-25  Roland McGrath  <roland@hack.frob.com>
17745         * scripts/versionlist.awk: Partition the version sets and emit all
17746         GLIBC_* (sorted) before all others (sorted).
17748 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17750         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17751         GLIBC_2.2.5 version.
17753 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17755         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17756         calls.
17758         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17759         previous change.
17761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17763 2014-03-25  Andreas Schwab  <schwab@suse.de>
17765         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17766         label to be used after in6ailist is initialized.
17768 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17770         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17771         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17773 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17775         [BZ #16357]
17776         [BZ #16599]
17777         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17778         min_plus_half.
17779         (fp_formats): Update initializers.
17780         (init_fp_formats): Initialize new field.
17781         (output_for_one_input_case): Allow underflow for results up to
17782         min_plus_half.
17783         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17784         * math/auto-libm-test-in: Don't mark some underflows from asin and
17785         atanh as spurious.
17786         * math/auto-libm-test-out: Regenerated.
17787         * sysdeps/i386/fpu/libm-test-ulps: Update.
17788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17790 2014-03-25  Andreas Schwab  <schwab@suse.de>
17792         * libio/Makefile (tst-ftell-partial-wide-ENV)
17793         (tst-ftell-active-handler-ENV): Define.
17795 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
17797         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17799 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17801         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17803 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17805         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17806         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17807         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17809 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17811         [BZ #16634]
17812         * elf/dl-load.c (open_verify): Add mode parameter.
17813         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17814         (open_path): Change from boolean 'secure' to complete flag 'mode'
17815         (_dl_map_object): Adjust.
17816         * elf/Makefile (tests): Add tst-dlopen-aout.
17817         * elf/tst-dlopen-aout.c: New test.
17819 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
17821         [BZ #16714]
17822         * sysdeps/unix/sysv/linux/s390/bits/stat.h
17823         (struct stat): Rename member pad0 to __glibc_reserved0.
17825         [BZ #16712]
17826         * sysdeps/s390/s390-32/bits/wordsize.h
17827         (__WORDSIZE32_SIZE_ULONG): New define.
17828         * sysdeps/s390/s390-64/bits/wordsize.h
17829         (__WORDSIZE32_SIZE_ULONG): Likewise.
17830         * sysdeps/generic/stdint.h (SIZE_MAX):
17831         Define as UL if __WORDSIZE32_SIZE_ULONG.
17833         [BZ #16713]
17834         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17835         (__glibc_reserved0): New variable.
17836         (sa_flags): Change type to int.
17838         * posix/Makefile (before-compile): Use += before-compile instead
17839         of a :=.
17841         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17842         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17844 2014-03-20  Andreas Schwab  <schwab@suse.de>
17846         [BZ #16743]
17847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17848         non-matching result from nscd.
17850 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17852         * scripts/bench.py: Moved to ...
17853         * benchtests/scripts/bench.py: ... here.
17854         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17856 2014-03-24  Andreas Schwab  <schwab@suse.de>
17858         [BZ #16002]
17859         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17860         alloca_account and account alloca use for struct in6ailist.
17862 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17864         [BZ #16284]
17865         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17866         rounding mode to recompute results that overflow to infinity or
17867         underflow to zero.
17868         * math/auto-libm-test-in: Don't mark tests as expected to fail for
17869         bug 16284.
17870         * math/auto-libm-test-out: Regenerated.
17871         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17872         (ccosh_test): Likewise.
17873         (csin_test_data): Use plus_oflow.
17874         (csin_test): Use ALL_RM_TEST.
17875         (csinh_test_data): Use plus_oflow.
17876         (csinh_test): Use ALL_RM_TEST.
17877         * sysdeps/i386/fpu/libm-test-ulps: Update.
17878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17880 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
17882         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17883         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17884         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17886         [BZ #16731]
17887         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17888         when x - 1 is zero.
17889         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17890         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17891         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17892         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17893         argument is 1.
17894         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17895         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17896         zero.
17897         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17898         * sysdeps/i386/fpu/libm-test-ulps: Update.
17899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17901 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17903         * scripts/bench.pl: Remove file.
17904         * scripts/bench.py: New benchmark script.
17905         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17906         * benchtests/README: Mention python dependency.
17907         * scripts/pylintrc: New file.
17908         * scripts/pylint: New file.
17910         * bits/mathdef.h: Use #ifdef instead of #if.
17911         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17912         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17913         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17914         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17915         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17916         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17918 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17919             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17921         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17923         and strpbrk-ppc64 objects.
17924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17925         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17926         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17927         multiarch strpbrk for POWER7.
17928         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17929         multiarch strpbrk for PPC64.
17930         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17931         ifunc selector.
17932         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17933         strpbrk for POWER7.
17935 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17937         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17938         (atan_test): Likewise.
17939         (atanh_test_data): Use NO_TEST_INLINE for two tests.
17940         (atanh_test): Use ALL_RM_TEST.
17941         (atan2_test_data): Likewise.
17942         (cabs_test): Likewise.
17943         (cacosh_test): Likewise.
17944         (carg_test): Likewise.
17945         (casin_test): Likewise.
17946         (casinh_test): Likewise.
17947         (cbrt_test): Likewise.
17948         (csqrt_test): Likewise.
17949         (erf_test): Likewise.
17950         (erfc_test): Likewise.
17951         (pow10_test): Likewise.
17952         (exp2_test): Likewise.
17953         (hypot_test): Likewise.
17954         (j0_test): Likewise.
17955         (j1_test): Likewise.
17956         (lgamma_test): Likewise.
17957         (gamma_test): Likewise.
17958         (sincos_test): Likewise.
17959         (tanh_test): Likewise.
17960         (y0_test): Likewise.
17961         (y1_test): Likewise.
17962         * sysdeps/i386/fpu/libm-test-ulps: Update.
17963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17965 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17967         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17969         and strcspn-ppc64 objects.
17970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17971         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17972         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17973         multiarch strcspn for POWER7.
17974         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17975         multiarch strcspn for PPC64.
17976         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17977         ifunc selector.
17978         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17979         strcspn for POWER7.
17981 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17983         * math/gen-libm-test.pl (generate_testfile): Expect only function
17984         name as argument to AUTO_TESTS_* and pass results for all rounding
17985         modes to parse_args.
17986         (parse_auto_input): Separate inputs of automatic tests from
17987         outputs before storing in %auto_tests.
17988         * math/libm-test.inc (acos_test_data): Update call to
17989         AUTO_TESTS_f_f.
17990         (acos_test): Use ALL_RM_TEST.
17991         (acos_tonearest_test_data): Remove.
17992         (acos_test_tonearest): Likewise.
17993         (acos_towardzero_test_data): Likewise.
17994         (acos_test_towardzero): Likewise.
17995         (acos_downward_test_data): Likewise.
17996         (acos_test_downward): Likewise.
17997         (acos_upward_test_data): Likewise.
17998         (acos_test_upward): Likewise.
17999         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18000         (asin_test_data): Likewise.
18001         (asin_test): Use ALL_RM_TEST.
18002         (asin_tonearest_test_data): Remove.
18003         (asin_test_tonearest): Likewise.
18004         (asin_towardzero_test_data): Likewise.
18005         (asin_test_towardzero): Likewise.
18006         (asin_downward_test_data): Likewise.
18007         (asin_test_downward): Likewise.
18008         (asin_upward_test_data): Likewise.
18009         (asin_test_upward): Likewise.
18010         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18011         (atan_test_data): Likewise.
18012         (atanh_test_data): Likewise.
18013         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18014         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18015         (carg_test_data): Likewise.
18016         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18017         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18018         (ccosh_test_data): Likewise.
18019         (cexp_test_data): Likewise.
18020         (clog_test_data): Likewise.
18021         (clog10_test_data): Likewise.
18022         (cos_test_data): Update call to AUTO_TESTS_f_f.
18023         (cos_test): Use ALL_RM_TEST.
18024         (cos_tonearest_test_data): Remove.
18025         (cos_test_tonearest): Likewise.
18026         (cos_towardzero_test_data): Likewise.
18027         (cos_test_towardzero): Likewise.
18028         (cos_downward_test_data): Likewise.
18029         (cos_test_downward): Likewise.
18030         (cos_upward_test_data): Likewise.
18031         (cos_test_upward): Likewise.
18032         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18033         (cosh_test): Use ALL_RM_TEST.
18034         (cosh_tonearest_test_data): Remove.
18035         (cosh_test_tonearest): Likewise.
18036         (cosh_towardzero_test_data): Likewise.
18037         (cosh_test_towardzero): Likewise.
18038         (cosh_downward_test_data): Likewise.
18039         (cosh_test_downward): Likewise.
18040         (cosh_upward_test_data): Likewise.
18041         (cosh_test_upward): Likewise.
18042         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18043         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18044         (ctan_test_data): Likewise.
18045         (ctan_test): Use ALL_RM_TEST.
18046         (ctan_tonearest_test_data): Remove.
18047         (ctan_test_tonearest): Likewise.
18048         (ctan_towardzero_test_data): Likewise.
18049         (ctan_test_towardzero): Likewise.
18050         (ctan_downward_test_data): Likewise.
18051         (ctan_test_downward): Likewise.
18052         (ctan_upward_test_data): Likewise.
18053         (ctan_test_upward): Likewise.
18054         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18055         (ctanh_test): Use ALL_RM_TEST.
18056         (ctanh_tonearest_test_data): Remove.
18057         (ctanh_test_tonearest): Likewise.
18058         (ctanh_towardzero_test_data): Likewise.
18059         (ctanh_test_towardzero): Likewise.
18060         (ctanh_downward_test_data): Likewise.
18061         (ctanh_test_downward): Likewise.
18062         (ctanh_upward_test_data): Likewise.
18063         (ctanh_test_upward): Likewise.
18064         (erf_test_data): Update call to AUTO_TESTS_f_f.
18065         (erfc_test_data): Likewise.
18066         (exp_test_data): Likewise.
18067         (exp_test): Use ALL_RM_TEST.
18068         (exp_tonearest_test_data): Remove.
18069         (exp_test_tonearest): Likewise.
18070         (exp_towardzero_test_data): Likewise.
18071         (exp_test_towardzero): Likewise.
18072         (exp_downward_test_data): Likewise.
18073         (exp_test_downward): Likewise.
18074         (exp_upward_test_data): Likewise.
18075         (exp_test_upward): Likewise.
18076         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18077         (exp10_test): Use ALL_RM_TEST.
18078         (exp10_tonearest_test_data): Remove.
18079         (exp10_test_tonearest): Likewise.
18080         (exp10_towardzero_test_data): Likewise.
18081         (exp10_test_towardzero): Likewise.
18082         (exp10_downward_test_data): Likewise.
18083         (exp10_test_downward): Likewise.
18084         (exp10_upward_test_data): Likewise.
18085         (exp10_test_upward): Likewise.
18086         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18087         (expm1_test_data): Likewise.
18088         (expm1_test): Use ALL_RM_TEST.
18089         (expm1_tonearest_test_data): Remove.
18090         (expm1_test_tonearest): Likewise.
18091         (expm1_towardzero_test_data): Likewise.
18092         (expm1_test_towardzero): Likewise.
18093         (expm1_downward_test_data): Likewise.
18094         (expm1_test_downward): Likewise.
18095         (expm1_upward_test_data): Likewise.
18096         (expm1_test_upward): Likewise.
18097         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18098         (fma_test): Use ALL_RM_TEST.
18099         (fma_towardzero_test_data): Remove.
18100         (fma_test_towardzero): Likewise.
18101         (fma_downward_test_data): Likewise.
18102         (fma_test_downward): Likewise.
18103         (fma_upward_test_data): Likewise.
18104         (fma_test_upward): Likewise.
18105         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18106         (j0_test_data): Update call to AUTO_TESTS_f_f.
18107         (j1_test_data): Likewise.
18108         (jn_test_data): Update call to AUTO_TESTS_if_f.
18109         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18110         (log_test_data): Update call to AUTO_TESTS_f_f.
18111         (log10_test_data): Likewise.
18112         (log1p_test_data): Likewise.
18113         (log2_test_data): Likewise.
18114         (pow_test_data): Update call to AUTO_TESTS_ff_f.
18115         (pow_tonearest_test_data): Likewise.
18116         (sin_test_data): Update call to AUTO_TESTS_f_f.
18117         (sin_test): Use ALL_RM_TEST.
18118         (sin_tonearest_test_data): Remove.
18119         (sin_test_tonearest): Likewise.
18120         (sin_towardzero_test_data): Likewise.
18121         (sin_test_towardzero): Likewise.
18122         (sin_downward_test_data): Likewise.
18123         (sin_test_downward): Likewise.
18124         (sin_upward_test_data): Likewise.
18125         (sin_test_upward): Likewise.
18126         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18127         (sinh_test_data): Update call to AUTO_TESTS_f_f.
18128         (sinh_test): Use ALL_RM_TEST.
18129         (sinh_tonearest_test_data): Remove.
18130         (sinh_test_tonearest): Likewise.
18131         (sinh_towardzero_test_data): Likewise.
18132         (sinh_test_towardzero): Likewise.
18133         (sinh_downward_test_data): Likewise.
18134         (sinh_test_downward): Likewise.
18135         (sinh_upward_test_data): Likewise.
18136         (sinh_test_upward): Likewise.
18137         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18138         (sqrt_test): Use ALL_RM_TEST.
18139         (sqrt_tonearest_test_data): Remove.
18140         (sqrt_test_tonearest): Likewise.
18141         (sqrt_towardzero_test_data): Likewise.
18142         (sqrt_test_towardzero): Likewise.
18143         (sqrt_downward_test_data): Likewise.
18144         (sqrt_test_downward): Likewise.
18145         (sqrt_upward_test_data): Likewise.
18146         (sqrt_test_upward): Likewise.
18147         (tan_test_data): Update call to AUTO_TESTS_f_f.
18148         (tan_test): Use ALL_RM_TEST.
18149         (tan_tonearest_test_data): Remove.
18150         (tan_test_tonearest): Likewise.
18151         (tan_towardzero_test_data): Likewise.
18152         (tan_test_towardzero): Likewise.
18153         (tan_downward_test_data): Likewise.
18154         (tan_test_downward): Likewise.
18155         (tan_upward_test_data): Likewise.
18156         (tan_test_upward): Likewise.
18157         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18158         (tgamma_test_data): Likewise.
18159         (y0_test_data): Likewise.
18160         (y1_test_data): Likewise.
18161         (yn_test_data): Update call to AUTO_TESTS_if_f.
18162         (main): Do not call removed functions.
18164 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18166         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18167         (ldexp_test_data): Remove.
18168         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18169         scalbn_test_data.
18170         (scalb_test): Use ALL_RM_TEST.
18172 2014-03-19  Andreas Schwab  <schwab@suse.de>
18174         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18176 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18178         [BZ #16649]
18179         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18180         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18181         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18182         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18183         (__ASSUME_PREADV): Undefine.
18184         (__ASSUME_PWRITEV): Likewise.
18186 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18188         * bits/mman-linux.h: Add comment about non-Linux use.
18189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18190         bits/mman-linux.h resting place.
18192         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18193         * bits/mman-linux.h: ... here.
18195 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18197         * conform/conformtest.pl: Add standard definition when calling C
18198         preprocessor on data files.
18199         (checknamespace): Remove unused variable.
18201 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18203         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18204         minus_oflow, plus_uflow and minus_uflow in expected results.
18205         * math/libm-test.inc (scalbn_test_data): Add more tests of
18206         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18207         minus_uflow.
18208         (scalbn_test): Use ALL_RM_TEST.
18209         (scalbln_test_data): Add more tests of negative arguments.  Use
18210         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18211         (scalbln_test): Use ALL_RM_TEST.
18213 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18215         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18217 2014-03-18  Will Newton  <will.newton@linaro.org>
18219         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18220         inaccurate comment.
18222 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18224         * Makerules [!subdir] (check-abi): Exit with error status if a
18225         test failed.
18227 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18229         * math/libm-test.inc (nearbyint_test_data): Include all tests used
18230         for rint.  Include results for all rounding modes.
18231         (nearbyint_test): Use ALL_RM_TEST.
18232         (rint_test_data): Include all tests used for nearbyint.
18234 2014-03-17  Will Newton  <will.newton@linaro.org>
18236         * nptl/sysdeps/pthread/pthread.h: Revert previous
18237         change.
18239         * sysdeps/generic/ldsodefs.h: Revert previous
18240         change.
18242         * libio/genops.c: Revert previous change.
18243         * libio/libioP.h: Likewise.
18244         * stdio-common/vfprintf.c: Likewise.
18246         * sysdeps/generic/math_private.h: Revert previous
18247         change.
18249         * sysdeps/generic/math_private.h: Check whether
18250         HAVE_RM_CTX is defined with #ifdef rather
18251         than #if.
18253         * argp/argp-fmtstream.h: Check whether
18254         __STRICT_ANSI__ is defined with #ifdef rather
18255         than #if.
18256         * argp/argp.h: Likewise.
18258         * libio/genops.c: Check whether
18259         _IO_JUMPS_OFFSET is defined with #ifdef rather
18260         than #if.
18261         * libio/libioP.h: Likewise.
18262         * stdio-common/vfprintf.c: Likewise.
18264         * sysdeps/generic/ldsodefs.h: Check whether
18265         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18266         than #if.
18268         * nptl/sysdeps/pthread/pthread.h: Check
18269         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18270         its value.
18272 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18274         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18275         setting O_APPEND.
18276         * libio/tst-ftell-active-handler.c (do_append_test): Add a
18277         test case.
18279         [BZ #16680]
18280         * libio/fileops.c (_IO_file_open): Seek to end of file but
18281         don't cache the offset.
18282         (get_file_offset): Remove function.
18283         (do_ftell): Use cached offset when available.
18284         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18285         don't cache the offset.
18286         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18287         case.
18288         (do_one_test): Call it.
18289         (do_ftell_test): Fix up expected old offset for a+ mode.
18290         * libio/wfileops.c (do_ftell_wide): Used cached offset when
18291         available.
18293         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18294         up test status with function return status.
18295         (do_write_test): Likewise.
18296         (do_append_test): Likewise.
18298         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18299         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18300         Remove.
18302 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18304         * math/gen-libm-test.pl (parse_args): Handle results specified for
18305         each rounding mode separately.
18306         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18307         tests and results from lrint_tonearest_test_data,
18308         lrint_towardzero_test_data, lrint_downward_test_data and
18309         lrint_upward_test_data.
18310         (lrint_test): Use ALL_RM_TEST.
18311         (lrint_tonearest_test_data): Remove.
18312         (lrint_test_tonearest): Likewise.
18313         (lrint_towardzero_test_data): Likewise.
18314         (lrint_test_towardzero): Likewise.
18315         (lrint_downward_test_data): Likewise.
18316         (lrint_test_downward): Likewise.
18317         (lrint_upward_test_data): Likewise.
18318         (lrint_test_upward): Likewise.
18319         (llrint_test_data): Merge in per-rounding-mode tests and results
18320         from llrint_tonearest_test_data, llrint_towardzero_test_data,
18321         llrint_downward_test_data and llrint_upward_test_data.
18322         (llrint_test): Use ALL_RM_TEST.
18323         (llrint_tonearest_test_data): Remove.
18324         (llrint_test_tonearest): Likewise.
18325         (llrint_towardzero_test_data): Likewise.
18326         (llrint_test_towardzero): Likewise.
18327         (llrint_downward_test_data): Likewise.
18328         (llrint_test_downward): Likewise.
18329         (llrint_upward_test_data): Likewise.
18330         (llrint_test_upward): Likewise.
18331         (rint_test_data): Merge in per-rounding-mode tests and results
18332         from rint_tonearest_test_data, rint_towardzero_test_data,
18333         rint_downward_test_data and rint_upward_test_data.  Add
18334         per-rounding-mode results for tests not in those arrays.
18335         (rint_test): Use ALL_RM_TEST.
18336         (rint_tonearest_test_data): Remove.
18337         (rint_test_tonearest): Likewise.
18338         (rint_towardzero_test_data): Likewise.
18339         (rint_test_towardzero): Likewise.
18340         (rint_downward_test_data): Likewise.
18341         (rint_test_downward): Likewise.
18342         (rint_upward_test_data): Likewise.
18343         (rint_test_upward): Likewise.
18344         (main): Don't call removed functions.
18346 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18348         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18349         "Compiled on ..." crapola.  It is anti-useful.
18351 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
18353         * scripts/evaluate-test.sh: Handle fourth argument to determine
18354         whether test run should stop on failure.
18355         * Makeconfig (stop-on-test-failure): New variable.
18356         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18357         $(stop-on-test-failure).
18358         * Makefile (tests): Give a summary of results from testing and
18359         exit with failure status if they include an ERROR or FAIL.
18360         (xtests): Likewise.
18361         * manual/install.texi (Configuring and compiling): Mention
18362         stop-on-test-failure=y.
18363         * INSTALL: Regenerated.
18365 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18367         * scripts/versionlist.awk: New file.
18368         * Makerules [$(build-shared) = yes]
18369         (postclean-generated): Add Versions.def, not Versions.def.v and
18370         Versions.def.v.i.
18371         ($(common-objpfx)Versions.def.v.i): Target removed.
18372         ($(common-objpfx)Versions.def): New target.
18373         ($(common-objpfx)Versions.all): Depend on that rather that
18374         $(common-objpfx)Versions.def.v.
18375         * Versions.def: File removed.
18377         * Makeconfig (+gccwarn): Add -Wundef.
18378         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18379         a dl-sysdep.h breaking its contract.
18380         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18381         * include/stackinfo.h: New file.
18382         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18383         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18384         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18385         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18386         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18387         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18388         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18389         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18390         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18391         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18392         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18393         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18394         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18395         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18396         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18398 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18400         [BZ #16707]
18401         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18402         implementation.
18403         * math/libm-test.inc (round_test_data): Add more tests.
18405         [BZ #16706]
18406         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18407         implementation.
18408         * math/libm-test.inc (nearbyint_test_data): Add more tests.
18410         [BZ #16701]
18411         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18412         implementation.
18413         * math/libm-test.inc (ceil_test_data): Add more tests.
18415         * math/libm-test.inc (trunc_test_data): Add more tests related to
18416         BZ#16414.
18418 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18420         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18421         with #if rather than #ifdef.
18422         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18424 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
18426         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18427         first.  Disable AVX-512 GCC support if assembler doesn't support
18428         it.
18429         * sysdeps/x86_64/configure: Regenerated.
18431 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
18433         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18434         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18435         (__old_pthread_attr_setstack): Likewise.
18436         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18437         [!_STACK_GROWS_DOWN]: Likewise.
18439 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
18441         * config.make.in (have-bash2): Delete.
18442         * configure.ac (libc_cv_have_bash2): Delete.
18443         * configure: Regenerate.
18444         * elf/Makefile (common-ldd-rewrite): Rename to ...
18445         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
18446         (sh-ldd-rewrite): Delete.
18447         (bash-ldd-rewrite): Delete.
18448         (have-bash2): Delete checks.
18449         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18450         ldd-rewrite.
18452         * config.make.in (have-ksh): Delete.
18453         (KSH): Delete.
18454         * configure.ac (libc_cv_have_ksh): Delete.
18455         * configure: Regenerate.
18457         * elf/Makefile: Delete $(have-ksh) check.
18458         ($(objpfx)sotruss): Change KSH to BASH.
18459         * elf/sotruss.ksh: Rename to ...
18460         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
18461         function style to match POSIX.  Drop ksh vim mode setting.
18463         * manual/time.texi (Specifying the Time Zone with TZ): Change
18464         Tuesday to Thursday.
18466         * debug/tst-longjmp_chk2.c: Update header comment.
18467         (stackoverflow_handler): Add comment.  Call assert on pass value.
18469 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
18471         [BZ #16194]
18472         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18473         (HAVE_AVX512_ASM_SUPPORT): Likewise.
18474         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18475         (La_x86_64_vector): Add zmm.
18476         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18477         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18478         ($(objpfx)tst-audit10): New target.
18479         ($(objpfx)tst-audit10.out): Likewise.
18480         (tst-audit10-ENV): New.
18481         (AVX512-CFLAGS): Likewise.
18482         (CFLAGS-tst-audit10.c): Likewise.
18483         (CFLAGS-tst-auditmod10a.c): Likewise.
18484         (CFLAGS-tst-auditmod10b.c): Likewise.
18485         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18486         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18487         * sysdeps/x86_64/configure: Regenerated.
18488         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18489         AVX-512 zmm register support.
18490         (_dl_x86_64_save_sse): Likewise.
18491         (_dl_x86_64_restore_sse): Likewise.
18492         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18493         size vector registers.
18494         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18495         (ZMM_SIZE): Likewise.
18496         * sysdeps/x86_64/tst-audit10.c: New file.
18497         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18498         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18500 2014-03-13  Roland McGrath  <roland@hack.frob.com>
18502         * configure.ac (HAVE_EHDR_START): New check.
18503         * configure: Regenerated.
18504         * config.h.in (HAVE_EHDR_START): New #undef.
18505         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18506         assuming the lowest-addressed segment maps the start of the file.
18508 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
18510         * INSTALL: Regenerated.
18512 2014-03-13  Will Newton  <will.newton@linaro.org>
18514         * manual/setjmp.texi (System V contexts): Improve
18515         clarity and grammar of documentation.
18517 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18519         [BZ #16381]
18520         * elf/Makefile (tests): Add tst-pie2.
18521         (tests-pie): Add tst-pie2.
18522         * elf/tst-pie2.c: New file.
18523         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18524         for ET_EXEC.
18525         * elf/rtld.c (map_doit): Load executable as lt_executable.
18526         (dl_main): Likewise.
18528 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
18530         [BZ #16642]
18531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18532         (__ASSUME_PSELECT): Undefine.
18534 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18536         [BZ #16689]
18537         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18538         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18539         static build.
18540         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18541         selector for static builds.
18543 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18545         [BZ #16695]
18546         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18547         key in the buffer.
18549 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18551         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18552         IFUNC selector for static builds.
18554 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
18556         * sysdeps/mips/math_private.h [__mips_hard_float]
18557         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18558         libc_feresetround_mips_ctx.
18559         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18560         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18561         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18563         [BZ #16677]
18564         * math/s_nextafter.c (__nextafter): Do not return value from
18565         overflowing computation.
18566         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18567         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18568         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18569         Likewise.
18570         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18571         Likewise.
18572         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18573         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18575 2014-03-11  Roland McGrath  <roland@hack.frob.com>
18577         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18578         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18579         Move sfi_sp use from the load-multiple (that no longer sets sp) to
18580         the new mov targetting sp.
18582 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18584         [BZ #16683]
18585         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18586         Define it for static builds as well.
18587         (NO_BZERO_IMPL): Likewise.
18589 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18591         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18592         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18593         multiarch strspn for PPC64.
18594         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18595         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18597         (__libc_ifunc_impl_list): Likewise.
18598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18599         multiarch optimizations
18600         * string/strspn.c (strspn): Using macro to redefine symbol name.
18602 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18603             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18605         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18606         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18607         multiarch strncat for PPC64.
18608         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18609         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18611         (__libc_ifunc_impl_list): Likewise.
18612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18613         multiarch optimizations
18615 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18617         [BZ #16639]
18618         * nscd/nscd.service: Make service type forking.
18620 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18622         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18623         sign in non default rounding modes.
18624         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18626 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
18628         * math/libm-test.inc (ALL_RM_TEST): New macro.
18629         (ceil_test): Use ALL_RM_TEST.
18630         (cimag_test): Likewise.
18631         (conj_test): Likewise.
18632         (copysign_test): Likewise.
18633         (cproj_test): Likewise.
18634         (creal_test): Likewise.
18635         (fabs_test): Likewise.
18636         (floor_test): Likewise.
18637         (fmax_test): Likewise.
18638         (fmin_test): Likewise.
18639         (fmod_test): Likewise.
18640         (fpclassify_test): Likewise.
18641         (frexp_test): Likewise.
18642         (ilogb_test): Likewise.
18643         (isfinite_test): Likewise.
18644         (finite_test): Likewise.
18645         (isgreater_test): Likewise.
18646         (isgreaterequal_test): Likewise.
18647         (isinf_test): Likewise.
18648         (isless_test): Likewise.
18649         (islessequal_test): Likewise.
18650         (islessgreater_test): Likewise.
18651         (isnan_test): Likewise.
18652         (isnormal_test): Likewise.
18653         (issignaling_test): Likewise.
18654         (isunordered_test): Likewise.
18655         (logb_test): Likewise.
18656         (logb_downward_test_data): Remove.
18657         (logb_test_downward): Likewise.
18658         (lround_test): Use ALL_RM_TEST.
18659         (llround_test): Likewise.
18660         (modf_test): Likewise.
18661         (nexttoward_test): Likewise.
18662         (remainder_test): Likewise.
18663         (drem_test): Likewise.
18664         (remainder_tonearest_test_data): Likewise.
18665         (remainder_test_tonearest): Likewise.
18666         (drem_test_tonearest): Likewise.
18667         (remainder_towardzero_test_data): Likewise.
18668         (remainder_test_towardzero): Likewise.
18669         (drem_test_towardzero): Likewise.
18670         (remainder_downward_test_data): Likewise.
18671         (remainder_test_downward): Likewise.
18672         (drem_test_downward): Likewise.
18673         (remainder_upward_test_data): Likewise.
18674         (remainder_test_upward): Likewise.
18675         (drem_test_upward): Likewise.
18676         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
18677         (round_test): Use ALL_RM_TEST.
18678         (signbit_test): Likewise.
18679         (trunc_test): Likewise.
18680         (significand_test): Likewise.
18681         (main): Don't call removed functions.
18683 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18685         [BZ #16674]
18686         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18687         || __USE_XOPEN2K8].
18688         (ILL_ILLOPN): Likewise.
18689         (ILL_ILLADR): Likewise.
18690         (ILL_ILLTRP): Likewise.
18691         (ILL_PRVOPC): Likewise.
18692         (ILL_PRVREG): Likewise.
18693         (ILL_COPROC): Likewise.
18694         (ILL_BADSTK): Likewise.
18695         (FPE_INTDIV): Likewise.
18696         (FPE_INTOVF): Likewise.
18697         (FPE_FLTDIV): Likewise.
18698         (FPE_FLTOVF): Likewise.
18699         (FPE_FLTUND): Likewise.
18700         (FPE_FLTRES): Likewise.
18701         (FPE_FLTINV): Likewise.
18702         (FPE_FLTSUB): Likewise.
18703         (SEGV_MAPERR): Likewise.
18704         (SEGV_ACCERR): Likewise.
18705         (BUS_ADRALN): Likewise.
18706         (BUS_ADRERR): Likewise.
18707         (BUS_OBJERR): Likewise.
18708         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18709         (TRAP_TRACE): Likewise.
18710         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18711         __USE_XOPEN2K8].
18712         (CLD_KILLED): Likewise.
18713         (CLD_DUMPED): Likewise.
18714         (CLD_TRAPPED): Likewise.
18715         (CLD_STOPPED): Likewise.
18716         (CLD_CONTINUED): Likewise.
18717         (POLL_IN): Likewise.
18718         (POLL_OUT): Likewise.
18719         (POLL_MSG): Likewise.
18720         (POLL_ERR): Likewise.
18721         (POLL_PRI): Likewise.
18722         (POLL_HUP): Likewise.
18723         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18724         Likewise.
18725         (ILL_ILLOPN): Likewise.
18726         (ILL_ILLADR): Likewise.
18727         (ILL_ILLTRP): Likewise.
18728         (ILL_PRVOPC): Likewise.
18729         (ILL_PRVREG): Likewise.
18730         (ILL_COPROC): Likewise.
18731         (ILL_BADSTK): Likewise.
18732         (FPE_INTDIV): Likewise.
18733         (FPE_INTOVF): Likewise.
18734         (FPE_FLTDIV): Likewise.
18735         (FPE_FLTOVF): Likewise.
18736         (FPE_FLTUND): Likewise.
18737         (FPE_FLTRES): Likewise.
18738         (FPE_FLTINV): Likewise.
18739         (FPE_FLTSUB): Likewise.
18740         (SEGV_MAPERR): Likewise.
18741         (SEGV_ACCERR): Likewise.
18742         (BUS_ADRALN): Likewise.
18743         (BUS_ADRERR): Likewise.
18744         (BUS_OBJERR): Likewise.
18745         (BUS_MCEERR_AR): Likewise.
18746         (BUS_MCEERR_AO): Likewise.
18747         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18748         (TRAP_TRACE): Likewise.
18749         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18750         __USE_XOPEN2K8].
18751         (CLD_KILLED): Likewise.
18752         (CLD_DUMPED): Likewise.
18753         (CLD_TRAPPED): Likewise.
18754         (CLD_STOPPED): Likewise.
18755         (CLD_CONTINUED): Likewise.
18756         (POLL_IN): Likewise.
18757         (POLL_OUT): Likewise.
18758         (POLL_MSG): Likewise.
18759         (POLL_ERR): Likewise.
18760         (POLL_PRI): Likewise.
18761         (POLL_HUP): Likewise.
18762         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18763         (ILL_ILLOPN): Likewise.
18764         (ILL_ILLADR): Likewise.
18765         (ILL_ILLTRP): Likewise.
18766         (ILL_PRVOPC): Likewise.
18767         (ILL_PRVREG): Likewise.
18768         (ILL_COPROC): Likewise.
18769         (ILL_BADSTK): Likewise.
18770         (FPE_INTDIV): Likewise.
18771         (FPE_INTOVF): Likewise.
18772         (FPE_FLTDIV): Likewise.
18773         (FPE_FLTOVF): Likewise.
18774         (FPE_FLTUND): Likewise.
18775         (FPE_FLTRES): Likewise.
18776         (FPE_FLTINV): Likewise.
18777         (FPE_FLTSUB): Likewise.
18778         (SEGV_MAPERR): Likewise.
18779         (SEGV_ACCERR): Likewise.
18780         (BUS_ADRALN): Likewise.
18781         (BUS_ADRERR): Likewise.
18782         (BUS_OBJERR): Likewise.
18783         (BUS_MCEERR_AR): Likewise.
18784         (BUS_MCEERR_AO): Likewise.
18785         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18786         (TRAP_TRACE): Likewise.
18787         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18788         __USE_XOPEN2K8].
18789         (CLD_KILLED): Likewise.
18790         (CLD_DUMPED): Likewise.
18791         (CLD_TRAPPED): Likewise.
18792         (CLD_STOPPED): Likewise.
18793         (CLD_CONTINUED): Likewise.
18794         (POLL_IN): Likewise.
18795         (POLL_OUT): Likewise.
18796         (POLL_MSG): Likewise.
18797         (POLL_ERR): Likewise.
18798         (POLL_PRI): Likewise.
18799         (POLL_HUP): Likewise.
18800         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18801         Likewise.
18802         (ILL_ILLOPN): Likewise.
18803         (ILL_ILLADR): Likewise.
18804         (ILL_ILLTRP): Likewise.
18805         (ILL_PRVOPC): Likewise.
18806         (ILL_PRVREG): Likewise.
18807         (ILL_COPROC): Likewise.
18808         (ILL_BADSTK): Likewise.
18809         (ILL_BADIADDR): Likewise.
18810         (ILL_BREAK): Likewise.
18811         (FPE_INTDIV): Likewise.
18812         (FPE_INTOVF): Likewise.
18813         (FPE_FLTDIV): Likewise.
18814         (FPE_FLTOVF): Likewise.
18815         (FPE_FLTUND): Likewise.
18816         (FPE_FLTRES): Likewise.
18817         (FPE_FLTINV): Likewise.
18818         (FPE_FLTSUB): Likewise.
18819         (FPE_DECOVF): Likewise.
18820         (FPE_DECDIV): Likewise.
18821         (FPE_DECERR): Likewise.
18822         (FPE_INVASC): Likewise.
18823         (FPE_INVDEC): Likewise.
18824         (SEGV_MAPERR): Likewise.
18825         (SEGV_ACCERR): Likewise.
18826         (SEGV_PSTKOVF): Likewise.
18827         (BUS_ADRALN): Likewise.
18828         (BUS_ADRERR): Likewise.
18829         (BUS_OBJERR): Likewise.
18830         (BUS_MCEERR_AR): Likewise.
18831         (BUS_MCEERR_AO): Likewise.
18832         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18833         (TRAP_TRACE): Likewise.
18834         (TRAP_BRANCH): Likewise.
18835         (TRAP_HWBKPT): Likewise.
18836         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18837         __USE_XOPEN2K8].
18838         (CLD_KILLED): Likewise.
18839         (CLD_DUMPED): Likewise.
18840         (CLD_TRAPPED): Likewise.
18841         (CLD_STOPPED): Likewise.
18842         (CLD_CONTINUED): Likewise.
18843         (POLL_IN): Likewise.
18844         (POLL_OUT): Likewise.
18845         (POLL_MSG): Likewise.
18846         (POLL_ERR): Likewise.
18847         (POLL_PRI): Likewise.
18848         (POLL_HUP): Likewise.
18849         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18850         (ILL_ILLOPN): Likewise.
18851         (ILL_ILLADR): Likewise.
18852         (ILL_ILLTRP): Likewise.
18853         (ILL_PRVOPC): Likewise.
18854         (ILL_PRVREG): Likewise.
18855         (ILL_COPROC): Likewise.
18856         (ILL_BADSTK): Likewise.
18857         (FPE_INTDIV): Likewise.
18858         (FPE_INTOVF): Likewise.
18859         (FPE_FLTDIV): Likewise.
18860         (FPE_FLTOVF): Likewise.
18861         (FPE_FLTUND): Likewise.
18862         (FPE_FLTRES): Likewise.
18863         (FPE_FLTINV): Likewise.
18864         (FPE_FLTSUB): Likewise.
18865         (SEGV_MAPERR): Likewise.
18866         (SEGV_ACCERR): Likewise.
18867         (BUS_ADRALN): Likewise.
18868         (BUS_ADRERR): Likewise.
18869         (BUS_OBJERR): Likewise.
18870         (BUS_MCEERR_AR): Likewise.
18871         (BUS_MCEERR_AO): Likewise.
18872         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18873         (TRAP_TRACE): Likewise.
18874         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18875         __USE_XOPEN2K8].
18876         (CLD_KILLED): Likewise.
18877         (CLD_DUMPED): Likewise.
18878         (CLD_TRAPPED): Likewise.
18879         (CLD_STOPPED): Likewise.
18880         (CLD_CONTINUED): Likewise.
18881         (POLL_IN): Likewise.
18882         (POLL_OUT): Likewise.
18883         (POLL_MSG): Likewise.
18884         (POLL_ERR): Likewise.
18885         (POLL_PRI): Likewise.
18886         (POLL_HUP): Likewise.
18887         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18888         (ILL_ILLOPN): Likewise.
18889         (ILL_ILLADR): Likewise.
18890         (ILL_ILLTRP): Likewise.
18891         (ILL_PRVOPC): Likewise.
18892         (ILL_PRVREG): Likewise.
18893         (ILL_COPROC): Likewise.
18894         (ILL_BADSTK): Likewise.
18895         (FPE_INTDIV): Likewise.
18896         (FPE_INTOVF): Likewise.
18897         (FPE_FLTDIV): Likewise.
18898         (FPE_FLTOVF): Likewise.
18899         (FPE_FLTUND): Likewise.
18900         (FPE_FLTRES): Likewise.
18901         (FPE_FLTINV): Likewise.
18902         (FPE_FLTSUB): Likewise.
18903         (SEGV_MAPERR): Likewise.
18904         (SEGV_ACCERR): Likewise.
18905         (BUS_ADRALN): Likewise.
18906         (BUS_ADRERR): Likewise.
18907         (BUS_OBJERR): Likewise.
18908         (BUS_MCEERR_AR): Likewise.
18909         (BUS_MCEERR_AO): Likewise.
18910         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18911         (TRAP_TRACE): Likewise.
18912         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18913         __USE_XOPEN2K8].
18914         (CLD_KILLED): Likewise.
18915         (CLD_DUMPED): Likewise.
18916         (CLD_TRAPPED): Likewise.
18917         (CLD_STOPPED): Likewise.
18918         (CLD_CONTINUED): Likewise.
18919         (POLL_IN): Likewise.
18920         (POLL_OUT): Likewise.
18921         (POLL_MSG): Likewise.
18922         (POLL_ERR): Likewise.
18923         (POLL_PRI): Likewise.
18924         (POLL_HUP): Likewise.
18925         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18926         (ILL_ILLOPN): Likewise.
18927         (ILL_ILLADR): Likewise.
18928         (ILL_ILLTRP): Likewise.
18929         (ILL_PRVOPC): Likewise.
18930         (ILL_PRVREG): Likewise.
18931         (ILL_COPROC): Likewise.
18932         (ILL_BADSTK): Likewise.
18933         (FPE_INTDIV): Likewise.
18934         (FPE_INTOVF): Likewise.
18935         (FPE_FLTDIV): Likewise.
18936         (FPE_FLTOVF): Likewise.
18937         (FPE_FLTUND): Likewise.
18938         (FPE_FLTRES): Likewise.
18939         (FPE_FLTINV): Likewise.
18940         (FPE_FLTSUB): Likewise.
18941         (SEGV_MAPERR): Likewise.
18942         (SEGV_ACCERR): Likewise.
18943         (BUS_ADRALN): Likewise.
18944         (BUS_ADRERR): Likewise.
18945         (BUS_OBJERR): Likewise.
18946         (BUS_MCEERR_AR): Likewise.
18947         (BUS_MCEERR_AO): Likewise.
18948         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18949         (TRAP_TRACE): Likewise.
18950         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18951         __USE_XOPEN2K8].
18952         (CLD_KILLED): Likewise.
18953         (CLD_DUMPED): Likewise.
18954         (CLD_TRAPPED): Likewise.
18955         (CLD_STOPPED): Likewise.
18956         (CLD_CONTINUED): Likewise.
18957         (POLL_IN): Likewise.
18958         (POLL_OUT): Likewise.
18959         (POLL_MSG): Likewise.
18960         (POLL_ERR): Likewise.
18961         (POLL_PRI): Likewise.
18962         (POLL_HUP): Likewise.
18963         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18964         (ILL_ILLOPN): Likewise.
18965         (ILL_ILLADR): Likewise.
18966         (ILL_ILLTRP): Likewise.
18967         (ILL_PRVOPC): Likewise.
18968         (ILL_PRVREG): Likewise.
18969         (ILL_COPROC): Likewise.
18970         (ILL_BADSTK): Likewise.
18971         (ILL_DBLFLT): Likewise.
18972         (ILL_HARDWALL): Likewise.
18973         (FPE_INTDIV): Likewise.
18974         (FPE_INTOVF): Likewise.
18975         (FPE_FLTDIV): Likewise.
18976         (FPE_FLTOVF): Likewise.
18977         (FPE_FLTUND): Likewise.
18978         (FPE_FLTRES): Likewise.
18979         (FPE_FLTINV): Likewise.
18980         (FPE_FLTSUB): Likewise.
18981         (SEGV_MAPERR): Likewise.
18982         (SEGV_ACCERR): Likewise.
18983         (BUS_ADRALN): Likewise.
18984         (BUS_ADRERR): Likewise.
18985         (BUS_OBJERR): Likewise.
18986         (BUS_MCEERR_AR): Likewise.
18987         (BUS_MCEERR_AO): Likewise.
18988         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18989         (TRAP_TRACE): Likewise.
18990         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18991         __USE_XOPEN2K8].
18992         (CLD_KILLED): Likewise.
18993         (CLD_DUMPED): Likewise.
18994         (CLD_TRAPPED): Likewise.
18995         (CLD_STOPPED): Likewise.
18996         (CLD_CONTINUED): Likewise.
18997         (POLL_IN): Likewise.
18998         (POLL_OUT): Likewise.
18999         (POLL_MSG): Likewise.
19000         (POLL_ERR): Likewise.
19001         (POLL_PRI): Likewise.
19002         (POLL_HUP): Likewise.
19003         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19004         (ILL_ILLOPN): Likewise.
19005         (ILL_ILLADR): Likewise.
19006         (ILL_ILLTRP): Likewise.
19007         (ILL_PRVOPC): Likewise.
19008         (ILL_PRVREG): Likewise.
19009         (ILL_COPROC): Likewise.
19010         (ILL_BADSTK): Likewise.
19011         (FPE_INTDIV): Likewise.
19012         (FPE_INTOVF): Likewise.
19013         (FPE_FLTDIV): Likewise.
19014         (FPE_FLTOVF): Likewise.
19015         (FPE_FLTUND): Likewise.
19016         (FPE_FLTRES): Likewise.
19017         (FPE_FLTINV): Likewise.
19018         (FPE_FLTSUB): Likewise.
19019         (SEGV_MAPERR): Likewise.
19020         (SEGV_ACCERR): Likewise.
19021         (BUS_ADRALN): Likewise.
19022         (BUS_ADRERR): Likewise.
19023         (BUS_OBJERR): Likewise.
19024         (BUS_MCEERR_AR): Likewise.
19025         (BUS_MCEERR_AO): Likewise.
19026         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19027         (TRAP_TRACE): Likewise.
19028         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19029         __USE_XOPEN2K8].
19030         (CLD_KILLED): Likewise.
19031         (CLD_DUMPED): Likewise.
19032         (CLD_TRAPPED): Likewise.
19033         (CLD_STOPPED): Likewise.
19034         (CLD_CONTINUED): Likewise.
19035         (POLL_IN): Likewise.
19036         (POLL_OUT): Likewise.
19037         (POLL_MSG): Likewise.
19038         (POLL_ERR): Likewise.
19039         (POLL_PRI): Likewise.
19040         (POLL_HUP): Likewise.
19041         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19042         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19044         [BZ #16670]
19045         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19046         before #include of <time.h>.
19047         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19048         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19049         (test-xfail-UNIX98/sched.h/conform): Likewise.
19051 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19053         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19054         error absence of trapping exception support.
19055         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19057 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19059         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19060         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19061         * timezone/Makefile (testdata): Move definition above include of
19062         Rules.
19063         (test-zones): New variable.
19064         (tests-special): Add zone files.
19065         (build-testdata): Use $(evaluate-test).
19067         * elf/Makefile (tests-special): Rename tests to end with .out.
19068         ($(objpfx)noload-mem): Likewise.
19069         ($(objpfx)tst-leaks1-mem): Likewise.
19070         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19071         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19072         $(objpfx)test-iconvconfig.out.
19073         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19074         set -e inside subshell and redirect output to file.
19075         * iconvdata/Makefile (generated): Rename tests to end with .out.
19076         Correct type.
19077         (tests-special): Rename tests to end with .out.
19078         ($(objpfx)mtrace-tst-loading): Likewise.
19079         * intl/Makefile (generated): Likewise.
19080         (tests-special): Likewise.
19081         ($(objpfx)mtrace-tst-gettext): Likewise.
19082         * misc/Makefile (generated): Likewise.
19083         (tests-special): Likewise.
19084         ($(objpfx)tst-error1-mem): Likewise.
19085         * nptl/Makefile (tests-special): Likewise.
19086         ($(objpfx)tst-stack3-mem): Likewise.
19087         (generated): Likewise.
19088         * posix/Makefile (generated): Likewise.
19089         (tests-special): Likewise.
19090         (xtests-special): Likewise.
19091         ($(objpfx)tst-fnmatch-mem): Likewise.
19092         ($(objpfx)bug-regex2-mem): Likewise.
19093         ($(objpfx)bug-regex14-mem): Likewise.
19094         ($(objpfx)bug-regex21-mem): Likewise.
19095         ($(objpfx)bug-regex31-mem): Likewise.
19096         ($(objpfx)tst-vfork3-mem): Likewise.
19097         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19098         ($(objpfx)tst-pcre-mem): Likewise.
19099         ($(objpfx)tst-boost-mem): Likewise.
19100         ($(objpfx)bug-ga2-mem): Likewise.
19101         ($(objpfx)bug-glob2-mem): Likewise.
19102         * resolv/Makefile (generate): Likewise.
19103         (tests-special): Likewise.
19104         (xtests-special): Likewise.
19105         (generated): Likewise.
19106         ($(objpfx)mtrace-tst-leaks): Likewise.
19107         ($(objpfx)mtrace-tst-leaks2): Likewise.
19109         * scripts/merge-test-results.sh: New file.
19110         * Makefile (tests-special-notdir): New variable.
19111         (tests): Run merge-test-results.sh.
19112         (xtests): Likewise.
19113         * Rules (tests-special-notdir): New variable.
19114         (xtests-special-notdir): Likewise.
19115         (tests): Run merge-test-results.sh
19116         (xtests): Likewise.
19118         * Makeconfig (test-xfail-name): New variable.
19119         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19120         compute variable name for expected failures.
19121         * conform/Makefile (conformtest-headers-data): New variable.
19122         (conformtest-standards): Likewise.
19123         (conformtest-headers-ISO): Likewise.
19124         (conformtest-headers-ISO99): Likewise.
19125         (conformtest-headers-ISO11): Likewise.
19126         (conformtest-headers-POSIX): Likewise.
19127         (conformtest-headers-XPG3): Likewise.
19128         (conformtest-headers-XPG4): Likewise.
19129         (conformtest-headers-UNIX98): Likewise.
19130         (conformtest-headers-XOPEN2K): Likewise.
19131         (conformtest-headers-POSIX2008): Likewise.
19132         (conformtest-headers-XOPEN2K8): Likewise.
19133         (conformtest-header-list-base): Likewise.
19134         (conformtest-header-list-tests): Likewise.
19135         (conformtest-header-base): Likewise.
19136         (conformtest-header-tests): Likewise.
19137         (tests-special): Add $(conformtest-header-list-tests).  If
19138         [$(fast-check) && !$(cross-compiling)], add
19139         $(conformtest-header-tests) instead of
19140         $(objpfx)run-conformtest.out.
19141         (generated): Add $(conformtest-header-list-base).  If
19142         [$(fast-check) && !$(cross-compiling)], add
19143         $(conformtest-header-base).  Remove previous setting.
19144         ($(conformtest-header-list-tests)): New target.
19145         (test-xfail-run-conformtest): Remove variable.
19146         ($(objpfx)run-conformtest.out): Remove target.
19147         (test-xfail-ISO11/complex.h/conform): New variable.
19148         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19149         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19150         (test-xfail-XPG3/varargs.h/conform): Likewise.
19151         (test-xfail-XPG4/varargs.h/conform): Likewise.
19152         (test-xfail-UNIX98/varargs.h/conform): Likewise.
19153         (test-xfail-XPG4/ndbm.h/conform): Likewise.
19154         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19155         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19156         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19157         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19158         (test-xfail-XPG3/ftw.h/conform): Likewise.
19159         (test-xfail-XPG3/grp.h/conform): Likewise.
19160         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19161         (test-xfail-XPG3/limits.h/conform): Likewise.
19162         (test-xfail-XPG3/pwd.h/conform): Likewise.
19163         (test-xfail-XPG3/search.h/conform): Likewise.
19164         (test-xfail-XPG3/signal.h/conform): Likewise.
19165         (test-xfail-XPG3/stdio.h/conform): Likewise.
19166         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19167         (test-xfail-XPG3/string.h/conform): Likewise.
19168         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19169         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19170         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19171         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19172         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19173         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19174         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19175         (test-xfail-XPG3/termios.h/conform): Likewise.
19176         (test-xfail-XPG3/time.h/conform): Likewise.
19177         (test-xfail-XPG3/unistd.h/conform): Likewise.
19178         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19179         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19180         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19181         (test-xfail-XPG4/netdb.h/conform): Likewise.
19182         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19183         (test-xfail-XPG4/signal.h/conform): Likewise.
19184         (test-xfail-XPG4/stdio.h/conform): Likewise.
19185         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19186         (test-xfail-XPG4/stropts.h/conform): Likewise.
19187         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19188         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19189         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19190         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19191         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19192         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19193         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19194         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19195         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19196         (test-xfail-XPG4/termios.h/conform): Likewise.
19197         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19198         (test-xfail-XPG4/unistd.h/conform): Likewise.
19199         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19200         (test-xfail-POSIX/sched.h/conform): Likewise.
19201         (test-xfail-POSIX/signal.h/conform): Likewise.
19202         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19203         (test-xfail-POSIX/tar.h/conform): Likewise.
19204         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19205         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19206         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19207         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19208         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19209         (test-xfail-UNIX98/sched.h/conform): Likewise.
19210         (test-xfail-UNIX98/signal.h/conform): Likewise.
19211         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19212         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19213         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19214         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19215         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19216         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19217         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19218         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19219         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19220         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19221         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19222         (test-xfail-UNIX98/unistd.h/conform): Likewise.
19223         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19224         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19225         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19226         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19227         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19228         (test-xfail-XOPEN2K/math.h/conform): Likewise.
19229         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19230         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19231         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19232         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19233         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19234         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19235         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19236         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19237         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19238         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19239         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19240         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19241         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19242         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19243         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19244         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19245         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19246         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19247         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19248         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19249         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19250         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19251         (test-xfail-POSIX2008/signal.h/conform): Likewise.
19252         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19253         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19254         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19255         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19256         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19257         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19258         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19259         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19260         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19261         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19262         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19263         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19264         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19265         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19266         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19267         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19268         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19269         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19270         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19271         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19272         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19273         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19274         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19275         (conformtest-cc-flags): Likewise.
19276         ($(conformtest-header-tests): New target.
19277         * conform/check-header-lists.sh: New file.
19278         * conform/run-conformtest.sh: Remove.
19280         * conform/conformtest.pl: Allow ' and \ in values given for
19281         constants.
19282         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19283         inclusion.
19284         [POSIX] (sys/types.h): Likewise.
19285         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19286         inclusion.
19287         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19288         inclusion.
19289         * conform/data/signal.h-data (SIGIO): Remove expectation.
19290         [XPG3] (SIGBUS): Do not expect.
19291         [POSIX || XPG3] (SIGPOLL): Likewise.
19292         [POSIX || XPG3] (SIGPROF): Likewise.
19293         [POSIX || XPG3] (SIGSYS): Likewise.
19294         [XPG3] (SIGTRAP): Likewise.
19295         [POSIX || XPG3] (SIGURG): Likewise.
19296         [POSIX || XPG3] (SIGVTALRM): Likewise.
19297         [POSIX || XPG3] (SIGXCPU): Likewise.
19298         [POSIX || XPG3] (SIGXFSZ): Likewise.
19299         [POSIX] (SA_SIGINFO): Expect.
19300         [XPG3] (siginfo_t): Do not expect type or contents.
19301         [POSIX] (si_pid): Do not expect element.
19302         [POSIX] (si_uid): Likewise.
19303         [POSIX] (si_addr): Likewise.
19304         [POSIX] (si_status): Likewise.
19305         [POSIX] (si_band): Likewise.
19306         [XPG4] (si_value): Likewise.
19307         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19308         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19309         [POSIX || XPG3] (ILL_ILLADR): Likewise.
19310         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19311         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19312         [POSIX || XPG3] (ILL_PRVREG): Likewise.
19313         [POSIX || XPG3] (ILL_COPROC): Likewise.
19314         [POSIX || XPG3] (ILL_BADSTK): Likewise.
19315         [POSIX || XPG3] (FPE_INTDIV): Likewise.
19316         [POSIX || XPG3] (FPE_INTOVF): Likewise.
19317         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19318         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19319         [POSIX || XPG3] (FPE_FLTUND): Likewise.
19320         [POSIX || XPG3] (FPE_FLTRES): Likewise.
19321         [POSIX || XPG3] (FPE_FLTINV): Likewise.
19322         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19323         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19324         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19325         [POSIX || XPG3] (BUS_ADRALN): Likewise.
19326         [POSIX || XPG3] (BUS_ADRERR): Likewise.
19327         [POSIX || XPG3] (BUS_OBJERR): Likewise.
19328         [POSIX || XPG3] (CLD_EXITED): Likewise.
19329         [POSIX || XPG3] (CLD_KILLED): Likewise.
19330         [POSIX || XPG3] (CLD_DUMPED): Likewise.
19331         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19332         [POSIX || XPG3] (CLD_STOPPED): Likewise.
19333         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19334         [POSIX || XPG3] (POLL_IN): Likewise.
19335         [POSIX || XPG3] (POLL_OUT): Likewise.
19336         [POSIX || XPG3] (POLL_MSG): Likewise.
19337         [POSIX || XPG3] (POLL_ERR): Likewise.
19338         [POSIX || XPG3] (POLL_PRI): Likewise.
19339         [POSIX || XPG3] (POLL_HUP): Likewise.
19340         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19341         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19342         (SIG*): Do not allow.
19343         [XPG3] (si_*): Likewise.
19344         [XPG3] (SI_*): Likewise.
19345         [XPG3 || XPG4] (sigev_*): Likewise.
19346         [XPG3 || XPG4] (SIGEV_*): Likewise.
19347         [XPG3 || XPG4] (sival_*): Likewise.
19348         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19349         [POSIX || XPG3] (BUS_*): Likewise.
19350         [POSIX || XPG3] (CLD_*): Likewise.
19351         [POSIX || XPG3] (FPE_*): Likewise.
19352         [POSIX || XPG3] (ILL_*): Likewise.
19353         [POSIX || XPG3] (POLL_*): Likewise.
19354         [POSIX || XPG3] (SEGV_*): Likewise.
19355         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19356         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19357         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19358         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19359         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19360         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19361         Specify type and value.
19362         (TVERSLEN): Likewise.
19363         (REGTYPE): Likewise.
19364         (AREGTYPE): Likewise.
19365         (LNKTYPE): Likewise.
19366         (SYMTYPE): Likewise.
19367         (CHRTYPE): Likewise.
19368         (BLKTYPE): Likewise.
19369         (DIRTYPE): Likewise.
19370         (FIFOTYPE): Likewise.
19371         (CONTTYPE): Likewise.
19372         (TSUID): Likewise.
19373         (TSGID): Likewise.
19374         (TSVTX): Likewise.
19375         (TUREAD): Likewise.
19376         (TUWRITE): Likewise.
19377         (TUEXEC): Likewise.
19378         (TGREAD): Likewise.
19379         (TGWRITE): Likewise.
19380         (TGEXEC): Likewise.
19381         (TOREAD): Likewise.
19382         (TOWRITE): Likewise.
19383         (TOEXEC): Likewise.
19384         [POSIX] (TSVTX): Expect constant.
19386 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
19388         * Makefile (tests): Change dependencies to ....
19389         (tests-special): ... additions to this variable.
19390         (tests): Depend on $(tests-special).
19391         * Makerules (check-abi-list): New variable.
19392         (check-abi): Depend on $(check-abi-list).
19393         [$(subdir) = elf] (tests-special): Add
19394         $(objpfx)check-abi-libc.out.
19395         [$(build-shared) = yes && subdir] (tests-special): Add
19396         $(check-abi-list).
19397         [$(build-shared) = yes && subdir] (tests): Do not depend on
19398         check-abi.
19399         * Rules (tests): Depend on $(tests-special).
19400         (xtests): Depend on $(xtests-special).
19401         * catgets/Makefile (tests): Change dependencies to ....
19402         (tests-special): ... additions to this variable.
19403         * conform/Makefile (tests): Change dependencies to ....
19404         (tests-special): ... additions to this variable.
19405         * elf/Makefile (tests): Change dependencies to ....
19406         (tests-special): ... additions to this variable.
19407         * grp/Makefile (tests): Change dependencies to ....
19408         (tests-special): ... additions to this variable.
19409         * iconv/Makefile (xtests): Change dependencies to ....
19410         (xtests-special): ... additions to this variable.
19411         * iconvdata/Makefile (tests): Change dependencies to ....
19412         (tests-special): ... additions to this variable.
19413         * intl/Makefile (tests): Change dependencies to ....
19414         (tests-special): ... additions to this variable.  Also add
19415         $(objpfx)tst-gettext.out.
19416         * io/Makefile (tests): Change dependencies to ....
19417         (tests-special): ... additions to this variable.
19418         * libio/Makefile (tests): Change dependencies to ....
19419         (tests-special): ... additions to this variable.
19420         * malloc/Makefile (tests): Change dependencies to ....
19421         (tests-special): ... additions to this variable.
19422         * misc/Makefile (tests): Change dependencies to ....
19423         (tests-special): ... additions to this variable.
19424         * nptl/Makefile (tests): Change dependencies to ....
19425         (tests-special): ... additions to this variable.
19426         * nptl_db/Makefile (tests): Change dependencies to ....
19427         (tests-special): ... additions to this variable.
19428         * posix/Makefile (tests): Change dependencies to ....
19429         (tests-special): ... additions to this variable.
19430         (xtests): Change dependencies to ....
19431         (xtests-special): ... additions to this variable.
19432         * resolv/Makefile (tests): Change dependencies to ....
19433         (tests-special): ... additions to this variable.
19434         (xtests): Change dependencies to ....
19435         (xtests-special): ... additions to this variable.
19436         * stdio-common/Makefile (tests): Change dependencies to ....
19437         (tests-special): ... additions to this variable.
19438         (do-tst-unbputc): Remove target.
19439         (do-tst-printf): Likewise.
19440         * stdlib/Makefile (tests): Change dependencies to ....
19441         (tests-special): ... additions to this variable.
19442         * string/Makefile (tests): Change dependencies to ....
19443         (tests-special): ... additions to this variable.
19444         * sysdeps/x86/Makefile (tests): Change dependencies to ....
19445         (tests-special): ... additions to this variable.
19447         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19448         whole file.
19449         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19450         whole file.
19451         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19452         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19454         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19455         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19456         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19457         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19458         * conform/data/libgen.h-data [XPG3]: Likewise.
19459         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19460         * conform/data/ndbm.h-data [XPG3]: Likewise.
19461         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19462         * conform/data/netdb.h-data [XPG3]: Likewise.
19463         * conform/data/netinet/in.h-data [XPG3]: Likewise.
19464         * conform/data/poll.h-data [XPG3]: Likewise.
19465         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19466         * conform/data/strings.h-data [XPG3]: Likewise.
19467         * conform/data/stropts.h-data [XPG3]: Likewise.
19468         * conform/data/sys/mman.h-data [XPG3]: Likewise.
19469         * conform/data/sys/resource.h-data [XPG3]: Likewise.
19470         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19471         Likewise.
19472         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19473         * conform/data/sys/time.h-data [XPG3]: Likewise.
19474         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19475         * conform/data/sys/uio.h-data [XPG3]: Likewise.
19476         * conform/data/sys/un.h-data [XPG3]: Likewise.
19477         * conform/data/syslog.h-data [XPG3]: Likewise.
19478         * conform/data/ucontext.h-data [XPG3]: Likewise.
19479         * conform/data/utmpx.h-data [XPG3]: Likewise.
19480         * conform/data/varargs.h-data [UNIX98]: Enable file.
19482         * manual/Makefile (INSTALL_INFO): Remove variable setting.
19484         * math/libm-test.inc (struct test_f_f_data): Move expected results
19485         into structure for each rounding mode.
19486         (struct test_ff_f_data): Likewise.
19487         (struct test_ff_f_data_nexttoward): Likewise.
19488         (struct test_fi_f_data): Likewise.
19489         (struct test_fl_f_data): Likewise.
19490         (struct test_if_f_data): Likewise.
19491         (struct test_fff_f_data): Likewise.
19492         (struct test_c_f_data): Likewise.
19493         (struct test_f_f1_data): Likewise.
19494         (struct test_fF_f1_data): Likewise.
19495         (struct test_ffI_f1_data): Likewise.
19496         (struct test_c_c_data): Likewise.
19497         (struct test_cc_c_data): Likewise.
19498         (struct test_f_i_data): Likewise.
19499         (struct test_ff_i_data): Likewise.
19500         (struct test_f_l_data): Likewise.
19501         (struct test_f_L_data): Likewise.
19502         (struct test_fFF_11_data): Likewise.
19503         (RM_): New macro.
19504         (RM_FE_DOWNWARD): Likewise.
19505         (RM_FE_TONEAREST): Likewise.
19506         (RM_FE_TOWARDZERO): Likewise.
19507         (RM_FE_UPWARD): Likewise.
19508         (RUN_TEST_LOOP_f_f): Update references to expected results.
19509         (RUN_TEST_LOOP_2_f): Likewise.
19510         (RUN_TEST_LOOP_fff_f): Likewise.
19511         (RUN_TEST_LOOP_c_f): Likewise.
19512         (RUN_TEST_LOOP_f_f1): Likewise.
19513         (RUN_TEST_LOOP_fF_f1): Likewise.
19514         (RUN_TEST_LOOP_fI_f1): Likewise.
19515         (RUN_TEST_LOOP_ffI_f1): Likewise.
19516         (RUN_TEST_LOOP_c_c): Likewise.
19517         (RUN_TEST_LOOP_cc_c): Likewise.
19518         (RUN_TEST_LOOP_f_i): Likewise.
19519         (RUN_TEST_LOOP_f_i_tg): Likewise.
19520         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19521         (RUN_TEST_LOOP_f_b): Likewise.
19522         (RUN_TEST_LOOP_f_b_tg): Likewise.
19523         (RUN_TEST_LOOP_f_l): Likewise.
19524         (RUN_TEST_LOOP_f_L): Likewise.
19525         (RUN_TEST_LOOP_fFF_11): Likewise.
19526         * math/gen-libm-test.pl (parse_args): Output four copies of
19527         expected results for each test.
19529         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19530         (__ASSUME_UTIMES): Remove.
19531         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19532         (__ASSUME_UTIMES): Likewise.
19534         * math/gen-auto-libm-tests.c: Update comment on output format.
19535         (output_for_one_input_case): Generate before-rounding and
19536         after-rounding information as conditions on output flags not
19537         floating-point format.
19538         * math/auto-libm-test-out: Regenerated.
19539         * math/gen-libm-test.pl (cond_value): New function.
19540         (or_cond_value): Use cond_value.
19541         (generate_testfile): Handle conditional exceptions.
19543 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
19545         * math/libm-test.inc (max_valid_error): New variable.
19546         (init_max_error): Take new argument specifying whether function
19547         results are exactly determined.  Set max_valid_error and bound
19548         other variables for errors based on this argument.
19549         (set_max_error): Do not record results above max_valid_error.
19550         (check_float_internal): Only accept errors of up to 0.5ulps if
19551         also at most max_valid_error.
19552         (START): Take new argument EXACT and pass it to init_max_error.
19553         (acos_test): Update call to START.
19554         (acos_test_tonearest): Likewise.
19555         (acos_test_towardzero): Likewise.
19556         (acos_test_downward): Likewise.
19557         (acos_test_upward): Likewise.
19558         (acosh_test): Likewise.
19559         (asin_test): Likewise.
19560         (asin_test_tonearest): Likewise.
19561         (asin_test_towardzero): Likewise.
19562         (asin_test_downward): Likewise.
19563         (asin_test_upward): Likewise.
19564         (asinh_test): Likewise.
19565         (atan_test): Likewise.
19566         (atanh_test): Likewise.
19567         (atan2_test): Likewise.
19568         (cabs_test): Likewise.
19569         (cacos_test): Likewise.
19570         (cacosh_test): Likewise.
19571         (carg_test): Likewise.
19572         (casin_test): Likewise.
19573         (casinh_test): Likewise.
19574         (catan_test): Likewise.
19575         (catanh_test): Likewise.
19576         (cbrt_test): Likewise.
19577         (ccos_test): Likewise.
19578         (ccosh_test): Likewise.
19579         (ceil_test): Likewise.
19580         (cexp_test): Likewise.
19581         (cimag_test): Likewise.
19582         (clog_test): Likewise.
19583         (clog10_test): Likewise.
19584         (conj_test): Likewise.
19585         (copysign_test): Likewise.
19586         (cos_test): Likewise.
19587         (cos_test_tonearest): Likewise.
19588         (cos_test_towardzero): Likewise.
19589         (cos_test_downward): Likewise.
19590         (cos_test_upward): Likewise.
19591         (cosh_test): Likewise.
19592         (cosh_test_tonearest): Likewise.
19593         (cosh_test_towardzero): Likewise.
19594         (cosh_test_downward): Likewise.
19595         (cosh_test_upward): Likewise.
19596         (cpow_test): Likewise.
19597         (cproj_test): Likewise.
19598         (creal_test): Likewise.
19599         (csin_test): Likewise.
19600         (csinh_test): Likewise.
19601         (csqrt_test): Likewise.
19602         (ctan_test): Likewise.
19603         (ctan_test_tonearest): Likewise.
19604         (ctan_test_towardzero): Likewise.
19605         (ctan_test_downward): Likewise.
19606         (ctan_test_upward): Likewise.
19607         (ctanh_test): Likewise.
19608         (ctanh_test_tonearest): Likewise.
19609         (ctanh_test_towardzero): Likewise.
19610         (ctanh_test_downward): Likewise.
19611         (ctanh_test_upward): Likewise.
19612         (erf_test): Likewise.
19613         (erfc_test): Likewise.
19614         (exp_test): Likewise.
19615         (exp_test_tonearest): Likewise.
19616         (exp_test_towardzero): Likewise.
19617         (exp_test_downward): Likewise.
19618         (exp_test_upward): Likewise.
19619         (exp10_test): Likewise.
19620         (exp10_test_tonearest): Likewise.
19621         (exp10_test_towardzero): Likewise.
19622         (exp10_test_downward): Likewise.
19623         (exp10_test_upward): Likewise.
19624         (pow10_test): Likewise.
19625         (exp2_test): Likewise.
19626         (expm1_test): Likewise.
19627         (expm1_test_tonearest): Likewise.
19628         (expm1_test_towardzero): Likewise.
19629         (expm1_test_downward): Likewise.
19630         (expm1_test_upward): Likewise.
19631         (fabs_test): Likewise.
19632         (fdim_test): Likewise.
19633         (floor_test): Likewise.
19634         (fma_test): Likewise.
19635         (fma_test_towardzero): Likewise.
19636         (fma_test_downward): Likewise.
19637         (fma_test_upward): Likewise.
19638         (fmax_test): Likewise.
19639         (fmin_test): Likewise.
19640         (fmod_test): Likewise.
19641         (fpclassify_test): Likewise.
19642         (frexp_test): Likewise.
19643         (hypot_test): Likewise.
19644         (ilogb_test): Likewise.
19645         (isfinite_test): Likewise.
19646         (finite_test): Likewise.
19647         (isgreater_test): Likewise.
19648         (isgreaterequal_test): Likewise.
19649         (isinf_test): Likewise.
19650         (isless_test): Likewise.
19651         (islessequal_test): Likewise.
19652         (islessgreater_test): Likewise.
19653         (isnan_test): Likewise.
19654         (isnormal_test): Likewise.
19655         (issignaling_test): Likewise.
19656         (isunordered_test): Likewise.
19657         (j0_test): Likewise.
19658         (j1_test): Likewise.
19659         (jn_test): Likewise.
19660         (ldexp_test): Likewise.
19661         (lgamma_test): Likewise.
19662         (gamma_test): Likewise.
19663         (lrint_test): Likewise.
19664         (lrint_test_tonearest): Likewise.
19665         (lrint_test_towardzero): Likewise.
19666         (lrint_test_downward): Likewise.
19667         (lrint_test_upward): Likewise.
19668         (llrint_test): Likewise.
19669         (llrint_test_tonearest): Likewise.
19670         (llrint_test_towardzero): Likewise.
19671         (llrint_test_downward): Likewise.
19672         (llrint_test_upward): Likewise.
19673         (log_test): Likewise.
19674         (log10_test): Likewise.
19675         (log1p_test): Likewise.
19676         (log2_test): Likewise.
19677         (logb_test): Likewise.
19678         (logb_test_downward): Likewise.
19679         (lround_test): Likewise.
19680         (llround_test): Likewise.
19681         (modf_test): Likewise.
19682         (nearbyint_test): Likewise.
19683         (nextafter_test): Likewise.
19684         (nexttoward_test): Likewise.
19685         (pow_test): Likewise.
19686         (pow_test_tonearest): Likewise.
19687         (pow_test_towardzero): Likewise.
19688         (pow_test_downward): Likewise.
19689         (pow_test_upward): Likewise.
19690         (remainder_test): Likewise.
19691         (drem_test): Likewise.
19692         (remainder_test_tonearest): Likewise.
19693         (drem_test_tonearest): Likewise.
19694         (remainder_test_towardzero): Likewise.
19695         (drem_test_towardzero): Likewise.
19696         (remainder_test_downward): Likewise.
19697         (drem_test_downward): Likewise.
19698         (remainder_test_upward): Likewise.
19699         (drem_test_upward): Likewise.
19700         (remquo_test): Likewise.
19701         (rint_test): Likewise.
19702         (rint_test_tonearest): Likewise.
19703         (rint_test_towardzero): Likewise.
19704         (rint_test_downward): Likewise.
19705         (rint_test_upward): Likewise.
19706         (round_test): Likewise.
19707         (scalb_test): Likewise.
19708         (scalbn_test): Likewise.
19709         (scalbln_test): Likewise.
19710         (signbit_test): Likewise.
19711         (sin_test): Likewise.
19712         (sin_test_tonearest): Likewise.
19713         (sin_test_towardzero): Likewise.
19714         (sin_test_downward): Likewise.
19715         (sin_test_upward): Likewise.
19716         (sincos_test): Likewise.
19717         (sinh_test): Likewise.
19718         (sinh_test_tonearest): Likewise.
19719         (sinh_test_towardzero): Likewise.
19720         (sinh_test_downward): Likewise.
19721         (sinh_test_upward): Likewise.
19722         (sqrt_test): Likewise.
19723         (sqrt_test_tonearest): Likewise.
19724         (sqrt_test_towardzero): Likewise.
19725         (sqrt_test_downward): Likewise.
19726         (sqrt_test_upward): Likewise.
19727         (tan_test): Likewise.
19728         (tan_test_tonearest): Likewise.
19729         (tan_test_towardzero): Likewise.
19730         (tan_test_downward): Likewise.
19731         (tan_test_upward): Likewise.
19732         (tanh_test): Likewise.
19733         (tgamma_test): Likewise.
19734         (trunc_test): Likewise.
19735         (y0_test): Likewise.
19736         (y1_test): Likewise.
19737         (yn_test): Likewise.
19738         (significand_test): Likewise.
19740         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19741         individual tests in comment.
19742         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19743         (prev_max_error): New variable.
19744         (prev_real_max_error): Likewise.
19745         (prev_imag_max_error): Likewise.
19746         (compare_ulp_data): Don't refer to test names in comment.
19747         (find_test_ulps): Remove function.
19748         (find_function_ulps): Likewise.
19749         (find_complex_function_ulps): Likewise.
19750         (init_max_error): Take function name as argument.  Look up ulps
19751         for that function.
19752         (print_ulps): Remove function.
19753         (print_max_error): Use prev_max_error instead of calling
19754         find_function_ulps.
19755         (print_complex_max_error): Use prev_real_max_error and
19756         prev_imag_max_error instead of calling find_complex_function_ulps.
19757         (check_float_internal): Take max_ulp parameter instead of calling
19758         find_test_ulps.  Don't call print_ulps.
19759         (check_float): Update call to check_float_internal.
19760         (check_complex): Update calls to check_float_internal.
19761         (START): Pass argument to init_max_error.
19762         * math/gen-libm-test.pl (%results): Don't include "kind"
19763         information.
19764         (parse_ulps): Don't handle ulps of individual tests.
19765         (print_ulps_file): Likewise.
19766         (output_ulps): Likewise.
19767         * math/README.libm-test: Update.
19768         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19769         individual tests.
19770         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19771         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19772         * sysdeps/arm/libm-test-ulps: Likewise.
19773         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19774         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19775         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19776         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19777         * sysdeps/microblaze/libm-test-ulps: Likewise.
19778         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19779         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19780         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19781         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19782         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19783         * sysdeps/sh/libm-test-ulps: Likewise.
19784         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19785         * sysdeps/tile/libm-test-ulps: Likewise.
19786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19788 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
19790         * math/libm-test.inc (print_complex_max_error): Check separately
19791         whether real and imaginary errors are within allowed range and
19792         pass 0 to print_complex_function_ulps instead of value within
19793         allowed range.
19795 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19797         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19798         formatting.
19799         (get_handles_fopen): Likewise.
19800         (do_write_test): Likewise.
19802         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19804         * libio/fileops.c (do_ftell): Use cached offset when
19805         available.
19806         * libio/iofwide.c (do_ftell_wide): Likewise.
19807         * libio/iofdopen.c (_IO_new_fdopen): Don't use
19808         _IO_file_attach.
19809         * libio/wfileops.c (_IO_fwide): Don't cache offset.
19811         [BZ #16532]
19812         * libio/libioP.h (get_file_offset): New function.
19813         * libio/fileops.c (get_file_offset): Likewise.
19814         (do_ftell): Likewise.
19815         (_IO_new_file_seekoff): Split out ftell logic.
19816         * libio/wfileops.c (do_ftell_wide): Likewise.
19817         (_IO_wfile_seekoff): Split out ftell logic.
19818         * libio/tst-ftell-active-handler.c: New test case.
19819         * libio/Makefile (tests): Add it.
19821 2014-03-03  Roland McGrath  <roland@hack.frob.com>
19823         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19824         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19826 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19828         [BZ #16639]
19829         * nscd/connections.c (nscd_init): Call do_exit.
19830         (start_threads): Call do_exit and notify_parent.
19831         (begin_drop_privileges): Call do_exit.
19832         (finish_drop_privileges): Likewise.
19833         * nscd/selinux.c (preserve_capabilities): Likewise.
19834         (install_real_capabilities): Likewise.
19835         (nscd_selinux_enabled): Likewise.
19836         (avc_create_thread): Likewise.
19837         (avc_alloc_lock): Likewise.
19838         (nscd_avc_init): Likewise.
19839         * nscd/nscd.c (parent_fd): New static variable.
19840         (main): Create a pipe between parent and child processes.
19841         Skip closing parent_fd.
19842         (monitor_child): New function.
19843         (do_exit): Likewise.
19844         (notify_parent): Likewise.
19845         * nscd/nscd.h (notify_parent): Likewise.
19846         (do_exit): Likewise.
19848 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
19850         * malloc/malloc.c (__libc_calloc): Revert last change.
19852 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19856 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19858         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19860         implementation.
19861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19862         (__libc_ifunc_impl_list): Likewise.
19863         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19864         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19865         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19866         * string/strrchr.c: Define STRRCHR.
19868 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
19870         * benchtest/bench-strtok.c (simple_strtok): Delete.
19871         (strtok_string): Use as benchmark.
19872         * string/strtok (STRTOK): New macro.
19874 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
19876         * manual/threads.texi: Add header and standard comments to all
19877         functions.
19879         * elf/dl-lookup.c (check_match): New function.
19880         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19881         (do_lookup_x): Remove nested function check_match. Use non-nested
19882         function check_match.
19884 2014-02-28  Roland McGrath  <roland@hack.frob.com>
19886         * csu/Makefile (generated, before-compile): Use += rather than =.
19887         * catgets/Makefile (generated, generated-dirs): Likewise.
19888         * debug/Makefile (generated): Likewise.
19889         * dlfcn/Makefile (generated): Likewise.
19890         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19891         * iconvdata/Makefile (before-compile, generated): Likewise.
19892         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19893         * libio/Makefile (generated): Likewise.
19894         * malloc/Makefile (generated): Likewise.
19895         * manual/Makefile (generated, generated-dirs): Likewise.
19896         * misc/Makefile (generated): Likewise.
19897         * posix/Makefile (generated): Likewise.
19898         * resolv/Makefile (generated): Likewise.
19899         * sunrpc/Makefile (generated, generated-dirs): Likewise.
19900         * timezone/Makefile (generated, generated-dirs): Likewise.
19902         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19904 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19907         power8 implementation.
19908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19909         file: POWER8 llround ifunc implementation.
19910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19911         (__lllround): Add POWER8 implementation.
19912         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19913         POWER8 llround implementation.
19915         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19916         power8 implementation.
19917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19918         file: POWER8 llrint ifunc implementation.
19919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19920         Add POWER8 implementation.
19921         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19922         POWER8 llrint implementation.
19924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19925         power8 implementation.
19926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19927         file: POWER8 finite ifunc implementation.
19928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19929         Add POWER8 implementation.
19930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19931         Likewise.
19932         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19933         POWER8 finite implementation.
19934         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19937         power8 implementation.
19938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19939         file: POWER8 isinf ifunc implementation.
19940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19941         POWER8 implementation.
19942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19943         Likewise.
19944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19945         isinf implementation.
19946         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19948         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19949         (INIT_ARCH): Add hwcap2 initialization.
19950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19951         power8 implementation.
19952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19953         file: POWER8 isnan ifunc implementation.
19954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19955         POWER8 implementation.
19956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19957         Likewise.
19958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19959         isnan implementation.
19960         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19962 2014-02-27  Joey Ye  <joey.ye@arm.com>
19964         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19965         (_FP_NANFRAC_Q): Set to zero.
19967 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19969         [BZ #16623]
19970         * math/auto-libm-test-in: New test inputs.
19971         * math/auto-libm-test-out: Regenerate.
19972         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19973         and DA.
19974         (__cos): Likewise.
19975         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19977 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
19979         * scripts/evaluate-test.sh: Take new argument indicating whether
19980         failure is expected.
19981         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19982         indicating whether failure is expected.
19983         * conform/Makefile (test-xfail-run-conformtest): New variable.
19984         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19985         level.
19986         * posix/Makefile (test-xfail-annexc): New variable.
19987         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19989 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
19991         * argp/Makefile: Include Makeconfig immediately after defining
19992         subdir.
19993         * assert/Makefile: Likewise.
19994         * benchtests/Makefile: Likewise.
19995         * catgets/Makefile: Likewise.
19996         * conform/Makefile: Likewise.
19997         * crypt/Makefile: Likewise.
19998         * csu/Makefile: Likewise.
19999         (all): Remove target.
20000         * ctype/Makefile: Include Makeconfig immediately after defining
20001         subdir.
20002         * debug/Makefile: Likewise.
20003         * dirent/Makefile: Likewise.
20004         * dlfcn/Makefile: Likewise.
20005         * gmon/Makefile: Likewise.
20006         * gnulib/Makefile: Likewise.
20007         * grp/Makefile: Likewise.
20008         * gshadow/Makefile: Likewise.
20009         * hesiod/Makefile: Likewise.
20010         * hurd/Makefile: Likewise.
20011         (all): Remove target.
20012         * iconvdata/Makefile: Include Makeconfig immediately after
20013         defining subdir.
20014         * inet/Makefile: Likewise.
20015         * intl/Makefile: Likewise.
20016         * io/Makefile: Likewise.
20017         * libio/Makefile: Likewise.
20018         (all): Remove target.
20019         * locale/Makefile: Include Makeconfig immediately after defining
20020         subdir.
20021         * login/Makefile: Likewise.
20022         * mach/Makefile: Likewise.
20023         (all): Remove target.
20024         * malloc/Makefile: Include Makeconfig immediately after defining
20025         subdir.
20026         (all): Remove target.
20027         * manual/Makefile: Include Makeconfig immediately after defining
20028         subdir.
20029         * math/Makefile: Likewise.
20030         * misc/Makefile: Likewise.
20031         * nis/Makefile: Likewise.
20032         * nss/Makefile: Likewise.
20033         * po/Makefile: Likewise.
20034         (all): Remove target.
20035         * posix/Makefile: Include Makeconfig immediately after defining
20036         subdir.
20037         * pwd/Makefile: Likewise.
20038         * resolv/Makefile: Likewise.
20039         * resource/Makefile: Likewise.
20040         * rt/Makefile: Likewise.
20041         * setjmp/Makefile: Likewise.
20042         * shadow/Makefile: Likewise.
20043         * signal/Makefile: Likewise.
20044         * socket/Makefile: Likewise.
20045         * soft-fp/Makefile: Likewise.
20046         * stdio-common/Makefile: Likewise.
20047         * stdlib/Makefile: Likewise.
20048         * streams/Makefile: Likewise.
20049         * string/Makefile: Likewise.
20050         * sunrpc/Makefile: Likewise.
20051         (all): Remove target.
20052         * sysvipc/Makefile: Include Makeconfig immediately after defining
20053         subdir.
20054         * termios/Makefile: Likewise.
20055         * time/Makefile: Likewise.
20056         * timezone/Makefile: Likewise.
20057         (all): Remove target.
20058         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20059         subdir.
20060         * wctype/Makefile: Likewise.
20062 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20064         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20065         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20066         (libc_feholdexcept_setround_mips): Ditto.
20067         (libc_feholdsetround): New.
20068         (libc_feholdsetroundf): New.
20069         (libc_feholdsetroundl): New.
20070         (libc_feupdateenv_test_mips): New.
20071         (libc_feupdateenv_test): New.
20072         (libc_feupdateenv_testf): New.
20073         (libc_feupdateenv_testl): New.
20074         (libc_feresetround): New.
20075         (libc_feresetroundf): New.
20076         (libc_feresetroundl): New.
20077         (libc_fetestexcept_mips): New.
20078         (libc_fetestexcept): New.
20079         (libc_fetestexceptf): New.
20080         (libc_fetestexceptl): New.
20081         (HAVE_RM_CTX): New.
20082         (libc_feholdexcept_setround_mips_ctx): New.
20083         (libc_feholdexcept_setround_ctx): New.
20084         (libc_feholdexcept_setroundf_ctx): New.
20085         (libc_feholdexcept_setroundl_ctx): New.
20086         (libc_fesetenv_mips_ctx): New.
20087         (libc_fesetenv_ctx): New.
20088         (libc_fesetenv_ctxf): New.
20089         (libc_fesetenv_ctxl): New.
20090         (libc_feupdateenv_mips_ctx): New.
20091         (libc_feupdateenv_ctx): New.
20092         (libc_feupdateenvf_ctx): New.
20093         (libc_feupdateenvl_ctx): New.
20094         (libc_feholdsetround_mips_ctx): New.
20095         (libc_feholdsetround_ctx): New.
20096         (libc_feholdsetroundf_ctx): New.
20097         (libc_feholdsetroundl_ctx): New.
20098         (libc_feresetround_mips_ctx): New.
20099         (libc_feresetround_ctx): New.
20100         (libc_feresetroundf_ctx): New.
20101         (libc_feresetroundl_ctx): New.
20103 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20105         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20107         * manual/ipc.texi: New file.
20108         * manual/Makefile (chapters): Add ipc.
20109         * manual/job.texi: Add "Inter-Process Communication" to next.
20110         * manual/process.texi: Add "Inter-Process Communication" to prev.
20112 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20116 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
20118         * malloc/malloc.c (__libc_calloc): Simplify implementation.
20120         * manual/arith.texi: Fix spaces after sentences.
20121         * manual/charset.texi: Likewise.
20122         * manual/errno.texi: Likewise.
20123         * manual/install.texi: Likewise.
20124         * manual/llio.texi: Likewise.
20125         * manual/locale.texi: Likewise.
20126         * manual/maint.texi: Likewise.
20127         * manual/math.texi: Likewise.
20128         * manual/memory.texi: Likewise.
20129         * manual/message.texi: Likewise.
20130         * manual/probes.texi: Likewise.
20131         * manual/resource.texi: Likewise.
20132         * manual/signal.texi: Likewise.
20133         * manual/socket.texi: Likewise.
20134         * manual/stdio.texi: Likewise.
20135         * manual/string.texi: Likewise.
20136         * manual/time.texi: Likewise.
20137         * manual/users.texi: Likewise.
20139 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
20141         [BZ #16632]
20142         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20143         _DEFAULT_SOURCE is defined.
20145 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
20146             Carlos O'Donell  <carlos@redhat.com>
20148         [BZ #16613]
20149         * elf/dl-tls.c (_dl_count_modids): New function.
20150         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20151         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20152         audit library and increment generation counter.
20153         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20154         * elf/tst-audit9.c: New file.
20155         * elf/tst-auditmod9a.c: New file.
20156         * elf/tst-auditmod9b.c: New file.
20157         * elf/Makefile: Add rules to build and run tst-audit9.
20159 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20161         [BZ #15347]
20162         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20164 2014-02-25  Will Newton  <will.newton@linaro.org>
20166         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20167         (__longjmp): Restore sp and lr before restoring callee
20168         saved registers.  Add longjmp and longjmp_target
20169         SystemTap probe point.
20170         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20171         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20172         Define to zero to match jmpbuf layout.
20173         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20174         (__sigsetjmp): Save sp and lr before saving callee
20175         saved registers.  Add setjmp SystemTap probe point.
20177 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20179         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20181 2014-02-24  Andreas Schwab  <schwab@suse.de>
20183         [BZ #15804]
20184         * elf/pldd.c (wait_for_ptrace_stop): New function.
20185         (main): Call it after attaching.
20187 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20189         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20190         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20191         Versions files is now verboten.
20192         * hurd/Versions (libc: GLIBC_2.0):
20193         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20194         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20195         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20196         * mach/Versions: Likewise.
20198         * csu/Versions: Remove unused %include.
20199         * resolv/Versions: Likewise.
20201 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20203         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20204         ($(objpfx)check-local-headers.out): Likewise.
20205         ($(objpfx)begin-end-check.out): Likewise.
20206         * Makerules (check-abi-%.out): Likewise.
20207         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20208         ($(objpfx)test2.cat): Likewise.
20209         ($(objpfx)de/libc.cat): Likewise.
20210         ($(objpfx)test-gencat.out): Likewise.
20211         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20212         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20213         ($(objpfx)noload-mem): Likewise.
20214         ($(objpfx)tst-pathopt.out): Likewise.
20215         ($(objpfx)tst-rtld-load-self.out): Likewise.
20216         ($(objpfx)tst-array1-cmp.out): Likewise.
20217         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20218         ($(objpfx)tst-array2-cmp.out): Likewise.
20219         ($(objpfx)tst-array3-cmp.out): Likewise.
20220         ($(objpfx)tst-array4-cmp.out): Likewise.
20221         ($(objpfx)tst-array5-cmp.out): Likewise.
20222         ($(objpfx)tst-array5-static-cmp.out): Likewise.
20223         ($(objpfx)check-textrel.out): Likewise.
20224         ($(objpfx)check-execstack.out): Likewise.
20225         ($(objpfx)check-localplt.out): Likewise.
20226         ($(objpfx)order2-cmp.out): Likewise.
20227         ($(objpfx)tst-leaks1-mem): Likewise.
20228         ($(objpfx)tst-leaks1-static-mem): Likewise.
20229         ($(objpfx)tst-initorder-cmp.out): Likewise.
20230         ($(objpfx)tst-initorder2-cmp.out): Likewise.
20231         ($(objpfx)tst-unused-dep.out): Likewise.
20232         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20233         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20234         * iconv/Makefile (test-iconvconfig): Likewise.
20235         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20236         ($(objpfx)iconv-test.out): Likewise.
20237         ($(objpfx)tst-tables.out): Likewise.
20238         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20239         ($(objpfx)tst-gettext.out): Likewise.
20240         ($(objpfx)tst-translit.out): Likewise.
20241         ($(objpfx)tst-gettext2.out): Likewise.
20242         ($(objpfx)tst-gettext4.out): Likewise.
20243         ($(objpfx)tst-gettext6.out): Likewise.
20244         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20245         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20246         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20247         ($(objpfx)tst-fopenloc-mem.out): Likewise.
20248         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20249         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20250         * posix/Makefile ($(objpfx)globtest.out): Likewise.
20251         ($(objpfx)wordexp-tst.out): Likewise.
20252         ($(objpfx)annexc.out): Likewise.
20253         ($(objpfx)tst-fnmatch-mem): Likewise.
20254         ($(objpfx)bug-regex2-mem): Likewise.
20255         ($(objpfx)bug-regex14-mem): Likewise.
20256         ($(objpfx)bug-regex21-mem): Likewise.
20257         ($(objpfx)bug-regex31-mem): Likewise.
20258         ($(objpfx)tst-vfork3-mem): Likewise.
20259         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20260         ($(objpfx)tst-pcre-mem): Likewise.
20261         ($(objpfx)tst-boost-mem): Likewise.
20262         ($(objpfx)tst-getconf.out): Likewise.
20263         ($(objpfx)bug-ga2-mem): Likewise.
20264         ($(objpfx)bug-glob2-mem): Likewise.
20265         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20266         ($(objpfx)mtrace-tst-leaks2): Likewise.
20267         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20268         ($(objpfx)tst-printf.out): Likewise.
20269         ($(objpfx)tst-setvbuf1.out): Likewise.
20270         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20271         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20272         ($(objpfx)tst-fmtmsg.out): Likewise.
20273         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20274         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20276         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20277         * bits/sigaction.h [__USE_MISC]: Likewise.
20278         * bits/waitstatus.h: Update #endif comments.
20279         * ctype/ctype.h: Likewise.
20280         * dirent/dirent.h: Likewise.
20281         [__USE_MISC]: Remove redundant conditionals.
20282         * grp/grp.h: Update #endif comments.
20283         [__USE_GNU]: Remove redundant conditionals.
20284         [__USE_MISC]: Likewise.
20285         * inet/netinet/in.h [__USE_GNU]: Likewise.
20286         * io/sys/stat.h [__USE_MISC]: Likewise.
20287         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20288         * libio/bits/stdio.h: Update #endif comments.
20289         [__USE_MISC]: Remove redundant conditionals.
20290         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20291         * libio/stdio.h: Update #endif comments.
20292         [__USE_MISC]: Remove redundant conditionals.
20293         * math/bits/math-finite.h [__USE_MISC]: Likewise.
20294         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20295         * math/math.h: Update #else and #endif comments.
20296         [__USE_MISC]: Remove redundant conditionals.
20297         * misc/sys/uio.h: Update #endif comments.
20298         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20299         * posix/glob.h [__USE_MISC]: Likewise.
20300         * posix/sys/types.h: Update #endif comments.
20301         [__USE_MISC]: Remove redundant conditionals.
20302         * posix/sys/wait.h: Update #endif comments.
20303         [__USE_MISC]: Remove redundant conditionals.
20304         * posix/unistd.h: Update #endif comments.
20305         [__USE_MISC]: Remove redundant conditionals.
20306         * pwd/pwd.h [__USE_GNU]: Likewise.
20307         [__USE_MISC]: Likewise.
20308         * resolv/netdb.h [__USE_GNU]: Likewise.
20309         * signal/signal.h: Update #endif comments.
20310         [__USE_MISC]: Remove redundant conditionals.
20311         * stdlib/stdlib.h: Update #else and #endif comments.
20312         [__USE_MISC]: Remove redundant conditionals.
20313         [__USE_GNU]: Likewise.
20314         * string/bits/string2.h [__USE_MISC]: Likewise.
20315         * string/string.h: Update #endif comments.
20316         [__USE_MISC]: Remove redundant conditionals.
20317         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20318         Likewise.
20319         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20320         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20321         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20322         Likewise.
20323         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20324         Likewise.
20325         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20326         comments.
20327         [__USE_MISC]: Remove redundant conditionals.
20328         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20329         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20330         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20331         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20332         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20333         Likewise.
20334         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20335         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20336         Likewise.
20337         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20338         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20339         Likewise.
20340         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20341         Likewise.
20342         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20343         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20344         Likewise.
20345         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20346         Likewise.
20347         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20348         * sysdeps/x86/bits/string.h: Update #endif comments.
20349         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20350         conditionals.
20351         * time/sys/time.h: Update #endif comments.
20352         * time/time.h: Likewise.
20353         [__USE_MISC]: Remove redundant conditionals.
20355 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
20357         [BZ #16600]
20358         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20360 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
20362         * Versions.def (librt): Add GLIBC_2.17.
20364 2014-02-21  Adam Conrad  <adconrad@0c3.net>
20366         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20367         synonym for _SYS_AUXV_H to allow direct inclusion.
20368         * sysdeps/sparc/bits/hwcap.h: Likewise.
20369         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20370         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20371         * sysdeps/sparc/sysdep.h: Likewise.
20373 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20375         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20377 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20379         * benchtests/bench-strrchr.c: Print length instead of position.
20381 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
20383         [BZ #16611]
20384         * sysdeps/unix/sysv/linux/kernel-features.h
20385         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20386         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20387         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20388         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20389         Likewise.
20390         [__i386__ || __powerpc__ || __sh__ || __sparc__]
20391         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20392         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20393         (__ASSUME_SENDMMSG): Define instead of using previous
20394         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20395         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20396         (__ASSUME_SENDMMSG_SYSCALL): Define.
20397         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20398         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20399         Likewise.
20400         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20401         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20402         Likewise.
20403         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20404         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20405         Likewise.
20406         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20407         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20408         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20409         [__ASSUME_SENDMMSG]: Change conditionals to
20410         [__ASSUME_SENDMMSG_SOCKETCALL].
20411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20412         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20413         Define.
20414         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20415         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20416         Likewise.
20417         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20418         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20419         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20420         [!__ASSUME_SENDMMSG]: Change conditional to
20421         [!__ASSUME_SENDMMSG_SOCKETCALL].
20422         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20423         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20424         Define.
20426         [BZ #16610]
20427         * sysdeps/unix/sysv/linux/kernel-features.h
20428         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20429         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20430         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20431         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20432         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20433         [__i386__ || __sparc__]
20434         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20435         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20436         (__ASSUME_RECVMMSG): Define instead of using previous
20437         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20438         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20439         (__ASSUME_RECVMMSG_SYSCALL): Define.
20440         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20441         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20442         Likewise.
20443         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20445         Likewise.
20446         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20447         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20448         Likewise.
20449         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20450         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20451         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20452         [__ASSUME_RECVMMSG]: Change condition to
20453         [__ASSUME_RECVMMSG_SOCKETCALL].
20454         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20455         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20456         Define.
20457         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20458         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20459         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20460         Likewise.
20461         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20462         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20463         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20464         [!__ASSUME_RECVMMSG]: Change condition to
20465         [!__ASSUME_RECVMMSG_SOCKETCALL].
20466         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20467         (__ASSUME_RECVMMSG_SYSCALL): Define.
20469         [BZ #16609]
20470         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20471         __powerpc__ || __s390__ || __sh__ || __sparc__]
20472         (__ASSUME_SOCKETCALL): Define.
20473         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20474         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20475         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20476         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20477         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20478         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20479         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20480         (__ASSUME_ACCEPT4): Define instead of using previous
20481         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20482         __powerpc__ || __sparc__ || __s390__)] condition.
20483         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20484         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20485         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20486         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20487         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20488         [!__ASSUME_ACCEPT4]: Change condition to
20489         [!__ASSUME_ACCEPT4_SOCKETCALL].
20490         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20491         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
20492         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20493         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20494         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20495         __ASSUME_ACCEPT4_SYSCALL.
20496         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20497         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20498         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20499         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20500         __ASSUME_ACCEPT4_SYSCALL.
20501         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20502         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20503         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20504         [__ASSUME_ACCEPT4]: Change condition to
20505         [__ASSUME_ACCEPT4_SOCKETCALL].
20506         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20507         (__ASSUME_SOCKETCALL): Define.
20508         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20509         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20510         (__ASSUME_SOCKETCALL): Define.
20511         (__ASSUME_ACCEPT4): Remove.
20512         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20513         Define.
20514         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20515         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20516         Likewise.
20517         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20518         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20520         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20521         macro.
20522         (HWCAP_ARM_LPAE): Likewise.
20523         (HWCAP_ARM_EVTSTRM): Likewise.
20524         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20525         Add vpfd32, lpae and evtstrm.
20526         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20527         Increase to 22.
20529 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
20531         * math/auto-libm-test-in: Add tests of clog10.
20532         * math/auto-libm-test-out: Regenerated.
20533         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20534         * sysdeps/i386/fpu/libm-test-ulps: Update.
20535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20537 2014-02-18  Andreas Schwab  <schwab@suse.de>
20539         [BZ #16574]
20540         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20541         Store non-zero if the second buffer was newly allocated.
20542         (send_dg): Likewise.
20543         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20544         to send_vc and send_dg.
20545         (res_nsend): Pass NULL for ansp2_malloced.
20546         * resolv/res_query.c (__libc_res_nquery): Add parameter
20547         answerp2_malloced and pass it down to __libc_res_nsend.
20548         (res_nquery): Pass additional NULL to __libc_res_nquery.
20549         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20550         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
20551         second answer buffer if answerp2_malloced was set.
20552         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20553         (__libc_res_nquerydomain): Add parameter
20554         answerp2_malloced and pass it down to __libc_res_nquery.
20555         (res_nquerydomain): Pass additional NULL to
20556         __libc_res_nquerydomain.
20557         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20558         additional NULL to __libc_res_nsend and __libc_res_nquery.
20559         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20560         additional NULL to __libc_res_nsearch.
20561         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
20562         parameter of __libc_res_nsearch to check for separately allocated
20563         second buffer.
20564         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20565         __libc_res_nquery.
20566         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20567         additional NULL to __libc_res_nquery.
20568         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20569         __libc_res_nsearch.
20570         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20571         * include/resolv.h: Update prototypes of __libc_res_nquery,
20572         __libc_res_nsearch, __libc_res_nsend.
20574 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
20576         * math/auto-libm-test-in: Add tests of fma.
20577         * math/auto-libm-test-out: Regenerated.
20578         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20579         (fma_towardzero_test_data): Likewise.
20580         (fma_downward_test_data): Likewise.
20581         (fma_upward_test_data): Likewise.
20582         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20583         mpc_mode.
20584         (rounding_modes): Add values for new field.
20585         (func_calc_method): Add value mpfr_fff_f.
20586         (func_calc_desc): Add mpfr_fff_f union field.
20587         (test_function): Add field exact_args.
20588         (FUNC): Add macro argument EXACT_ARGS.
20589         (FUNC_mpfr_f_f): Update call to FUNC.
20590         (FUNC_mpfr_f_f): Likewise.
20591         (FUNC_mpfr_ff_f): Likewise.
20592         (FUNC_mpfr_if_f): Likewise.
20593         (FUNC_mpc_c_f): Likewise.
20594         (FUNC_mpc_c_c): Likewise.
20595         (test_functions): Add fma.  Update calls to FUNC.
20596         (handle_input_arg): Add argument exact_args.
20597         (add_test): Update call to handle_input_arg.
20598         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
20599         (output_for_one_input_case): Update call to calc_generic_results.
20600         Recalculate exact zero results in each rounding mode.
20602         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20603         non-negative before setting low bit.
20604         * math/auto-libm-test-in: Mark one asin test possibly having
20605         spurious underflow.
20606         * math/auto-libm-test-out: Regenerated.
20607         * sysdeps/i386/fpu/libm-test-ulps: Update.
20608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20610 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
20612         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20613         * sysdeps/unix/sysv/linux/microblaze: Move directory from
20614         ports/sysdeps/unix/sysv/linux/microblaze.
20615         * README: Add missing listing for microblaze*-*-linux-gnu.
20617 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
20619         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20620         duplicate code
20622 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
20624         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20625         * sysdeps/unix/sysv/linux/ia64: Move directory from
20626         ports/sysdeps/unix/sysv/linux/ia64.
20627         * README: Update listing for ia64-*-linux-gnu.
20629 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
20630             Joseph Myers  <joseph@codesourcery.com>
20632         * Makeconfig (test-name): New variable.
20633         (evaluate-test): Likewise.
20634         * Makerules (do-test-clean): Remove .test-result files.
20635         (common-mostlyclean): Likewise.
20636         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20637         * scripts/evaluate-test.sh: New file.
20639 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
20641         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20642         separate $(objpfx)tst-fopenloc-cmp.out and
20643         $(objpfx)tst-fopenloc-mem.out targets.
20644         (tests): Update dependencies.
20645         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20646         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20647         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20648         (tst-rxspencer-no-utf8-ARGS): New variable.
20649         (tst-rxspencer-no-utf8-ENV): Likewise.
20650         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20651         instead of $(objpfx)tst-rxspencer-mem.
20652         ($(objpfx)tst-rxspencer-mem): Change target to
20653         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
20654         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20655         * posix/tst-rxspencer-no-utf8.c: New file.
20657         * elf/Makefile ($(objpfx)order.out): Remove rule.
20658         [$(run-built-tests) = yes] (tests): Depend on
20659         $(objpfx)order-cmp.out.
20660         ($(objpfx)order-cmp.out): New rule.
20661         [$(run-built-tests) = yes] (tests): Depend on
20662         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20663         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20664         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20665         $(objpfx)tst-array5-static-cmp.out.
20666         ($(objpfx)tst-array1.out): Remove rule.
20667         ($(objpfx)tst-array1-cmp.out): New rule.
20668         ($(objpfx)tst-array1-static.out): Remove rule.
20669         ($(objpfx)tst-array1-static-cmp.out): New rule.
20670         ($(objpfx)tst-array2.out): Remove rule.
20671         ($(objpfx)tst-array2-cmp.out): New rule.
20672         ($(objpfx)tst-array3.out): Remove rule.
20673         ($(objpfx)tst-array3-cmp.out): New rule.
20674         ($(objpfx)tst-array4.out): Remove rule.
20675         ($(objpfx)tst-array4-cmp.out): New rule.
20676         ($(objpfx)tst-array5.out): Remove rule.
20677         ($(objpfx)tst-array5-cmp.out): New rule.
20678         ($(objpfx)tst-array5-static.out): Remove rule.
20679         ($(objpfx)tst-array5-static-cmp.out): New rule.
20680         [$(run-built-tests) = yes] (tests): Depend on
20681         $(objpfx)order2-cmp.out.
20682         ($(objpfx)order2.out): Remove rule.
20683         ($(objpfx)order2-cmp.out): New rule.
20684         ($(objpfx)tst-initorder.out): Remove rule.
20685         [$(run-built-tests) = yes] (tests): Depend on
20686         $(objpfx)tst-initorder-cmp.out.
20687         ($(objpfx)tst-initorder-cmp.out): New rule.
20688         ($(objpfx)tst-initorder2.out): Remove rule.
20689         [$(run-built-tests) = yes] (tests): Depend on
20690         $(objpfx)tst-initorder2-cmp.out.
20691         ($(objpfx)tst-initorder2-cmp.out): New rule.
20692         [$(run-built-tests) = yes] (tests): Depend on
20693         $(objpfx)tst-unused-dep-cmp.out.
20694         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20695         ($(objpfx)tst-unused-dep-cmp.out): New rule.
20696         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20697         on $(objpfx)tst-setvbuf1-cmp.out.
20698         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20699         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20700         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20701         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20702         ($(objpfx)tst-svc.out): Remove rule.
20703         ($(objpfx)tst-svc-cmp.out): New rule.
20705 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
20707         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20708         * ctype/ctype.h [__USE_MISC]: Likewise.
20709         * dirent/dirent.h [__USE_MISC]: Likewise.
20710         * grp/grp.h [__USE_MISC]: Likewise.
20711         * io/fcntl.h [__USE_MISC]: Likewise.
20712         * io/sys/stat.h [__USE_MISC]: Likewise.
20713         * libio/stdio.h [__USE_MISC]: Likewise.
20714         * posix/unistd.h [__USE_MISC]: Likewise.
20715         * pwd/pwd.h [__USE_MISC]: Likewise.
20716         * stdlib.h [__USE_MISC]: Likewise.
20717         * string/bits/string2.h [__USE_MISC]: Likewise.
20718         * string/string.h [__USE_MISC]: Likewise.
20719         * time/time.h [__USE_MISC]: Likewise.
20721 2014-02-13  Andreas Schwab  <schwab@suse.de>
20723         [BZ #16574]
20724         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20725         second answer buffer if it was separately allocated.
20727 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
20729         * sysdeps/mips/math-tests.h: Include <features.h>.
20730         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20731         (ROUNDING_TESTS_long_double): Do not define.
20732         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20733         (EXCEPTION_TESTS_long_double): Likewise.
20734         * sysdeps/mips/mips64/libm-test-ulps: Update.
20736         * include/features.h (__USE_BSD): Remove macro definitions.
20737         (__USE_SVID): Likewise.
20738         (_BSD_SOURCE): Likewise.
20739         (_SVID_SOURCE): Likewise.
20740         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20741         from definition of _DEFAULT_SOURCE.
20742         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20743         [_DEFAULT_SOURCE].
20744         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20745         * bits/mman.h [__USE_BSD]: Likewise.
20746         * bits/termios.h [__USE_BSD]: Likewise.
20747         * bits/waitstatus.h [__USE_BSD]: Likewise.
20748         * ctype/ctype.h [__USE_SVID]: Likewise.
20749         * dirent/dirent.h [__USE_BSD]: Likewise.
20750         * grp/grp.h [__USE_SVID]: Likewise.
20751         [__USE_BSD]: Likewise.
20752         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20753         * io/fcntl.h [__USE_BSD]: Likewise.
20754         * io/ftw.h [__USE_BSD]: Likewise.
20755         * io/sys/stat.h [__USE_BSD]: Likewise.
20756         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20757         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20758         * libio/stdio.h [__USE_SVID]: Likewise.
20759         [__USE_BSD]: Likewise.
20760         * math/math.h [__USE_SVID]: Likewise.
20761         [__USE_BSD]: Likewise.
20762         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20763         * misc/bits/syslog.h [__USE_BSD]: Likewise.
20764         * misc/search.h [__USE_SVID]: Likewise.
20765         * misc/sys/mman.h [__USE_BSD]: Likewise.
20766         * misc/sys/syslog.h [__USE_BSD]: Likewise.
20767         * misc/sys/uio.h [__USE_BSD]: Likewise.
20768         * posix/bits/unistd.h [__USE_BSD]: Likewise.
20769         * posix/glob.h [__USE_BSD]: Likewise.
20770         * posix/regex.h [__USE_BSD]: Likewise.
20771         * posix/sys/types.h [__USE_BSD]: Likewise.
20772         [__USE_SVID]: Likewise.
20773         * posix/sys/utsname.h [__USE_SVID]: Likewise.
20774         * posix/sys/wait.h [__USE_BSD]: Likewise.
20775         [__USE_SVID]: Likewise.
20776         * posix/unistd.h [__USE_BSD]: Likewise.
20777         [__USE_SVID]: Likewise.
20778         * pwd/pwd.h [__USE_SVID]: Likewise.
20779         * resolv/netdb.h [__USE_BSD]: Likewise.
20780         * setjmp/setjmp.h [__USE_BSD]: Likewise.
20781         * signal/signal.h [__USE_BSD]: Likewise.
20782         [__USE_SVID]: Likewise.
20783         * socket/sys/socket.h [__USE_BSD]: Likewise.
20784         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20785         * stdlib/stdlib.h [__USE_BSD]: Likewise.
20786         [__USE_SVID]: Likewise.
20787         * string/bits/string2.h [__USE_BSD]: Likewise.
20788         [__USE_SVID]: Likewise.
20789         * string/bits/string3.h [__USE_BSD]: Likewise.
20790         * string/endian.h [__USE_BSD]: Likewise.
20791         * string/string.h [__USE_SVID]: Likewise.
20792         [__USE_BSD]: Likewise.
20793         * string/strings.h [__USE_BSD]: Likewise.
20794         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20795         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20796         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20797         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20798         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20799         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20800         Likewise.
20801         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20802         Likewise.
20803         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20804         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20805         Likewise.
20806         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20807         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20808         Likewise.
20809         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20810         Likewise.
20811         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20812         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20813         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20814         Likewise.
20815         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20816         Likewise.
20817         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20818         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20819         * termios/termios.h [__USE_BSD]: Likewise.
20820         * time/sys/time.h [__USE_BSD]: Likewise.
20821         * time/time.h [__USE_BSD]: Likewise.
20822         [__USE_SVID]: Likewise.
20824         * Makefile (subdir_targets): Remove subdir_lint.out.
20826         * stdio-common/Makefile (do-tst-unbputc): Remove target.
20827         (do-tst-printf): Likewise.
20828         (tests): Depend directly on $(objpfx)tst-unbputc.out and
20829         $(objpfx)tst-printf.out.
20831         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20833         * Makerules (check-abi-%): Change target to
20834         $(objpfx)check-abi-%.out.
20835         (check-abi target): Update dependencies.
20836         (check-abi-pattern variable): Redirect output of diff to $@.
20837         (check-abi variable): Likewise.
20838         * elf/Makefile (check-abi): Update dependencies.
20840         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20841         unused.
20842         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20843         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20844         subnormal range.
20845         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20846         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20847         value has largest subnormal exponent.
20848         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20849         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20850         * sysdeps/aarch64/soft-fp/sfp-machine.h
20851         (_FP_TININESS_AFTER_ROUNDING): New macro.
20852         * sysdeps/alpha/soft-fp/sfp-machine.h
20853         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20854         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20855         Likewise.
20856         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20857         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20858         * sysdeps/mips/soft-fp/sfp-machine.h
20859         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20860         * sysdeps/powerpc/soft-fp/sfp-machine.h
20861         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20862         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20863         Likewise.
20864         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20866         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20867         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20868         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20869         Likewise.
20871 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
20873         [BZ #16545]
20874         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20875         model 1.
20877 2014-02-12  Richard Henderson  <rth@redhat.com>
20879         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20880         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20881         * sysdeps/unix/sysv/linux/alpha: Move directory from
20882         ports/sysdeps/unix/sysv/linux/alpha.
20883         * README: Update listing for alpha-*-linux-gnu.
20885 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
20887         * include/features.h: Update comment documenting feature test
20888         macros.
20889         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
20890         _DEFAULT_SOURCE.
20891         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20892         (_SVID_SOURCE): Likewise.
20893         (_DEFAULT_SOURCE): Update description of default features.
20894         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20895         with _GNU_SOURCE.
20896         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20897         (S_ISVTX): Likewise.
20898         * manual/math.texi (Mathematical Constants): Likewise.
20899         * manual/signal.texi (Interrupted Primitives): Likewise.
20900         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20901         * math/test-matherr.c (_SVID_SOURCE): Do not define.
20902         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20903         Don't refer to _SVID_SOURCE in warning text.
20905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20907         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20908         already defined.
20909         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20910         * sysdeps/mips/dl-lookup.c: Remove.
20911         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20913 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20915         [BZ #16447]
20916         * math/auto-libm-test-in: Add testcase for expl.
20917         * math/auto-libm-test-out: Regenerate.
20918         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20919         calculation of unsafe.
20920         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20922 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20924         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20925         * sysdeps/unix/sysv/linux/aarch64: Move directory from
20926         ports/sysdeps/unix/sysv/linux/aarch64.
20927         * README: Update listing for aarch64*-*-linux-gnu.
20929 2014-02-11  Will Newton  <will.newton@linaro.org>
20931         * manual/probes.texi (Mathematical Function Probes): Use
20932         "triggered" instead of "hit".
20934         * manual/probes.texi (Internal Probes): Add documentation
20935         of setjmp, longjmp and longjmp_target probes.
20937         * include/stap-probe.h: Add comment about probe argument
20938         format.
20940         * malloc/mtrace.c (attribute_hidden): Remove unused macro
20941         definition.  (tr_where, tr_freehook, tr_mallochook,
20942         tr_reallochook, tr_memalignhook): Use ANSI protoype.
20944 2014-02-11  David S. Miller  <davem@davemloft.net>
20946         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20947         processing int_tests.
20949 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
20951         * sysdeps/mips: Move directory from ports/sysdeps/mips.
20952         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20953         * sysdeps/unix/sysv/linux/mips: Move directory from
20954         ports/sysdeps/unix/sysv/linux/mips.
20955         * README: Update listing for mips-*-linux-gnu and
20956         mips64-*-linux-gnu.
20958 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
20960         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20961         * sysdeps/unix/sysv/linux/m68k: Move directory from
20962         ports/sysdeps/unix/sysv/linux/m68k.
20963         * README: Update listing for m68k-*-linux-gnu.
20965 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
20967         * sysdeps/tile: Move directory from ports/sysdeps/tile.
20968         * sysdeps/unix/sysv/linux/generic: Move directory from
20969         ports/sysdeps/unix/sysv/linux/generic.
20970         * sysdeps/unix/sysv/linux/tile: Move directory from
20971         ports/sysdeps/unix/sysv/linux/tile.
20972         * README: Update listing for tile*-*-linux-gnu.
20974 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
20976         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20977         __builtin_expect.
20978         * benchtests/bench-memmem.c (simple_memmem): Likewise.
20979         * catgets/open_catalog.c (__open_catalog): Likewise.
20980         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20981         * debug/confstr_chk.c: Likewise.
20982         * debug/fread_chk.c (__fread_chk): Likewise.
20983         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20984         * debug/getgroups_chk.c: Likewise.
20985         * debug/mbsnrtowcs_chk.c: Likewise.
20986         * debug/mbsrtowcs_chk.c: Likewise.
20987         * debug/mbstowcs_chk.c: Likewise.
20988         * debug/memcpy_chk.c: Likewise.
20989         * debug/memmove_chk.c: Likewise.
20990         * debug/mempcpy_chk.c: Likewise.
20991         * debug/memset_chk.c: Likewise.
20992         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20993         * debug/strcat_chk.c (__strcat_chk): Likewise.
20994         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20995         * debug/strncat_chk.c (__strncat_chk): Likewise.
20996         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20997         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20998         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20999         * debug/wcpncpy_chk.c: Likewise.
21000         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21001         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21002         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21003         * debug/wcsncpy_chk.c: Likewise.
21004         * debug/wcsnrtombs_chk.c: Likewise.
21005         * debug/wcsrtombs_chk.c: Likewise.
21006         * debug/wcstombs_chk.c: Likewise.
21007         * debug/wmemcpy_chk.c: Likewise.
21008         * debug/wmemmove_chk.c: Likewise.
21009         * debug/wmempcpy_chk.c: Likewise.
21010         * debug/wmemset_chk.c: Likewise.
21011         * dirent/scandirat.c (SCANDIRAT): Likewise.
21012         * dlfcn/dladdr1.c (dladdr1): Likewise.
21013         * dlfcn/dladdr.c (dladdr): Likewise.
21014         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21015         * dlfcn/dlerror.c (__dlerror): Likewise.
21016         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21017         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21018         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21019         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21020         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21021         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21022         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21023         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21024         Likewise.
21025         * elf/dl-conflict.c: Likewise.
21026         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21027         * elf/dl-dst.h: Likewise.
21028         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21029         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21030         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21031         * elf/dl-init.c (call_init, _dl_init): Likewise.
21032         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21033         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21034         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21035         Likewise.
21036         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21037         Likewise.
21038         * elf/dl-minimal.c (__libc_memalign): Likewise.
21039         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21040         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21041         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21042         * elf/dl-sym.c (do_sym): Likewise.
21043         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21044         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21045         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21046         * elf/dl-writev.h (_dl_writev): Likewise.
21047         * elf/ldconfig.c (search_dir): Likewise.
21048         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21049         (dl_main): Likewise.
21050         * elf/setup-vdso.h (setup_vdso): Likewise.
21051         * grp/compat-initgroups.c (compat_call): Likewise.
21052         * grp/fgetgrent.c (fgetgrent): Likewise.
21053         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21054         * grp/putgrent.c (putgrent): Likewise.
21055         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21056         Likewise.
21057         * hurd/hurdinit.c: Likewise.
21058         * iconvdata/8bit-gap.c (struct): Likewise.
21059         * iconvdata/ansi_x3.110.c : Likewise.
21060         * iconvdata/big5.c : Likewise.
21061         * iconvdata/big5hkscs.c : Likewise.
21062         * iconvdata/cp1255.c: Likewise.
21063         * iconvdata/cp1258.c : Likewise.
21064         * iconvdata/cp932.c : Likewise.
21065         * iconvdata/euc-cn.c: Likewise.
21066         * iconvdata/euc-jisx0213.c : Likewise.
21067         * iconvdata/euc-jp.c: Likewise.
21068         * iconvdata/euc-jp-ms.c : Likewise.
21069         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21070         * iconvdata/gb18030.c : Likewise.
21071         * iconvdata/gbbig5.c (const): Likewise.
21072         * iconvdata/gbgbk.c: Likewise.
21073         * iconvdata/gbk.c : Likewise.
21074         * iconvdata/ibm1364.c : Likewise.
21075         * iconvdata/ibm930.c : Likewise.
21076         * iconvdata/ibm932.c: Likewise.
21077         * iconvdata/ibm933.c : Likewise.
21078         * iconvdata/ibm935.c : Likewise.
21079         * iconvdata/ibm937.c : Likewise.
21080         * iconvdata/ibm939.c : Likewise.
21081         * iconvdata/ibm943.c: Likewise.
21082         * iconvdata/iso_11548-1.c: Likewise.
21083         * iconvdata/iso-2022-cn.c : Likewise.
21084         * iconvdata/iso-2022-cn-ext.c : Likewise.
21085         * iconvdata/iso-2022-jp-3.c: Likewise.
21086         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21087         * iconvdata/iso-2022-kr.c : Likewise.
21088         * iconvdata/iso646.c (gconv_end): Likewise.
21089         * iconvdata/iso_6937-2.c : Likewise.
21090         * iconvdata/iso_6937.c : Likewise.
21091         * iconvdata/iso8859-1.c: Likewise.
21092         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21093         * iconvdata/shift_jisx0213.c : Likewise.
21094         * iconvdata/sjis.c : Likewise.
21095         * iconvdata/t.61.c : Likewise.
21096         * iconvdata/tcvn5712-1.c : Likewise.
21097         * iconvdata/tscii.c: Likewise.
21098         * iconvdata/uhc.c : Likewise.
21099         * iconvdata/unicode.c (gconv_end): Likewise.
21100         * iconvdata/utf-16.c (gconv_end): Likewise.
21101         * iconvdata/utf-32.c (gconv_end): Likewise.
21102         * iconvdata/utf-7.c (base64): Likewise.
21103         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21104         * iconv/gconv_close.c (__gconv_close): Likewise.
21105         * iconv/gconv_open.c (__gconv_open): Likewise.
21106         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21107         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21108         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21109         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21110         (ucs4le_internal_loop_single): Likewise.
21111         * iconv/iconv.c (iconv): Likewise.
21112         * iconv/iconv_close.c: Likewise.
21113         * iconv/loop.c (SINGLE): Likewise.
21114         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21115         * include/atomic.h: Likewise.
21116         * inet/inet6_option.c (option_alloc): Likewise.
21117         * intl/bindtextdom.c (set_binding_values): Likewise.
21118         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21119         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21120         * intl/localealias.c (read_alias_file): Likewise.
21121         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21122         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21123         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21124         * libio/fmemopen.c (fmemopen): Likewise.
21125         * libio/iofgets.c (_IO_fgets): Likewise.
21126         * libio/iofgets_u.c (fgets_unlocked): Likewise.
21127         * libio/iofgetws.c (fgetws): Likewise.
21128         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21129         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21130         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21131         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21132         * locale/findlocale.c (_nl_find_locale): Likewise.
21133         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21134         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21135         Likewise.
21136         * locale/setlocale.c (setlocale): Likewise.
21137         * login/programs/pt_chown.c (main): Likewise.
21138         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21139         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21140         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21141         (mmap, mmap64, mremap, munmap): Likewise.
21142         * math/e_exp2l.c: Likewise.
21143         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21144         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21145         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21146         * math/s_catan.c (__catan): Likewise.
21147         * math/s_catanf.c (__catanf): Likewise.
21148         * math/s_catanh.c (__catanh): Likewise.
21149         * math/s_catanhf.c (__catanhf): Likewise.
21150         * math/s_catanhl.c (__catanhl): Likewise.
21151         * math/s_catanl.c (__catanl): Likewise.
21152         * math/s_ccosh.c (__ccosh): Likewise.
21153         * math/s_ccoshf.c (__ccoshf): Likewise.
21154         * math/s_ccoshl.c (__ccoshl): Likewise.
21155         * math/s_cexp.c (__cexp): Likewise.
21156         * math/s_cexpf.c (__cexpf): Likewise.
21157         * math/s_cexpl.c (__cexpl): Likewise.
21158         * math/s_clog10.c (__clog10): Likewise.
21159         * math/s_clog10f.c (__clog10f): Likewise.
21160         * math/s_clog10l.c (__clog10l): Likewise.
21161         * math/s_clog.c (__clog): Likewise.
21162         * math/s_clogf.c (__clogf): Likewise.
21163         * math/s_clogl.c (__clogl): Likewise.
21164         * math/s_csin.c (__csin): Likewise.
21165         * math/s_csinf.c (__csinf): Likewise.
21166         * math/s_csinh.c (__csinh): Likewise.
21167         * math/s_csinhf.c (__csinhf): Likewise.
21168         * math/s_csinhl.c (__csinhl): Likewise.
21169         * math/s_csinl.c (__csinl): Likewise.
21170         * math/s_csqrt.c (__csqrt): Likewise.
21171         * math/s_csqrtf.c (__csqrtf): Likewise.
21172         * math/s_csqrtl.c (__csqrtl): Likewise.
21173         * math/s_ctan.c (__ctan): Likewise.
21174         * math/s_ctanf.c (__ctanf): Likewise.
21175         * math/s_ctanh.c (__ctanh): Likewise.
21176         * math/s_ctanhf.c (__ctanhf): Likewise.
21177         * math/s_ctanhl.c (__ctanhl): Likewise.
21178         * math/s_ctanl.c (__ctanl): Likewise.
21179         * math/w_pow.c: Likewise.
21180         * math/w_powf.c: Likewise.
21181         * math/w_powl.c: Likewise.
21182         * math/w_scalb.c (sysv_scalb): Likewise.
21183         * math/w_scalbf.c (sysv_scalbf): Likewise.
21184         * math/w_scalbl.c (sysv_scalbl): Likewise.
21185         * misc/error.c (error_tail): Likewise.
21186         * misc/pselect.c (__pselect): Likewise.
21187         * nis/nis_callback.c (__nis_create_callback): Likewise.
21188         * nis/nis_call.c (__nisfind_server): Likewise.
21189         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21190         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21191         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21192         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21193         * nis/nis_lookup.c (nis_lookup): Likewise.
21194         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21195         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21196         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21197         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21198         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21199         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21200         * nis/nss_compat/compat-initgroups.c (add_group)
21201         (internal_getgrent_r): Likewise.
21202         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21203         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21204         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21205         (internal_getspnam_r): Likewise.
21206         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21207         (_nss_nis_getaliasbyname_r): Likewise.
21208         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21209         (_nss_nis_getntohost_r): Likewise.
21210         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21211         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21212         (_nss_nis_getgrgid_r): Likewise.
21213         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21214         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21215         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21216         (_nss_nis_gethostbyname4_r): Likewise.
21217         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21218         (initgroups_netid): Likewise.
21219         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21220         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21221         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21222         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21223         (_nss_nis_getprotobynumber_r): Likewise.
21224         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21225         (_nss_nis_getsecretkey): Likewise.
21226         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21227         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21228         (_nss_nis_getpwuid_r): Likewise.
21229         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21230         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21231         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21232         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21233         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21234         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21235         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21236         Likewise.
21237         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21238         (_nss_nisplus_getntohost_r): Likewise.
21239         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21240         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21241         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21242         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21243         Likewise.
21244         * nis/nss_nisplus/nisplus-initgroups.c
21245         (_nss_nisplus_initgroups_dyn): Likewise.
21246         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21247         (_nss_nisplus_getnetbyaddr_r): Likewise.
21248         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21249         (_nss_nisplus_getprotobynumber_r): Likewise.
21250         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21251         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21252         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21253         Likewise.
21254         * nis/nss_nisplus/nisplus-service.c
21255         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21256         (_nss_nisplus_getservbyport_r): Likewise.
21257         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21258         (_nss_nisplus_getspnam_r): Likewise.
21259         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21260         Likewise.
21261         * nscd/aicache.c (addhstaiX): Likewise.
21262         * nscd/cache.c (cache_search, prune_cache): Likewise.
21263         * nscd/connections.c (register_traced_file, send_ro_fd)
21264         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21265         (main_loop_epoll): Likewise.
21266         * nscd/grpcache.c (addgrbyX): Likewise.
21267         * nscd/hstcache.c (addhstbyX): Likewise.
21268         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21269         * nscd/mem.c (gc, mempool_alloc): Likewise.
21270         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21271         (addinnetgrX): Likewise.
21272         * nscd/nscd-client.h (__nscd_acquire_maplock)
21273         (__nscd_drop_map_ref): Likewise.
21274         * nscd/nscd_getai.c (__nscd_getai): Likewise.
21275         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21276         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21277         Likewise.
21278         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21279         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21280         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21281         (__nscd_get_map_ref): Likewise.
21282         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21283         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21284         Likewise.
21285         * nscd/pwdcache.c (addpwbyX): Likewise.
21286         * nscd/selinux.c (preserve_capabilities): Likewise.
21287         * nscd/servicescache.c (addservbyX): Likewise.
21288         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21289         * posix/fnmatch.c (fnmatch): Likewise.
21290         * posix/getopt.c (_getopt_internal_r): Likewise.
21291         * posix/glob.c (glob, glob_in_dir): Likewise.
21292         * posix/wordexp.c (exec_comm_child): Likewise.
21293         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21294         (getanswer_r, gaih_getanswer_slice): Likewise.
21295         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21296         * resolv/res_init.c: Likewise.
21297         * resolv/res_mkquery.c (res_nmkquery): Likewise.
21298         * resolv/res_query.c (__libc_res_nquery): Likewise.
21299         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21300         Likewise.
21301         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21302         * stdio-common/perror.c (perror): Likewise.
21303         * stdio-common/printf_fp.c (___printf_fp): Likewise.
21304         * stdio-common/tmpnam.c (tmpnam): Likewise.
21305         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21306         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21307         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21308         Likewise.
21309         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21310         * stdlib/putenv.c (putenv): Likewise.
21311         * stdlib/setenv.c (__add_to_environ): Likewise.
21312         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21313         * stdlib/strtol_l.c (INTERNAL): Likewise.
21314         * string/memmem.c (memmem): Likewise.
21315         * string/strerror.c (strerror): Likewise.
21316         * string/strnlen.c (__strnlen): Likewise.
21317         * string/test-memmem.c (simple_memmem): Likewise.
21318         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21319         * sunrpc/pm_getport.c (__get_socket): Likewise.
21320         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21321         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21322         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21323         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21324         Likewise.
21325         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21326         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21327         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21328         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21329         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21330         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21331         Likewise.
21332         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21333         Likewise.
21334         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21335         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21336         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21337         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21338         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21340         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21341         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21342         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21343         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21344         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21345         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21346         Likewise.
21347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21348         Likewise.
21349         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21350         Likewise.
21351         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21352         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21353         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21354         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21355         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21356         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21357         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21358         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21359         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21360         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21361         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21362         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21363         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21364         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21365         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21366         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21367         Likewise.
21368         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21369         Likewise.
21370         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21371         Likewise.
21372         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21373         Likewise.
21374         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21376         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21377         Likewise.
21378         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21379         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21380         * sysdeps/posix/opendir.c (__opendirat): Likewise.
21381         * sysdeps/posix/sleep.c: Likewise.
21382         * sysdeps/posix/tempname.c: Likewise.
21383         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21384         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21385         Likewise.
21386         * sysdeps/powerpc/powerpc32/dl-machine.h
21387         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21388         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21389         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21390         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21391         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21392         Likewise.
21393         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21394         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21395         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21396         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21397         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21398         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21399         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21400         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21401         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21402         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21403         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21404         (elf_machine_lazy_rel): Likewise.
21405         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21406         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21407         (elf_machine_lazy_rel): Likewise.
21408         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21409         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21410         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21411         * sysdeps/unix/grantpt.c (grantpt): Likewise.
21412         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21413         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21414         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21416         Likewise.
21417         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21418         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21419         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21420         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21421         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21422         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21423         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21424         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21425         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21426         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21427         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21428         Likewise.
21429         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21430         (__posix_fallocate64_l64): Likewise.
21431         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21432         (posix_fallocate): Likewise.
21433         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21434         Likewise.
21435         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21436         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21437         (getifaddrs_internal): Likewise.
21438         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21439         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21440         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21441         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21442         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21443         (__posix_fallocate64_l64): Likewise.
21444         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21445         Likewise.
21446         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21447         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21448         (__get_clockfreq): Likewise.
21449         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21450         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21451         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21452         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21454         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21455         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21456         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21457         Likewise.
21458         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21459         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21460         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21461         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21462         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21463         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21464         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21465         Likewise.
21466         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21467         (posix_fallocate): Likewise.
21468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21469         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21470         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21471         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21472         (elf_machine_rela, elf_machine_rela_relative)
21473         (elf_machine_lazy_rel): Likewise.
21474         * time/asctime.c (asctime_internal): Likewise.
21475         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21476         * time/tzset.c (__tzset_parse_tz): Likewise.
21477         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21478         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21479         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21480         * wcsmbs/wcsmbsload.h: Likewise.
21482         [BZ #15894]
21483         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21485         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21486         (arena_get2): Remove THREAD_STATS conditionals.
21487         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21488         (__malloc_stats, int): Likewise.
21490 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
21492         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21493         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
21495         * manual/setjmp.texi: Fix typos/grammar errors.
21497         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21498         Only return early when n is <= 0.  Delete unused return statement.
21500         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21501         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21502         * debug/tst-longjmp_chk3.c: New file.
21504         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21505         (test_main): Replace code with set_fortify_handler call.
21506         * debug/test-strcpy_chk.c: Likewise.
21507         * debug/tst-chk1.c: Likewise.
21508         * debug/tst-longjmp_chk.c: Likewise.
21509         * test-skeleton.c: Include fcntl.h & paths.h
21510         (set_fortify_handler): Define.
21512         * debug/tst-longjmp_chk.c: Add header comment and include
21513         ../test-skeleton.c.
21514         (do_test): Mark static.
21515         (TEST_FUNCTION): Define.
21517         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21518         (IP_PMTUDISC_INTERFACE): Likewise.
21519         (IP_MULTICAST_IF): Likewise.
21520         (IP_MULTICAST_TTL): Likewise.
21521         (IP_MULTICAST_LOOP): Likewise.
21522         (IP_ADD_MEMBERSHIP): Likewise.
21523         (IP_DROP_MEMBERSHIP): Likewise.
21524         (IP_UNBLOCK_SOURCE): Likewise.
21525         (IP_BLOCK_SOURCE): Likewise.
21526         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21527         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21528         (IP_MSFILTER): Likewise.
21529         (MCAST_JOIN_GROUP): Likewise.
21530         (MCAST_BLOCK_SOURCE): Likewise.
21531         (MCAST_UNBLOCK_SOURCE): Likewise.
21532         (MCAST_LEAVE_GROUP): Likewise.
21533         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21534         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21535         (MCAST_MSFILTER): Likewise.
21536         (IP_MULTICAST_ALL): Likewise.
21537         (IP_UNICAST_IF): Likewise.
21539         * timezone/Makefile: Delete $(have-ksh) check.
21540         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21541         * timezone/tzselect.ksh: Add +x mode bits.
21543         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21544         (ANON_INODE_FS_MAGIC): Likewise.
21545         (BDEVFS_MAGIC): Likewise.
21546         (BINFMTFS_MAGIC): Likewise.
21547         (BTRFS_TEST_MAGIC): Likewise.
21548         (CRAMFS_MAGIC_WEND): Likewise.
21549         (DEBUGFS_MAGIC): Likewise.
21550         (ECRYPTFS_SUPER_MAGIC): Likewise.
21551         (EXT3_SUPER_MAGIC): Likewise.
21552         (EXT4_SUPER_MAGIC): Likewise.
21553         (FUTEXFS_SUPER_MAGIC): Likewise.
21554         (HOSTFS_SUPER_MAGIC): Likewise.
21555         (HUGETLBFS_MAGIC): Likewise.
21556         (MINIX3_SUPER_MAGIC): Likewise.
21557         (MTD_INODE_FS_MAGIC): Likewise.
21558         (NILFS_SUPER_MAGIC): Likewise.
21559         (OPENPROM_SUPER_MAGIC): Likewise.
21560         (PIPEFS_MAGIC): Likewise.
21561         (PSTOREFS_MAGIC): Likewise.
21562         (QNX6_SUPER_MAGIC): Likewise.
21563         (RAMFS_MAGIC): Likewise.
21564         (REISERFS_SUPER_MAGIC_STRING): Likewise.
21565         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21566         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21567         (SECURITYFS_MAGIC): Likewise.
21568         (SELINUX_MAGIC): Likewise.
21569         (SMACK_MAGIC): Likewise.
21570         (SOCKFS_MAGIC): Likewise.
21571         (SQUASHFS_MAGIC): Likewise.
21572         (STACK_END_MAGIC): Likewise.
21573         (TMPFS_MAGIC): Likewise.
21574         (USBDEVICE_SUPER_MAGIC): Likewise.
21575         (V9FS_MAGIC): Likewise.
21576         (XENFS_SUPER_MAGIC): Likewise.
21577         (CRAMFS_MAGIC): Fix typo in comment.
21578         (EXT2_SUPER_MAGIC): Update comment.
21579         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21581 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
21583         * sysdeps/arm: Move directory from ports/sysdeps/arm.
21584         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21585         * sysdeps/unix/sysv/linux/arm: Move directory from
21586         ports/sysdeps/unix/sysv/linux/arm.
21587         * README: Update listing for arm-*-linux-gnueabi.
21589         * README: Remove mention of am33.
21591 2014-02-07  Roland McGrath  <roland@hack.frob.com>
21593         * bits/sigset.h (__sigemptyset): Use a statement expression rather
21594         than the comma operator, to avoid "rhs of comma has no effect"
21595         compiler warnings.
21596         (__sigfillset, __sigandset, __sigorset): Likewise.
21597         * include/signal.h (__sigemptyset): Likewise.
21598         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21600 2014-02-07  Allan McRae  <allan@archlinux.org>
21602         * version.h (RELEASE): Set to "development".
21603         (VERSION): Set to "2.19.90"
21604         * NEWS: Add 2.20 section.
21606 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
21608         [BZ #16529]
21609         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21611 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21613         * manual/contrib.texi: Update entry for Carlos O'Donell,
21614         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21616 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
21618         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21620         * sysdeps/unix/sysv/linux/kernel-features.h
21621         [__LINUX_KERNEL_VERSION >= 0x020621]
21622         (__ASSUME_PROC_PID_TASK_COMM): Define.
21624 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21626         [BZ #16398]
21627         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21628         conversion when destination buffer does not have enough space.
21629         * libio/tst-ftell-partial-wide.c: New test case.
21630         * libio/Makefile (tests): Add tst-ftell-partial-wide.
21632         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21633         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
21634         Leonard and Allan McRae.
21636 2014-02-04  David S. Miller  <davem@davemloft.net>
21638         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21639         32-bit.
21641 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21644         New file
21645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21646         New file
21647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21648         New file.
21649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21650         New file.
21651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21652         New file.
21653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21654         New file.
21655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21656         New file.
21657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21658         New file.
21659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21660         New file.
21661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21662         New file.
21663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21664         New file.
21665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21666         New file.
21667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21668         New file.
21670 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21672         * nptl/shlib-versions: Change powerpc*le start to 2.17.
21673         * shlib-versions: Likewise.
21675 2014-02-04  Roland McGrath  <roland@hack.frob.com>
21676             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21678         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21679         (abilist-pattern): New variable, set to %-le.abilist.
21681         * Makerules (abilist-pattern): New variable.
21682         (vpath): Use $(abilist-pattern) in place of %.abilist.
21683         (check-abi-% pattern rule): Likewise.
21684         (check-abi, update-abi): Likewise.
21686 2014-02-04  Eric Wong  <normalperson@yhbt.net>
21688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21690 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
21692         * manual/startup.texi: Add next, previous, and top entries for
21693         the `Program Arguments' and `Environment Variables' nodes.
21695 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
21697         * manual/macros.texi: Add comments before MTASC-safety macros.
21699         * manual/users.texi: Document MTASC-safety properties.
21701         * manual/threads.texi (pthread_key_create, pthread_key_delete)
21702         (pthread_getspecific, pthread_setspecific): Format with
21703         @deftypefun, and add @safety note.
21704         * manual/signal.texi: Move comments that analyze the above
21705         functions to their home place.
21707 2014-02-03  Allan McRae  <allan@archlinux.org>
21709         * po/sl.po: Update Slovenian translation from translation project.
21711 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
21713         * manual/time.texi (timegm): Add missing blank after @c.
21714         Reported by Joseph Myers <joseph@codesourcery.com>.
21716 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
21718         * manual/check-safety.sh: New.
21719         * manual/Makefile ($(objpfx)stamp-summary): Run it.
21721         * manual/terminal.texi: Document MTASC-safety properties.
21723         * manual/filesys.texi: Document MTASC-safety properties.
21725         * manual/errno.texi: Document MTASC-safety properties.
21727         * manual/intro.texi: Document safety identifiers and
21728         conditionals.
21730         * manual/string.texi (wcstok): Fix prototype.
21731         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21733         * manual/time.texi: Document MTASC-safety properties.
21735         * manual/string.texi: Document MTASC-safety properties.
21737         * manual/threads.texi: Document MTASC-safety properties.
21739         * manual/stdio.texi: Document MTASC-safety properties.
21741         * manual/syslog.texi: Document MTASC-safety properties.
21743         * manual/sysinfo.texi: Document MTASC-safety properties.
21745         * manual/startup.texi: Document MTASC-safety properties.
21747         * manual/socket.texi: Document MTASC-safety properties.
21749         * manual/signal.texi: Document MTASC-safety properties.
21751 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
21753         * manual/setjmp.texi: Document MTASC-safety properties.
21755         * manual/search.texi: Document MTASC-safety properties.
21757         * manual/resource.texi: Document MTASC-safety properties.
21759         * manual/process.texi: Document MTASC-safety properties.
21761         * manual/platform.texi: Document MTASC-safety properties.
21763         * manual/pipe.texi: Document MTASC-safety properties.
21765         * manual/pattern.texi: Document MTASC-safety properties.
21767         * manual/message.texi: Document MTASC-safety properties.
21769         [BZ #12751]
21770         * manual/memory.texi: Document MTASC-safety properties.
21772         * manual/math.texi: Document MTASC-safety properties.
21774         * manual/locale.texi: Document MTASC-safety properties.
21776         * manual/llio.texi: Document MTASC-safety properties.
21778         * manual/libdl.texi: New.
21780         * manual/lang.texi: Document MTASC-safety properties.
21782         * manual/job.texi: Document MTASC-safety properties.
21784         * manual/getopt.texi: Document MTASC-safety properties.
21786         * manual/ctype.texi: Document MTASC-safety properties.
21788 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
21790         [BZ #16046]
21791         * csu/libc-tls.c (static_map): Remove variable.
21792         (__libc_setup_tls): Use main executable's link map for TLS data.
21793         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21794         casing for LM_ID_BASE and GL(dl_nns).
21795         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21796         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
21797         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21798         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21799         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21800         member.
21801         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21802         l_phnum members.
21804 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
21806         * manual/debug.texi: Document MTASC-safety properties.
21808 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
21810         [BZ #16510]
21811         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21812         of __x86_64__ when disabling x87 inline functions.
21814 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
21816         * manual/charset.texi: Document MTASC-safety properties.
21818         * manual/crypt.texi: Document MTASC-safety properties.
21820         * manual/conf.texi: Document MTASC-safety properties.
21822         * manual/arith.texi: Document MTASC-safety properties.
21824         * manual/argp.texi: Document MTASC-safety properties.
21826         * manual/macros.texi: Introduce macros to document multi
21827         thread, asynchronous signal and asynchronous cancellation
21828         safety properties.
21829         * manual/intro.texi: Introduce the properties themselves.
21831 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21833         * sysdeps/sh/sh4/Makefile: New file.
21835 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
21837         * math/gen-libm-test.pl ($srcdir): New variable.
21838         ($auto_input): Use it.
21840 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21842         [BZ #16506]
21843         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21844         access beyond array bounds when parsing netgroups file.
21846         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21847         the old buffer before realloc.
21849 2014-01-27  Allan McRae  <allan@archlinux.org>
21851         * po/fr.po: Update French translation from translation project.
21853 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21855         * sysdeps/sh/libm-test-ulps: Regenerate.
21857 2014-01-24  David S. Miller  <davem@davemloft.net>
21859         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21861 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21863         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21864         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21866 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21868         [BZ #16474]
21869         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21870         string pointers after reallocation.
21872 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21874         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21875         __SH4A__ instead of __SH_FPU_ANY__.
21877 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21879         * sysdeps/sh/fpu_control.h: New file.
21880         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21881         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21882         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21883         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21884         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21885         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21886         * sysdeps/sh/sys/ucontext.h: Remove.
21887         * sysdeps/sh/sys: Remove directory.
21889 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21891         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21892         s390/sys/ucontext.h.
21893         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21894         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21896 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
21898         [BZ #15605]
21899         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21901 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21903         [BZ#16431]
21904         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21905         Adjust the vDSO correctly for internal calls.
21906         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21908 2014-01-20  Allan McRae  <allan@archlinux.org>
21910         * po/ca.po: Update Catalan translation from translation project.
21912 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
21914         * sysdeps/s390/sotruss-lib.c: New file.
21916 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21918         [BZ#16430]
21919         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21920         (__GI___gettimeofday): Alias for a different internal symbol to avoid
21921         local calls issues by not having a PLT stub required for IFUNC calls.
21922         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21924 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
21926         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21927         * math/test-fpucw-static.c: Likewise.
21929 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21931         [BZ #16453]
21932         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21934 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21936         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21937         implementation for powerpc.
21939 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
21941         [BZ #14782]
21942         * sysdeps/posix/system.c (__libc_system): Do not enable
21943         asynchronous cancellation.
21945 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21947         [BZ #16427]
21948         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21949         handling only for numbers special also in the IEEE case.
21951 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21953         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21955 2014-01-11  Allan McRae  <allan@archlinux.org>
21957         * po/bg.po: Update Bulgarian translation from translation project.
21959         * po/de.po: Update German translation from translation project.
21961 2014-01-10  Roland McGrath  <roland@hack.frob.com>
21963         * sysdeps/generic/gcc-compat.h: New file.
21965 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21967         * benchtests/asin-inputs: Correct slow inputs.
21968         * benchtests/acos-inputs: Likewise.
21970 2014-01-10  Allan McRae  <allan@archlinux.org>
21972         * po:sv.po: Update Swedish translation from translation project.
21974         * po/vi.po: Update Vietnamese translation from translation project.
21976         * po/eo.po: Update Esperanto translation from translation project.
21978         * po/cs.po: Update Czech translation from translation project.
21980         * po/nl.po: Update Dutch translation from translation project.
21982         * po/pl.po: Update Polish translation from translation project.
21984         * po/ru.po: Update Russian translation from translation project.
21986         * po/uk.po: Update Ukrainian translation from translation project.
21988 2014-01-08  Brooks Moses  <bmoses@google.com>
21990         * elf/dl-load.c: Fix comment typo.
21992 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
21994         * po/header.pot: Rename to...
21995         * po/pot.header: ... this.
21996         * po/Makefile: Use pot.header.
21998 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
21999             Maxim Kuvyrkov  <maxim@kugelworks.com>
22001         [BZ #16394]
22002         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22003         SRC and DEST against LEN.
22005 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22007         [BZ #16414]
22008         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22009         implementation.
22010         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22012 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22016 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22018         [BZ #16408]
22019         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22020         for large positive arguments.
22022 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22024         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22026         * math/auto-libm-test-in: Mark various tests with
22027         xfail-rounding:ldbl-128ibm.
22028         * math/auto-libm-test-out: Regenerated.
22030         [BZ #16407]
22031         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22032         Increase overflow threshold.
22034 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22036         [BZ #14286]
22037         * stdio-common/vfprintf.c: Check for integer overflow.
22039 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22041         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22042         the first argument and return value of __tls_get_addr_internal.
22044 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22046         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22047         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22049 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22051         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22052         * sysdeps/s390/rtld-global-offsets.sym: New file.
22053         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22054         GLIBC_2.19 symbol.
22055         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22056         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22057         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22058         ... this.
22059         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22060         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22061         ... this.
22062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22063         Regenerate.
22064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22065         Regenerate.
22066         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22067         halfs of GPRs for high_gprs contexts.
22068         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22069         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22070         field.
22071         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22072         uc_flags field.
22073         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22074         64 bit versions:
22075         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22076         for high GPRs (uc_high_gprs) and for future extensions
22077         (__reserved).
22078         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22079         for future extensions (__reserved).
22080         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22081         64 bit versions:
22082         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22083         SC_HIGHGPRS offset definition.
22084         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22085         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22087         * Versions.def: Add GLIBC_2.19 for libpthread.
22088         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22089         siglongjmp for libpthread with GLIBC_2.19 symver.
22090         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22091         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22092         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22093         * sysdeps/s390/__longjmp.c: New file.
22094         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22095         * sysdeps/s390/longjmp.c: New file.
22096         * sysdeps/s390/setjmp.S: New file.
22097         * sysdeps/s390/sigjmp.S: New file.
22098         * sysdeps/s390/v1-longjmp.c: New file.
22099         * sysdeps/s390/v1-setjmp.h: New file.
22100         * sysdeps/s390/v1-sigjmp.c: New file.
22101         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22102         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22103         GLIBC_2.19 version.
22104         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22105         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22106         versioned symbols for ____longjmp_chk.
22107         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22108         Likewise.
22109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22110         Regenerate.
22111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22112         Regenerate.
22113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22114         Regenerate.
22115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22116         Regenerate.
22117         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22118         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22119         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22120         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22121         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22122         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22123         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22124         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22125         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22126         * sysdeps/s390/rtld-__longjmp.c: New file.
22127         * sysdeps/s390/rtld-setjmp.S: New file.
22129 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
22131         [BZ #16400]
22132         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22133         Return -__logl (x) for small positive arguments without evaluating
22134         a polynomial.
22136 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
22138         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22139         Rename to ...
22140         (__ptrace_peeksiginfo_args): ... this.
22141         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22142         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22143         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22145 2014-01-06  Allan McRae  <allan@archlinux.org>
22147         * inet/netinet/in.h: Fix typo in comment.
22149 2014-01-05  Andreas Jaeger  <aj@suse.de>
22151         * sysdeps/i386/fpu/libm-test-ulps: Update.
22153 2014-01-05  Allan McRae  <allan@archlinux.org>
22155         * po/libc.pot: Regenerated.
22157         * malloc/memusagestat.c: Fix gettext call formatting.
22159 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22161         * nscd/nscd.c: Improve usage() output.
22163 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22165         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22166         * sysdeps/unix/sysv/linux/configure: Regenerated.
22167         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22168         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22170 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22172         [BZ #16390]
22173         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22174         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22176 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22179         extra tokens at end of #undef directive.
22180         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22181         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22182         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22184 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22186         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22188         * math/auto-libm-test-in: Mark various tests with
22189         xfail-rounding:ldbl-128ibm.
22190         * math/auto-libm-test-out: Regenerated.
22192 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22194         [BZ #16386]
22195         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22196         numbers with subnormal high part when calculating exponent.
22198         [BZ #16385]
22199         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22200         fabs.
22202         [BZ #16384]
22203         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22204         M_LN2l.
22205         (__ieee754_acoshl): Use __log1pl not __log1p.
22207 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22209         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22210         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22211         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22212         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22213         (reused_arena, arena_get2): Convert to GNU style.
22214         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22215         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22216         (memalign_check, __malloc_set_state): Likewise.
22217         * malloc/mallocbug.c (main): Likewise.
22218         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22219         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22220         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22221         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22222         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22223         (__posix_memalign, malloc_info): Likewise.
22224         * malloc/malloc.h: Likewise.
22225         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22226         (mallochook, memalignhook, reallochook, mabort): Likewise.
22227         * malloc/mcheck.h: Likewise.
22228         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22229         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22230         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22231         * malloc/morecore.c (__default_morecore): Likewise.
22232         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22233         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22234         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22235         (print_and_abort): Likewise.
22236         * malloc/obstack.h: Likewise.
22237         * malloc/set-freeres.c (__libc_freeres): Likewise.
22238         * malloc/tst-mallocstate.c (main): Likewise.
22239         * malloc/tst-mtrace.c (main): Likewise.
22240         * malloc/tst-realloc.c (do_test): Likewise.
22242 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22244         [BZ #16366]
22245         * nscd/netgroupcache.c (do_notfound): New function.
22246         (addgetnetgrentX): Use it.
22248         [BZ # 16365]
22249         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22250         NSS_STATUS_NOTFOUND.
22252 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
22254         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22257 2014-01-01  Allan McRae  <allan@archlinux.org>
22259         * scripts/update-copyrights: Update configure input file suffix.
22261         * NEWS: Update copyright year.
22262         * catgets/gencat.c: Likewise.
22263         * csu/version.c: Likewise.
22264         * debug/catchsegv.sh: Likewise.
22265         * debug/pcprofiledump.c: Likewise.
22266         * debug/xtrace.sh: Likewise.
22267         * elf/ldconfig.c: Likewise.
22268         * elf/ldd.bash.in: Likewise.
22269         * elf/pldd.c: Likewise.
22270         * elf/sotruss.ksh: Likewise.
22271         * elf/sprof.c: Likewise.
22272         * iconv/iconv_prog.c: Likewise.
22273         * iconv/iconvconfig.c: Likewise.
22274         * locale/programs/locale.c: Likewise.
22275         * locale/programs/localedef.c: Likewise.
22276         * login/programs/pt_chown.c: Likewise.
22277         * malloc/memusage.sh: Likewise.
22278         * malloc/memusagestat.c: Likewise.
22279         * malloc/mtrace.pl: Likewise.
22280         * manual/libc.texinfo: Likewise.
22281         * nscd/nscd.c: Likewise.
22282         * nss/getent.c: Likewise.
22283         * nss/makedb.c: Likewise.
22284         * posix/getconf.c: Likewise.
22285         * scripts/test-installation.pl: Likewise.
22287         * All files with FSF copyright notices: Update copyright dates
22288         using scripts/update-copyrights.
22289         * intl/plural.c: Regenerated.
22290         * locale/programs/charmap-kw.h: Likewise.
22291         * locale/programs/locfile-kw.h: Likewise.
22293 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
22295         * sysdeps/unix/sysv/linux/configure: Regenerated.
22296         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22297         the linux/fanotify.h header.
22298         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22299         HAVE_LINUX_FANOTIFY_H is defined.
22301 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22303         * benchtests/cos-inputs: New inputs.
22304         * benchtests/sin-inputs: Likewise.
22306         * benchtests/atan-inputs: New inputs. Fix name of multiple
22307         precision fallback inputs.
22309         * benchtests/atanh-inputs: New inputs.
22310         * benchtests/tanh-inputs: Likewise.
22312         * benchtests/acosh-inputs: New inputs.
22313         * benchtests/asinh-inputs: Likewise.
22315         * benchtests/cosh-inputs: New inputs.
22316         * benchtests/sinh-inputs: Likewise.
22318         * benchtests/acos-inputs: Add more inputs.
22319         * benchtests/asin-inputs: Likewise.
22321 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
22323         [BZ #16375]
22324         * manual/arith.texi: Fix spelling.
22325         * manual/charset.texi: Likewise.
22326         * manual/errno.texi: Likewise.
22327         * manual/filesys.texi: Likewise.
22328         * manual/lang.texi: Likewise.
22329         * manual/llio.texi: Likewise.
22330         * manual/locale.texi: Likewise.
22331         * manual/message.texi: Likewise.
22332         * manual/resource.texi: Likewise.
22333         * manual/search.texi: Likewise.
22334         * manual/setjmp.texi: Likewise.
22335         * manual/stdio.texi: Likewise.
22336         * manual/string.texi: Likewise.
22337         * manual/sysinfo.texi: Likewise.
22338         * manual/time.texi: Likewise.
22340 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
22342         * po/sl.po: New file.
22344 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
22346         * .gitignore: Add core/.gdbinit/.gdb_history.
22348 2013-12-27  Allan McRae  <allan@archlinux.org>
22350         [BZ #16369]
22351         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22352         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22354 2013-12-24  Brooks Moses  <bmoses@google.com>
22356         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22357         all compilers that claim C++98 compliance, not just GCC.
22358         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22359         Likewise.
22361 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22363         * NEWS: Restore accidentally deleted bug-fix entries.
22365 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22366             Ondřej Bílka  <neleai@seznam.cz>
22368         [BZ #15073]
22369         * malloc/malloc.c (_int_free): Perform sanity check only if we
22370         have_lock.
22372 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
22374         [BZ #12986]
22375         * manual/stdio.texi (String Input Conversions): Clarify that character
22376         classes are not supported.
22378 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22382 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
22384         [BZ #16337]
22385         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22386         Calculate results for small negative arguments directly rather
22387         than using reflection formula with special underflow handling.
22389         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22390         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22391         sysdeps/unix/bsd/bsd4.4/syscalls.list.
22392         (fchflags): Likewise.
22393         (revoke): Likewise.
22394         (setlogin): Likewise.
22395         (sigaltstack): Likewise.
22396         (wait4): Likewise.
22397         (sigblock): Remove.
22398         (sigsetmask): Likewise.
22399         (wait3): Likewise.
22400         (waitpid): Likewise.
22401         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22402         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22403         file.
22404         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22405         * sysdeps/unix/bsd/Makefile: ... here.
22406         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22407         * sysdeps/unix/bsd/Versions: ... here.
22408         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22409         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22410         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22411         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22412         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22413         * sysdeps/unix/bsd/sigblock.c: ... here.
22414         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22415         * sysdeps/unix/bsd/sigsetmask.c: ... here.
22416         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22417         * sysdeps/unix/bsd/sigvec.c: ... here.
22418         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22419         * sysdeps/unix/bsd/tcdrain.c: ... here.
22420         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22421         * sysdeps/unix/bsd/tcgetattr.c: ... here.
22422         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22423         * sysdeps/unix/bsd/tcsetattr.c: ... here.
22424         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22425         * sysdeps/unix/bsd/wait.c: ... here.
22426         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22427         * sysdeps/unix/bsd/wait3.c: ... here.
22428         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22429         * sysdeps/unix/bsd/waitpid.c: ... here.
22431 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
22433         [BZ #16356]
22434         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22435         round-to-nearest for [!USE_AS_EXPM1L].
22436         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22437         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
22438         more tests of exp and exp10.  Expect some exp10 tests to miss
22439         exceptions or fail in directed rounding modes.
22440         * math/auto-libm-test-out: Regenerated.
22441         * math/libm-test.inc (exp10_tonearest_test_data): New array.
22442         (exp10_test_tonearest): New function.
22443         (exp10_towardzero_test_data): New array.
22444         (exp10_test_towardzero): New function.
22445         (exp10_downward_test_data): New array.
22446         (exp10_test_downward): New function.
22447         (exp10_upward_test_data): New array.
22448         (exp10_test_upward): New function.
22449         (main): Call the new functions.
22450         * sysdeps/i386/fpu/libm-test-ulps: Update.
22451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22453 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
22455         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22456         asinh, atan, atan2, atanh, cbrt, cos and cosh.
22457         * math/auto-libm-test-out: Regenerated.
22458         * math/libm-test.inc (acosh_test_data): Add more tests.
22459         (atanh_test_data): Likewise.
22460         (ceil_test_data): Likewise.
22461         (copysign_test_data): Likewise.
22462         * sysdeps/i386/fpu/libm-test-ulps: Update.
22463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22465         * timezone/checktab.awk: Update from tzcode 2013i.
22466         * timezone/private.h: Likewise.
22467         * timezone/scheck.c: Likewise.
22468         * timezone/tzfile.h: Likewise.
22469         * timezone/tzselect.ksh: Likewise.
22470         * timezone/zdump.c: Likewise.
22471         * timezone/zic.c: Likewise.
22473         * math/auto-libm-test-in: Add tests of cpow.
22474         * math/auto-libm-test-out: Regenerated.
22475         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22476         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22477         mpc_cc_c.
22478         (func_calc_desc): Add mpc_cc_c union field.
22479         (test_functions): Add cpow.
22480         (special_fill_2pi): New function.
22481         (special_real_inputs): Add 2pi.
22482         (calc_generic_results): Handle mpc_cc_c.
22483         * sysdeps/i386/fpu/libm-test-ulps: Update.
22484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22486         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22487         csqrt, ctan and ctanh.
22488         * math/auto-libm-test-out: Regenerated.
22489         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22490         (TEST_COND_x86): Likewise.
22491         (ccos_test_data): Use AUTO_TESTS_c_c.
22492         (ccosh_test_data): Likewise.
22493         (cexp_test_data): Likewise.
22494         (clog_test_data): Likewise.
22495         (csqrt_test_data): Likewise.
22496         (ctan_test_data): Likewise.
22497         (ctan_tonearest_test_data): Likewise.
22498         (ctan_towardzero_test_data): Likewise.
22499         (ctan_downward_test_data): Likewise.
22500         (ctan_upward_test_data): Likewise.
22501         (ctanh_test_data): Likewise.
22502         (ctanh_tonearest_test_data): Likewise.
22503         (ctanh_towardzero_test_data): Likewise.
22504         (ctanh_downward_test_data): Likewise.
22505         (ctanh_upward_test_data): Likewise.
22506         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22507         mpc_c_c.
22508         (func_calc_desc): Add mpc_c_c union field.
22509         (FUNC_mpc_c_c): New macro.
22510         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22511         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22512         ctanh.
22513         (special_fill_min_subnorm_p120): New function.
22514         (special_real_inputs): Add min_subnorm_p120.
22515         (calc_generic_results): Handle mpc_c_c.
22516         * sysdeps/i386/fpu/libm-test-ulps: Update.
22517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22519 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22521         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22522         (do_sin_slow): New functions.
22523         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22524         (cslow2, csloww1, csloww2): Use the new functions.
22526         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22527         Use M to change sign of result instead of X.  Assume X is
22528         positive.
22529         (csloww1): Likewise.
22530         (__sin): Adjust.
22531         (__cos): Adjust.
22533         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22534         arguments A and DA.
22535         (__sin): Adjust.
22536         (__cos): Likewise.
22538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22539         (__cos): Likewise.
22540         (sloww1): Don't adjust sign of DX.
22541         (csloww1): Likewise.
22542         (sloww2): Use X directly and don't adjust sign of DX.
22543         (csloww2): Likewise.
22545 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22547         * math/auto-libm-test-in: Add tests of cabs and carg.
22548         * math/auto-libm-test-out: Regenerated.
22549         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22550         (carg_test_data): Likewise.
22551         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22552         mpc_c_f.
22553         (func_calc_desc): Add mpc_c_f union field.
22554         (test_functions): Add cabs and carg.
22555         (calc_generic_results): Handle mpc_c_f.
22557         * sysdeps/powerpc/powerpc32/libgcc-compat.S
22558         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22559         as a macro and a compat symbol.
22560         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22561         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22562         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22563         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22564         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22565         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22566         not use .hidden.
22567         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22568         Likewise.
22569         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22570         Likewise.
22571         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22572         Likewise.
22573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22574         Likewise.
22575         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22576         Likewise.
22577         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22578         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22579         from GLIBC_2.3.2.
22581 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22585 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22587         * manual/texinfo.tex: Update to version 2013-11-26.10 with
22588         trailing whitespace removed.
22589         * scripts/config.guess: Update to version 2013-11-29.
22590         * scripts/config.sub: Update to version 2013-10-01.
22592         * math/auto-libm-test-in: Add tests of sincos.
22593         * math/auto-libm-test-out: Regenerated.
22594         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22595         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22596         mpfr_f_11.
22597         (func_calc_desc): Add mpfr_f_11 union field.
22598         (test_functions): Add sincos.
22599         (calc_generic_results): Handle mpfr_f_11.
22600         * sysdeps/i386/fpu/libm-test-ulps: Update.
22601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22603 2013-12-19  Andreas Schwab  <schwab@suse.de>
22605         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22606         CALL_MCOUNT.
22607         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22608         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22609         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22611 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22613         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22614         * sysdeps/i386/fpu/libm-test-ulps: Update.
22615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22617         [BZ #16293]
22618         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22619         round-to-nearest mode when using frndint.
22620         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22621         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22622         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22623         Likewise.
22624         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
22625         sinh test to fail.
22626         * math/auto-libm-test-out: Regenerated.
22627         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22628         (TEST_COND_x86): Likewise.
22629         (expm1_tonearest_test_data): New array.
22630         (expm1_test_tonearest): New function.
22631         (expm1_towardzero_test_data): New array.
22632         (expm1_test_towardzero): New function.
22633         (expm1_downward_test_data): New array.
22634         (expm1_test_downward): New function.
22635         (expm1_upward_test_data): New array.
22636         (expm1_test_upward): New function.
22637         (main): Run the new test functions.
22638         * sysdeps/i386/fpu/libm-test-ulps: Update.
22639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22641         * include/features.h: Update comment documenting feature test
22642         macros.  Mention _DEFAULT_SOURCE in comment.
22643         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22644         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22645         _BSD_SOURCE and _SVID_SOURCE.
22646         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22647         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22648         !_SVID_SOURCE]: Likewise.
22649         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22650         (__USE_POSIX_IMPLICITLY): Define.
22651         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22652         (_POSIX_SOURCE): Undefine and redefine.
22653         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22654         (_POSIX_C_SOURCE): Likewise.
22655         * manual/creature.texi (_DEFAULT_SOURCE): Document.
22656         (Feature Test Macros): Update documentation of default features.
22658 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22660         * benchtests/Makefile: Add bench-strtok.
22661         * benchtests/bench-strtok.c: New file: strtok benchtest.
22663 2013-12-19  Allan McRae  <allan@archlinux.org>
22665         * manual/install.texi: Suppress menu for plain text output.
22666         * INSTALL: Regenerated.
22668 2013-12-18  Brooks Moses  <bmoses@google.com>
22670         [BZ #15846]
22671         * misc/getauxval.c: Include errno.h.
22672         (__getauxval): Set errno to ENOENT if the requested type is not
22673         found.
22674         * misc/sys/auxv.h (getauxval): Document that it may set errno;
22675         don't declare with __attribute_const__.
22676         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22677         * manual/startup.texi: Document that getauxval sets errno.
22679 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22681         * math/auto-libm-test-in: Add tests of jn and yn.
22682         * math/auto-libm-test-out: Regenerated.
22683         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22684         (yn_test_data): Likewise.
22685         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22686         mpfr_if_f.
22687         (func_calc_desc): Add mpfr_if_f union field.
22688         (FUNC_mpfr_if_f): New macro.
22689         (test_functions): Add jn and yn.
22690         (calc_generic_results): Assert type of second input for
22691         mpfr_ff_f.  Handle mpfr_if_f.
22692         (output_for_one_input_case): Disable all checking for arguments
22693         fitting floating-point types in case of an integer argument.
22694         * sysdeps/i386/fpu/libm-test-ulps: Update.
22695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22698         Don't expect fegetround reference in libm.so.
22700 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22702         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22703         $(config-cflags-nofma).
22705 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22707         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22708         * math/auto-libm-test-out: Regenerated.
22710         [BZ #16338]
22711         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22712         to determine exponent and adjust argument to have exponent of -1.
22713         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22714         log2.
22715         * math/auto-libm-test-out: Regenerated.
22716         * sysdeps/i386/fpu/libm-test-ulps: Update.
22717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22719 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
22721         * manual/probes.texi: Remove cases when per-thread arenas are
22722         disabled.
22724 2013-12-18  Andreas Schwab  <schwab@suse.de>
22726         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22727         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22728         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22729         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22730         * sysdeps/i386/i686/multiarch/Makefile: Update.
22731         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22733 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22735         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22736         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22738 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
22740         [BZ #15968]
22741         Support TZ transition times < 00:00:00.
22742         This is needed for version-3 tz-format files; it supports time
22743         stamps past 2037 for America/Godthab (the only entry in the tz
22744         database for which this change is relevant).
22745         * manual/time.texi (TZ Variable): Document transition times
22746         from -167:59:59 through -00:00:01.
22747         * time/tzset.c (tz_rule): Time of day is now signed.
22748         (__tzset_parse_tz): Parse negative time of day.
22750         Document TZ transition times >= 25:00:00.
22751         * manual/time.texi (TZ Variable): Document transition times from
22752         25:00:00 through 167:59:59.  These are already supported, and this
22753         support will help with version-3 tz-format files.
22755         * manual/time.texi (TZ Variable): Modernize North America example
22756         to reflect current (i.e., 2007-and-later) daylight saving rules.
22758         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22760 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22762         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22763         * sysdeps/unix/bsd/bits/stat.h: Likewise.
22764         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22765         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22766         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22767         * sysdeps/unix/bsd/bsdstat.h: Likewise.
22768         * sysdeps/unix/bsd/clock.c: Likewise.
22769         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22770         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22771         * sysdeps/unix/bsd/init-posix.c: Likewise.
22772         * sysdeps/unix/bsd/poll.c: Likewise.
22773         * sysdeps/unix/bsd/ptsname.c: Likewise.
22774         * sysdeps/unix/bsd/seekdir.c: Likewise.
22775         * sysdeps/unix/bsd/setegid.c: Likewise.
22776         * sysdeps/unix/bsd/seteuid.c: Likewise.
22777         * sysdeps/unix/bsd/setgid.c: Likewise.
22778         * sysdeps/unix/bsd/setrgid.c: Likewise.
22779         * sysdeps/unix/bsd/setruid.c: Likewise.
22780         * sysdeps/unix/bsd/setsid.c: Likewise.
22781         * sysdeps/unix/bsd/setuid.c: Likewise.
22782         * sysdeps/unix/bsd/sigaction.c: Likewise.
22783         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22784         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22785         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22786         * sysdeps/unix/bsd/telldir.c: Likewise.
22787         * sysdeps/unix/bsd/times.c: Likewise.
22788         * sysdeps/unix/bsd/usleep.c: Likewise.
22790         * misc/Makefile (install-lib): Remove libbsd-compat.a.
22791         ($(objpfx)libbsd-compat.a): Remove rule.
22793         * include/features.h (__FAVOR_BSD): Do not define.
22794         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22795         features conflicting with POSIX.
22796         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22797         (_BSD_SOURCE): Remove description of not being a subset of other
22798         feature test macros.
22799         * manual/job.texi (getpgrp): Do not document BSD version.
22800         (getpgid): Do not document by reference to BSD getpgrp.
22801         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22802         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22803         * signal/signal.h [__FAVOR_BSD]: Likewise.
22804         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22805         instead of making contents conditional on [__FAVOR_BSD].
22806         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22808 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22812 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22814         [BZ #16314]
22815         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22816         values below 2**-450, not 2**-500.
22817         * math/auto-libm-test-in: Don't allow spurious underflow from
22818         hypot.
22819         * math/auto-libm-test-out: Regenerated.
22821         [BZ #16316]
22822         [BZ #16330]
22823         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22824         values of ha and hb and sort them after adjusting subnormal
22825         arguments.
22826         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22827         Likewise.
22828         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22829         values of ea and eb and sort them after adjusting subnormal
22830         arguments.
22831         * math/auto-libm-test-in: Do not expect some hypot tests of
22832         subnormals to fail.  Add more hypot tests.
22833         * math/auto-libm-test-out: Regenerated.
22835 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22837         [BZ #13304]
22838         * sysdeps/sh/s_fma.c: New file.
22839         * sysdeps/sh/s_fmaf.c: New file.
22840         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
22841         version.
22842         * sysdeps/sh/Implies: Add sh/soft-fp.
22844 2013-12-16  Roland McGrath  <roland@hack.frob.com>
22846         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
22847         level of indirection to members `objname', `errstring', `malloced'.
22848         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22849         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
22850         it as the __longjmp argument (just pass 1 instead).
22851         (_dl_catch_error): Initialize C with argument pointers and address of
22852         volatile local ERRCODE rather than copying values out of C at return.
22854 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
22856         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22857         * math/auto-libm-test-out: Regenerated.
22858         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22859         (hypot_test_data): Likewise.
22860         (pow_test_data): Likewise.
22861         (pow_tonearest_test_data): Likewise.
22862         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22863         mpfr_ff_f.
22864         (func_calc_desc): Add mpfr_ff_f union field.
22865         (FUNC_mpfr_ff_f): New macro.
22866         (test_functions): Add atan2, hypot and pow.
22867         (special_fill_min): New function.
22868         (special_fill_minus_min): Likewise.
22869         (special_fill_min_subnorm): Likewise.
22870         (special_fill_minus_min_subnorm): Likewise.
22871         (special_real_inputs): Add min, -min, min_subnorm and
22872         -min_subnorm.
22873         (calc_generic_results): Handle mpfr_ff_f.
22874         * sysdeps/i386/fpu/libm-test-ulps: Update.
22875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22877 2013-12-16  Will Newton  <will.newton@linaro.org>
22879         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22880         (Aligned Memory Blocks): Add documentation for aligned_alloc
22881         and suggest it as an alternative to posix_memalign.
22882         (Hooks for Malloc): Document __memalign_hook is also called
22883         for aligned_alloc.  (Summary of Malloc): Add summary for
22884         aligned alloc.  Document __memalign_hook is also called
22885         for aligned_alloc.
22887 2013-12-16  Will Newton  <will.newton@linaro.org>
22889         * manual/memory.texi (Malloc Examples): Clarify default
22890         alignment documentation.  Suggest posix_memalign rather
22891         than memalign or valloc.
22892         (Aligned Memory Blocks): Remove suggestion to use memalign
22893         or valloc.  Remove obsolete comment about BSD.
22894         Document memalign errno values and mark the function obsolete.
22895         Document posix_memalign returned error codes.  Mark valloc
22896         as obsolete.  (Hooks for Malloc): __memalign_hook is also
22897         called for posix_memalign and valloc.
22898         (Summary of Malloc): Add posix_memalign to function summary.
22899         __memalign_hook is also called for posix_memalign and valloc.
22901 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22903         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22904         TAYLOR_SIN.
22905         (__sin): Adjust.
22906         (__cos): Likewise.
22907         (sloww): Use mynumber union.  Expand ternary operator into
22908         if-else statements.
22909         (cslow): use mynumber union.
22911 2013-12-16  Allan McRae  <allan@archlinux.org>
22913         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22914         * configure: Regenerated.
22916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22918         [BZ #14120]
22919         * configure.ac: Added --enable-maintainer-mode. Check for
22920         autoconf when enabled.
22921         * configure: Regenerated.
22923         * nscd/nscd.service: New file.
22924         * nscd/nscd.tmpfiles: New file.
22926 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
22928         [BZ #12100]
22929         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22930         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22931         * sysdeps/x86_64/multiarch/strstr.c: ... here.
22932         (strstr): Add __strstr_sse2_unaligned ifunc.
22933         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22934         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22935         (strcasestr): Remove __strcasestr_sse42 ifunc.
22936         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22940 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22942         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22943         * sysdeps/sh/bits/fenv.h: ... here.
22944         * sysdeps/sh/sh4/fpu/bits: Remove directory.
22946 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22948         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22951         hypotf multiarch implementations.
22952         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22953         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22954         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22955         multiarch hypot for PPC64.
22956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22957         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22958         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22959         multiarch hypotf for PPC64.
22961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22962         modff multiarch implementations.
22963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22966         multiarch modf for PPC64.
22967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22970         multiarch modff for PPC64.
22972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22973         and logl multiarch implementations.
22974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22977         multiarch logb for PPC64.
22978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22981         multiarch logb for PPC64.
22982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22985         multiarch logb for PPC64.
22987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22988         isinff multiarch implementation.
22989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22990         file.
22991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22993         multiarch isinf for PPC64.
22994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22995         file.
22996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22997         multiarch isinff for PPC64.
22999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23000         finitef multiarch implementation.
23001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23002         file.
23003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23005         multiarch finite for PPC64.
23006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23007         file.
23008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23009         multiarch finitef for PPC64.
23011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23012         lrint multiarch implementation.
23013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23014         file.
23015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23017         multiarch llrint for PPC64.
23018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23019         multiarch lrint for PPC64.
23021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23022         copysignf multiarch implementation.
23023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23024         file.
23025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23026         file.
23027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23028         multiarch copysign for PPC64.
23029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23030         multiarch copysignf for PPC64.
23032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23033         multiarch implementation.
23034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23035         file.
23036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23037         file.
23038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23039         file.
23040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23041         file.
23042         multiarch llround for PPC64.
23043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23044         multiarch trunc for PPC64.
23045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23046         multiarch truncf for PPC64.
23048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23049         multiarch implementation.
23050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23051         file.
23052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23053         file.
23054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23055         file.
23056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23057         file.
23058         multiarch llround for PPC64.
23059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23060         multiarch round for PPC64.
23061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23062         multiarch roundf for PPC64.
23064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23065         multiarch implementation.
23066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23067         file.
23068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23069         file.
23070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23071         file.
23072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23073         file.
23074         multiarch llround for PPC64.
23075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23076         multiarch floor for PPC64.
23077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23078         multiarch floorf for PPC64.
23080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23081         multiarch implementation.
23082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23083         file.
23084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23085         file.
23086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23087         file.
23088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23089         file.
23090         multiarch llround for PPC64.
23091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23092         multiarch ceil for PPC64.
23093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23094         multiarch ceilf for PPC64.
23096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23097         multiarch implementation.
23098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23099         file.
23100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23101         file.
23102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23103         file.
23104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23105         multiarch llround for PPC64.
23106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23107         multiarch lround for PPC64.
23109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23110         multiarch implementation.
23111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23114         file.
23115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23118         multiarch isnan for PPC64.
23119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23120         multiarch isnanf for PPC64.
23122         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23123         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23124         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23125         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23126         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23129         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23130         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23132         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23135         multiarch implementations.
23136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23137         (__libc_ifunc_impl_list): Likewise.
23138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23139         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23140         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23141         multiarch stpcpy for PPC64.
23143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23144         multiarch implementations.
23145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23146         (__libc_ifunc_impl_list): Likewise.
23147         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23148         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23149         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23150         multiarch strcpy for PPC64.
23152         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23153         redefine function name.
23154         (_wordcopy_fwd_dest_aligned): Likewise.
23155         (_wordcopy_bwd_aligned): Likewise.
23156         (_wordcopy_bwd_dest_aligned): Likewise.
23157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23158         multiarch implementations.
23159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23160         (__libc_ifunc_impl_list): Likewise.
23161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23162         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23163         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23164         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23165         multiarch wcscpy for PPC64.
23167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23168         multiarch implementations.
23169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23170         (__libc_ifunc_impl_list): Likewise.
23171         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23172         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23173         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23174         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23175         multiarch wcscpy for PPC64.
23177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23178         multiarch implementations.
23179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23180         (__libc_ifunc_impl_list): Likewise.
23181         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23182         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23183         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23184         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23185         multiarch wcsrchr for PPC64.
23187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23188         multiarch implementations.
23189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23190         (__libc_ifunc_impl_list): Likewise.
23191         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23192         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23193         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23194         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23195         multiarch wcschr for PPC64.
23197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23198         multiarch implementations.
23199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23200         (__libc_ifunc_impl_list): Likewise.
23201         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23202         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23203         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23204         multiarch strchrnul for PPC64.
23206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23207         implementations.
23208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23209         (__libc_ifunc_impl_list): Likewise.
23210         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23211         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23212         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23213         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23214         strchr for PPC64.
23216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23217         implementations.
23218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23219         (__libc_ifunc_impl_list): Likewise.
23220         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23221         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23222         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23223         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23224         strncmp for PPC64.
23226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23227         multiarch implementations.
23228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23229         (__libc_ifunc_impl_list): Likewise.
23230         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23231         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23232         strncasecmp for PPC64.
23233         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23234         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23235         multiarch strncasecmp_l for PPC64.
23237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23238         multiarch implementations.
23239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23240         (__libc_ifunc_impl_list): Likewise.
23241         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23243         multiarch strcasecmp for PPC64.
23244         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23245         file.
23246         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23247         multiarch strcasecmp_l for PPC64.
23249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23250         implementations.
23251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23252         (__libc_ifunc_impl_list): Likewise.
23253         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23254         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23255         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23256         strnlen for PPC64.
23258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23259         implementations.
23260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23261         (__libc_ifunc_impl_list): Likewise.
23262         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23263         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23264         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23265         strlen for PPC64.
23267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23268         implementations.
23269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23270         (__libc_ifunc_impl_list): Likewise.
23271         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23272         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23273         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23274         rawmemrchr for PPC64.
23276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23277         implementation.
23278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23279         (__libc_ifunc_impl_list): Likewise.
23280         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23281         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23282         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23283         memrchr for PPC64.
23285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23286         implementation.
23287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23288         (__libc_ifunc_impl_list): Likewise.
23289         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23290         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23291         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23292         memchr for PPC64.
23294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23295         implementation.
23296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23297         (__libc_ifunc_impl_list): Likewise.
23298         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23299         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23300         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23301         mempcpy for PPC64.
23303         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23304         avoid cretion of __bzero symbol.
23305         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23306         Likewise.
23307         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23308         Likewise.
23309         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23310         Likewise.
23311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23312         multiarch implementations.
23313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23314         (__libc_ifunc_impl_list): Likewise.
23315         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23316         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23317         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23318         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23319         bzero for PPC32.
23320         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23321         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23322         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23323         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23324         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23325         memset for PPC64.
23326         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23328         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23330         implementations.
23331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23332         (__libc_ifunc_impl_list): Likewise.
23333         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23334         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23335         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23336         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23337         memcmp for PPC64.
23339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23340         multiarch for POWER/PPC64.
23341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23342         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23343         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23344         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23345         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23346         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23347         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23348         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23349         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23350         memcpy for PPC64.
23352         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23353         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23354         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23355         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23356         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23357         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23358         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23359         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23360         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23361         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23362         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23363         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23364         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23365         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23366         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23375 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23377         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23379 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23381         * benchtests/Makefile (bench): Add exp2 and log2.
23382         (LDLIBS-bench-exp2): Add -lm.
23383         (LDLIBS-bench-log2): Likewise.
23384         * benchtests/exp2-inputs: New inputs file.
23385         * benchtests/log2-inputs: New inputs file.
23386         * benchtests/log-inputs: Add new inputs.
23387         * benchtests/tan-inputs: Likewise.
23389 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23391         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23392         definition...
23393         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23394         (csloww2): ... from here.
23396         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23397         instead of structures.
23398         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23399         (POLYNOMIAL): Likewise.
23400         (TAYLOR_SLOW): Likewise.
23401         (__sin): Likewise.
23402         (__cos): Likewise.
23403         (slow1): Likewise.
23404         (slow2): Likewise.
23405         (sloww): Likewise.
23406         (sloww1); Likewise.
23407         (sloww2): Likewise.
23408         (bsloww1): Likewise.
23409         (bsloww2): Likewise.
23410         (cslow2): Likewise.
23411         (csloww): Likewise.
23412         (csloww1): Likewise.
23413         (csloww2): Likewise.
23415 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
23417         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23418         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23419         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23420         * malloc/hooks.c (realloc_check): Likewise.
23422         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23423         * malloc/arena.c: Remove PER_THREAD conditional.
23424         [!PER_THREAD]: Remove code.
23425         (ptmalloc_unlock_all2): Likewise.
23426         (ptmalloc_init): Likewise.
23427         (_int_new_arena): Likewise.
23428         (arena_get2): Likewise.
23429         * malloc/hooks.c (__malloc_get_state): Likewise.
23430         (__malloc_set_state): Likewise.
23431         * malloc/malloc.c: Likewise.
23432         (struct malloc_state): Likewise.
23433         (struct malloc_par): Likewise.
23434         (__libc_realloc): Likewise.
23435         (__libc_mallopt): Likewise.
23437 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23439         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23441 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
23443         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23444         macro to a function.  Check for zero perturb_byte.
23445         (_int_malloc, _int_free): Remove zero perturb_byte checks.
23447         * malloc/malloc.c: (force_reg): Remove.
23448         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23449         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23450         force_reg by atomic_forced_read.
23451         * malloc/arena.c (ptmalloc_init): Likewise.
23452         * malloc/hooks.c (top_check): Likewise.
23454 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23458 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
23460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23462 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
23464         * math/auto-libm-test-in: Add tests of lgamma.
23465         * math/auto-libm-test-out: Regenerated.
23466         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23467         (M_LOG_2_SQRT_PIl): Likewise.
23468         (lgamma_test_data): Use AUTO_TESTS_f_f1.
23469         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23470         mpfr_f_f1.
23471         (func_calc_desc): Add mpfr_f_f1 union field.
23472         (ARGS1): New macro.
23473         (ARGS2): Likewise.
23474         (ARGS3): Likewise.
23475         (ARGS4): Likewise.
23476         (RET1): Likewise.
23477         (RET2): Likewise.
23478         (CALC): Likewise.
23479         (FUNC): Likewise.
23480         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23481         (test_functions): Add lgamma.
23482         (calc_generic_results): Handle mpfr_f_f1.
23483         * sysdeps/i386/fpu/libm-test-ulps: Update.
23484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23486 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23488         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23489         __mpn_add_n for PowerPC64/POWER7.
23490         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23491         __mpn_sub_n for PowerPC64/POWER7.
23493         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23494         __mpn_addmul_1 for PowerPC64.
23495         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23496         __mpn_submul_1 for PowerPC64.
23497         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23498         for PowerPC64.
23499         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23500         for PowerPC64.
23502 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
23504         [BZ #15089]
23505         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23507 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23509         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23511         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23512         add multiarch folders.
23513         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23514         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23515         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23516         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23517         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23518         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23519         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23520         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23521         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23522         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23523         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23532         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23534         New file.
23535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23536         New file.
23537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23538         multiarch __ieee754_hypot for PowerPC32.
23539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23540         New file.
23541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23542         New file.
23543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23544         multiarch __ieee754_hypotf for PowerPC32.
23546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23547         long_double_symbol only if __logbl is defined.
23548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23549         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23551         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23553         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23554         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23555         path for implementation.
23556         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23557         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23559         logb, and logbl multiarch implementations for PowerPC32.
23560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23561         file.
23562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23563         file.
23564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23565         multiarch logb for PowerPC32.
23566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23567         file.
23568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23569         file.
23570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23571         multiarch logbf for PowerPC32.
23572         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23574         file.
23575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23576         multiarch logbl implementation for PowerPC32.
23578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23579         and modff multiarch implementations.
23580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23581         New file.
23582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23583         New file.
23584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23585         multiarch modf for PowerPC32.
23586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23587         New file.
23588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23589         New file.
23590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23591         multiarch modff for PowerPC32.
23593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23594         and lrintf multiarch implementations.
23595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23596         New file.
23597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23598         New file.
23599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23600         multiarch lrint for PowerPC32.
23601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23602         file: multiarch lrintf for PowerPC32.
23604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23605         and lroundf multiarch implementations.
23606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23607         New file.
23608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23609         New file.
23610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23611         New file.
23612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23613         multiarch lround for PowerPC32.
23614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23615         file: multiarch lroundf for PowerPC32.
23617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23618         copysign and copysignf multiarch implementations.
23619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23620         New file.
23621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23622         New file.
23623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23624         file: multiarch copysign for PowerPC32.
23625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23626         file: multiarch copysignf for PowerPC32.
23628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23629         and truncf multiarch implementations.
23630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23631         New file.
23632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23633         file.
23634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23635         multiarch trunc for PowerPC32.
23636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23637         New file.
23638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23639         New file.
23640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23641         multiarch truncf for PowerPC32.
23643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23644         and roundf multiarch implementations.
23645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23646         New file.
23647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23648         file.
23649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23650         multiarch round for PowerPC32.
23651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23652         New file.
23653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23654         New file.
23655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23656         multiarch roundf for PowerPC32.
23658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23659         and floorf multiarch implementations.
23660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23661         New file.
23662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23663         file.
23664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23665         multiarch floor for PowerPC32.
23666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23667         New file.
23668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23669         New file.
23670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23671         multiarch floorf for PowerPC32.
23673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23674         and ceilf multiarch implementations.
23675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23676         New file.
23677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23678         file.
23679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23680         multiarch ceil for PowerPC32.
23681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23682         New file.
23683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23684         file.
23685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23686         multiarch ceilf for PowerPC32.
23688         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23689         is defined.
23690         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23691         FINITEF is defined.
23692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23693         and finitef multiarch implementations.
23694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23695         New file.
23696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23697         file.
23698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23699         multiarch finite for PowerPC32.
23700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23701         New file.
23702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23703         file: multiarch finitef for PowerPC32.
23705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23706         and isinff multiarch implementations.
23707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23708         file.
23709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23710         file.
23711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23712         multiarch isinf for PowerPC32.
23713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23714         New file.
23715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23716         multiarch isinff for PowerPC32.
23718         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23719         alias when __isnan is defined.
23720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23721         and isnanf multiarch implementations.
23722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23723         file.
23724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23725         file.
23726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23727         file.
23728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23729         file.
23730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23731         multiarch isnan for PowerPC32.
23732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23733         New file.
23734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23735         New file.
23736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23737         multiarch isnanf for PowerPC32.
23739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23740         and sqrtf multiarch implementations.
23741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23742         file.
23743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23744         file.
23745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23746         multiarch sqrt for PowerPC32.
23747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23748         file.
23749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23750         file.
23751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23752         multiarch sqrtf for PowerPC32.
23754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23755         and llroundf multiarch implementations.
23756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23757         New file.
23758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23759         New file.
23760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23761         New file.
23762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23763         file: multiarch llround for PowerPC32.
23764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23765         file: multiarch llroundf for PowerPC32.
23767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23768         multiarch PowerPC32 fpu implementations.
23769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23770         New file.
23771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23772         New file.
23773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23774         multiarch llrint for PowerPC32.
23775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23776         New file.
23777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23778         New file.
23779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23780         file.
23782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23784         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23785         file.
23786         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23787         file.
23788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23789         file.
23790         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23791         multiarch wordcopy for PPC32.
23792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23793         wordcopy objects.
23794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23795         (__libc_ifunc_impl_list): Likewise.
23796         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23797         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23798         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23799         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23800         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23801         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23803         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23804         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23805         file.
23806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23807         file.
23808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23809         file.
23810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23811         multiarch wcscpy for PPC32.
23812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23813         multiarch objects.
23814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23815         (__libc_ifunc_impl_list): Likewise.
23816         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23817         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23818         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23819         sysdeps/powerpc/power6/wcscpy.c.
23821         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23823         file.
23824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23825         file.
23826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23827         file.
23828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23829         multiarch wcsrchr for PPC32.
23830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23831         multiarch objects.
23832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23833         (__libc_ifunc_impl_list): Likewise.
23834         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23835         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23836         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23837         sysdeps/powerpc/power6/wcsrchr.c.
23839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23840         file.
23841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23842         file.
23843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23844         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23845         multiarch wcschr for PPc32.
23846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23847         multiarch objects.
23848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23849         (__libc_ifunc_impl_list): Likewise.
23850         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23851         * sysdeps/powerpc/power6/wcschr.c: ... to here.
23852         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23853         sysdeps/powerpc/power6/wcschr.c.
23855         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23856         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23857         file.
23858         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23859         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23860         file: multiarch strchr for PPC32.
23861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23862         multiarch objects.
23863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23864         (__libc_ifunc_impl_list): Likewise.
23866         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23867         name.
23868         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23869         file.
23870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23871         file.
23872         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23873         multiarch strchrnul for PPC32.
23874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23875         multiarch objects.
23876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23877         (__libc_ifunc_impl_list): Likewise.
23879         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23880         file.
23881         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23882         multiarch strncasecmp for PPC32.
23883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23884         file.
23885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23886         multiarch strncasecmp_l for PPC32.
23887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23888         strncasecmp multiarch objects.
23889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23890         (__libc_ifunc_impl_list): Likewise.
23892         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23893         file.
23894         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23895         multiarch strncasecmp for PPC32.
23896         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23897         New file.
23898         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23899         multiarch strcasecmp_l for PPC32.
23900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23901         multiarch objects.
23902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23903         (__libc_ifunc_impl_list): Likewise.
23905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23906         file.
23907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23908         file.
23909         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23910         multiarch strncmp for PPC32.
23911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23912         multiarch objects.
23913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23914         (__libc_ifunc_impl_list): Likewise.
23916         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23917         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23918         file.
23919         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23920         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23922         multiarch objects.
23923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23924         (__libc_ifunc_impl_list): Likewise.
23926         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23927         file.
23928         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23929         file.
23930         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23932         multiarch objects.
23933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23934         (__libc_ifunc_impl_list): Likewise.
23936         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23937         file.
23938         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23939         file.
23940         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23941         multiarch rawmemchr for PPC32.
23942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23943         multiarch objects.
23944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23945         (__libc_ifunc_impl_list): Likewise.
23947         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23948         file.
23949         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23950         file.
23951         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23952         file: memrchr multiarch for PPC32.
23953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23954         multiarch objects.
23955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23956         (__libc_ifunc_impl_list): Likewise.
23958         * string/memchr.c (__memchr): Using macro to redefine symbol name.
23959         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23960         file.
23961         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23962         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23963         multiarch memchr for PPC32.
23964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23965         multiarch objects.
23966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23967         (__libc_ifunc_impl_list): Likewise.
23969         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23970         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23971         file.
23972         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23973         file.
23974         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23975         file: multiarch mempcpy for PPC32.
23976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23977         multiarch objects.
23978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23979         (__libc_ifunc_impl_list): Likewise.
23981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23982         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23983         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23984         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23985         multiarch bzero for PPC32.
23986         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23987         file.
23988         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23989         file.
23990         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23991         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23992         file: multiarch memset for PPC32.
23993         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23995         memset multiarch objects.
23996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23997         (__libc_ifunc_impl_list): Likewise.
23999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24000         file.
24001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24002         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24003         memcmp for PPC32.
24004         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24006         multiarch objects.
24007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24008         (__libc_ifunc_impl_list): Likewise.
24010         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24013         file.
24014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24015         file.
24016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24017         file.
24018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24019         multiarch memcpy for PPC32.
24020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24021         multiarch objects.
24022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24023         (__libc_ifunc_impl_list): Likewise.
24025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24026         support multiarch for POWER/PPC32.
24027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24028         Likewise.
24029         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24031         Implies file to make multiarch folder appers before the fpu and
24032         default folder for power4 configuration.
24034 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24036         * scripts/bench.pl: Append volatile keyword to type.
24038 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24040         * sysdeps/sh/sotruss-lib.c: New file.
24041         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24043 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24047 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24049         [BZ #6810]
24050         * math/w_tgamma.c: Include <errno.h>.
24051         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24052         * math/w_tgammaf.c: Include <errno.h>.
24053         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24054         * math/w_tgammal.c: Include <errno.h>.
24055         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24056         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24057         underflow.  Add more tgamma tests.
24058         * math/auto-libm-test-out: Regenerated.
24059         * sysdeps/i386/fpu/libm-test-ulps: Update.
24060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24062         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24063         sin, sinh, tan, tanh, tgamma, y0 and y1.
24064         * math/auto-libm-test-out: Regenerated.
24065         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24066         (TEST_COND_x86): Likewise.
24067         (M_E2l): Remove macro.
24068         (M_E3l): Likewise.
24069         (M_2_SQRT_PIl): Likewise.
24070         (M_SQRT_PIl): Likewise.
24071         (M_1_DIV_El): Likewise.
24072         (log_test_data): Use AUTO_TESTS_f_f.
24073         (log10_test_data): Likewise.
24074         (log1p_test_data): Likewise.
24075         (log2_test_data): Likewise.
24076         (sin_test_data): Likewise.
24077         (sin_tonearest_test_data): Likewise.
24078         (sin_towardzero_test_data): Likewise.
24079         (sin_downward_test_data): Likewise.
24080         (sin_upward_test_data): Likewise.
24081         (sinh_test_data): Likewise.
24082         (sinh_tonearest_test_data): Likewise.
24083         (sinh_towardzero_test_data): Likewise.
24084         (sinh_downward_test_data): Likewise.
24085         (sinh_upward_test_data): Likewise.
24086         (tan_test_data): Likewise.
24087         (tan_tonearest_test_data): Likewise.
24088         (tan_towardzero_test_data): Likewise.
24089         (tan_downward_test_data): Likewise.
24090         (tan_upward_test_data): Likewise.
24091         (tanh_test_data): Likewise.
24092         (tgamma_test_data): Likewise.
24093         (y0_test_data): Likewise.
24094         (y1_test_data): Likewise.
24095         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24096         (special_real_inputs): Add pi/4.
24097         * sysdeps/i386/fpu/libm-test-ulps: Update.
24098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24100 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24102         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24103         "longjmp_target" static probes.
24104         (__longjmp): Rename to __longjmp_symbol.
24105         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24106         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24107         on which longjmp to generate.
24108         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24109         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24110         probe.
24111         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24112         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24113         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24114         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24115         and __sigjmp_save_symbol based on which sigsetjmp to generated.
24116         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24118         __longjmp_symbol based on which __longjmp to generate.
24119         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24120         probe.
24121         (setjmp): Rename to setjmp_symbol.
24122         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24123         (_setjmp): Rename to _setjmp_symbol.
24124         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24125         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24126         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24127         which setjmp to generate.
24128         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24129         "longjmp_target" static probes.
24131 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24133         * benchtests/README: Add note about output arguments.
24134         * benchtests/bench-sincos.c: Remove file.
24135         * benchtests/sincos-inputs: New file.
24136         * scripts/bench.pl: Identify output arguments and define
24137         static variables for them.
24139         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24141         [BZ #15941]
24142         * Makefile (INSTALL): Add install-plain.texi as the primary
24143         dependency.
24144         * manual/install-plain.texi: New file.
24145         * manual/install.texi: Include node directive only for
24146         non-plaintext output.
24148 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
24150         * stdlib/longlong.h: Update from GCC.
24152         [BZ #6807]
24153         [BZ #15901]
24154         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24155         * math/w_j0f.c (y0f): Likewise.
24156         * math/w_j0l.c (__y0l): Likewise.
24157         * math/w_j1.c (y1): Likewise.
24158         * math/w_j1f.c (y1f): Likewise.
24159         * math/w_j1l.c (__y1l): Likewise
24160         * math/w_jn.c (yn): Likewise.
24161         * math/w_jnf.c (ynf): Likewise.
24162         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24163         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24164         value for Bessel function domain errors outside _SVID_ mode.
24165         Adjust sign of return value for yn (negative integer, 0).
24166         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24167         by zero in return for negative x and set sign appropriately for
24168         negative n.
24169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24170         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24171         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24172         expectations in error cases.
24173         (y1_test_data): Likewise.
24174         (yn_test_data): Likewise.
24175         * sysdeps/i386/fpu/libm-test-ulps: Update.
24176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24178 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24180         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24181         "64" to "64-v1".  Add "64-v2".
24182         (abi-64-options): Rename to ...
24183         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24184         (abi-64-condition): Rename to ...
24185         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24186         (abi-64-ld-soname): Rename to ...
24187         (abi-64-v1-ld-soname): ... this.
24188         (abi-64-v2-options): Define.
24189         (abi-64-v2-condition): Likewise.
24190         (abi-64-v2-ld-soname): Likewise.
24191         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24192         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24197 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24198             Alan Modra  <amodra@gmail.com>
24200         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24201         New versions for use with the ELFv2 ABI.
24202         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24203         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24204         declaration.
24205         (struct La_ppc64v2_retval): Likewise.
24206         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24207         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24208         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24209         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24210         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24211         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24212         Do not save or restore CR.
24213         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24214         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24215         return values for ELFv2 ABI.  Fix location of FPR return registers.
24216         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24217         updated values for _CALL_ELF == 2.
24218         (La_regs, La_retval, int_retval): Likewise.
24220 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24222         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24223         (FRAME_MIN_SIZE_PARM): Likewise.
24224         (FRAME_BACKCHAIN): Likewise.
24225         (FRAME_CR_SAVE): Likewise.
24226         (FRAME_LR_SAVE): Likewise.
24227         (FRAME_TOC_SAVE): Likewise.
24228         (FRAME_PARM_SAVE): Likewise.
24229         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24230         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24231         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24232         (call_mcount_parm_offset): New macro.
24233         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24234         (PROF): Use symbolic stack frame offsets.
24235         (TAIL_CALL_SYSCALL_ERROR): Likewise.
24236         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24237         Redefine in terms of FRAME_MIN_SIZE.
24238         (_dl_runtime_resolve): Use symbolic stack frame offsets.
24239         (_dl_profile_resolve): Likewise.  Update comment.
24240         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24241         symbols stack frame offsets.
24242         (__sigsetjmp): Likewise.
24243         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24244         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24245         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24246         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24249         (FRAME_BACKCHAIN): Remove.
24250         (FRAME_CR_SAVE): Likewise.
24251         (FRAME_LR_SAVE): Likewise.
24252         (FRAME_COMPILER_DW): Likewise.
24253         (FRAME_LINKER_DW): Likewise.
24254         (FRAME_TOC_SAVE): Likewise.
24255         (FRAME_PARM_SAVE): Likewise.
24256         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24257         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24258         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24260         (CHECK_SP): Use symbolic stack frame offsets.
24261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24262         zone" instead of caller's parameter save area for temp storage.
24263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24264         Likewise.  Also, use symbolic stack frame offsets.
24265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24266         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24267         our own stack frame instead of the caller's.
24268         (__socket): Use symbolic stack frame offsets.
24270 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24271             Alan Modra  <amodra@gmail.com>
24273         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24274         Define.
24275         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24276         (PPC64_LOCAL_ENTRY_OFFSET): Define.
24277         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24278         New function.
24279         (elf_machine_fixup_plt): Call it.
24280         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
24281         reloc arguments.
24282         (elf_machine_rela): Update call to elf_machine_plt_conflict.
24283         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24284         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24285         r2 before calling target.
24287 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24288             Alan Modra  <amodra@gmail.com>
24290         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24291         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24292         versions of macros to support ELFv2 ABI.
24293         (LOCALENTRY): New macro.
24294         (ENTRY, EALIGN): Use it.
24295         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24296         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24297         fall through into ENTRY entry point.
24298         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24299         Only define if _CALL_ELF != 2.
24301         (elf_machine_matches_host): Verify ABI version matches.
24302         (RTLD_START): Use LOCALENTRY.
24303         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24304         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24305         (PLT_ENTRY_WORDS): New macro.
24306         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24307         (elf_machine_runtime_setup): Support ELFv2 ABI.
24308         (elf_machine_fixup_plt): Likewise.
24309         (elf_machine_plt_conflict): Likewise.
24310         (resolve_ifunc): Likewise.
24311         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24312         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24313         Likewise.
24314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24315         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24317         (makecontext): Support ELFv2 ABI.
24318         * elf/elf.h (EF_PPC64_ABI): Define.
24320 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24322         * sysdeps/powerpc/powerpc64/sysdep.h
24323         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24324         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24325         (ENTRY) [ASSEMBLER]: ... but instead here ...
24326         (EALIGN) [ASSEMBLER]: ... and here.
24327         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24328         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24329         (ENTRY_2) [!ASSEMBLER]: Use it.
24330         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24331         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
24332         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24333         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24334         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24336         Use PPC64_LOAD_FUNCPTR.
24338         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24340 2013-12-04  Alan Modra  <amodra@gmail.com>
24342         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24343         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24344         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24345         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24347         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24348         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24349         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24350         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24351         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24352         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24354 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24357         (__makecontext): Fix incorrect CFI when backtracing out of
24358         context created via makecontext.
24359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24360         (__setcontext): Fix incorrect CFI during switch to new context.
24361         (__novec_setcontext): Likewise.
24363 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24365         [BZ #4772]
24366         * time/strptime_l.c (__strptime_internal): Allow modifiers
24367         in strptime.
24368         * time/tst-strptime.c (day_tests): Add testcase.
24370 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24372         * scripts/bench.pl: Skip over blank lines.
24374 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24376         [BZ #926]
24377         * manual/time.texi (Calendar Time): Clarify what timezone functions
24378         use.
24380 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24384 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24386         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24387         implementation.
24388         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24389         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24390         * debug/memset_chk.c (__memset_chk): Likewise.
24391         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24392         * debug/strncpy_chk.c: Likewise.
24394 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24396         [BZ #15268]
24397         [BZ #15425]
24398         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24399         (__ieee754_exp): For possibly underflowing results, check size of
24400         result and force underflow exception if required.
24401         * math/auto-libm-test-in: Add more tests of exp.
24402         * math/auto-libm-test-out: Regenerated.
24403         * sysdeps/i386/fpu/libm-test-ulps: Update.
24404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24406         [BZ #16283]
24407         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24408         * math/w_exp2f.c (__exp2f): Likewise.
24409         * math/w_exp2l.c (__exp2l): Likewise.
24410         * math/auto-libm-test-in: Do not allow missing errno on exp2
24411         underflow.
24412         * math/auto-libm-test-out: Regenerated.
24414 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
24416         [BZ #16274]
24417         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24418         handle filename validation.
24419         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24420         (do_open): Delete.
24422 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #6786]
24425         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24426         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24427         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24428         <float.h>.
24429         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24430         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24431         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24432         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24433         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24434         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24435         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24436         * math/auto-libm-test-in: Don't allow missing errno from erfc.
24437         Add more erfc tests.
24438         * math/auto-libm-test-out: Regenerated.
24439         * sysdeps/i386/fpu/libm-test-ulps: Update.
24440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24442         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24443         exp2, expm1, j0 and j1.
24444         * math/auto-libm-test-out: Regenerated.
24445         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24446         (erfc_test_data): Likewise.
24447         (exp_test_data): Likewise.
24448         (exp_tonearest_test_data): Likewise.
24449         (exp_towardzero_test_data): Likewise.
24450         (exp_downward_test_data): Likewise.
24451         (exp_upward_test_data): Likewise.
24452         (exp10_test_data): Likewise.
24453         (exp2_test_data): Likewise.
24454         (expm1_test_data): Likewise.
24455         (j0_test_data): Likewise.
24456         (j1_test_data): Likewise.
24457         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24458         (input_flag_type): Add flag_xfail_rounding.
24459         (input_flags): Add xfail-rounding.
24460         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24461         (output_for_one_input_case): Handle flag_xfail_rounding.
24462         * sysdeps/i386/fpu/libm-test-ulps: Update.
24463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24465 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
24467         [BZ #16289]
24468         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24469         division by 0.
24471 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24473         [BZ #16195]
24474         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24475         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24476         (STAP_PROBE0): New macro.
24477         (STAP_PROBE1): Likewise.
24478         (STAP_PROBE2): Likewise.
24479         (STAP_PROBE3): Likewise.
24480         (STAP_PROBE4): Likewise.
24482 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
24484         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24486 2013-12-02  Steve Ellcey  <sellcey@mips.com>
24488         * benchtests/Makefile (bench): Add sqrt.
24489         (LDLIBS-bench-sqrt): New.
24490         * benchtests/sqrt-input: New.
24492 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
24494         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24495         (GAIH_EAI): Likewise.
24496         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24497         (gaih_inet): Likewise.
24498         (getaddrinfo): Don't use GAIH_EAI.
24500         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24501         (struct gaih): Remove definition.
24503 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24505         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24506         Use HERRNOP directly.
24508 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24512 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
24514         * math/gen-auto-libm-tests.c (test_functions): Add more
24515         single-argument functions.
24516         (special_fill_pi_2): New function.
24517         (special_fill_minus_pi_2): Likewise.
24518         (special_fill_pi_6): Likewise.
24519         (special_fill_minus_pi_6): Likewise.
24520         (special_fill_pi_3): Likewise.
24521         (special_fill_2pi_3): Likewise.
24522         (special_fill_e): Likewise.
24523         (special_fill_1_e): Likewise.
24524         (special_fill_e_minus_1): Likewise.
24525         (special_real_inputs): Add more special inputs.
24526         (output_for_one_input_case): Do not require ERANGE on underflow to
24527         zero if round-to-nearest result does not underflow to zero, unless
24528         exact results required.
24529         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24530         atan, atanh, cbrt, cos and cosh.
24531         * math/auto-libm-test-out: Regenerated.
24532         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24533         (acos_tonearest_test_data): Likewise.
24534         (acos_towardzero_test_data): Likewise.
24535         (acos_downward_test_data): Likewise.
24536         (acos_upward_test_data): Likewise.
24537         (acosh_test_data): Likewise.
24538         (asin_test_data): Likewise.
24539         (asin_tonearest_test_data): Likewise.
24540         (asin_towardzero_test_data): Likewise.
24541         (asin_upward_test_data): Likewise.
24542         (asinh_test_data): Likewise.
24543         (atan_test_data): Likewise.
24544         (atanh_test_data): Likewise.
24545         (cbrt_test_data): Likewise.
24546         (cos_test_data): Likewise.
24547         (cos_tonearest_test_data): Likewise.
24548         (cos_towardzero_test_data): Likewise.
24549         (cos_downward_test_data): Likewise.
24550         (cos_upward_test_data): Likewise.
24551         (cosh_test_data): Likewise.
24552         (cosh_tonearest_test_data): Likewise.
24553         (cosh_towardzero_test_data): Likewise.
24554         (cosh_downward_test_data): Likewise.
24555         (cosh_upward_test_data): Likewise.
24556         * sysdeps/i386/fpu/libm-test-ulps: Update.
24557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24559 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
24561         [BZ #6787]
24562         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24563         * math/w_exp10f.c (__exp10f): Likewise.
24564         * math/w_exp10l.c (__exp10l): Likewise.
24565         * math/libm-test.inc (exp10_test_data): Add more tests and expect
24566         errno settings in existing tests.
24568         [BZ #14032]
24569         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24570         precision control set to double precision.
24571         * sysdeps/i386/fpu/w_sqrt.c: New file.
24572         * math/auto-libm-test-in: Add more tests.
24573         * math/auto-libm-test-out: Update.
24575         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24576         (sqrt_test_tonearest): New function.
24577         (sqrt_towardzero_test_data): New variable.
24578         (sqrt_test_towardzero): New function.
24579         (sqrt_downward_test_data): New variable.
24580         (sqrt_test_downward): New function.
24581         (sqrt_upward_test_data): New variable.
24582         (sqrt_test_upward): New function.
24583         (main): Call the new functions.
24585         * math/gen-auto-libm-tests.c: New file.
24586         * math/auto-libm-test-in: Likewise.
24587         * math/auto-libm-test-out: New generated file.
24588         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24589         variables.
24590         (%beautify): Add generated representations of zero.
24591         (top level): Set $auto_input and call parse_auto_input.
24592         (beautify): Remove trailing "f" from hex float constants.
24593         (parse_args): Handle XFAIL_TEST.
24594         (convert_condition): New function.
24595         (or_value): Likewise.
24596         (or_cond_value): Likewise.
24597         (generate_testfile): Handle AUTO_TESTS_* lines.
24598         (parse_auto_input): New function.
24599         * math/libm-test.inc (XFAIL_TEST): New macro.
24600         (ERRNO_UNCHANGED): Update value.
24601         (ERRNO_EDOM): Likewise.
24602         (ERRNO_ERANGE): Likewise.
24603         (IGNORE_RESULT): Likewise.
24604         (TEST_COND_flt_32): New macro.
24605         (TEST_COND_dbl_64): Likewise.
24606         (TEST_COND_ldbl_96_intel): Likewise.
24607         (TEST_COND_ldbl_96_m68k): Likewise.
24608         (TEST_COND_ldbl_128): Likewise.
24609         (TEST_COND_ldbl_128ibm): Likewise.
24610         (TEST_COND_long32): Likewise.
24611         (TEST_COND_long64): Likewise.
24612         (TEST_COND_before_rounding): Likewise.
24613         (TEST_COND_after_rounding): Likewise.
24614         (enable_test): Handle XFAIL_TEST flag.
24615         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24616         with finite results.
24617         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24618         auto-libm-test-out.
24620 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24621             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24623         [BZ #16214]
24624         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24625         __tls_get_addr_internal instead of __tls_get_offset in order to
24626         avoid GOT pointer dependency.  Make rtld export
24627         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24628         __tls_get_addr since we are a __tls_get_offset platform.
24629         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24630         GOT pointer being set up before.
24631         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24633 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
24635         * manual/math.texi (Errors in Math Functions): Document accuracy
24636         goals.
24638         [BZ #15004]
24639         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24640         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24641         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24642         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24643         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24644         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24645         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24646         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24647         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24648         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24649         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24650         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24651         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24652         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24653         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24654         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24656         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24657         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24658         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24659         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24660         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24661         Likewise.
24662         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24663         Likewise.
24664         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24665         Likewise.
24666         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24667         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24668         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24669         atomic-feupdateenv and flt-rounds.
24670         * sysdeps/powerpc/nofpu/Versions (libc): Add
24671         __atomic_feholdexcept, __atomic_feclearexcept,
24672         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24673         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24674         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24675         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24676         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24677         here.
24678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24679         Update.
24681         * manual/arith.texi (FP Exceptions): Document that exceptions may
24682         not be raised when matherr is used.
24683         (Math Error Reporting): Document overflow in directed rounding
24684         modes.  Document that errno may not be set when finite values are
24685         returned on overflow.  Document intent to set errno on underflow
24686         only for underflow to zero.
24688         [BZ #16271]
24689         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24690         round-to-nearest then adjust result for other rounding modes.
24691         * include/fenv.h (fegetround): Use libm_hidden_proto.
24692         * math/fegetround.c (fegetround): Use libm_hidden_def.
24693         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24694         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24695         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24696         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24697         Likewise.
24698         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24699         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24700         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24701         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24703 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24705         [BZ #16077]
24706         * nss/Versions (libnss_files): Add
24707         _nss_files_gethostbyname3_r.
24708         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24709         New function.
24710         (HOST_DB_LOOKUP): Remove macro.
24711         (_nss_files_gethostbyname_r): Implement function without the
24712         HOST_DB_LOOKUP macro.
24713         (_nss_files_gethostbyname2_r): Likewise.
24715 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
24717         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24719 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
24721         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24722         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24723         warning.
24725 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24727         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24728         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24729         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24730         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24731         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24732         __fe_nomask_env_priv and attribute_hidden.
24733         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24734         (libc_feupdateenv_test_ppc): Likewise.
24735         (libc_feresetround_ppc): Likewise.
24736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24737         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24738         compat_symbol macro.
24739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24740         (__fe_nomask_env): Likewise.
24741         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24743 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24745         * string/Makefile: Remove ifunc tests.
24746         * string/test-string.h: Define TEST_IFUNC.
24747         * string/test-bcopy-ifunc.c: Remove.
24748         * string/test-bzero-ifunc.c: Likewise.
24749         * string/test-memccpy-ifunc.c: Likewise.
24750         * string/test-memchr-ifunc.c: Likewise.
24751         * string/test-memcmp-ifunc.c: Likewise.
24752         * string/test-memcpy-ifunc.c: Likewise.
24753         * string/test-memmem-ifunc.c: Likewise.
24754         * string/test-memmove-ifunc.c: Likewise.
24755         * string/test-mempcpy-ifunc.c: Likewise.
24756         * string/test-memrchr-ifunc.c: Likewise.
24757         * string/test-memset-ifunc.c: Likewise.
24758         * string/test-rawmemchr-ifunc.c: Likewise.
24759         * string/test-stpcpy-ifunc.c: Likewise.
24760         * string/test-stpncpy-ifunc.c: Likewise.
24761         * string/test-strcasecmp-ifunc.c: Likewise.
24762         * string/test-strcasestr-ifunc.c: Likewise.
24763         * string/test-strcat-ifunc.c: Likewise.
24764         * string/test-strchr-ifunc.c: Likewise.
24765         * string/test-strchrnul-ifunc.c: Likewise.
24766         * string/test-strcmp-ifunc.c: Likewise.
24767         * string/test-strcpy-ifunc.c: Likewise.
24768         * string/test-strcspn-ifunc.c: Likewise.
24769         * string/test-strlen-ifunc.c: Likewise.
24770         * string/test-strncasecmp-ifunc.c: Likewise.
24771         * string/test-strncat-ifunc.c: Likewise.
24772         * string/test-strncmp-ifunc.c: Likewise.
24773         * string/test-strncpy-ifunc.c: Likewise.
24774         * string/test-strnlen-ifunc.c: Likewise.
24775         * string/test-strpbrk-ifunc.c: Likewise.
24776         * string/test-strrchr-ifunc.c: Likewise.
24777         * string/test-strspn-ifunc.c: Likewise.
24778         * string/test-strstr-ifunc.c: Likewise.
24780 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24782         * benchtests/Makefile: Remove ifunc tests.
24783         * benchtests/bench-string.h: Define TEST_IFUNC.
24784         * benchtests/bench-bcopy-ifunc.c: Remove.
24785         * benchtests/bench-bzero-ifunc.c: Likewise.
24786         * benchtests/bench-memccpy-ifunc.c: Likewise.
24787         * benchtests/bench-memchr-ifunc.c: Likewise.
24788         * benchtests/bench-memcmp-ifunc.c: Likewise.
24789         * benchtests/bench-memcpy-ifunc.c: Likewise.
24790         * benchtests/bench-memmem-ifunc.c: Likewise.
24791         * benchtests/bench-memmove-ifunc.c: Likewise.
24792         * benchtests/bench-mempcpy-ifunc.c: Likewise.
24793         * benchtests/bench-memrchr-ifunc.c: Likewise.
24794         * benchtests/bench-memset-ifunc.c: Likewise.
24795         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24796         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24797         * benchtests/bench-stpcpy-ifunc.c: Likewise.
24798         * benchtests/bench-stpncpy-ifunc.c: Likewise.
24799         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24800         * benchtests/bench-strcasestr-ifunc.c: Likewise.
24801         * benchtests/bench-strcat-ifunc.c: Likewise.
24802         * benchtests/bench-strchr-ifunc.c: Likewise.
24803         * benchtests/bench-strchrnul-ifunc.c: Likewise.
24804         * benchtests/bench-strcmp-ifunc.c: Likewise.
24805         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24806         * benchtests/bench-strcpy-ifunc.c: Likewise.
24807         * benchtests/bench-strcspn-ifunc.c: Likewise.
24808         * benchtests/bench-strlen-ifunc.c: Likewise.
24809         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24810         * benchtests/bench-strncat-ifunc.c: Likewise.
24811         * benchtests/bench-strncmp-ifunc.c: Likewise.
24812         * benchtests/bench-strncpy-ifunc.c: Likewise.
24813         * benchtests/bench-strnlen-ifunc.c: Likewise.
24814         * benchtests/bench-strpbrk-ifunc.c: Likewise.
24815         * benchtests/bench-strrchr-ifunc.c: Likewise.
24816         * benchtests/bench-strsep-ifunc.c: Likewise.
24817         * benchtests/bench-strspn-ifunc.c: Likewise.
24818         * benchtests/bench-strstr-ifunc.c: Likewise.
24820 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24822         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24824 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24826         * resolv/netdb.h: Use __glibc_reserved instead __unused.
24827         * rt/aio.h: Likewise.
24828         * sysdeps/gnu/bits/utmp.h: Likewise.
24829         * sysdeps/gnu/bits/utmpx.h: Likewise.
24830         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24831         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24832         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24833         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24834         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24835         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24836         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24837         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24838         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24839         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24840         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24841         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24842         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24844         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24845         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24846         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24847         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24848         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24849         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24850         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24851         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24852         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24853         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24854         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24856         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24857         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24858         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24859         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24860         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24861         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24862         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24863         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24864         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24865         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24866         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24867         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24868         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24869         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24870         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24871         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24873 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
24875         [BZ #16245]
24876         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24877         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24879 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
24881         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24882         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24883         Likewise.
24885 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24887         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24888         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24889         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24890         (__fesetround): Remove define.
24891         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24892         rounding and exceptions handling.
24893         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24894         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24895         (__fe_nomask_env): Likewise.
24896         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24897         __fegetround instead of fegetround.
24898         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24899         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24901 2013-11-21  Roland McGrath  <roland@hack.frob.com>
24903         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24904         it's there.
24906         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24908 2013-11-21  Meador Inge  <meadori@codesourcery.com>
24910         [BZ #11157]
24911         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24912         (encrypt_r): Likewise.
24913         * malloc/obstack.h (obstack_free): Likewise.
24914         * posix/unistd.h (encrypt): Likewise.
24916 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
24918         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24919         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24920         DL_CALL_DT_FINI() that call the functions directly.
24921         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24922         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24923         * elf/dl-fini.c: Likewise.
24925 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
24927         * malloc/hooks.c (memalign_check): Add alignment rounding.
24928         * malloc/malloc.c (_mid_memalign): New function.
24929         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24930         Implement by calling _mid_memalign.
24931         * manual/probes.texi (Memory Allocation Probes): Remove
24932         memory_valloc_retry and memory_pvalloc_retry.
24934 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24936         * locale/programs/locarchive.c (open_archive): Add const
24937         qualifier to ARCHIVEFNAME and copy default fname to
24938         DEFAULT_FNAME.
24940         [BZ #15601]
24941         * libio/tst-widetext.input: Rename Oriya to Odia.
24942         * locale/iso-639.def: Likewise.
24944         * manual/probes.texi (Mathematical Function Probes): Add
24945         documentation for sin, cos, asin and acos probes.
24946         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24947         (__sin32): Add slowasin probe.
24948         (__cos32): Add slowacos probe.
24949         (__mpsin): Add slowsin probe.
24950         (__mpcos): Add slowcos probe.
24952 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
24954         [BZ #15483]
24955         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24956         thread-local __sim_exceptions_thread and global
24957         __sim_exceptions_global.
24958         (__sim_disabled_exceptions): Change to thread-local
24959         __sim_disabled_exceptions_thread and global
24960         __sim_disabled_exceptions_global.
24961         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24962         and global __sim_round_mode_global.
24963         (__simulate_exceptions): Use thread-local floating-point state and
24964         set global state from it as needed.
24965         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24966         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24967         __sim_round_mode_thread.
24968         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24969         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24970         and global __sim_exceptions_global.
24971         (__sim_disabled_exceptions): Change to thread-local
24972         __sim_disabled_exceptions_thread and global
24973         __sim_disabled_exceptions_global.
24974         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24975         and global __sim_round_mode_global.
24976         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24977         (SIM_SET_GLOBAL): Likewise.
24978         * sysdeps/powerpc/soft-fp/sfp-machine.h
24979         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24980         __sim_round_mode_thread.
24981         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24982         __sim_disabled_exceptions_thread.
24983         (__sim_exceptions): Change to __sim_exceptions_thread.
24984         (__sim_disabled_exceptions): Change to
24985         __sim_disabled_exceptions_thread.
24986         (__sim_round_mode): Change to __sim_round_mode_thread.
24987         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24988         thread-local floating-point state and set global state from it as
24989         needed.
24990         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24991         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24992         (__sim_disabled_exceptions): Remove extern declaration.
24993         (feenableexcept): Use thread-local floating-point state and set
24994         global state from it as needed.
24995         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24996         extern declaration.
24997         (__sim_disabled_exceptions): Likewise.
24998         (__sim_round_mode): Likewise.
24999         (__fegetenv): Use thread-local floating-point state.
25000         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25001         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25002         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25003         floating-point state and set global state from it as needed.
25004         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25005         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25006         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25007         Likewise.
25008         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25009         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25010         Likewise.
25011         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25012         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25013         Use __sim_round_mode_thread.
25014         * math/test-fenv-tls.c: New file.
25015         * math/Makefile (tests): Add test-fenv-tls.
25016         ($(objpfx)test-fenv-tls): Depend on
25017         $(common-objpfx)nptl/libpthread.so.
25019 2013-11-19  Andreas Schwab  <schwab@suse.de>
25021         * locale/programs/locale.c (show_info): Decode wordarray elements.
25022         * locale/categories.def (LC_MONETARY): Add element for
25023         _NL_MONETARY_CRNCYSTR.
25024         * locale/C-monetary.c (conversion_rate): New variable.
25025         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25026         element.
25028 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25030         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25031         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25033 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25035         * elf/Makefile (tst-auxv): New test.
25036         * elf/tst-auxv.c: New
25037         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25039 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25041         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25042         (hidden_proto): Caller changed.
25043         (hidden_tls_proto): New macro.
25044         (libc_hidden_tls_proto): Likewise.
25045         (rtld_hidden_tls_proto): Likewise.
25046         (libm_hidden_tls_proto): Likewise.
25047         (libresolv_hidden_tls_proto): Likewise.
25048         (librt_hidden_tls_proto): Likewise.
25049         (libdl_hidden_tls_proto): Likewise.
25050         (libnss_files_hidden_tls_proto): Likewise.
25051         (libnsl_hidden_tls_proto): Likewise.
25052         (libnss_nisplus_hidden_tls_proto): Likewise.
25053         (libutil_hidden_tls_proto): Likewise.
25055 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25057         [BZ #10253]
25058         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25059         (decompose_rpath): Defer expansion to fillin_rpath.
25060         (_dl_init_paths): Pass linkmap to fillin_rpath.
25062 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25064         * benchtests/Makefile: Add strsep.
25065         * benchtests/bench-strsep.c: New file: strsep benchtest.
25066         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25068 2013-11-18  Andreas Schwab  <schwab@suse.de>
25070         * locale/programs/locale.c (show_info) [case byte]: Check for
25071         '\377' instead of '\177'.
25072         * locale/C-monetary.c (not_available): Always use "\377".
25073         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25074         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25075         detect unavailable sign_posn locale elements.
25076         * locale/localeconv.c (__localeconv): For grouping and
25077         mon_grouping handle "\177" and "\377" like no grouping.
25078         (INT_ELEM): New macro.  Use it to set all numeric members.
25079         * locale/programs/ld-monetary.c (monetary_read)
25080         <tok_mon_grouping>: Normalize single -1 to the empty string.
25081         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25082         Likewise.
25084 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25086         [BZ #16055]
25087         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25088         when we match (nil).
25089         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25091 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25093         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25094         (NO_TEST_INLINE): Update value.
25095         (ERRNO_UNCHANGED): Likewise.
25096         (ERRNO_EDOM): Likewise.
25097         (ERRNO_ERANGE): Likewise.
25098         (IGNORE_RESULT): Likewise.
25099         (check_float_internal): Check signs of NaN results if
25100         TEST_NAN_SIGN used.
25101         (check_complex): Pass TEST_NAN_SIGN flag through to second
25102         check_float_internal call.
25103         (copysign_test_data): Add tests with quiet NaNs as second
25104         argument.  Use TEST_NAN_SIGN.
25105         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25106         TEST_NAN_SIGN.
25107         (signbit_test_data): Add tests of quiet NaN argument.
25108         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25110         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25111         $ignore_result.
25112         (parse_args): Handle function results specified as IGNORE.
25113         * math/libm-test.inc (IGNORE_RESULT): New macro.
25114         (check_float_internal): Do not check numerical result if flag
25115         IGNORE_RESULT set.
25116         (check_complex): Pass through IGNORE_RESULT to second
25117         check_float_internal call.
25118         (check_int): Do not check numerical result if flag IGNORE_RESULT
25119         set.
25120         (check_long): Likewise.
25121         (check_bool): Likewise.
25122         (check_longlong): Likewise.
25123         (lrint_test_data): Add tests of infinite and NaN arguments.
25124         (lrint_tonearest_test_data): Likewise.
25125         (lrint_towardzero_test_data): Likewise.
25126         (lrint_downward_test_data): Likewise.
25127         (lrint_upward_test_data): Likewise.
25128         (llrint_test_data): Likewise.
25129         (llrint_tonearest_test_data): Likewise.
25130         (llrint_towardzero_test_data): Likewise.
25131         (llrint_downward_test_data): Likewise.
25132         (llrint_upward_test_data): Likewise.
25133         (lround_test_data): Likewise.
25134         (llround_test_data): Likewise.
25136         * math/libm-test.inc (NO_TEST_INLINE): New macro.
25137         (ERRNO_UNCHANGED): Update value.
25138         (ERRNO_EDOM): Likewise.
25139         (ERRNO_ERANGE): Likewise.
25140         (NO_TEST_INLINE_FLOAT): New macro.
25141         (NO_TEST_INLINE_DOUBLE): Likewise.
25142         (enable_test): New function.
25143         (RUN_TEST_f_f): Check enable_test before running test.
25144         (RUN_TEST_2_f): Likewise.
25145         (RUN_TEST_fff_f): Likewise.
25146         (RUN_TEST_c_f): Likewise.
25147         (RUN_TEST_f_f1): Likewise.
25148         (RUN_TEST_fF_f1): Likewise.
25149         (RUN_TEST_fI_f1): Likewise.
25150         (RUN_TEST_ffI_f1): Likewise.
25151         (RUN_TEST_c_c): Likewise.
25152         (RUN_TEST_cc_c): Likewise.
25153         (RUN_TEST_f_i): Likewise.
25154         (RUN_TEST_f_i_tg): Likewise.
25155         (RUN_TEST_ff_i_tg): Likewise.
25156         (RUN_TEST_f_b): Likewise.
25157         (RUN_TEST_f_b_tg): Likewise.
25158         (RUN_TEST_f_l): Likewise.
25159         (RUN_TEST_f_L): Likewise.
25160         (RUN_TEST_fFF_11): Likewise.
25161         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25162         conditionals.
25163         (cosh_test_data): Likewise.
25164         (exp_test_data): Likewise.
25165         (expm1_test_data): Likewise.
25166         (hypot_test_data): Likewise.
25167         (pow_test_data): Likewise.
25168         (sinh_test_data): Likewise.
25169         (tanh_test_data): Likewise.
25170         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25171         flags argument.
25173         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25174         tests with quiet NaN input and output.
25175         (acosh_test_data): Likewise.
25176         (asin_test_data): Likewise.
25177         (asinh_test_data): Likewise.
25178         (atan_test_data): Likewise.
25179         (atanh_test_data): Likewise.
25180         (atan2_test_data): Likewise.
25181         (cbrt_test_data): Likewise.
25182         (cos_test_data): Likewise.
25183         (cosh_test_data): Likewise.
25184         (erf_test_data): Likewise.
25185         (erfc_test_data): Likewise.
25186         (exp_test_data): Likewise.
25187         (exp10_test_data): Likewise.
25188         (exp2_test_data): Likewise.
25189         (expm1_test_data): Likewise.
25190         (hypot_test_data): Likewise.
25191         (j0_test_data): Likewise.
25192         (j1_test_data): Likewise.
25193         (jn_test_data): Likewise.
25194         (lgamma_test_data): Likewise.
25195         (log_test_data): Likewise.
25196         (log10_test_data): Likewise.
25197         (log1p_test_data): Likewise.
25198         (log2_test_data): Likewise.
25199         (pow_test_data): Likewise.
25200         (scalb_test_data): Likewise.
25201         (sin_test_data): Likewise.
25202         (sincos_test_data): Likewise.
25203         (sinh_test_data): Likewise.
25204         (tan_test_data): Likewise.
25205         (tanh_test_data): Likewise.
25206         (tgamma_test_data): Likewise.
25207         (y0_test_data): Likewise.
25208         (y1_test_data): Likewise.
25209         (yn_test_data): Likewise.
25211         [BZ #16167]
25212         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25213         argument being NaN and avoid computations with second argument in
25214         that case.
25215         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25216         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25217         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25219 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25221         * locale/iso-639.def: Add Chitwani Tharu (the).
25223 2013-11-14  Andreas Schwab  <schwab@suse.de>
25225         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25226         word instead of empty string.
25228 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25231         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25233         (__fe_nomask_env): Likewise.
25235 2013-11-13  Steve Ellcey  <sellcey@mips.com>
25237         * benchtests/bench-timing.h: Include time.h.
25239 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
25241         [BZ #15997]
25242         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25243         to 3.4.0 for x32.
25244         * sysdeps/unix/sysv/linux/configure: Regenerated.
25246 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
25248         [BZ #16151]
25249         * stdlib/strtod_l.c (round_and_return): Do not consider
25250         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25251         exponent one less than half the least subnormal exponent.
25252         * stdlib/test-strtod-round-data: Add more tests.
25253         * stdlib/tst-strtod-round.c (tests): Regenerated.
25255 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25257         [BZ #14143]
25258         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25259         (__fe_mask_env): Likewise.
25260         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25261         libm_hidden_proto and add function prototype.
25262         (__fe_mask_env): Add function prototype.
25263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25264         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25266         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25268         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25270 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25272         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25273         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25275 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25277         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25278         of htab_find_slot().
25280 2013-11-11  David S. Miller  <davem@davemloft.net>
25282         [BZ #16150]
25283         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25284         symbol in the non-vis3 case in static builds.
25285         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25286         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25287         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25288         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25290 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
25292         [BZ #387]
25293         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25294         it is empty.
25296 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25298         * benchtests/Makefile: Add bench-strtod.
25299         * benchtests/bench-strtod.c: New file: strtod benchtest
25301 2013-11-11  Andreas Schwab  <schwab@suse.de>
25303         [BZ #16153]
25304         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25305         terminating NUL in key length.
25307 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25309         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25310         Add artificial ODP entry for vDSO symbol for PPC64.
25311         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25312         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25314 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25316         [BZ #15374]
25317         * nss/getent.c (services_keys): Recognize services starting with digit.
25319 2013-11-06  David S. Miller  <davem@davemloft.net>
25321         [BZ #15985]
25322         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25323         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25325 2013-11-06  Will Newton  <will.newton@linaro.org>
25327         * manual/memory.texi (Malloc Examples): Remove register
25328         keyword from examples.
25330 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
25332         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25334 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
25336         [BZ #6981]
25337         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25338         depending on [__GCC_IEC_559 > 0].
25339         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25340         depending on [__GCC_IEC_559_COMPLEX > 0].
25342 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
25344         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25345         to iso-639.def.
25347 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
25349         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25351 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
25353         [BZ #16112]
25354         * malloc/malloc (malloc_info): Do not handle first bin as
25355         special case.
25357 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
25359         * locale/iso-639.def: Add Central Nahuatl (nhn).
25361 2013-11-01  Bruno Haible  <bruno@clisp.org>
25363         [BZ #7003]
25364         * manual/math.texi (BSD Random): Specify range upper bound as
25365         in POSIX.
25367 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
25369         * locale/iso-639.def: Add Meadow Mari (mhr).
25371 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
25373         [BZ #14752], [BZ #15763]
25374         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25375         Validate name.
25376         * rt/tst_shm.c: Add test for escaping directory.
25378 2013-10-31  Andreas Schwab  <schwab@suse.de>
25380         [BZ #15917]
25381         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25382         followed by 'x' as part of digit sequence.
25383         * stdio-common/tst-sscanf.c (double_tests2): New tests.
25385 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25387         [BZ #16037]
25388         * configure.ac: allow GNU Make 4.0 and greater.
25389         * configure: Regenerated.
25391 2013-10-30  Will Newton  <will.newton@linaro.org>
25393         [BZ #16038]
25394         * malloc/hooks.c (memalign_check): Limit alignment to the
25395         maximum representable power of two.
25396         * malloc/malloc.c (__libc_memalign): Likewise.
25397         * malloc/tst-memalign.c (do_test): Add test for very
25398         large alignment values.
25399         * malloc/tst-posix_memalign.c (do_test): Likewise.
25401 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25403         [BZ #11087]
25404         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25405         (munmap_chunk): Likewise.
25406         (mremap_chunk): Likewise.
25408 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25410         [BZ #15799]
25411         * stdlib/div.c (div): Remove obsolete code.
25412         * stdlib/ldiv.c (ldiv): Likewise.
25413         * stdlib/lldiv.c (lldiv): Likewise.
25415 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25417         [BZ #16071]
25418         * nss/nss_files/files-XXX.c (get_contents_ret): New
25419         enumerator.
25420         (get_contents): New function.
25421         (internal_getent): Use it.  Expand size of LINEBUFLEN.
25423 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
25425         * configure.in: Moved to ...
25426         * configure.ac: ... here. Change reference to configure.in
25427         to configure.ac.
25428         * sysdeps/arm/preconfigure.ac: ... here.
25429         configure.in to configure.ac.
25430         * sysdeps/gnu/configure.in: Moved to ...
25431         * sysdeps/gnu/configure.ac: ... here.
25432         * sysdeps/i386/configure.in: Moved to ...
25433         * sysdeps/i386/configure.ac: ... here.
25434         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25435         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25436         * sysdeps/mach/configure.in: Moved to ...
25437         * sysdeps/mach/configure.ac: ... here.
25438         * sysdeps/mach/hurd/configure.in: Moved to ...
25439         * sysdeps/mach/hurd/configure.ac: ... here.
25440         * sysdeps/powerpc/configure.in: Moved to ...
25441         * sysdeps/powerpc/configure.ac: ... here.
25442         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25443         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25444         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25445         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25446         * sysdeps/s390/s390-32/configure.in: Moved to ...
25447         * sysdeps/s390/s390-32/configure.ac: ... here.
25448         * sysdeps/s390/s390-64/configure.in: Moved to ...
25449         * sysdeps/s390/s390-64/configure.ac: ... here.
25450         * sysdeps/sh/configure.in: Moved to ...
25451         * sysdeps/sh/configure.ac: ... here.
25452         * sysdeps/sparc/configure.in: Moved to ...
25453         * sysdeps/sparc/configure.ac: ... here.
25454         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25455         * sysdeps/unix/sysv/linux/configure.ac: ... here.
25456         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25457         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25458         * sysdeps/x86_64/configure.in: Moved to ...
25459         * sysdeps/x86_64/configure.ac: ... here.
25460         * sysdeps/x86_64/preconfigure.in: Moved to ...
25461         * sysdeps/x86_64/preconfigure.ac: ... here.
25462         * aclocal.m4: Change reference to configure.in to configure.ac.
25463         * config.h.in: Likewise.
25464         * manual/install.texi: Likewise.
25465         * manual/maint.texi: Likewise.
25466         * Makefile: Likewise.
25467         * malloc/Makefile: Likewise.
25468         * nscd/Makefile: Likewise.
25469         * Makeconfig: Change reference to configure.in and
25470         preconfigure.in to configure.ac and preconfigure.ac
25471         respectively.
25472         * INSTALL: Regenerated.
25473         * configure: Likewise.
25474         * sysdeps/gnu/configure: Likewise.
25475         * sysdeps/i386/configure: Likewise.
25476         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25477         * sysdeps/mach/configure: Likewise.
25478         * sysdeps/mach/hurd/configure: Likewise.
25479         * sysdeps/powerpc/configure: Likewise.
25480         * sysdeps/powerpc/powerpc32/configure: Likewise.
25481         * sysdeps/powerpc/powerpc64/configure: Likewise.
25482         * sysdeps/s390/s390-32/configure: Likewise.
25483         * sysdeps/s390/s390-64/configure: Likewise.
25484         * sysdeps/sh/configure: Likewise.
25485         * sysdeps/sparc/configure: Likewise.
25486         * sysdeps/unix/sysv/linux/configure: Likewise.
25487         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25488         * sysdeps/x86_64/configure: Likewise.
25489         * sysdeps/x86_64/preconfigure: Likewise.
25491 2013-10-29  Andreas Schwab  <schwab@suse.de>
25493         * stdio-common/Makefile (tst-swscanf-ENV): Define.
25495 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25497         * benchtests/pow-inputs: Add new inputs.
25499         * benchtests/exp-inputs: Add new inputs.
25501         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25502         conditional check for return value.
25503         (__cos32): Likewise.
25505 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25507         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25508         to provide a boost for large inputs with word alignment.
25509         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25510         implementation based on optimized PPC64 strcpy.
25511         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25512         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25513         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25514         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25516 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25518         [BZ #2801]
25519         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25521 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25523         [BZ #14876]
25524         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25525         * time/tst-strptime.c (day_tests): Add testcase.
25527 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25529         [BZ #14029]
25530         * manual/pattern.texi: Acknowledge that fnmatch can fail.
25532 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
25534         [BZ #16074]
25535         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25536         MAP_FAILED on error.
25538 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25540         [BZ #16072]
25541         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25542         heap for large requests.
25544 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
25546         [BZ #9954]
25547         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25548         result if the result has no associated interface.
25549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25550         interface for all 127.X.Y.Z addresses.
25552 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
25554         * locale/iso-639.def: Add Ligurian (lij)
25556 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
25558         [BZ #15825]
25559         * sunrpc/rpc_main.c: Document rpcgen -5.
25561 2013-10-19  Michael Stahl  <mstahl@redhat.com>
25563         * elf/rtld.c (do_preload): Print the reason why preloading failed.
25565 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25567         [BZ #10278]
25568         * posix/glob.c: Match only directories when trailing slash is present.
25569         * posix/tst-gnuglob.c (my_opendir): Do not open files.
25570         (main): Add testcase.
25572 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25574         [BZ #15670]
25575         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25577 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
25579         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25580         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25581         AUTH_DES and cindex for FIPS 140-2.
25582         (DES Encryption): Add cindex FIPS 46-3.
25584         * locale/locarchive.h (struct locarhandle): Add fname.
25585         * locale/programs/localedef.c (main): Pass ARGV[remaining]
25586         if an optional argument was specified to --list-archive,
25587         otherwise NULL.
25588         * locale/programs/locarchive.c (show_archive_content): Take new
25589         argument fname and pass it via ah.fname to open_archive.
25590         * locale/programs/localedef.h: Update decl.
25591         (open_archive): If AH->fname is non-null, open that file
25592         rather than the default file name, and don't ignore ENOENT.
25593         (create_archive): Set AH.fname to NULL.
25594         (delete_locales_from_archive): Likewise.
25595         (add_locales_to_archive): Likewise.
25596         * locale/programs/locfile.c (write_all_categories): Likewise.
25598 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
25599             Aldy Hernandez  <aldyh@redhat.com>
25601         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25602         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25603         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25604         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25605         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25606         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25607         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25608         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25609         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25610         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25611         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25612         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25613         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25614         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25615         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25616         Likewise.
25617         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25618         Likewise.
25619         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25620         Likewise.
25621         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25622         Likewise.
25623         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25624         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25625         Likewise.
25626         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25627         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25628         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25629         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25630         Likewise.
25631         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25632         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25633         * sysdeps/powerpc/preconfigure: Likewise.
25634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25635         Likewise.
25636         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25637         Replace contents of file by #include of <fenv_libc.h>.
25638         * sysdeps/powerpc/soft-fp/sfp-machine.h
25639         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25640         and <sys/prctl.h>.
25641         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25643         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25644         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25645         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25646         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25647         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25654         Allow copysignl PLT reference to be missing.
25656 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
25657             Joseph Myers  <joseph@codesourcery.com
25659         [BZ #15948]
25660         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25661         single character.
25662         (add_to_tablewc): Assert sequence of wide characters is nonempty.
25664 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25666         * elf/tst-tls-dlinfo.c: Don't include tls.h.
25667         * elf/tst-tls1.c: Likewise.
25668         * elf/tst-tls10.h: Likewise.
25669         * elf/tst-tls14.c: Likewise.
25670         * elf/tst-tls2.c: Likewise.
25671         * elf/tst-tls3.c: Likewise.
25672         * elf/tst-tls4.c: Likewise.
25673         * elf/tst-tls5.c: Likewise.
25674         * elf/tst-tls6.c: Likewise.
25675         * elf/tst-tls7.c: Likewise.
25676         * elf/tst-tls8.c: Likewise.
25677         * elf/tst-tls9.c: Likewise.
25678         * elf/tst-tlsmod1.c: Likewise.
25679         * elf/tst-tlsmod13.c: Likewise.
25680         * elf/tst-tlsmod13a.c: Likewise.
25681         * elf/tst-tlsmod14a.c: Likewise.
25682         * elf/tst-tlsmod16a.c: Likewise.
25683         * elf/tst-tlsmod16b.c: Likewise.
25684         * elf/tst-tlsmod2.c: Likewise.
25685         * elf/tst-tlsmod3.c: Likewise.
25686         * elf/tst-tlsmod4.c: Likewise.
25687         * elf/tst-tlsmod5.c: Likewise.
25688         * elf/tst-tlsmod6.c: Likewise.
25690 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
25692         [BZ #12486]
25693         * malloc/malloc.c: remove checks for statistics.
25695 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25697         [BZ #15277]
25698         * inet/inet_net.c (inet_network): Detect additional invalid strings.
25699         * inet/tst-network.c: Add testcase.
25701 2013-10-17  Andreas Schwab  <schwab@suse.de>
25703         [BZ #15218]
25704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25705         to determine canonical name.
25707 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25709         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25710         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25711         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25712         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25714         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25715         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25716         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25717         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25718         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25719         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25720         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25721         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25722         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25723         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25724         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25725         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25726         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25727         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25728         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25729         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25730         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25731         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25732         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25733         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25734         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25735         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25736         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25737         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25738         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25739         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25740         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25741         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25742         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25743         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25744         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25745         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25746         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25747         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25748         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25749         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25750         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25751         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25752         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25753         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25754         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25755         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25756         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25757         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25758         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25759         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25760         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25761         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25762         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25763         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25764         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25765         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25766         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25768 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
25770         [BZ #16041]
25771         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25772         make result into a quiet NaN.
25774 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
25776         * soft-fp/adddf3.c: Fix horizontal whitespace.
25777         * soft-fp/addsf3.c: Likewise.
25778         * soft-fp/addtf3.c: Likewise.
25779         * soft-fp/divdf3.c: Likewise.
25780         * soft-fp/divsf3.c: Likewise.
25781         * soft-fp/divtf3.c: Likewise.
25782         * soft-fp/double.h: Likewise.
25783         * soft-fp/eqdf2.c: Likewise.
25784         * soft-fp/eqsf2.c: Likewise.
25785         * soft-fp/eqtf2.c: Likewise.
25786         * soft-fp/extenddftf2.c: Likewise.
25787         * soft-fp/extended.h: Likewise.
25788         * soft-fp/extendsfdf2.c: Likewise.
25789         * soft-fp/extendsftf2.c: Likewise.
25790         * soft-fp/extendxftf2.c: Likewise.
25791         * soft-fp/fixdfdi.c: Likewise.
25792         * soft-fp/fixdfsi.c: Likewise.
25793         * soft-fp/fixdfti.c: Likewise.
25794         * soft-fp/fixsfdi.c: Likewise.
25795         * soft-fp/fixsfsi.c: Likewise.
25796         * soft-fp/fixsfti.c: Likewise.
25797         * soft-fp/fixtfdi.c: Likewise.
25798         * soft-fp/fixtfsi.c: Likewise.
25799         * soft-fp/fixtfti.c: Likewise.
25800         * soft-fp/fixunsdfdi.c: Likewise.
25801         * soft-fp/fixunsdfsi.c: Likewise.
25802         * soft-fp/fixunsdfti.c: Likewise.
25803         * soft-fp/fixunssfdi.c: Likewise.
25804         * soft-fp/fixunssfsi.c: Likewise.
25805         * soft-fp/fixunssfti.c: Likewise.
25806         * soft-fp/fixunstfdi.c: Likewise.
25807         * soft-fp/fixunstfsi.c: Likewise.
25808         * soft-fp/fixunstfti.c: Likewise.
25809         * soft-fp/floatdidf.c: Likewise.
25810         * soft-fp/floatdisf.c: Likewise.
25811         * soft-fp/floatditf.c: Likewise.
25812         * soft-fp/floatsidf.c: Likewise.
25813         * soft-fp/floatsisf.c: Likewise.
25814         * soft-fp/floatsitf.c: Likewise.
25815         * soft-fp/floattidf.c: Likewise.
25816         * soft-fp/floattisf.c: Likewise.
25817         * soft-fp/floattitf.c: Likewise.
25818         * soft-fp/floatundidf.c: Likewise.
25819         * soft-fp/floatundisf.c: Likewise.
25820         * soft-fp/floatunditf.c: Likewise.
25821         * soft-fp/floatunsidf.c: Likewise.
25822         * soft-fp/floatunsisf.c: Likewise.
25823         * soft-fp/floatunsitf.c: Likewise.
25824         * soft-fp/floatuntidf.c: Likewise.
25825         * soft-fp/floatuntisf.c: Likewise.
25826         * soft-fp/floatuntitf.c: Likewise.
25827         * soft-fp/fmadf4.c: Likewise.
25828         * soft-fp/fmasf4.c: Likewise.
25829         * soft-fp/fmatf4.c: Likewise.
25830         * soft-fp/gedf2.c: Likewise.
25831         * soft-fp/gesf2.c: Likewise.
25832         * soft-fp/getf2.c: Likewise.
25833         * soft-fp/ledf2.c: Likewise.
25834         * soft-fp/lesf2.c: Likewise.
25835         * soft-fp/letf2.c: Likewise.
25836         * soft-fp/muldf3.c: Likewise.
25837         * soft-fp/mulsf3.c: Likewise.
25838         * soft-fp/multf3.c: Likewise.
25839         * soft-fp/negdf2.c: Likewise.
25840         * soft-fp/negsf2.c: Likewise.
25841         * soft-fp/negtf2.c: Likewise.
25842         * soft-fp/op-1.h: Likewise.
25843         * soft-fp/op-2.h: Likewise.
25844         * soft-fp/op-4.h: Likewise.
25845         * soft-fp/op-8.h: Likewise.
25846         * soft-fp/op-common.h: Likewise.
25847         * soft-fp/quad.h: Likewise.
25848         * soft-fp/single.h: Likewise.
25849         * soft-fp/soft-fp.h: Likewise.
25850         * soft-fp/sqrtdf2.c: Likewise.
25851         * soft-fp/sqrtsf2.c: Likewise.
25852         * soft-fp/sqrttf2.c: Likewise.
25853         * soft-fp/subdf3.c: Likewise.
25854         * soft-fp/subsf3.c: Likewise.
25855         * soft-fp/subtf3.c: Likewise.
25856         * soft-fp/truncdfsf2.c: Likewise.
25857         * soft-fp/trunctfdf2.c: Likewise.
25858         * soft-fp/trunctfsf2.c: Likewise.
25859         * soft-fp/trunctfxf2.c: Likewise.
25860         * soft-fp/unorddf2.c: Likewise.
25861         * soft-fp/unordsf2.c: Likewise.
25862         * soft-fp/unordtf2.c: Likewise.
25864 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
25866         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25867         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25869 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
25871         * elf/dl-libc.c: Clear initfini list after freeing.
25873 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
25875         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25876         * soft-fp/addsf3.c: Likewise.
25877         * soft-fp/addtf3.c: Likewise.
25878         * soft-fp/divdf3.c: Likewise.
25879         * soft-fp/divsf3.c: Likewise.
25880         * soft-fp/divtf3.c: Likewise.
25881         * soft-fp/double.h: Likewise.
25882         * soft-fp/eqdf2.c: Likewise.
25883         * soft-fp/eqsf2.c: Likewise.
25884         * soft-fp/eqtf2.c: Likewise.
25885         * soft-fp/extenddftf2.c: Likewise.
25886         * soft-fp/extended.h: Likewise.
25887         * soft-fp/extendsfdf2.c: Likewise.
25888         * soft-fp/extendsftf2.c: Likewise.
25889         * soft-fp/extendxftf2.c: Likewise.
25890         * soft-fp/fixdfdi.c: Likewise.
25891         * soft-fp/fixdfsi.c: Likewise.
25892         * soft-fp/fixdfti.c: Likewise.
25893         * soft-fp/fixsfdi.c: Likewise.
25894         * soft-fp/fixsfsi.c: Likewise.
25895         * soft-fp/fixsfti.c: Likewise.
25896         * soft-fp/fixtfdi.c: Likewise.
25897         * soft-fp/fixtfsi.c: Likewise.
25898         * soft-fp/fixtfti.c: Likewise.
25899         * soft-fp/fixunsdfdi.c: Likewise.
25900         * soft-fp/fixunsdfsi.c: Likewise.
25901         * soft-fp/fixunsdfti.c: Likewise.
25902         * soft-fp/fixunssfdi.c: Likewise.
25903         * soft-fp/fixunssfsi.c: Likewise.
25904         * soft-fp/fixunssfti.c: Likewise.
25905         * soft-fp/fixunstfdi.c: Likewise.
25906         * soft-fp/fixunstfsi.c: Likewise.
25907         * soft-fp/fixunstfti.c: Likewise.
25908         * soft-fp/floatdidf.c: Likewise.
25909         * soft-fp/floatdisf.c: Likewise.
25910         * soft-fp/floatditf.c: Likewise.
25911         * soft-fp/floatsidf.c: Likewise.
25912         * soft-fp/floatsisf.c: Likewise.
25913         * soft-fp/floatsitf.c: Likewise.
25914         * soft-fp/floattidf.c: Likewise.
25915         * soft-fp/floattisf.c: Likewise.
25916         * soft-fp/floattitf.c: Likewise.
25917         * soft-fp/floatundidf.c: Likewise.
25918         * soft-fp/floatundisf.c: Likewise.
25919         * soft-fp/floatunsidf.c: Likewise.
25920         * soft-fp/floatunsisf.c: Likewise.
25921         * soft-fp/floatuntidf.c: Likewise.
25922         * soft-fp/floatuntisf.c: Likewise.
25923         * soft-fp/floatuntitf.c: Likewise.
25924         * soft-fp/fmadf4.c: Likewise.
25925         * soft-fp/fmasf4.c: Likewise.
25926         * soft-fp/fmatf4.c: Likewise.
25927         * soft-fp/gedf2.c: Likewise.
25928         * soft-fp/gesf2.c: Likewise.
25929         * soft-fp/getf2.c: Likewise.
25930         * soft-fp/ledf2.c: Likewise.
25931         * soft-fp/lesf2.c: Likewise.
25932         * soft-fp/letf2.c: Likewise.
25933         * soft-fp/muldf3.c: Likewise.
25934         * soft-fp/mulsf3.c: Likewise.
25935         * soft-fp/multf3.c: Likewise.
25936         * soft-fp/negdf2.c: Likewise.
25937         * soft-fp/negsf2.c: Likewise.
25938         * soft-fp/negtf2.c: Likewise.
25939         * soft-fp/op-1.h: Likewise.
25940         * soft-fp/op-2.h: Likewise.
25941         * soft-fp/op-4.h: Likewise.
25942         * soft-fp/op-8.h: Likewise.
25943         * soft-fp/op-common.h: Likewise.
25944         * soft-fp/quad.h: Likewise.
25945         * soft-fp/single.h: Likewise.
25946         * soft-fp/soft-fp.h: Likewise.
25947         * soft-fp/sqrtdf2.c: Likewise.
25948         * soft-fp/sqrtsf2.c: Likewise.
25949         * soft-fp/sqrttf2.c: Likewise.
25950         * soft-fp/subdf3.c: Likewise.
25951         * soft-fp/subsf3.c: Likewise.
25952         * soft-fp/subtf3.c: Likewise.
25953         * soft-fp/truncdfsf2.c: Likewise.
25954         * soft-fp/trunctfdf2.c: Likewise.
25955         * soft-fp/trunctfsf2.c: Likewise.
25956         * soft-fp/trunctfxf2.c: Likewise.
25957         * soft-fp/unorddf2.c: Likewise.
25958         * soft-fp/unordsf2.c: Likewise.
25959         * soft-fp/unordtf2.c: Likewise.
25961 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
25963         [BZ #15672]
25964         * misc/error.c (error_tail): Fix possible buffer overflow.
25966 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
25968         [BZ #13028]
25969         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25970         address.
25972 2013-10-14  P. J. McDermott  <pj@pehjota.net>
25974         [BZ #832]
25975         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
25976         testing pipefail option.
25978 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
25980         * soft-fp/double.h: Indent preprocessor directives inside #if.
25981         * soft-fp/extended.h: Likewise.
25982         * soft-fp/op-2.h: Likewise.
25983         * soft-fp/op-4.h: Likewise.
25984         * soft-fp/op-common.h: Likewise.
25985         * soft-fp/quad.h: Likewise.
25986         * soft-fp/single.h: Likewise.
25987         * soft-fp/soft-fp.h: Likewise.
25989 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
25991         * iconv/iconv_prog.c: Fix typos.
25992         * stdio-common/psiginfo-data.h: Likewise.
25994 2013-10-12   Reuben Thomas <rrt@sc3d.org>
25996         [BZ #15764]
25997         * locale/setlocale.c: Fix typo.
25999 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26001         [BZ #16036]
26002         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26003         signaling NaN arguments.
26004         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26005         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26007         [BZ #14910]
26008         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26009         unordered operands.
26010         * soft-fp/gesf2.c (__gesf2): Likewise.
26011         * soft-fp/getf2.c (__getf2): Likewise.
26012         * soft-fp/ledf2.c (__ledf2): Likewise.
26013         * soft-fp/lesf2.c (__lesf2): Likewise.
26014         * soft-fp/letf2.c (__letf2): Likewise.
26016         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26017         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26018         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26019         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26020         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26021         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26022         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26023         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26024         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26025         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26026         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26027         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26028         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26029         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26030         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26031         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26032         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26033         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26034         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26035         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26036         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26037         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26038         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26039         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26040         * soft-fp/floattidf.c (__floattidf): Likewise.
26041         * soft-fp/floattisf.c (__floattisf): Likewise.
26042         * soft-fp/floattitf.c (__floattitf): Likewise.
26043         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26044         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26045         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26046         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26047         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26048         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26049         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26050         * soft-fp/gesf2.c (__gesf2): Likewise.
26051         * soft-fp/getf2.c (__getf2): Likewise.
26052         * soft-fp/ledf2.c (__ledf2): Likewise.
26053         * soft-fp/lesf2.c (__lesf2): Likewise.
26054         * soft-fp/letf2.c (__letf2): Likewise.
26056         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26057         Undefine and redefine.
26058         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26059         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26060         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26061         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26062         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26063         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26064         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26065         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26066         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26067         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26068         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26069         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26070         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26071         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26072         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26074         [BZ #16032]
26075         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26076         without decrementing exponent if mantissa >= that for the
26077         denominator, not >.
26078         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26079         denominator, not >.  Decrement exponent in < case instead of
26080         incrementing in >= case.
26081         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26082         without decrementing exponent if mantissa >= that for the
26083         denominator, not >.
26085         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26086         computing saturated result for unsigned overflow.
26088 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26089             Jeff Law  <law@redhat.com>
26091         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26092         (atan2Mp): Add systemtap probe marker.
26093         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26094         (__ieee754_log): Add systemtap probe marker.
26095         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26096         (atanMp): Add systemtap probe marker.
26097         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26098         (tanMp): Add systemtap probe marker.
26099         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26100         (__slowexp): Add systemtap probe marker.
26101         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26102         (__slowpow): Add systemtap probe marker.
26103         * manual/probes.texi: Document probes.
26105 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26107         [BZ #15362]
26108         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26109         written.
26110         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26111         written.
26112         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26113         written to buffer but not flushed.
26114         * libio/iofwrite_u.c:  Likewise.
26115         * libio/iopadn.c:  Return bytes returned even if EOF was
26116         encountered.
26117         * libio/iowpadn.c:  Likewise.
26118         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26119         if _IO_padn does not write the whole buffer.
26120         [!COMPILE_WPRINTF] (PAD): Likewise.
26122 2013-10-10  David S. Miller  <davem@davemloft.net>
26124         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26125         directory block.
26127 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26129         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
26130         instead of FSF address.
26131         * soft-fp/fixdfti.c: Likewise.
26132         * soft-fp/fixsfti.c: Likewise.
26133         * soft-fp/fixtfti.c: Likewise.
26134         * soft-fp/fixunsdfti.c: Likewise.
26135         * soft-fp/fixunssfti.c: Likewise.
26136         * soft-fp/fixunstfti.c: Likewise.
26137         * soft-fp/floattidf.c: Likewise.
26138         * soft-fp/floattisf.c: Likewise.
26139         * soft-fp/floattitf.c: Likewise.
26140         * soft-fp/floatuntidf.c: Likewise.
26141         * soft-fp/floatuntisf.c: Likewise.
26142         * soft-fp/floatuntitf.c: Likewise.
26143         * soft-fp/trunctfxf2.c: Likewise.
26145         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
26146         * soft-fp/fixdfti.c: Likewise.
26147         * soft-fp/fixsfti.c: Likewise.
26148         * soft-fp/fixtfti.c: Likewise.
26149         * soft-fp/fixunsdfti.c: Likewise.
26150         * soft-fp/fixunssfti.c: Likewise.
26151         * soft-fp/fixunstfti.c: Likewise.
26152         * soft-fp/floattidf.c: Likewise.
26153         * soft-fp/floattisf.c: Likewise.
26154         * soft-fp/floattitf.c: Likewise.
26155         * soft-fp/floatuntidf.c: Likewise.
26156         * soft-fp/floatuntisf.c: Likewise.
26157         * soft-fp/floatuntitf.c: Likewise.
26158         * soft-fp/trunctfxf2.c: Likewise.
26160 2013-10-10  David S. Miller  <davem@davemloft.net>
26162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26164 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26166         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26167         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26168         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26169         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26170         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26171         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26172         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26174         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26175         for NaNs before doing comparisons on argument.
26176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26177         Likewise.
26179 2013-10-10  Will Newton  <will.newton@linaro.org>
26181         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26182         passed to _int_memalign does not overflow.
26184 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26186         * scripts/bench.pl: Add include-sources directive.
26187         * benchtests/README: Update documentation.
26189 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26191         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26192         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26193         instead of FP_INIT_ROUNDMODE.
26194         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26195         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26197         [BZ #16034]
26198         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26199         copy class of input value.
26200         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26201         not handle exceptions.
26202         * soft-fp/negsf2.c (__negsf2): Likewise.
26203         * soft-fp/negtf2.c (__negtf2): Likewise.
26204         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26206 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26208         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26209         semicolon.  From Linux kernel.
26211 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26213         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26215 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26217         [BZ #156]
26218         * manual/socket.texi: Added statement about buffer
26219         for gethostbyname2_r.
26221 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
26223         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26224         Use .p2align directive instead, throughout.
26225         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26226         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26227         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26228         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26229         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26230         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26231         * sysdeps/x86_64/strchr.S: Likewise.
26232         * sysdeps/x86_64/strrchr.S: Likewise.
26234 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26236         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26238         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26240         * sysdeps/generic/math_private.h (__mpsin1): Remove
26241         declaration.
26242         (__mpcos1): Likewise.
26243         (__mpsin): New argument __range_reduce.
26244         (__mpcos): Likewise.
26245         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26246         (slow): Use __mpsin and __mpcos.
26247         (slow1): Likewise.
26248         (slow2): Likewise.
26249         (sloww): Likewise.
26250         (sloww1): Likewise.
26251         (sloww2): Likewise.
26252         (bsloww): Likewise.
26253         (bsloww1): Likewise.
26254         (bsloww2): Likewise.
26255         (cslow2): Likewise.
26256         (csloww): Likewise.
26257         (csloww1): Likewise.
26258         (csloww2): Likewise.
26259         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26260         range_reduce.  Merge in __mpsin1.
26261         (__mpcos): Likewise.
26262         (__mpsin1): Remove.
26263         (__mpcos1): Likewise.
26265 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
26267         * locale/loadlocale.c (_nl_intern_locale_data): Use
26268         LOCFILE_ALIGNED_P.
26269         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26270         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26271         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26272         obstack data is appropriately aligned.
26273         (obstack_int32_grow_fast): Likewise.
26274         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26275         * locale/programs/locfile.c (add_locale_uint32): Likewise.
26276         (add_locale_uint32_array): Likewise.
26278 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26280         * benchtests/Makefile: Remove ARGLIST and RET variables.
26281         ($(objpfx)bench-%.c): Pass only function name to the script.
26282         * benchtests/README: Update documentation.
26283         * benchtests/acos-inputs: Add new directives.
26284         * benchtests/acosh-inputs: Likewise.
26285         * benchtests/asin-inputs: Likewise.
26286         * benchtests/asinh-inputs: Likewise.
26287         * benchtests/atan-inputs: Likewise.
26288         * benchtests/atanh-inputs: Likewise.
26289         * benchtests/cos-inputs: Likewise.
26290         * benchtests/cosh-inputs: Likewise.
26291         * benchtests/exp-inputs: Likewise.
26292         * benchtests/log-inputs: Likewise.
26293         * benchtests/pow-inputs: Likewise.
26294         * benchtests/rint-inputs: Likewise.
26295         * benchtests/sin-inputs: Likewise.
26296         * benchtests/sinh-inputs: Likewise.
26297         * benchtests/tan-inputs: Likewise.
26298         * benchtests/tanh-inputs: Likewise.
26299         * scripts/bench.pl: Add support for new directives.
26301 2013-10-07  Alan Modra  <amodra@gmail.com>
26303         * README: Fix careless merge.
26305 2013-10-05  Alan Modra  <amodra@gmail.com>
26307         * NEWS: Mention powerpc64le support and bugs fixed.
26308         * README: Both big-endian and little-endian powerpc64 supported.
26310 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26312         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26313         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26314         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26315         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26317 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
26319         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26320         match prototype.
26322 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
26324         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26325         Move -mhard-float appending from
26326         ports/sysdeps/powerpc/powerpc32/Makefile.
26327         [$(with-fp) = yes] (ASFLAGS): Likewise.
26328         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26329         * sysdeps/powerpc/nofpu: Move directory from
26330         ports/sysdeps/powerpc/nofpu.
26331         * sysdeps/powerpc/soft-fp: Move directory from
26332         ports/sysdeps/powerpc/soft-fp.
26333         * sysdeps/powerpc/powerpc32/405: Move directory from
26334         ports/sysdeps/powerpc/powerpc32/405.
26335         * sysdeps/powerpc/powerpc32/440: Move directory from
26336         ports/sysdeps/powerpc/powerpc32/440.
26337         * sysdeps/powerpc/powerpc32/464: Move directory from
26338         ports/sysdeps/powerpc/powerpc32/464.
26339         * sysdeps/powerpc/powerpc32/476: Move directory from
26340         ports/sysdeps/powerpc/powerpc32/476.
26341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26342         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26344         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26346         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26350         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26351         * README: Update for powerpc-*-linux-gnu software floating point
26352         support in libc.
26354         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26355         case to powerpc/powerpc32*.
26356         * sysdeps/unix/sysv/linux/configure: Regenerated.
26358         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26359         (_FPU_MASK_OM): Define as 0x04.
26360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26362         0x00c10080.
26363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26364         0x0000003c.
26365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26368         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26369         getcontext_e500.
26370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26371         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26372         setcontext_e500.
26373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26374         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26375         and setcontext_e500.
26377 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
26379         * locale/iso-3166.def: Update iso-1366.def and related occurrences
26381 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26383         * manual/threads.texi (Default Thread Attributes): Fix typo.
26385 2013-10-04  Will Newton  <will.newton@linaro.org>
26387         * malloc/Makefile: Add tst-memalign.
26388         * malloc/tst-memalign.c: New file.
26390         * malloc/tst-posix_memalign.c: Add comments.
26391         (do_test): Add comments and call free on all potentially
26392         allocated pointers. Add space after cast.
26394         * malloc/tst-pvalloc.c: Add comments.
26395         (do_test): Add comments and call free on all potentially
26396         allocated pointers. Remove duplicate check for NULL pointer.
26397         Add space after cast.
26399         * malloc/tst-valloc.c: Add comments.
26400         (do_test): Add comments and call free on all potentially
26401         allocated pointers. Remove duplicate check for NULL pointer.
26402         Add space after cast.
26404 2013-10-04  Alan Modra  <amodra@gmail.com>
26406         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26407         Use stdint types in rather than __attribute__((mode())).
26408         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26410 2013-10-04  Alan Modra  <amodra@gmail.com>
26412         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26413         Correct handling of unaligned relocs for little-endian.
26414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26416 2013-10-04  Alan Modra  <amodra@gmail.com>
26418         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26419         * configure: Regenerate.
26420         * nptl/shlib-versions: Powerpc*le starts at 2.18.
26421         * shlib-versions: Likewise.
26423 2013-10-04  Alan Modra  <amodra@gmail.com>
26425         * string/tester.c (test_memrchr): Increment reported test cycle.
26427 2013-10-04  Alan Modra  <amodra@gmail.com>
26429         * string/test-memcpy.c (do_one_test): When reporting errors, print
26430         string address and don't overrun end of string.
26432 2013-10-04  Alan Modra  <amodra@gmail.com>
26434         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26435         insrdi.  Make better use of reg selection to speed exit slightly.
26436         Schedule entry path a little better.  Remove useless "are we done"
26437         checks on entry to main loop.  Handle wrapping around zero address.
26438         Correct main loop count.  Handle single left-over word from main
26439         loop inline rather than by using loop_small.  Remove extra word
26440         case in loop_small caused by wrong loop count.  Add little-endian
26441         support.
26442         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26443         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
26444         cache hint.
26445         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26446         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26447         support.  Avoid rlwimi.
26448         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26450 2013-10-04  Alan Modra  <amodra@gmail.com>
26452         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26453         insrdi.  Formatting.
26454         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26455         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26456         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26457         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26458         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26459         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26461 2013-10-04  Alan Modra  <amodra@gmail.com>
26463         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26464         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26465         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26466         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26467         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26468         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26469         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26470         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26471         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
26472         use of regs.  Use power7 mtocrf.  Tidy function tails.
26474 2013-10-04  Alan Modra  <amodra@gmail.com>
26476         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26477         Formatting.  Consistently use rXXX register defines or rN defines.
26478         Use early exit labels that avoid restoring unused non-volatile regs.
26479         Make cr field use more consistent with rWORDn compares.  Rename
26480         regs used as shift registers for unaligned loop, using rN defines
26481         for short lifetime/multiple use regs.
26482         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26483         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
26484         addi 1,1,64 to pop stack frame.  Simplify return value code.
26485         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26487 2013-10-04  Alan Modra  <amodra@gmail.com>
26489         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26490         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
26491         rather than rlwimi.
26492         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26493         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26494         little-endian support.  Correct typos.
26495         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
26496         rather than rlwimi.
26497         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
26498         in loop and entry code to keep "and." results.
26499         (strchr): Add little-endian support.  Comment.  Move cntlzd
26500         earlier in tail.
26501         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26503 2013-10-04  Alan Modra  <amodra@gmail.com>
26505         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26506         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26507         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26508         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26510 2013-10-04  Alan Modra  <amodra@gmail.com>
26512         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26513         (rTMP): Define as r11.
26514         (strcmp): Add little-endian support.  Optimise tail.
26515         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26516         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26517         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26518         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26519         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26520         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26521         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26523 2013-10-04  Alan Modra  <amodra@gmail.com>
26525         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26526         little-endian support.  Remove unnecessary "are we done" tests.
26527         Handle "s" wrapping around zero and extremely large "size".
26528         Correct main loop count.  Handle single left-over word from main
26529         loop inline rather than by using small_loop.  Correct comments.
26530         Delete "zero" tail, use "end_max" instead.
26531         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26533 2013-10-04  Alan Modra  <amodra@gmail.com>
26535         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26536         support.  Don't branch over align.
26537         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26538         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26539         support.  Rearrange tmp reg use to suit.  Comment.
26540         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26542 2013-10-04  Alan Modra  <amodra@gmail.com>
26544         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26546 2013-10-04  Alan Modra  <amodra@gmail.com>
26548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26549         conditional form of branch and link when obtaining pc.
26550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26552 2013-10-04  Alan Modra  <amodra@gmail.com>
26554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26555         HIWORD/LOWORD.
26556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26559 2013-10-04  Alan Modra  <amodra@gmail.com>
26561         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26562         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26563         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26564         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26565         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26566         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26567         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26568         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26569         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26570         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26572 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26573             Alistair Popple <alistair@ozlabs.au.ibm.com>
26574             Alan Modra <amodra@gmail.com>
26576         [BZ #15723]
26577         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26578         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26579         _dl_hwcap access for little-endian.
26580         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
26581         destroy vmx regs when saving unaligned.
26582         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26583         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
26584         destroy vmx regs when saving unaligned.
26586 2013-10-04  Alan Modra  <amodra@gmail.com>
26588         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26589         Don't use a union to pack hi/low value.
26591 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26593         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26594         for little-endian.
26595         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26596         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26597         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26598         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26599         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26601 2013-10-04  Alan Modra  <amodra@gmail.com>
26603         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26604         constants to usual value for .cst8 section, and remove redundant
26605         high address load.
26606         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26607         constant for 0x1p52.  Load little-endian words of double from
26608         correct stack offsets.
26610 2013-10-04  Alan Modra  <amodra@gmail.com>
26612         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26613         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26614         words of double from correct stack offsets.
26615         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26616         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26617         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26619         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26620         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26621         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26622         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26623         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26624         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26625         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26626         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26627         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26628         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26629         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26630         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26631         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26633 2013-10-04  Alan Modra  <amodra@gmail.com>
26635         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26636         64-bit int/double union.
26637         (_FPU_SETCW): Likewise.
26638         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26639         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26641 2013-10-04  Alan Modra  <amodra@gmail.com>
26643         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26644         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26646 2013-10-04  Alan Modra  <amodra@gmail.com>
26648         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26649         use vector int constants.
26650         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26652 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26654         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26655         array with long long.
26656         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26657         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26658         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26659         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26660         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26661         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26662         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26663         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26664         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26665         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26666         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26667         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26668         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26670 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26672         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26673         (__signbit): Likewise.  Correct for little-endian.
26674         (__signbitl): Call __signbit.
26675         (lrint): Correct for little-endian.
26676         (lrintf): Call lrint.
26678 2013-10-04  Alan Modra  <amodra@gmail.com>
26680         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26681         union 32-bit int array member with 64-bit int array.
26682         (t515, tm256): Double rather than long double.
26683         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26685 2013-10-04  Alan Modra  <amodra@gmail.com>
26687         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26688         Delete.
26689         (IEEE854_LONG_DOUBLE_BIAS): Delete.
26690         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26691         version of math_ldbl.h.
26693 2013-10-04  Alan Modra  <amodra@gmail.com>
26695         [BZ #15734], [BZ #15735]
26696         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26697         all uses of ieee875 long double macros and unions.  Simplify test
26698         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
26699         ldbl_extract_mantissa value for ix,iy exponents.  Properly
26700         normalize after ldbl_extract_mantissa, and don't add hidden bit
26701         already handled.  Don't treat low word of ieee854 mantissa like
26702         low word of IBM long double and mask off bit when testing for
26703         zero.
26704         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26705         all uses of ieee875 long double macros and unions.  Simplify tests
26706         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
26707         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
26708         two1022, instead use their values.  Recognise that tests for large
26709         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
26710         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26711         Rewrite all uses of ieee875 long double macros and unions.  Simplify
26712         test for 0.0L and nan.  Correct negation.
26713         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26714         ieee875 long double macros and unions.  Correct output for large
26715         magnitude x.  Correct absolute value calculation.
26716         (__erfcl): Likewise.
26717         * math/libm-test.inc: Add tests for errors discovered in IBM long
26718         double versions of fmodl, remainderl, erfl and erfcl.
26720 2013-10-04  Alan Modra  <amodra@gmail.com>
26722         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26723         all uses of ieee854 long double macros and unions.  Simplify tests
26724         for long doubles that are fully specified by the high double.
26725         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26726         Likewise.
26727         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26728         Remove dead code too.
26729         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26730         (__ieee754_ynl): Likewise.
26731         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26732         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26733         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26734         Remove dead code too.
26735         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26736         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26737         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26738         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26739         Simplify.
26740         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26741         Simplify.
26742         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26743         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26744         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26745         Comment on variable precision.
26746         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26747         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26748         Likewise.
26749         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26750         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26751         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26752         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26753         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26755 2013-10-04  Alan Modra  <amodra@gmail.com>
26757         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26758         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26759         all uses of ieee854 long double macros and unions.
26760         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26761         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26762         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26763         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26764         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26765         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26766         Likewise.
26767         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26768         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26769         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26770         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26771         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26772         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26773         Simplify sign and nan test too.
26774         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26775         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26776         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26777         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26778         Likewise.
26779         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26780         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26781         Likewise.
26782         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26783         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26784         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26785         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26786         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26789 2013-10-04  Alan Modra  <amodra@gmail.com>
26791         * stdio-common/printf_size.c (__printf_size): Don't use
26792         union ieee854_long_double in fpnum union.
26793         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
26794         signbit macro to retrieve sign from long double.
26795         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26796         retrieve sign from long double.
26797         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26798         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26799         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26800         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26801         * math/test-misc.c (main): Don't use union ieee854_long_double.
26803 2013-10-04  Alan Modra  <amodra@gmail.com>
26805         [BZ #15680]
26806         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26807         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26808         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26809         calculation.  Remove unnecessary test for denormal exponent.
26810         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26811         Correct handling of denormals.  Avoid undefined shift behaviour.
26812         Correct normalisation of low mantissa when low double is denormal.
26813         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26814         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
26815         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26816         Correct normalisation of low mantissa.  Test for overflow of high
26817         mantissa and normalise.
26818         (ldbl_nearbyint): Use more readable constant for two52.
26819         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26820         (__mpn_construct_long_double): Fix test for overflow of high
26821         mantissa and correct normalisation.  Avoid undefined shift.
26823 2013-10-04  Alan Modra  <amodra@gmail.com>
26825         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26826         (union ibm_extended_long_double): Define as an array of ieee754_double.
26827         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26828         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26829         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26830         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26831         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26832         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26833         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26834         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26835         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26836         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26837         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26839 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
26841         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26842         page size instead of calling getpagesize.
26844         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26845         (LOCFILE_ALIGN_MASK): Likewise.
26846         (LOCFILE_ALIGN_UP): Likewise.
26847         (LOCFILE_ALIGNED_P): Likewise.
26848         * locale/programs/ld-collate.c (collate_output): Use the new
26849         macros instead of __alignof__ (int32_t).
26850         * locale/weight.h (findidx): Likewise.
26852 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
26854         [BZ #431]
26855         * manual/string.texi: Fix strncat and wcsncat.
26857 2013-10-03  Brooks Moses  <bmoses@google.com>
26859         [BZ #15915]
26860         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26861         * Makerules: ...here, and adjust associated comments.
26863 2013-10-02  Will Newton  <will.newton@linaro.org>
26865         * malloc/Makefile: Add tst-pvalloc.
26866         * malloc/tst-pvalloc.c: New file.
26868 2013-10-02  Will Newton  <will.newton@linaro.org>
26870         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26871         improve test coverage.
26873 2013-10-02  Will Newton  <will.newton@linaro.org>
26875         * malloc/Makefile: Add tst-posix_memalign.
26876         * malloc/tst-posix_memalign.c: New file.
26878 2013-10-01  Eric Blake  <eblake@redhat.com>
26880         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26881         Use __THROWNL rather than __THROW on static functions.
26883 2013-09-30  Petr Machata  <pmachata@redhat.com>
26885         * elf/elf.h (R_AARCH64_ABS16): New macro.
26886         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26887         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26888         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26889         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26890         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26891         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26892         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26893         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26894         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26895         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26896         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26897         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26898         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26899         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26900         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26901         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26902         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26903         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26904         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26905         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26906         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26907         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26908         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26909         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26910         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26911         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26912         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26913         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26914         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26915         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26916         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26917         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26918         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26919         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26920         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26921         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26922         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26923         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26924         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26925         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26926         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26927         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26928         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26929         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26930         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26931         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26932         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26933         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26934         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26935         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26936         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26937         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26938         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26939         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26940         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26941         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26942         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26943         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26944         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26945         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26946         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26947         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26948         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26949         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26950         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26951         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26952         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26953         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26954         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26955         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26956         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26957         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26958         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26959         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26960         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26961         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26962         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26963         (R_AARCH64_TLSDESC_LDR): Likewise.
26964         (R_AARCH64_TLSDESC_ADD): Likewise.
26965         (R_AARCH64_TLSDESC_CALL): Likewise.
26967 2013-09-30  Andreas Schwab  <schwab@suse.de>
26969         [BZ #15048]
26970         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26971         the nss database lookup.
26972         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26975 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
26977         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26979 2013-09-28  P. J. McDermott  <pj@pehjota.net>
26981         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26982         ${Bash-specific parameter/pattern/string} parameter expansion.
26983         * sysdeps/unix/make-syscalls.sh: Likewise.
26985 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26987         * sysdeps/sh/stackguard-macros.h: New file.
26989 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
26991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26992         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26993         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26994         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26995         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26996         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26998 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27000         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27001         Fix thread ID register.
27003 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27005         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27006         [POSIX || UNIX98]: Require rather than permitting all symbols from
27007         <time.h>.
27008         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27009         element of struct sched_param.
27010         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27011         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27012         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27013         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27014         constant.
27016 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27018         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27019         argument calculation.
27021 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27023         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27024         Expect macro.
27025         [POSIX] (pthread_attr_t): Do not require type.
27026         [POSIX] (pthread_cond_t): Likewise.
27027         [POSIX] (pthread_condattr_t): Likewise.
27028         [POSIX] (pthread_key_t): Likewise.
27029         [POSIX] (pthread_mutex_t): Likewise.
27030         [POSIX] (pthread_mutexattr_t): Likewise.
27031         [POSIX] (pthread_once_t): Likewise.
27032         [POSIX] (pthread_t): Likewise.
27033         [POSIX-based standards] (pthread_atfork): Expect function.
27035 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27036             Richard Sandiford  <richard@codesourcery.com>
27038         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27039         (swap_endianness_p): New extern variable.
27040         (set_big_endian): New inline function.
27041         (maybe_swap_uint32): Likewise.
27042         (maybe_swap_uint32_array): Likewise.
27043         (maybe_swap_uint32_obstack): Likewise.
27044         * locale/programs/locfile.c: Include <stdbool.h>.
27045         (swap_endianness_p): New variable.
27046         (add_locale_uint32): Call maybe_swap_uint32.
27047         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27048         (write_locale_data): Call maybe_swap_uint32_array.
27049         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27050         maybe_swap_uint32.
27051         (obstack_int32_grow_fast): Likewise.
27052         (output_weightwc): Call maybe_swap_uint32_obstack.
27053         (collate_output): Likewise.
27054         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27055         (OPT_LITTLE_ENDIAN): Likewise.
27056         (options): Add --little-endian and --big-endian options.
27057         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27058         * locale/programs/locarchive.c: Include "locfile.h".
27059         (GET): New macro.
27060         (SET): Likewise.
27061         (INC): Likewise.
27062         (create_archive): Use the new macros to access fields of
27063         structures directly mapped from or written to locale archives.
27064         (oldlocrecentcmp): Likewise.
27065         (enlarge_archive): Likewise.
27066         (insert_name): Likewise.
27067         (add_alias): Likewise.
27068         (add_locale): Likewise.
27069         (delete_locales_from_archive): Likewise.
27070         (show_archive_content): Likewise.
27071         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27072         locale data.
27074 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27076         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27077         http://www.gnu.org/doc/freemanuals.texi.
27078         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27080 2013-09-24  Will Newton  <will.newton@linaro.org>
27082         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27083         macro.
27085 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27087         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27088         unsigned char.
27090 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27092         * manual/threads.texi (POSIX Threads): Fix a typo.
27094 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27096         [BZ #14547]
27097         * string/tst-strcoll-overflow.c: New test case.
27098         * string/Makefile (xtests): Add tst-strcoll-overflow.
27099         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27100         cache if string sizes may cause integer overflow.
27102         [BZ #14547]
27103         * string/strcoll_l.c (coll_seq): New members rule, idx,
27104         save_idx and back_us.
27105         (get_next_seq_nocache): New function.
27106         (do_compare_nocache): New function.
27107         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27108         when malloc fails.
27110 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27112         [BZ #15754]
27113         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27114         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27115         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27117         [BZ #15754]
27118         * elf/Makefile (tests): Add tst-ptrguard1.
27119         (tests-static): Add tst-ptrguard1-static.
27120         (tst-ptrguard1-ARGS): Define.
27121         (tst-ptrguard1-static-ARGS): Define.
27122         * elf/tst-ptrguard1.c: New file.
27123         * elf/tst-ptrguard1-static.c: New file.
27124         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27125         * sysdeps/i386/stackguard-macros.h: Likewise.
27126         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27127         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27128         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27129         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27130         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27131         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27133 2013-09-23  Hector Marco  <hecmargi@upv.es>
27134             Ismael Ripoll  <iripoll@disca.upv.es>
27135             Carlos O'Donell  <carlos@redhat.com>
27137         [BZ #15754]
27138         * sysdeps/generic/stackguard-macros.h: Define
27139         __pointer_chk_guard_local and POINTER_CHK_GUARD.
27140         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27141         Define __pointer_chk_guard_local.
27142         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27143         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27145 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
27147         [BZ #15859]
27148         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27150 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
27152         * include/string.h (__ffs): Declare as hidden.
27153         * string/ffs.c (__ffs): Define as hidden.
27154         * sysdeps/i386/ffs.c (__ffs): Likewise.
27155         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27156         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27157         * sysdeps/s390/ffs.c (__ffs): Likewise.
27158         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27160 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27162         * NEWS: Mention malloc probes.
27164         * malloc/arena.c (new_heap): New memory_heap_new probe.
27165         (grow_heap): New memory_heap_more probe.
27166         (shrink_heap): New memory_heap_less probe.
27167         (heap_trim): New memory_heap_free probe.
27168         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27169         (systrim): New memory_sbrk_less probe.
27170         * manual/probes.texi: Document them.
27172         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27173         * manual/probes.texi: Document it.
27175         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27176         (__libc_realloc): Add memory_realloc_retry probe.
27177         (__libc_memalign): Add memory_memalign_retry probe.
27178         (__libc_valloc): Add memory_valloc_retry probe.
27179         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27180         (__libc_calloc): Add memory_calloc_retry probe.
27181         * manual/probes.texi: Document them.
27183         * malloc/arena.c (get_free_list): Add probe
27184         memory_arena_reuse_free_list.
27185         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27186         and memory_arena_reuse.
27187         (arena_get2) [!PER_THREAD]: Likewise.
27188         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27189         memory_arena_reuse_realloc.
27190         * manual/probes.texi: Document them.
27192         * malloc/malloc.c (__libc_free): Add
27193         memory_mallopt_free_dyn_thresholds probe.
27194         (__libc_mallopt): Add multiple memory_mallopt probes.
27195         * manual/probes.texi: Document them.
27197         * malloc/malloc.c: Include stap-probe.h.
27198         (__libc_mallopt): Add memory_mallopt probe.
27199         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27200         * manual/probes.texi: New.
27201         * manual/Makefile (chapters): Add probes.
27202         * manual/threads.texi: Set next node.
27204 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27206         [BZ #15963, #13985]
27207         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27208         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27209         Add `Chinese' to `nan' entry name.
27211 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27213         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27214         (POLYNOMIAL): Likewise.
27215         (TAYLOR_SINCOS): Likewise.
27216         (TAYLOR_SLOW): Likewise.
27217         (__sin): Use TAYLOR_SINCOS.
27218         (__cos): Likewise.
27219         (slow): Use TAYLOR_SLOW.
27220         (sloww): Likewise.
27221         (bsloww): Likewise.
27222         (csloww): Likewise.
27224 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27226         * stdlib/strtod_l.c: Fix buffer overrun.
27228 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27230         * benchtests/Makefile (bench): Add sincos.
27231         * benchtests/bench-sincos.c: New file.
27233         * math/libm-test.inc (cos_test_data): New test inputs.
27234         (sin_test_data): Likewise.
27236         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27237         macro.
27238         (__sin): Use it.
27239         (__cos): Likewise.
27240         (slow1): Likewise.
27241         (slow2): Likewise.
27242         (sloww1): Likewise.
27243         (sloww2): Likewise.
27244         (bsloww1): Likewise.
27245         (bsloww2): Likewise.
27246         (cslow2): Likewise.
27247         (csloww1): Likewise.
27248         (csloww2): Likewise.
27250         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27251         function.
27252         (__sin): Use it.
27253         (__cos): Likewise.
27255         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27256         gotos.
27257         (__cos): Likewise.
27259 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
27261         * config.h.in (HAVE_MIPS_NAN2008): New macro.
27262         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27263         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27264         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27265         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27266         * elf/cache.c (print_entry): Handle the new cache flags.
27268 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27269             Aldy Hernandez  <aldyh@redhat.com>
27271         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27272         Change condition to [_SOFT_FLOAT].
27273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27285         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27288         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27289         declaration.
27291 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27293         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27294         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27295         (__longjmp): Use LOAD_GP to load saved GPRs.
27296         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27297         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27298         (__sigsetjmp): Use SAVE_GP to save GPRs.
27300         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27301         Do not append -msoft-float.
27302         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27304 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27306         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27308 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
27310         [BZ #15966]
27311         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27312         (_FPU_GETCW): Use initial "__" on variable and field names but not
27313         on macro parameter name.
27314         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
27315         parentheses around reference to macro parameter.
27317 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
27319         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27320         prototype.
27321         (ctype_startup): Use uint32_t in cast and sizeof for
27322         ctype->charnames.
27324 2013-09-11  Jia Liu  <proljc@gmail.com>
27326         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27327         __daddr_t_defined.
27328         [__FreeBSD__]: Likewise.
27330 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
27332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27333         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27334         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27335         (strchr): Remove __strchr_sse42 ifunc selection.
27336         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27337         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27339 2013-09-11  Will Newton  <will.newton@linaro.org>
27341         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27342         parameter to RES. Remove hardcoded 1000 value.
27343         * benchtests/bench-skeleton.c (main): Pass RES parameter
27344         to TIMING_INIT and multiply result by 1000.
27346 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27350 2013-09-11  Andreas Schwab  <schwab@suse.de>
27352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27353         if not defined.
27354         (O_TMPFILE) [__USE_GNU]: Define.
27355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27356         Define.
27358 2013-09-11  Will Newton  <will.newton@linaro.org>
27360         [BZ #15857]
27361         * malloc/malloc.c (__libc_memalign): Check the value of bytes
27362         does not overflow.
27364 2013-09-11  Will Newton  <will.newton@linaro.org>
27366         [BZ #15856]
27367         * malloc/malloc.c (__libc_valloc): Check the value of bytes
27368         does not overflow.
27370 2013-09-11  Will Newton  <will.newton@linaro.org>
27372         [BZ #15855]
27373         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27374         does not overflow.
27376 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
27378         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27379         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27380         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27382         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27384 2013-09-10  Allan McRae  <allan@archlinux.org>
27386         [BZ #15748]
27387         * manual/arith.texi (Parsing of Floats): Clarify
27388         cross-reference.
27390         [BZ #15849]
27391         * manual/install.texi (Running make install): Mention
27392         --enable-pt-chown.
27393         * INSTALL: Regenerated.
27395 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
27397         * csu/init-first.c (_init): Remove the !SHARED condition around
27398         FPU control word initialization.
27399         * elf/dl-support.c (_dl_fpu_control): New variable.
27400         (_dl_aux_init) <AT_FPUCW>: Initialize it.
27401         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27402         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27403         * math/test-fpucw-static.c: New file.
27404         * math/test-fpucw-ieee.c: New file.
27405         * math/test-fpucw-ieee-static.c: New file.
27406         * math/Makefile (tests): Add `test-fpucw-ieee' and
27407         `$(tests-static)'.
27408         (tests-static): New variable.
27409         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27410         dependency to...
27411         [($(build-shared),yes)]
27412         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27413         ... this.
27414         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27415         New dependency.
27417 2013-09-09  Allan McRae  <allan@archlinux.org>
27419         [BZ #15939]
27420         * manual/string.texi (Collation Functions): Fix typo in
27421         strcoll example.
27422         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27424         [BZ #15893]
27425         * stdlib/isomac.c (get_null_defines): Fix memory leak.
27427         [BZ #15892]
27428         * libio/memstream.c (open_memstream): Fix memory leak.
27429         * libio/wmemstream.c (open_wmemstream): Likewise.
27431         [BZ #15895]
27432         * nscd/netgroupcache.c: Fix nesting of ifdefs.
27434 2013-09-09  Will Newton  <will.newton@linaro.org>
27436         * malloc/Makefile: Add tst-realloc to tests.
27437         * malloc/tst-realloc.c: New file.
27439 2013-09-09  Allan McRae  <allan@archlinux.org>
27441         [BZ #15844]
27442         * COPYING: Update from GNU website to fix FSF address.
27443         * COPYING.LIB: Likewise.
27445 2013-09-06  David S. Miller  <davem@davemloft.net>
27447         * po/zh_TW.po: Update Chinese (traditional) translation from
27448         translation project.
27450 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
27451             Joseph Myers  <joseph@codesourcery.com>
27453         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27454         "localeinfo.h".
27455         (obstack_chunk_alloc): New macro.
27456         (obstack_chunk_free): Likewise.
27457         (record_offset): New function.
27458         (init_locale_data): Likewise.
27459         (align_locale_data): Likewise.
27460         (add_locale_empty): Likewise.
27461         (add_locale_raw_data): Likewise.
27462         (add_locale_raw_obstack): Likewise.
27463         (add_locale_string): Likewise.
27464         (add_locale_wstring): Likewise.
27465         (add_locale_uint32): Likewise.
27466         (add_locale_uint32_array): Likewise.
27467         (add_locale_char): Likewise.
27468         (start_locale_structure): Likewise.
27469         (end_locale_structure): Likewise.
27470         (start_locale_prelude): Likewise.
27471         (end_locale_prelude): Likewise.
27472         (write_locale_data): Take locale_file structure rather than an
27473         iovec.
27474         * locale/programs/locfile.h: Include "obstack.h".
27475         (struct locale_file): Change to store locale file contents instead
27476         of header.
27477         (init_locale_data): New prototype.
27478         (align_locale_data): Likewise.
27479         (add_locale_empty): Likewise.
27480         (add_locale_raw_data): Likewise.
27481         (add_locale_raw_obstack): Likewise.
27482         (add_locale_string): Likewise.
27483         (add_locale_wstring): Likewise.
27484         (add_locale_uint32): Likewise.
27485         (add_locale_uint32_array): Likewise.
27486         (add_locale_char): Likewise.
27487         (start_locale_structure): Likewise.
27488         (end_locale_structure): Likewise.
27489         (start_locale_prelude): Likewise.
27490         (end_locale_prelude): Likewise.
27491         (write_locale_data): Update prototype.
27492         * locale/programs/3level.h (struct TABLE): Remove result field.
27493         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27494         Use new locale_file interface.
27495         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27496         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27497         * locale/programs/ld-address.c (address_output): Use new
27498         locale_file interface.
27499         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27500         NO_ADD_LOCALE.
27501         (collate_finish): Don't call collseq_table_finalize.
27502         (collate_output): Use new locale_file interface.
27503         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27504         in file.
27505         (NO_FINALIZE): Change to NO_ADD_LOCALE.
27506         (TABLE): Move defines earlier in file.
27507         (ELEMENT): Likewise.
27508         (DEFAULT): Likewise.
27509         (wctrans_table_add): Move macro and inline function earlier in
27510         file.
27511         (struct wctype_table): Move type earlier in file.
27512         (add_locale_wctype_table): New static prototype.
27513         (struct locale_ctype_t): Use logical types instead of struct iovec
27514         pointers for members.
27515         (ctype_output): Use new locale_file interface.
27516         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
27517         new locale_file interface.
27518         (allocate_arrays): Update for use of new locale_file interface.
27519         * locale/programs/ld-identification.c (identification_output): Use
27520         new locale_file interface.
27521         * locale/programs/ld-measurement.c (measurement_output): Likewise.
27522         * locale/programs/ld-messages.c (messages_output): Likewise.
27523         * locale/programs/ld-monetary.c (monetary_output): Likewise.
27524         * locale/programs/ld-name.c (name_output): Likewise.
27525         * locale/programs/ld-numeric.c (numeric_output): Likewise.
27526         * locale/programs/ld-paper.c (paper_output): Likewise.
27527         * locale/programs/ld-telephone.c (telephone_output): Likewise.
27528         * locale/programs/ld-time.c (time_output): Likewise.
27530 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27532         * benchtests/Makefile: Add memrchr benchmark.
27533         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27534         benchmark as memrchr.
27535         * benchtests/bench-memrchr-ifunc.c: New file.
27536         * benchtests/bench-memrchr.c: New file.
27538 2013-09-06   Will Newton  <will.newton@linaro.org>
27540         * benchtests/Makefile (string-bench): Add memcpy.
27542 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
27543             Cong Wang  <amwang@redhat.com>
27545         [BZ #15850]
27546         * sysdeps/unix/sysv/linux/bits/in.h
27547         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27548         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27549         before __USE_KERNEL_IPV6_DEFS uses.
27550         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27551         IPPROTO_BEETPH.
27552         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27553         sockaddr_in6, or ipv6_mreq.
27555 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27557         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27558         memory access for final bytes in some large inputs.
27559         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27561 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27563         * string/test-memrchr.c: New file.
27564         * string/test-memrchr-ifunc.c: New file.
27565         * string/Makefile: Add new memrchr testcase.
27567 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
27569         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27570         fanotify_init returns EPERM.
27572 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27574         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27575         errors.
27576         (top level): Treat second token from macro or constant entries for
27577         allowed headers as allowed.
27578         * include/complex.h: Condition internal declarations on
27579         [!_ISOMAC].
27580         * include/fenv.h: Condition include of <stdbool.h> and internal
27581         declarations on [!_ISOMAC].
27583 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
27585         [BZ #15923]
27586         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27588 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27590         * configure.in (--enable-versioning): Remove configure option.
27591         (libc_cv_asm_symver_directive): Remove configure test.
27592         (libc_cv_ld_version_script_option): Likewise.
27593         (VERSIONING): Remove variable and AC_SUBST.
27594         (DO_VERSIONING): Remove AC_DEFINE.
27595         * configure: Regenerated.
27596         * config.h.in (DO_VERSIONING): Remove macro.
27597         * Makerules [$(versioning) = yes]: Change conditionals to
27598         [$(build-shared) = yes].
27599         * config.make.in (versioning): Remove variable.
27600         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27601         [$(build-shared) = yes].
27602         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27603         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27604         * elf/Makefile [$(versioning) = yes]: Change conditionals to
27605         [$(build-shared) = yes].
27606         * extra-lib.mk [$(versioning) = yes]: Likewise.
27607         * hurd/Makefile [$(versioning) = yes]: Likewise.
27608         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27609         [SHARED].
27610         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27611         [SHARED].
27612         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27613         [SHARED && !NO_HIDDEN].
27614         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27615         [SHARED].
27616         [SHARED && DO_VERSIONING]: Likewise..
27617         * libio/Makefile [$(versioning) = yes]: Change conditionals to
27618         [$(build-shared) = yes].
27619         * manual/install.texi (--disable-versioning): Remove
27620         documentation.
27621         * INSTALL: Regenerated.
27622         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27623         to [SHARED].
27624         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27625         [$(build-shared) = yes].
27626         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27627         * sysdeps/i386/i686/multiarch/strstr-c.c
27628         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27629         [SHARED && !NO_HIDDEN].
27630         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27631         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27632         * sysdeps/powerpc/powerpc32/dl-machine.c
27633         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27634         * sysdeps/powerpc/powerpc32/sysdep.h
27635         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27636         to [SHARED && PIC && !NO_HIDDEN].
27637         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27638         conditional to [SHARED].
27640 2013-09-04   Will Newton  <will.newton@linaro.org>
27642         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27643         * benchtests/bench-string.h: Include bench-timing.h instead
27644         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27645         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27646         call to HP_TIMING_DIFF_INIT.
27647         * benchtests/bench-memccpy.c: Use bench-timing.h macros
27648         instead of hp-timing.h macros.
27649         * benchtests/bench-memchr.c: Likewise.
27650         * benchtests/bench-memcmp.c: Likewise.
27651         * benchtests/bench-memcpy.c: Likewise.
27652         * benchtests/bench-memmem.c: Likewise.
27653         * benchtests/bench-memmove.c: Likewise.
27654         * benchtests/bench-memset.c: Likewise.
27655         * benchtests/bench-rawmemchr.c: Likewise.
27656         * benchtests/bench-strcasecmp.c: Likewise.
27657         * benchtests/bench-strcasestr.c: Likewise.
27658         * benchtests/bench-strcat.c: Likewise.
27659         * benchtests/bench-strchr.c: Likewise.
27660         * benchtests/bench-strcmp.c: Likewise.
27661         * benchtests/bench-strcpy.c: Likewise.
27662         * benchtests/bench-strcpy_chk.c: Likewise.
27663         * benchtests/bench-strlen.c: Likewise.
27664         * benchtests/bench-strncasecmp.c: Likewise.
27665         * benchtests/bench-strncat.c: Likewise.
27666         * benchtests/bench-strncmp.c: Likewise.
27667         * benchtests/bench-strncpy.c: Likewise.
27668         * benchtests/bench-strnlen.c: Likewise.
27669         * benchtests/bench-strpbrk.c: Likewise.
27670         * benchtests/bench-strrchr.c: Likewise.
27671         * benchtests/bench-strspn.c: Likewise.
27672         * benchtests/bench-strstr.c: Likewise.
27674 2013-09-04  Will Newton  <will.newton@linaro.org>
27676         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27678 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
27680         [BZ #15427]
27681         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27682         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27683         * math/libm-test.inc (lgamma_test_data): Add more tests.
27684         * sysdeps/i386/fpu/libm-test-ulps: Update.
27685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27687 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
27689         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27691         Add ifunc.
27692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27693         Add strcmp-sse2-unaligned
27694         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27696 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27698         * Versions.def (libc): Add GLIBC_2.19.
27700 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27702         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27703         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27705 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
27707         [BZ #14155]
27708         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27709         intermediate calculations in recurrence.
27710         (__ieee754_ynf): Likewise.
27711         * math/libm-test.inc (jn_test_data): Do not allow spurious
27712         underflow exception.  Add more tests.
27713         (yn_test_data): Add more tests.
27714         * sysdeps/i386/fpu/libm-test-ulps: Update.
27715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27717 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
27719         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27721 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27723         * csu/init-first.c: Fix then/than typos.
27724         * locale/programs/ld-collate.c: Likewise.
27725         * locale/programs/linereader.h: Likewise.
27726         * manual/charset.texi: Likewise.
27727         * manual/filesys.texi: Likewise.
27728         * manual/stdio.texi: Likewise.
27729         * manual/string.texi: Likewise.
27730         * stdlib/fmtmsg.c: Likewise.
27731         * sysdeps/i386/stpncpy.S: Likewise.
27732         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27733         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27734         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27735         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27737 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27739         * elf/dl-open.c: Fix typos.
27740         * iconvdata/gbbig5.c: Likewise.
27741         * iconvdata/iso-2022-jp.c: Likewise.
27742         * iconv/gconv_int.h: Likewise.
27743         * iconv/loop.c: Likewise.
27744         * nis/rpcsvc/nis.h: Likewise.
27745         * resolv/ns_name.c: Likewise.
27746         * stdio-common/vfscanf.c: Likewise.
27747         * streams/stropts.h: Likewise.
27748         * sunrpc/rpc_thread.c: Likewise.
27749         * sysdeps/i386/strpbrk.S: Likewise.
27750         * sysdeps/ieee754/k_standard.c: Likewise.
27751         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27752         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27753         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27754         * sysdeps/mach/hurd/profil.c: Likewise.
27755         * sysdeps/s390/dl-procinfo.h: Likewise.
27756         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27757         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27758         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27759         * sysdeps/x86_64/dl-trampoline.S: Likewise.
27760         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27762 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
27764         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27767 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
27769         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27770         aix specific files.
27771         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27772         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27773         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27774         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27775         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27776         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27777         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27778         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27780 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27781             Roland McGrath  <roland@hack.frob.com>
27783         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27784         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27786 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27788         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27789         __executable_start symbol instead of _start.
27791 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27793         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27794         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27795         Move macros to...
27796         * sysdeps/gnu/ldsodefs.h: ... this new file.
27798         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27799         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27800         instead of ELFOSABI_LINUX.
27802         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27803         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27804         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27805         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27806         Likewise.
27807         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27808         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27809         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27810         Likewise.
27811         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27812         (ibm_extended_long_double): Add ieee_nan member.
27813         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27814         (do_test): New function.
27816         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27817         TEST_TRUNC.
27818         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27819         functions, renamed from truncdfsf_test, trunctfsf_test,
27820         trunctfdf_test.
27821         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27822         functions.
27823         (do_test): Run all these.
27825 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
27827         * argp/argp-help.c: Fix typos.
27828         * argp/argp-parse.c: Likewise.
27829         * debug/backtracesyms.c: Likewise.
27830         * elf/elf.h: Likewise.
27831         * malloc/malloc.c: Likewise.
27832         * nis/nis_print.c: Likewise.
27833         * resolv/res_comp.c: Likewise.
27834         * stdlib/stdlib.h: Likewise.
27835         * sunrpc/clnt_tcp.c: Likewise.
27836         * sunrpc/clnt_udp.c: Likewise.
27837         * sunrpc/clnt_unix.c: Likewise.
27838         * sysdeps/unix/bsd/ptsname.c: Likewise.
27839         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27840         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27842         Likewise.
27843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27844         Likewise.
27845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27846         Likewise.
27847         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27849 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27851         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27854 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
27856         [BZ #15897]
27857         * dlfcn/Makefile (tests): Add bug-dl-leaf.
27858         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27859         ($(objpfx)bug-dl-leaf): New rule.
27860         ($(objpfx)bug-dl-leaf.so): Likewise.
27861         ($(objpfx)bug-dl-leaf.out): Likewise.
27862         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27863         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27864         * dlfcn/bug-dl-leaf.c: New test.
27865         * dlfcn/bug-dl-leaf-lib.c: Likewise.
27866         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27867         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27868         (dlclose): Likewise.
27869         (dlmopen): Likewise.
27871 2013-08-27  Roland McGrath  <roland@hack.frob.com>
27873         * include/netdb.h [!_ISOMAC]:
27874         Don't include <tls.h>.
27875         (h_errno, __libc_h_errno): Move declaration and macros out of
27876         [_LIBC_REENTRANT].
27878         * include/resolv.h [_RESOLV_H_]:
27879         Don't include <tls.h>.
27880         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27881         * resolv/res_libc.c: Don't include <tls.h>.
27882         (_res): Use __attribute__ ((nocommon)) in place of
27883         __attribute__ ((section (".bss"))).
27885         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27886         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27888         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27890         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27891         only under [SIOCGIFCONF && SIOCGIFNETMASK].
27893         * resolv/res_mkquery.c: Include <sys/time.h>.
27895         * inet/ifreq.c: Moved to ...
27896         * sysdeps/unix/ifreq.c: ... here.
27897         * inet/ifreq.c: New file, true stub version.
27899         * socket/sa_len.c: New file.
27900         * socket/Makefile (aux): Add it.
27901         * sysdeps/unix/sysv/linux/Makefile
27902         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27903         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27904         and #include <socket/sa_len.c>.
27905         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27906         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27908         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27909         * bits/socket.h: ... here.
27911         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27912         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27913         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27915 2013-08-27  Andreas Schwab  <schwab@suse.de>
27917         [BZ #15736]
27918         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27919         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27920         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27921         * string/test-strcasecmp.c (test_main): Run tests in several
27922         locales.
27923         * string/test-strncasecmp.c (test_main): Likewise.
27925         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27926         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27927         to __strcasecmp_nonascii and __strncasecmp_nonascii.
27928         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27929         (__strncasecmp_ssse3) [PIC]: Likewise.
27931 2013-08-26  Roland McGrath  <roland@hack.frob.com>
27933         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27935         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27936         instead of explicitly declaring xdecrypt.
27937         * nis/nss_nis/nis-publickey.c: Likewise.
27939 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27941         [BZ #15890]
27942         * nscd/aicache.c: Include res_hconf.h.
27943         (addhstaiX): Initialize res_hconf.
27945 2013-08-26  Andreas Schwab  <schwab@suse.de>
27947         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27948         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27950 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27952         * nscd/aicache.c (addhstaiX): Fix indentation.
27954 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
27956         * configure.ac: Quote $build_pt_chown test.
27957         * configure: Regenerated.
27959 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
27961         [BZ #15532]
27962         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27963         * math/s_cexpf.c (__cexpf): Likewise.
27964         * math/s_cexpl.c (__cexpl): Likewise.
27965         * math/libm-test.inc (cexp_test_data): Correct expected return
27966         value for NaN + i0.  Add another test.
27968 2013-08-22  David S. Miller  <davem@davemloft.net>
27970         * po/ca.po: Update Catalan translation from translation project.
27971         * po/uk.po: Add Ukrainian translations from translation project.
27973 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
27975         [BZ #15797]
27976         * math/s_fdim.c (__fdim): Check for infinite arguments if result
27977         is infinite, not alongside NaN test.
27978         * math/s_fdimf.c (__fdimf): Likewise.
27979         * math/s_fdiml.c (__fdiml): Likewise.
27980         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
27981         errno is unchanged.
27983 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
27985         * argp/argp-help.c: Fix typos.
27986         * crypt/speeds.c: Likewise.
27987         * csu/check_fds.c: Likewise.
27988         * elf/dl-load.c: Likewise.
27989         * elf/dl-open.c: Likewise.
27990         * elf/reldep3.c: Likewise.
27991         * elf/reldep.c: Likewise.
27992         * elf/sprof.c: Likewise.
27993         * iconv/iconv_charmap.c: Likewise.
27994         * iconv/skeleton.c: Likewise.
27995         * iconv/strtab.c: Likewise.
27996         * io/lockf64.c: Likewise.
27997         * libio/libioP.h: Likewise.
27998         * resolv/gai_notify.c: Likewise.
27999         * resolv/ns_name.c: Likewise.
28000         * resolv/ns_samedomain.c: Likewise.
28001         * resolv/res_send.c: Likewise.
28002         * stdlib/random.c: Likewise.
28003         * sunrpc/rpc/xdr.h: Likewise.
28004         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28005         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28006         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28007         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28008         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28009         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28010         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28011         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28012         * sysdeps/mach/hurd/check_fds.c: Likewise.
28013         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28014         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28015         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28016         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28017         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28018         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28019         * sysdeps/pthread/aio_notify.c: Likewise.
28020         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28021         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28022         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28023         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28024         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28026 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28028         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28029         version if bit_Slow_SSE4_2 is set.
28030         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28031         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28033 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28035         [BZ #15867]
28036         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28037         trampoline stack frame information.
28038         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28039         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28040         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28041         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28042         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28043         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28044         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28045         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28046         sa_flags value.
28047         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28048         interrupting a syscall and set with option SA_SIGINFO.
28050 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28052         [BZ #15531]
28053         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28054         argument is infinite.
28055         * math/s_cprojf.c (__cprojf): Likewise.
28056         * math/s_cprojl.c (__cprojl): Likewise.
28057         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28058         * math/libm-test.inc (cproj_test_data): Add more tests.
28060         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28062         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28063         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28064         size.  Use __ffs to determine corresponding shift.
28066 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28067             Roland McGrath  <roland@hack.frob.com>
28069         * Makefile (INSTALL): Remove trailing blank lines from output of
28070         makeinfo.
28072 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28074         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28075         Align 32 bit compat elf_greg to 8 bytes.
28077 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28079         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28081 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28083         * string/strcoll_l.c (coll_seq): New structure.
28084         (get_next_seq_cached): New function.
28085         (get_next_seq): New function.
28086         (do_compare): New function.
28087         (STRCOLL): Use GNU style definition.  Simplify implementation
28088         by using get_next_seq, get_next_seq_cached and do_compare.
28090 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28092         [BZ #14699]
28093         CVE-2013-4237
28094         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28095         member.
28096         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28097         member.
28098         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28099         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28100         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28101         conditional.
28102         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28103         GETDENTS_64BIT_ALIGNED.
28104         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28105         * manual/filesys.texi (Reading/Closing Directory): Document
28106         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28107         strongly.
28108         * manual/conf.texi (Limits for Files): Add portability note to
28109         NAME_MAX, PATH_MAX.
28110         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28112 2013-08-13  Andreas Schwab  <schwab@suse.de>
28114         [BZ #15749]
28115         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28116         of fabs.
28117         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28118         LDBL_MAX_EXP >= 16384]: Add tests for it.
28120 2013-08-12  David S. Miller  <davem@davemloft.net>
28122         * version.h (RELEASE): Set to "development".
28123         (VERSION): Set to "2.18.90".
28124         * NEWS: Add 2.19 section.
28126 2013-08-03  David S. Miller  <davem@davemloft.net>
28128         * po/ko.po: Update Korean translation from translation project.
28130 2013-08-01  David S. Miller  <davem@davemloft.net>
28132         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
28133         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28134         Bilka.
28136 2013-07-30  David S. Miller  <davem@davemloft.net>
28138         * po/fr.po: Update French translation from translation project.
28140 2013-07-28  David S. Miller  <davem@davemloft.net>
28142         * po/cs.po: Update Czech translation from translation project.
28144         * po/sv.po: Update Swedish translation from translation project.
28146 2013-07-27  David S. Miller  <davem@davemloft.net>
28148         * po/eo.po: Update Esperanto translation from translation project.
28150         * po/vi.po: Update Vietnamese translation from translation project.
28152         * po/de.po: Update German translation from translation project.
28154 2013-07-26  David S. Miller  <davem@davemloft.net>
28156         * po/bg.po: Update Bulgarian translation from translation project.
28158         * po/nl.po: Update Dutch translation from translation project.
28159         * po/pl.po: Update Polish translation from translation project.
28160         * po/ru.po: Update Russian translation from translation project.
28162 2013-07-24  David S. Miller  <davem@davemloft.net>
28164         * po/libc.pot: Update.
28166 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28168         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28169         variable page size.
28170         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28171         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28172         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28174 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28176         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28178 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28179             Andreas Schwab  <schwab@suse.de>
28180             Roland McGrath  <roland@hack.frob.com>
28181             Joseph Myers  <joseph@codesourcery.com>
28182             Carlos O'Donell  <carlos@redhat.com>
28184         [BZ #15755]
28185         * config.h.in: Define HAVE_PT_CHOWN.
28186         * config.make.in (build-pt-chown): New variable.
28187         * configure.in (--enable-pt_chown): New configure option.
28188         * configure: Regenerate.
28189         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28190         build-pt-chown is enabled.
28191         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28192         pt_chown to fix pty ownership.
28193         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28194         CLOSE_ALL_FDS.
28195         * manual/install.texi (Configuring and compiling): Mention
28196         --enable-pt_chown. Add @findex for grantpt.
28197         * INSTALL: Regenerate.
28199 2013-07-20  David S. Miller  <davem@davemloft.net>
28201         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28202         difference between 32-bit and 64-bit.
28204 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28206         [BZ #15711]
28207         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28208         Avoid system header dependency with -ffreestanding.
28209         ($(objpfx)bits/syscall%d): Likewise.
28211 2013-07-13  David S. Miller  <davem@davemloft.net>
28213         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28214         underflows from atanl/atan2l due to bug 15319.
28215         (casinh_test_data): Likewise.
28217 2013-07-07  David S. Miller  <davem@davemloft.net>
28219         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28221 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
28223         * sysdeps/i386/fpu/libm-test-ulps: Update.
28224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28226 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28228         * configure.in (--enable-lock-elision): Fix message text.
28229         * INSTALL: Regenerate.
28230         * configure: Regenerate.
28232 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28236 2013-07-03  Andreas Jaeger  <aj@suse.de>
28238         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28239         define.
28240         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28241         (ptrace_peeksiginfo_args): Add.
28242         (__ptrace_peeksiginfo_flags): Add.
28243         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28244         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28245         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28247 2013-07-03  Allan McRae  <allan@archlinux.org>
28249         * sysdeps/i386/fpu/libm-test-ulps: Update.
28251 2013-07-02  David S. Miller  <davem@davemloft.net>
28253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28255 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
28257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28259 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28261         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28264 2013-07-02  Andi Kleen <ak@linux.intel.com>
28266         * config.h.in (ENABLE_LOCK_ELISION): Add.
28267         * configure.in (--enable-lock-elision): Add option.
28268         * manual/install.texi: Document --enable lock elision.
28269         * configure: Regenerate
28270         * INSTALL: Regenerate.
28272 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
28274         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28275         SSE4.2 strcasecmp for libc.a.
28276         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28278 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28280         [BZ #13304]
28281         * soft-fp/op-common.h (_FP_FMA): New macro.
28282         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28283         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
28284         (_FP_MUL_MEAT_1_imm): ... here.
28285         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
28286         (_FP_MUL_MEAT_1_wide): ... here.
28287         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
28288         (_FP_MUL_MEAT_1_hard): ... here.
28289         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28290         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
28291         (_FP_MUL_MEAT_2_wide): ... here.
28292         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
28293         (_FP_MUL_MEAT_2_wide_3mul): ... here.
28294         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
28295         (_FP_MUL_MEAT_2_gmp): ... here.
28296         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28297         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
28298         (_FP_MUL_MEAT_4_wide): ... here.
28299         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
28300         (_FP_MUL_MEAT_4_gmp): ... here.
28301         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28302         (_FP_WFRACBITS_DW_S): Likewise.
28303         (_FP_WFRACXBITS_DW_S): Likewise.
28304         (_FP_HIGHBIT_DW_S): Likewise.
28305         (FP_FMA_S): Likewise.
28306         (_FP_FRAC_HIGH_DW_S): Likewise.
28307         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28308         (_FP_WFRACBITS_DW_D): Likewise.
28309         (_FP_WFRACXBITS_DW_D): Likewise.
28310         (_FP_HIGHBIT_DW_D): Likewise.
28311         (FP_FMA_D): Likewise.
28312         (_FP_FRAC_HIGH_DW_D): Likewise.
28313         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28314         (_FP_WFRACBITS_DW_E): Likewise.
28315         (_FP_WFRACXBITS_DW_E): Likewise.
28316         (_FP_HIGHBIT_DW_E): Likewise.
28317         (FP_FMA_E): Likewise.
28318         (_FP_FRAC_HIGH_DW_E): Likewise.
28319         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28320         (_FP_WFRACBITS_DW_Q): Likewise.
28321         (_FP_WFRACXBITS_DW_Q): Likewise.
28322         (_FP_HIGHBIT_DW_Q): Likewise.
28323         (FP_FMA_Q): Likewise.
28324         (_FP_FRAC_HIGH_DW_Q): Likewise.
28325         * soft-fp/fmasf4.c: New file.
28326         * soft-fp/fmadf4.c: Likewise.
28327         * soft-fp/fmatf4.c: Likewise.
28329 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28332         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28333         Silvermont.
28334         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28335         macro.
28336         (index_Slow_SSE4_2): Likewise.
28337         (index_Prefer_PMINUB_for_stringop): Likewise.
28338         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28339         bit_Slow_SSE4_2 is set.
28340         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28341         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28343 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28345         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28346         rtld_global._dl_hwcap2.
28347         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28348         POWER8.
28349         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28350         POWER8 feature descriptions defined in _dl_hwcap2.
28351         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28352         string handling for POWER8 feature bits.
28353         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28354         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28355         _dl_powerpc_cap_flags.
28356         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28357         * sysdeps/powerpc/rtld-global-offsets.sym
28358         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28359         _dl_hwcap2 in the rtld_global_ro structure.
28361 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28363         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28364         hardware capabilities in support of AT_HWCAP2.
28365         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28366         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28367         GLRO(dl_hwcap2).
28368         (_dl_show_auxv): Add support for calling _dl_procinfo to display
28369         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
28370         explicitly the unknown a_type display mechanism is used.
28371         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28372         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28373         struct member.
28374         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28375         to macro prototype for AT_HWCAP2 support.
28376         * sysdeps/i386/dl-procinfo.h: Likewise.
28377         * sysdeps/s390/dl-procinfo.h: Likewise.
28378         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28379         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
28380         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
28381         return -1 for unknown a_type display fallback.
28382         * sysdeps/sparc/dl-procinfo.h: Likewise.
28383         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28384         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28386 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
28388         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28389         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28391 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
28393         [BZ #12492]
28394         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28395         mprotect making __stack_prot writable.
28397 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
28398             Joseph Myers  <joseph@codesourcery.com>
28400         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28401         as being properly aligned.
28403 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
28405         * dlfcn/modstatic5.c: New file.
28406         * dlfcn/tststatic5.c: New file.
28407         * dlfcn/Makefile (tests): Add tststatic5.
28408         (tests-static): Likewise.
28409         (modules-names): Add modstatic5.
28410         (tststatic5-ENV): New variable.
28411         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28413         [BZ #15022]
28414         * elf/dl-support.c (_dl_main_map): New variable.
28415         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28416         (_dl_nns, _dl_load_adds): Set to 1.
28417         (_dl_initial_searchlist): Refer to _dl_main_map.
28418         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28419         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28420         call to _dl_get_origin.
28421         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28422         around call_map.
28423         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28424         * dlfcn/modstatic3.c: New file.
28425         * dlfcn/tststatic3.c: New file.
28426         * dlfcn/tststatic4.c: New file.
28427         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28428         (tests-static): Likewise.
28429         (modules-names): Add modstatic3.
28430         (tststatic3-ENV, tststatic4-ENV): New variables.
28431         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28432         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28434 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
28436         * configure.in (CC): Require GCC version 4.4 or later.
28437         * configure: Regenerated.
28438         * manual/install.texi (Tools for Compilation): Update GCC version
28439         requirement.
28440         * INSTALL: Regenerated.
28442 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28444         [BZ #15674]
28445         * string/test-memcmp.c (check2): New.
28446         (main): Call check2.
28448         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28450 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
28452         [BZ #15022]
28453         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28454         over to...
28455         (dl_open_worker) [!SHARED]: ... here.
28457 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28459         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28461 2013-06-25  Richard Henderson  <rth@redhat.com>
28463         * locale/programs/locarchive.c: Include <libc-internal.h>
28465 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
28467         * manual/texinfo.tex: Update to version 2013-06-21.17, with
28468         trailing whitespace removed.
28470 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28472         [BZ #10283]
28473         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28474         * locale/programs/locarchive.c: Include libc-mmap.h.
28475         (prepare_address_space): Take two new outputs (the mmap base and len).
28476         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
28477         values.
28478         (create_archive): Declare new mmap base and len values for
28479         prepare_address_space, and store the result in ah.
28480         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28481         (enlarge_archive): If ah->mmap_base is not NULL, use that and
28482         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28483         Declare new mmap base and len values for
28484         prepare_address_space, and store the result in new_ah.
28485         (open_archive): Declare new mmap base and len values for
28486         prepare_address_space, and store the result in ah.
28487         (close_archive): If ah->mmap_base is not NULL, use that and
28488         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28489         * sysdeps/generic/libc-mmap.h: New file.
28491 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28493         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28494         (ALIGN_UP): Likewise.
28495         (PTR_ALIGN_DOWN): Likewise.
28496         (PTR_ALIGN_UP): Likewise.
28498 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28500         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28501         entry mapped to PPC_PLATFORM_POWER8.
28502         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28503         POWER8.
28504         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28505         (_dl_string_platform): Add case for exporting platform position for
28506         POWER8.
28507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28508         search path to sysdeps/powerpc/powerpc32/power8 directory.
28509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28510         search path to sysdeps/powerpc/powerpc64/power8 directory.
28511         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28512         power7 directories.
28513         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28514         power7 directories.
28516 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28518         * INSTALL: Regenerate.
28520         * nscd/connections.c (nscd_init): Fix comment.
28522 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
28524         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28526         [BZ #15667]
28527         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28528         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28530 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28532         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28533         DL_DST_REQ_STATIC.
28534         (DL_DST_REQ_STATIC): Remove macro.
28536 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
28538         [BZ #7006]
28539         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28540         with a shift of 0 bits.
28542 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28544         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28545         $(tststatic-ENV).
28547 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28549         [BZ #15655]
28550         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28552 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28554         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28555         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28556         accepts -fno-tree-loop-distribute-patterns.
28557         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28558         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28559         recursive call.
28560         * string/memset.c (memset): Likewise.
28561         * string/test-memmove.c (simple_memmove): Disable loop transformation
28562         to library calls.
28563         * string/test-memset.c (simple_memset): Likewise.
28564         * benchtests/bench-memmove.c (simple_memmove): Likewise.
28565         * benchtests/bench-memset.c (simple_memset): Likewise.
28566         * configure: Regenerated.
28568 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
28570         * math/test-misc.c (main): Ignore fesetround failure when failures
28571         of subsequent rounding tests would be ignored.
28573         [BZ #15654]
28574         * math/fedisblxcpt.c (fedisableexcept): Return 0.
28575         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28576         * math/fegetenv.c (__fegetenv): Return 0.
28577         * math/fegetexcept.c (fegetexcept): Return 0.
28578         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28579         FE_TONEAREST.
28580         * math/feholdexcpt.c (feholdexcept): Return 0.
28581         * math/fesetenv.c (__fesetenv): Return 0.
28582         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28583         argument FE_TONEAREST.
28584         * math/feupdateenv.c (__feupdateenv): Return 0.
28585         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28587 2013-06-18  Roland McGrath  <roland@hack.frob.com>
28589         * elf/rtld-Rules (rtld-compile-command.S): New variable.
28590         (rtld-compile-command.s, rtld-compile-command.c): New variables.
28591         ($(objpfx)rtld-%.os rules): Use them.
28593 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28595         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28596         fields.
28598 2013-06-17  Roland McGrath  <roland@hack.frob.com>
28600         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28601         length of target pattern, then descending length of dependency pattern.
28602         * configure.in (AWK): Require gawk 3.1.2 or newer.
28603         * manual/install.texi (Tools for Compilation): Say that we do.
28604         * configure: Regenerated.
28606         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28607         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28608         * scripts/sysd-rules.awk: ... this new script.
28609         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28610         than a glob-style pattern.
28612 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
28614         * math/test-misc.c (main): Do not treat incorrectly rounded
28615         conversions as failure unless ROUNDING_TESTS passes.
28617 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
28619         [BZ #15631]
28620         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28621         restore exception state around main square root computation, then
28622         check for inexactness explicitly.
28624         * math/libm-test.inc (fma_test_data): Add another test.
28626 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28628         * manual/threads.texi (Non-POSIX Extensions): New document
28629         node.  Document pthread_getattr_default_np and
28630         pthread_setattr_default_np.
28632         * Versions.def (libpthread): Add GLIBC_2.18.
28633         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28635         Likewise.
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28637         Likewise.
28638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28639         Likewise.
28640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28641         Likewise.
28642         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28643         Likewise.
28644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28645         Likewise.
28646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28647         Likewise.
28648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28649         Likewise.
28650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28651         Likewise.
28653 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28656         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28658 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28659             H.J. Lu  <hjl.tools@gmail.com>
28661         [BZ #15627]
28662         * sysdeps/x86_64/rtld-memset.c: Remove file.
28663         * sysdeps/x86_64/rtld-memset.S: New file.
28665 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
28667         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28668         (test_in_one_mode): Take arguments for whether the rounding mode
28669         is supported for each floating-point type.
28670         (do_test): Pass new arguments to test_in_one_mode using
28671         ROUNDING_TESTS.
28673 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28675         * posix/tst-waitid.c (do_test): Distinguish different instances of
28676         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
28677         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28678         before entering the kernel for waitpid.
28680 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28682         * NEWS: Fix note on clock function precision.  Text by Roland
28683         McGrath.
28685 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28687         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28688         it into place only when and if the sanity check passes.
28690 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
28692         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28693         output for whether conversion result is exact.  Take argument
28694         indicating whether type is IBM long double.
28695         (round_for_all): Change need_exact field to ibm_ld.
28696         * stdlib/tst-strtod-round.c (struct exactness): New type.
28697         (struct test): Change bool ld_ok field to struct exactness exact.
28698         (TEST): Update all definitions for change to field.
28699         (tests): Regenerate array contents.
28700         (test_in_one_mode): Take pointer to new field instead of old ld_ok
28701         field value.  Check for IBM long double here.
28702         (do_test): Update calls to test_in_one_mode.
28704 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28706         [BZ #12515]
28707         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28708         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28710 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28712         [BZ #15605]
28713         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28714         generated by the compiler on loop optimizations.
28715         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28716         general definitions.
28718 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
28720         * math/bug-nextafter.c: Include <math-tests.h>.
28721         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28722         the relevant type.
28723         * math/bug-nexttoward.c: Include <math-tests.h>.
28724         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28725         the relevant type.
28726         * math/test-misc.c: Include <math-tests.h>.
28727         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28728         the relevant type.
28730 2013-06-12  Andreas Jaeger  <aj@suse.de>
28732         * po/ia.po: Update Interlingua translation from translation
28733         project.
28735 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28737         * include/fenv.h: Include stdbool.h.
28738         (struct rm_ctx): New structure.
28739         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28740         Define macro.
28741         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28742         (SET_RESTORE_ROUNDF): Likewise.
28743         (SET_RESTORE_ROUNDL): Likewise.
28744         (SET_RESTORE_ROUND_NOEX): Likewise.
28745         (SET_RESTORE_ROUND_NOEXF): Likewise.
28746         (SET_RESTORE_ROUND_NOEXL): Likewise.
28747         (SET_RESTORE_ROUND_53BIT): Likewise.
28748         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28749         (libc_feresetround_noexf_ctx): Likewise.
28750         (libc_feresetround_noexl_ctx): Likewise.
28751         (libc_feholdsetround_53bit_ctx): Likewise.
28752         (libc_feresetround_53bit_ctx): Likewise.
28753         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28754         (libc_feholdexcept_setround_sse_ctx): New function.
28755         (libc_fesetenv_sse_ctx): Likewise.
28756         (libc_feupdateenv_sse_ctx): Likewise.
28757         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28758         (libc_feholdexcept_setround_387_ctx): Likewise.
28759         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28760         (libc_feholdsetround_387_prec_ctx): Likewise.
28761         (libc_feholdsetround_387_ctx): Likewise.
28762         (libc_feholdsetround_387_53bit_ctx): Likewise.
28763         (libc_feholdsetround_sse_ctx): Likewise.
28764         (libc_feresetround_sse_ctx): Likewise.
28765         (libc_feresetround_387_ctx): Likewise.
28766         (libc_feupdateenv_387_ctx): Likewise.
28767         (libc_feholdexcept_setroundf_ctx): Define macro.
28768         (libc_fesetenvf_ctx): Likewise.
28769         (libc_feupdateenvf_ctx): Likewise.
28770         (libc_feholdsetroundf_ctx): Likewise.
28771         (libc_feresetroundf_ctx): Likewise.
28772         (libc_feholdexcept_setround_ctx): Likewise.
28773         (libc_fesetenv_ctx): Likewise.
28774         (libc_feupdateenv_ctx): Likewise.
28775         (libc_feholdsetround_ctx): Likewise.
28776         (libc_feresetround_ctx): Likewise.
28777         (libc_feholdexcept_setroundl_ctx): Likewise.
28778         (libc_feupdateenvl_ctx): Likewise.
28779         (libc_feholdsetroundl_ctx): Likewise.
28780         (libc_feresetroundl_ctx): Likewise.
28781         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28782         (libc_feresetround_53bit_ctx): Likewise.
28784 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28786         * locale/iso-639.def: Convert to UTF-8.
28788 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
28790         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28791         (EXCEPTION_TESTS_double): Likewise.
28792         (EXCEPTION_TESTS_long_double): Likewise.
28793         (EXCEPTION_TESTS): Likewise.
28794         * math/libm-test.inc (test_exceptions): Only test exceptions if
28795         EXCEPTION_TESTS (FLOAT).
28797 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28799         * benchtests/Makefile (string-bench): Add strcpy_chk and
28800         stpcpy_chk.
28801         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28802         * benchtests/bench-stpcpy_chk.c: New file.
28803         * benchtests/bench-strcpy_chk-ifunc.c: New file.
28804         * benchtests/bench-strcpy_chk.c: New file.
28805         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28806         code.
28807         (do_test): Likewise.
28809 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28811         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28812         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28813         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28814         with tabs where appropriate.
28815         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28816         dl-procinfo.h.
28817         [PPC_PLATFORM_PPC440]: Likewise.
28818         [PPC_PLATFORM_PPC464]: Likewise.
28819         [PPC_PLATFORM_PPC476]: Likewise.
28820         (_dl_string_platform): Add support for detecting ppc405, ppc440,
28821         ppc464, and ppc476 platform strings merging from ports/
28822         dl-procinfo.h.
28824 2013-06-11  Andreas Schwab  <schwab@suse.de>
28826         [BZ #14991]
28827         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28828         (from_ucs4_idx): Regenerate.
28829         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28830         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28831         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28832         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28833         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28834         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28835         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28836         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28837         from FROM_LOOP and TO_LOOP specific macros.
28838         (BODY): Handle combining characters.
28839         * iconvdata/BIG5HKSCS.irreversible: Update.
28840         * iconvdata/BIG5HKSCS.precomposed: New file.
28841         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28842         characters.
28843         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28845 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28847         * include/sys/time.h: Fix indentation and add copyright header.
28849         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28850         (do_test): Likewise.
28851         * string/test-memchr.c (do_one_test): Likewise.
28852         (do_test): Likewise.
28853         * string/test-memcmp.c (do_one_test): Likewise.
28854         (do_test): Likewise.
28855         * string/test-memcpy.c (do_one_test): Likewise.
28856         (do_test): Likewise.
28857         * string/test-memmem.c (do_one_test): Likewise.
28858         (do_test): Likewise.
28859         (do_random_tests): Likewise.
28860         * string/test-memmove.c (do_one_test): Likewise.
28861         (do_test): Likewise.
28862         * string/test-memset.c (do_one_test): Likewise.
28863         (do_test): Likewise.
28864         * string/test-rawmemchr.c (do_one_test): Likewise.
28865         (do_test): Likewise.
28866         * string/test-strcasecmp.c (do_one_test): Likewise.
28867         (do_test): Likewise.
28868         * string/test-strcasestr.c (do_one_test): Likewise.
28869         (do_test): Likewise.
28870         * string/test-strcat.c (do_one_test): Likewise.
28871         (do_test): Likewise.
28872         * string/test-strchr.c (do_one_test): Likewise.
28873         (do_test): Likewise.
28874         * string/test-strcmp.c (do_one_test): Likewise.
28875         (do_test): Likewise.
28876         * string/test-strcpy.c (do_one_test): Likewise.
28877         (do_test): Likewise.
28878         * string/test-string.h: Likewise.
28879         (test_init): Likewise.
28880         * string/test-strlen.c (do_one_test): Likewise.
28881         (do_test): Likewise.
28882         * string/test-strncasecmp.c (do_one_test): Likewise.
28883         (do_test): Likewise.
28884         * string/test-strncat.c (do_one_test): Likewise.
28885         (do_test): Likewise.
28886         * string/test-strncmp.c (do_one_test): Likewise.
28887         (do_test_limit): Likewise.
28888         (do_test): Likewise.
28889         * string/test-strncpy.c (do_one_test): Likewise.
28890         (do_test): Likewise.
28891         * string/test-strnlen.c (do_one_test): Likewise.
28892         (do_test): Likewise.
28893         * string/test-strpbrk.c (do_one_test): Likewise.
28894         (do_test): Likewise.
28895         * string/test-strrchr.c (do_one_test): Likewise.
28896         (do_test): Likewise.
28897         * string/test-strspn.c (do_one_test): Likewise.
28898         (do_test): Likewise.
28899         * string/test-strstr.c (do_one_test): Likewise.
28900         (do_test): Likewise.
28902         * benchtests/Makefile (string-bench): Add string benchmarks.
28903         * benchtests/bench-bcopy-ifunc.c: New file.
28904         * benchtests/bench-bcopy.c: New file.
28905         * benchtests/bench-bzero-ifunc.c: New file.
28906         * benchtests/bench-bzero.c: New file.
28907         * benchtests/bench-memccpy-ifunc.c: New file.
28908         * benchtests/bench-memccpy.c: New file.
28909         * benchtests/bench-memchr-ifunc.c: New file.
28910         * benchtests/bench-memchr.c: New file.
28911         * benchtests/bench-memcmp-ifunc.c: New file.
28912         * benchtests/bench-memcmp.c: New file.
28913         * benchtests/bench-memmem-ifunc.c: New file.
28914         * benchtests/bench-memmem.c: New file.
28915         * benchtests/bench-memmove-ifunc.c: New file.
28916         * benchtests/bench-memmove.c: New file.
28917         * benchtests/bench-mempcpy-ifunc.c: New file.
28918         * benchtests/bench-mempcpy.c: New file.
28919         * benchtests/bench-memset-ifunc.c: New file.
28920         * benchtests/bench-memset.c: New file.
28921         * benchtests/bench-rawmemchr-ifunc.c: New file.
28922         * benchtests/bench-rawmemchr.c: New file.
28923         * benchtests/bench-stpcpy-ifunc.c: New file.
28924         * benchtests/bench-stpcpy.c: New file.
28925         * benchtests/bench-stpncpy-ifunc.c: New file.
28926         * benchtests/bench-stpncpy.c: New file.
28927         * benchtests/bench-strcasecmp-ifunc.c: New file.
28928         * benchtests/bench-strcasecmp.c: New file.
28929         * benchtests/bench-strcasestr-ifunc.c: New file.
28930         * benchtests/bench-strcasestr.c: New file.
28931         * benchtests/bench-strcat-ifunc.c: New file.
28932         * benchtests/bench-strcat.c: New file.
28933         * benchtests/bench-strchr-ifunc.c: New file.
28934         * benchtests/bench-strchr.c: New file.
28935         * benchtests/bench-strchrnul-ifunc.c: New file.
28936         * benchtests/bench-strchrnul.c: New file.
28937         * benchtests/bench-strcmp-ifunc.c: New file.
28938         * benchtests/bench-strcmp.c: New file.
28939         * benchtests/bench-strcpy-ifunc.c: New file.
28940         * benchtests/bench-strcpy.c: New file.
28941         * benchtests/bench-strcspn-ifunc.c: New file.
28942         * benchtests/bench-strcspn.c: New file.
28943         * benchtests/bench-strlen-ifunc.c: New file.
28944         * benchtests/bench-strlen.c: New file.
28945         * benchtests/bench-strncasecmp-ifunc.c: New file.
28946         * benchtests/bench-strncasecmp.c: New file.
28947         * benchtests/bench-strncat-ifunc.c: New file.
28948         * benchtests/bench-strncat.c: New file.
28949         * benchtests/bench-strncmp-ifunc.c: New file.
28950         * benchtests/bench-strncmp.c: New file.
28951         * benchtests/bench-strncpy-ifunc.c: New file.
28952         * benchtests/bench-strncpy.c: New file.
28953         * benchtests/bench-strnlen-ifunc.c: New file.
28954         * benchtests/bench-strnlen.c: New file.
28955         * benchtests/bench-strpbrk-ifunc.c: New file.
28956         * benchtests/bench-strpbrk.c: New file.
28957         * benchtests/bench-strrchr-ifunc.c: New file.
28958         * benchtests/bench-strrchr.c: New file.
28959         * benchtests/bench-strspn-ifunc.c: New file.
28960         * benchtests/bench-strspn.c: New file.
28961         * benchtests/bench-strstr-ifunc.c: New file.
28962         * benchtests/bench-strstr.c: New file.
28964         * benchtests/Makefile: Disable parallel execution of targets.
28965         (string-bench): Add memcpy.
28966         (benchset): New variable to store a list of benchmark sets.
28967         (bench-func): Renamed from bench.
28968         (bench-set): New target.
28969         (bench): Depend on bench-func and bench-set.
28970         * benchtests/README: Add section on benchmark sets.
28971         * benchtests/bench-memcpy-ifunc.c: New file.
28972         * benchtests/bench-memcpy.c: New file.
28973         * benchtests/bench-string.h: New file.
28975 2013-06-11  Andreas Schwab  <schwab@suse.de>
28977         [BZ #15577]
28978         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28979         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28980         values in the triple.
28981         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28982         terminator in the group key.
28984 2013-06-11  Andreas Jaeger  <aj@suse.de>
28986         * po/zh_TW.po: Update Chinese (traditional) translation from
28987         translation project.
28989 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28991         * include/time.h (__clock_gettime): Add libc_hidden_proto.
28992         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28993         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
28994         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28995         (clock_getcpuclockid): Likewise.
28996         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28997         Add weak_alias and libc_hidden_def.
28998         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28999         * rt/clock_gettime.c (clock_gettime): Rename to
29000         __clock_gettime.  Add weak_alias and libc_hidden_def.
29001         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29002         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29003         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29004         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29005         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29006         Likewise.
29007         * rt/clock_settime.c (clock_settime): Rename to
29008         __clock_settime.  Add weak_alias and libc_hidden_def.
29009         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29011 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29013         * mach/err_boot.sub: Remove trailing whitespace.
29014         * mach/err_ipc.sub: Likewise.
29015         * mach/err_mach.sub: Likewise.
29017         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29018         (ROUNDING_TESTS_double): Likewise.
29019         (ROUNDING_TESTS_long_double): Likewise.
29020         (ROUNDING_TESTS): Likewise.
29021         * math/libm-test.inc: Include <math-tests.h>.
29022         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29023         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29024         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29025         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29027 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29029         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29030         of assigning.
29032 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29034         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29035         otherwise empty TRANS lines.
29036         * sysdeps/gnu/errlist.c: Regenerated.
29038         * catgets/gencat.c (error_print): Use (void) in function
29039         definition.
29040         * crypt/crypt_util.c (__init_des): Likewise.
29041         * crypt/speeds.c (Stop): Likewise.
29042         (main): Likewise.
29043         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29044         * inet/ruserpass.c (token): Likewise.
29045         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29046         * intl/localealias.c (extend_alias_table): Likewise.
29047         * intl/plural-exp.c (init_germanic_plural): Likewise.
29048         * libio/fcloseall.c (__fcloseall): Likewise.
29049         * libio/genops.c (_IO_flush_all): Likewise.
29050         (_IO_flush_all_linebuffered): Likewise.
29051         (_IO_cleanup): Likewise.
29052         (_IO_iter_begin): Likewise.
29053         (_IO_iter_end): Likewise.
29054         (_IO_list_lock): Likewise.
29055         (_IO_list_unlock): Likewise.
29056         (_IO_list_resetlock): Likewise.
29057         * libio/getchar.c (getchar): Likewise.
29058         * libio/getchar_u.c (getchar_unlocked): Likewise.
29059         * libio/getwchar.c (getwchar): Likewise.
29060         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29061         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29062         * login/getpt.c (__getpt): Likewise.
29063         * login/tst-utmp.c (main): Likewise.
29064         * malloc/hooks.c (__malloc_check_init): Likewise.
29065         * malloc/malloc.c (__malloc_stats): Likewise.
29066         * malloc/mtrace.c (tr_break): Likewise.
29067         (mtrace): Likewise.
29068         (muntrace): Likewise.
29069         * misc/fstab.c (endfsent): Likewise.
29070         * misc/getclktck.c (__getclktck): Likewise.
29071         * misc/getdtsz.c (__getdtablesize): Likewise.
29072         * misc/gethostid.c (gethostid): Likewise.
29073         * misc/getpagesize.c (__getpagesize): Likewise.
29074         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29075         (__get_nprocs): Likewise.
29076         (__get_phys_pages): Likewise.
29077         (__get_avphys_pages): Likewise.
29078         * misc/getttyent.c (getttyent): Likewise.
29079         (setttyent): Likewise.
29080         (endttyent): Likewise.
29081         * misc/getusershell.c (getusershell): Likewise.
29082         (endusershell): Likewise.
29083         (setusershell): Likewise.
29084         (initshells): Likewise.
29085         * misc/hsearch.c (__hdestroy): Likewise.
29086         * misc/sync.c (sync): Likewise.
29087         * misc/syslog.c (closelog_internal): Likewise.
29088         (closelog): Likewise.
29089         * misc/ttyslot.c (ttyslot): Likewise.
29090         * misc/vhangup.c (vhangup): Likewise.
29091         * posix/fork.c (__fork): Likewise.
29092         * posix/getegid.c (__getegid): Likewise.
29093         * posix/geteuid.c (__geteuid): Likewise.
29094         * posix/getgid.c (__getgid): Likewise.
29095         * posix/getpid.c (__getpid): Likewise.
29096         * posix/getppid.c (__getppid): Likewise.
29097         * posix/getuid.c (__getuid): Likewise.
29098         * posix/pause.c (pause): Likewise.
29099         * posix/setpgrp.c (setpgrp): Likewise.
29100         * posix/setsid.c (__setsid): Likewise.
29101         * posix/test-vfork.c (noop): Likewise.
29102         * resolv/gethnamaddr.c (_endhtent): Likewise.
29103         (_gethtent): Likewise.
29104         (ht_endhostent): Likewise.
29105         (gethostent): Likewise.
29106         (dns_service): Likewise.
29107         * stdlib/drand48.c (drand48): Likewise.
29108         * stdlib/lrand48.c (lrand48): Likewise.
29109         * stdlib/mrand48.c (mrand48): Likewise.
29110         * stdlib/rand.c (rand): Likewise.
29111         * stdlib/random.c (__random): Likewise.
29112         * stdlib/setenv.c (clearenv): Likewise.
29113         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29114         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29115         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29116         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29117         (__get_nprocs): Likewise.
29118         (__get_phys_pages): Likewise.
29119         (__get_avphys_pages): Likewise.
29120         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29121         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29122         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29123         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29124         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29125         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29126         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29127         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29128         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29129         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29130         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29131         * sysdeps/mach/hurd/sync.c (sync): Likewise.
29132         * sysdeps/posix/clock.c (clock): Likewise.
29133         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29134         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29135         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29136         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29137         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29138         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29139         (__get_nprocs_conf): Likewise.
29140         (__get_phys_pages): Likewise.
29141         (__get_avphys_pages): Likewise.
29142         * time/clock.c (clock): Likewise.
29143         * time/tzset.c (__tzname_max): Likewise.
29145 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
29147         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29148         (__bswap_32): Do not use "register".
29149         * crypt/crypt.c (_ufc_doit_r): Likewise.
29150         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29151         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29152         * gmon/gmon.c (__monstartup): Likewise.
29153         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29154         * hurd/hurdmalloc.c (more_memory): Likewise.
29155         (malloc): Likewise.
29156         (free): Likewise.
29157         (realloc): Likewise.
29158         (malloc_fork_prepare): Likewise.
29159         (malloc_fork_parent): Likewise.
29160         (malloc_fork_child): Likewise.
29161         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29162         (_svcauth_des): Likewise.
29163         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29164         * inet/inet_net.c (inet_network): Likewise.
29165         * inet/inet_netof.c (inet_netof): Likewise.
29166         * inet/rcmd.c (__validuser2_sa): Likewise.
29167         * io/fts.c (fts_open): Likewise.
29168         (fts_load): Likewise.
29169         (fts_close): Likewise.
29170         (fts_read): Likewise.
29171         (fts_children): Likewise.
29172         (fts_build): Likewise.
29173         (fts_stat): Likewise.
29174         (fts_sort): Likewise.
29175         (fts_alloc): Likewise.
29176         (fts_lfree): Likewise.
29177         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29178         (_IO_file_xsgetn): Likewise.
29179         (_IO_file_xsgetn_mmap): Likewise.
29180         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29181         (_IO_cookie_write): Likewise.
29182         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29183         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29184         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29185         * malloc/obstack.c (_obstack_begin): Likewise.
29186         (_obstack_begin_1): Likewise.
29187         (_obstack_newchunk): Likewise.
29188         (_obstack_allocated_p): Likewise.
29189         (obstack_free): Likewise.
29190         (_obstack_memory_used): Likewise.
29191         * misc/getttyent.c (getttynam): Likewise.
29192         (getttyent): Likewise.
29193         (skip): Likewise.
29194         (value): Likewise.
29195         * misc/getusershell.c (initshells): Likewise.
29196         * misc/syslog.c (__vsyslog_chk): Likewise.
29197         * misc/ttyslot.c (ttyslot): Likewise.
29198         * nis/nis_hash.c (__nis_hash): Likewise.
29199         * posix/fnmatch_loop.c (FCT): Likewise.
29200         * posix/getconf.c (print_all): Likewise.
29201         (main): Likewise.
29202         * posix/getopt.c (exchange): Likewise.
29203         * posix/glob.c (globfree): Likewise.
29204         (prefix_array): Likewise.
29205         (__glob_pattern_type): Likewise.
29206         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29207         (NS_GET32): Likewise.
29208         (NS_PUT16): Likewise.
29209         (NS_PUT32): Likewise.
29210         * resolv/gethnamaddr.c (getanswer): Likewise.
29211         (gethostbyname2): Likewise.
29212         (gethostbyaddr): Likewise.
29213         (_gethtent): Likewise.
29214         (_gethtbyname2): Likewise.
29215         (_gethtbyaddr): Likewise.
29216         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29217         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29218         * resolv/res_init.c (__res_vinit): Likewise.
29219         (net_mask): Likewise.
29220         * resolv/res_mkquery.c (outchar): Likewise.
29221         (PRINT): Likewise.
29222         * stdio-common/printf_fp.c (outchar): Likewise.
29223         (PRINT): Likewise.
29224         * stdio-common/printf_fphex.c (outchar): Likewise.
29225         (PRINT): Likewise.
29226         * stdio-common/printf_size.c (outchar): Likewise.
29227         (PRINT): Likewise.
29228         * stdio-common/test_rdwr.c (main): Likewise.
29229         * stdio-common/tfformat.c (matches): Likewise.
29230         * stdio-common/vfprintf.c (outchar): Likewise.
29231         (printf_unknown): Likewise.
29232         (buffered_vfprintf): Likewise.
29233         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29234         * stdio-common/xbug.c (AppendToBuffer): Likewise.
29235         (ReadFile): Likewise.
29236         * stdlib/qsort.c (SWAP): Likewise.
29237         (_quicksort): Likewise.
29238         * stdlib/setenv.c (__add_to_environ): Likewise.
29239         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29240         * stdlib/strtol_l.c (__strtol_l): Likewise.
29241         * stdlib/tst-strtod.c (main): Likewise.
29242         * stdlib/tst-strtol.c (main): Likewise.
29243         * stdlib/tst-strtoll.c (main): Likewise.
29244         * string/bits/string2.h (__strcmp_cc): Likewise.
29245         (__strcmp_cg): Likewise.
29246         (__strcspn_c1): Likewise.
29247         (__strcspn_c2): Likewise.
29248         (__strcspn_c3): Likewise.
29249         (__strspn_c1): Likewise.
29250         (__strspn_c2): Likewise.
29251         (__strspn_c3): Likewise.
29252         (__strsep_1c): Likewise.
29253         (__strsep_2c): Likewise.
29254         (__strsep_3c): Likewise.
29255         * string/memccpy.c (__memccpy): Likewise.
29256         * string/stpcpy.c (__stpcpy): Likewise.
29257         * string/strcmp.c (strcmp): Likewise.
29258         * string/strrchr.c (strrchr): Likewise.
29259         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29260         Likewise.
29261         * sysdeps/mach/hurd/getcwd.c
29262         (_hurd_canonicalize_directory_name_internal): Likewise.
29263         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29264         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29265         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29266         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29267         Likewise, in both definitions.
29268         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29269         definitions.
29270         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29271         64] (__bswap_64): Likewise.
29272         * time/test_time.c (main): Likewise.
29273         * time/tzfile.c (__tzfile_read): Likewise.
29274         (__tzfile_compute): Likewise.
29275         * time/tzset.c (__tzset_parse_tz): Likewise.
29276         (tzset_internal): Likewise.
29277         (compute_change): Likewise.
29278         * wcsmbs/wcscat.c (__wcscat): Likewise.
29279         * wcsmbs/wcschr.c (wcschr): Likewise.
29280         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29281         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29282         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29283         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29284         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29285         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29286         * wcsmbs/wmemchr.c (wmemchr): Likewise.
29287         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29288         * wcsmbs/wmemset.c (wmemset): Likewise.
29290 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
29292         * scripts/config.guess: Update to version 2013-05-16.
29293         * scripts/config.sub: Update to version 2013-04-24.
29294         * scripts/install-sh: Update to version 2011-11-20.07.
29295         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29296         * scripts/move-if-change: Update to version 2012-01-06 07:23.
29298 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
29300         * debug/fgetws_u_chk.c: Fix leading whitespaces.
29301         * elf/sln.c: Likewise.
29302         * hurd/hurd/ioctl.h: Likewise.
29303         * hurd/hurdmalloc.c: Likewise.
29304         * hurd/xattr.c: Likewise.
29305         * include/shlib-compat.h: Likewise.
29306         * inet/ruserpass.c: Likewise.
29307         * libio/iofgets_u.c: Likewise.
29308         * libio/iofgetws_u.c: Likewise.
29309         * locale/programs/ld-identification.c: Likewise.
29310         * locale/programs/ld-time.c: Likewise.
29311         * mach/msg-destroy.c: Likewise.
29312         * nss/nss_files/files-netgrp.c: Likewise.
29313         * resolv/res_data.c: Likewise.
29314         * soft-fp/op-1.h: Likewise.
29315         * soft-fp/op-2.h: Likewise.
29316         * soft-fp/op-4.h: Likewise.
29317         * soft-fp/op-common.h: Likewise.
29318         * stdio-common/printf_fphex.c: Likewise.
29319         * stdlib/strtod_l.c: Likewise.
29320         * sunrpc/rpc/clnt.h: Likewise.
29321         * sysdeps/generic/framestate.c: Likewise.
29322         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29323         * sysdeps/i386/bsd-setjmp.S: Likewise.
29324         * sysdeps/i386/__longjmp.S: Likewise.
29325         * sysdeps/i386/setjmp.S: Likewise.
29326         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29327         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29328         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29329         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29330         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29331         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29332         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29333         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29334         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29335         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29336         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29337         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29338         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29339         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29341         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29342         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29343         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29344         * sysdeps/ieee754/support.c: Likewise.
29345         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29346         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29347         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29348         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29349         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29350         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29351         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29352         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29353         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29354         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29355         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29356         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29357         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29358         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29359         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29360         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29361         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29364 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
29366         * posix/transbug.c: Remove executable mode.
29368 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
29370         * crypt/speeds.c: Remove trailing whitespace.
29371         * dlfcn/default.c: Likewise.
29372         * elf/ifuncdep2.c: Likewise.
29373         * elf/ifuncmain1.c: Likewise.
29374         * elf/ifuncmain1vis.c: Likewise.
29375         * elf/testobj.h: Likewise.
29376         * elf/tst-stackguard1.c: Likewise.
29377         * gmon/sys/gmon.h: Likewise.
29378         * hurd/hurdmsg.c: Likewise.
29379         * hurd/new-fd.c: Likewise.
29380         * hurd/ports-get.c: Likewise.
29381         * iconvdata/ibm1008_420.c: Likewise.
29382         * inet/tst-getni1.c: Likewise.
29383         * inet/tst-getni2.c: Likewise.
29384         * libio/ioungetc.c: Likewise.
29385         * libio/wfiledoalloc.c: Likewise.
29386         * manual/libm-err-tab.pl: Likewise.
29387         * math/w_dremf.c: Likewise.
29388         * misc/ftruncate.c: Likewise.
29389         * posix/bug-glob2.c: Likewise.
29390         * posix/tst-pcre.c: Likewise.
29391         * posix/wait4.c: Likewise.
29392         * resolv/README: Likewise.
29393         * resolv/res_debug.h: Likewise.
29394         * resolv/tst-inet_ntop.c: Likewise.
29395         * setjmp/bug269-setjmp.c: Likewise.
29396         * soft-fp/extended.h: Likewise.
29397         * soft-fp/op-1.h: Likewise.
29398         * soft-fp/op-2.h: Likewise.
29399         * soft-fp/op-4.h: Likewise.
29400         * soft-fp/op-8.h: Likewise.
29401         * soft-fp/testit.c: Likewise.
29402         * stdio-common/bug16.c: Likewise.
29403         * stdlib/random.c: Likewise.
29404         * sunrpc/rpcsvc/rquota.x: Likewise.
29405         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29406         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29407         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29408         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29409         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29410         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29411         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29412         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29413         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29414         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29415         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29416         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29417         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29418         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29420         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29421         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29422         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29423         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29424         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29425         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29426         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29427         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29428         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29429         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29430         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29431         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29432         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29433         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29434         * sysdeps/ieee754/s_lib_version.c: Likewise.
29435         * sysdeps/mach/hurd/check_fds.c: Likewise.
29436         * sysdeps/mach/hurd/getsockname.c: Likewise.
29437         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29438         * sysdeps/mach/hurd/recvfrom.c: Likewise.
29439         * sysdeps/powerpc/bits/link.h: Likewise.
29440         * sysdeps/powerpc/dl-procinfo.c: Likewise.
29441         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29442         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29443         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29444         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29445         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29446         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29447         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29448         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29449         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29450         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29451         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29452         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29453         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29454         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29455         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29457         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29458         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29459         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29460         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29461         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29462         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29463         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29464         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29465         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29466         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29467         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29470         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29471         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29472         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29473         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29474         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29475         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29476         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29477         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29478         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29479         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29480         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29481         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29482         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29483         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29484         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29485         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29486         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29487         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29488         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29489         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29490         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29491         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29492         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29493         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29494         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29495         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29496         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29497         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29498         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29499         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29500         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29501         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29502         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29503         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29504         * sysdeps/powerpc/sysdep.h: Likewise.
29505         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29506         * sysdeps/s390/s390-64/sub_n.S: Likewise.
29507         * sysdeps/sh/dl-trampoline.S: Likewise.
29508         * sysdeps/sh/memset.S: Likewise.
29509         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29510         * sysdeps/sh/strlen.S: Likewise.
29511         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29512         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29513         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29514         * sysdeps/sparc/sparc32/rem.S: Likewise.
29515         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29516         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29517         * sysdeps/sparc/sparc32/strchr.S: Likewise.
29518         * sysdeps/sparc/sparc32/udiv.S: Likewise.
29519         * sysdeps/sparc/sparc32/urem.S: Likewise.
29520         * sysdeps/sparc/sparc64/add_n.S: Likewise.
29521         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29522         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29523         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29524         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29525         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29526         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29527         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29528         * sysdeps/unix/bsd/times.c: Likewise.
29529         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29530         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29534         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29535         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29536         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29537         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29538         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29539         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29540         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29541         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29542         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29543         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29544         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29545         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29546         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29547         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29548         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29549         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29550         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29551         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29552         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29553         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29554         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29555         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29556         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29557         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29558         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29559         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29560         * sysdeps/x86_64/strcspn.S: Likewise.
29562 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29564         * locale/C-translit.h: Revert #include <stdint.h> because this is a
29565         generated file.  Regenerate properly from gen-translit.pl.
29566         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
29567         locale/C-translit.h.
29569 2013-06-05  Andreas Schwab  <schwab@suse.de>
29571         [BZ #15100]
29572         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29573         week as 6 instead of -1.
29574         * time/tst-strptime.c (day_tests): Add test case.
29576 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29578         * sysdeps/generic/math_private.h
29579         (libc_feholdexcept_setround_53bit): Replace with
29580         libc_feholdsetround_53bit.
29581         (libc_feupdateenv_53bit): Replace with
29582         libc_feresetround_53bit.
29583         (SET_RESTORE_ROUND_53BIT): Adjust.
29585 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29587         * string/test-strchrnul.c: Add copyright header.
29589         * posix/tst-getaddrinfo4.c: Increase test timeout.
29591 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
29593         [BZ #15536]
29594         * math/libm-test.inc (MAX_EXP): Remove
29595         (MIN_EXP): Define.
29596         (ulp): Use MIN_EXP - MANT_DIG.
29597         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29599 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
29601         * po/be.po: Revert last change.
29602         * po/zh_CN.po: Likewise.
29603         * po/header.pot: Likewise.
29605 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
29607         * Makefile ($(common-objpfx)linkobj/libc.so): Define
29608         link-libc-deps to empty as target-specific variable.
29609         * Makerules (link-libc-args): New variable.
29610         (libc-for-link): Likewise.
29611         (link-libc-deps): Likewise.
29612         (lib%.so): Depend on $(link-libc-deps).  Link with
29613         $(link-libc-args).
29614         (build-module): Link with $(link-libc-args).
29615         (build-module-asneeded): Likewise.
29616         (build-module-helper-objlist): Filter out $(link-libc-deps) from
29617         list of objects.
29618         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29619         target-specific variable.
29620         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29621         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29622         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29623         libc.
29624         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29625         libc and ld.so.
29626         ($(objpfx)libpcprofile.so): Likewise.
29627         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29628         libc_nonshared.a.
29629         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29630         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29631         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29632         $(link-libc-deps).
29633         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29634         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29635         * login/Makefile ($(objpfx)libutil.so): Likewise.
29636         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29637         * math/Makefile ($(objpfx)libm.so): Likewise.
29638         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29639         $(objpfx)libnsl.so): Define libc-for-link as target-specific
29640         variable instead of depending directly on libc.
29641         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29642         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29643         $(link-libc-deps).
29644         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29645         libc.
29646         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29647         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29648         ($(objpfx)libanl.so): Likewise.
29649         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29650         ld.so.
29651         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29652         $(link-libc-deps).
29653         * sysdeps/i386/fpu/Makefile: Remove file.
29654         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29655         ($(objpfx)libm.so): Remove dependency on ld.so.
29657 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
29659         [BZ # 15553]
29660         * nis/yp_xdr.c (XDRMAXNAME): Define.
29661         (XDRMAXRECORD): Define.
29662         (xdr_domainname): Use XDRMAXNAME.
29663         (xdr_mapname): Likewise.
29664         (xdr_peername): Likewise.
29665         (xdr_keydat): Use XDRMAXRECORD.
29666         (xdr_valdat): Likewise.
29668 2013-05-30  Jeff Law  <law@redhat.com>
29670         [BZ #14256]
29671         * manual/errno.texi (ESTALE): Update to account for more than
29672         just NFS file systems.
29673         * sysdeps/gnu/errlist.c: Regenerated.
29675 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29677         [BZ #15465]
29678         * elf/Makefile (tests): Add tst-null-argv.
29679         (modules-names):  Add tst-null-argv-lib.
29680         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29681         (tst-null-argv-ENV): Set environment for tst-null-argv.
29682         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29683         (RTLD_PROGNAME): New macro.
29684         * elf/tst-null-argv.c: New test case.
29685         * elf/tst-null-argv-lib.c: Library for test case.
29686         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29687         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29688         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29689         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29690         * elf/dl-init.c (call_init): Likewise.
29691         (_dl_init): Likewise.
29692         * elf/dl-load.c (print_search_path): Likewise.
29693         (_dl_map_object): Likewise.
29694         * elf/dl-lookup.c (do_lookup_x): Likewise.
29695         (add_dependency): Likewise.
29696         (_dl_lookup_symbol_x): Likewise.
29697         (_dl_debug_bindings): Likewise.
29698         * elf/dl-open.c (_dl_show_scope): Likewise.
29699         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29700         * elf/dl-version.c (match_symbol): Likewise.
29701         (_dl_check_map_versions): Likewise.
29702         * elf/rtld.c (dl_main): Likewise.
29703         (print_unresolved): Use RTLD_PROGNAME.
29704         (print_missing_version): Likewise.
29705         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29706         (elf_machine_rela): Likewise.
29707         * sysdeps/powerpc/powerpc32/dl-machine.c
29708         (__process_machine_rela): Likewise.
29709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29710         Likewise.
29711         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29712         Likewise.
29713         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29714         Likewise.
29715         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29716         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29717         Likewise.
29718         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29719         Likewise.
29720         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29722 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
29724         * po/be.po: Add descriptive title.
29725         * po/zh_CN.po: Likewise.
29726         * po/header.pot: Likewise.
29728 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
29730         * locale/programs/locarchive.c (create_archive): Inlucde fname in
29731         error message.
29732         (enlarge_archive): Likewise.
29734 2013-05-28  Ben North  <ben@redfrontdoor.org>
29736         * manual/arith.texi (frexp): It is the magnitude of the return
29737         value which lies in [0.5, 1), not the return value itself.
29739 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29743 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
29745         * stdio-common/bug26.c (main): Correct fscanf template.
29747         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29748         declare _dl_skip_args.
29750         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29751         Don't declare.
29753         * manual/platform.texi: Add missing @end deftypefun.
29755 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29757         [BZ #15529]
29758         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29759         bit of mantissa of 2^16382.
29760         * math/libm-test.inc (hypot_test_data): Add more tests.
29762         * math/libm-test.inc: Add drem and pow10 to list of tested
29763         functions.
29764         (pow10_test): New function.
29765         (drem_test): Likewise.
29766         (drem_test_tonearest): Likewise.
29767         (drem_test_towardzero): Likewise.
29768         (drem_test_downward): Likewise.
29769         (drem_test_upward): Likewise.
29770         (main): Call the new functions.
29772         * math/libm-test.inc (finite_test_data): Remove.
29773         (finite_test): Run tests from isfinite_test_data.
29774         (gamma_test_data): Remove.
29775         (gamma_test): Run tests from lgamma_test_data.
29776         * sysdeps/i386/fpu/libm-test-ulps: Update.
29777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29779 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29781         * manual/platform.texi: Add PowerPC PPR function set documentation.
29782         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29783         implementation.
29785 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
29787         * math/libm-test.inc (MAX_EXP): Define.
29788         (ULPDIFF): Define.
29789         (ulp): New function.
29790         (check_float_internal): Use ULPDIFF.
29791         (cpow_test): Disable failing test.
29792         (check_ulp): Test ulp() implemetnation.
29793         (main): Call check_ulp before starting tests.
29795 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29797         * math/gen-libm-test.pl (generate_testfile): Do not handle
29798         START_DATA and END_DATA.
29799         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29800         END_DATA.
29801         (acos_tonearest_test_data): Likewise.
29802         (acos_towardzero_test_data): Likewise.
29803         (acos_downward_test_data): Likewise.
29804         (acos_upward_test_data): Likewise.
29805         (acosh_test_data): Likewise.
29806         (asin_test_data): Likewise.
29807         (asin_tonearest_test_data): Likewise.
29808         (asin_towardzero_test_data): Likewise.
29809         (asin_downward_test_data): Likewise.
29810         (asin_upward_test_data): Likewise.
29811         (asinh_test_data): Likewise.
29812         (atan_test_data): Likewise.
29813         (atanh_test_data): Likewise.
29814         (atan2_test_data): Likewise.
29815         (cabs_test_data): Likewise.
29816         (cacos_test_data): Likewise.
29817         (cacosh_test_data): Likewise.
29818         (carg_test_data): Likewise.
29819         (casin_test_data): Likewise.
29820         (casinh_test_data): Likewise.
29821         (catan_test_data): Likewise.
29822         (catanh_test_data): Likewise.
29823         (cbrt_test_data): Likewise.
29824         (ccos_test_data): Likewise.
29825         (ccosh_test_data): Likewise.
29826         (ceil_test_data): Likewise.
29827         (cexp_test_data): Likewise.
29828         (cimag_test_data): Likewise.
29829         (clog_test_data): Likewise.
29830         (clog10_test_data): Likewise.
29831         (conj_test_data): Likewise.
29832         (copysign_test_data): Likewise.
29833         (cos_test_data): Likewise.
29834         (cos_tonearest_test_data): Likewise.
29835         (cos_towardzero_test_data): Likewise.
29836         (cos_downward_test_data): Likewise.
29837         (cos_upward_test_data): Likewise.
29838         (cosh_test_data): Likewise.
29839         (cosh_tonearest_test_data): Likewise.
29840         (cosh_towardzero_test_data): Likewise.
29841         (cosh_downward_test_data): Likewise.
29842         (cosh_upward_test_data): Likewise.
29843         (cpow_test_data): Likewise.
29844         (cproj_test_data): Likewise.
29845         (creal_test_data): Likewise.
29846         (csin_test_data): Likewise.
29847         (csinh_test_data): Likewise.
29848         (csqrt_test_data): Likewise.
29849         (ctan_test_data): Likewise.
29850         (ctan_tonearest_test_data): Likewise.
29851         (ctan_towardzero_test_data): Likewise.
29852         (ctan_downward_test_data): Likewise.
29853         (ctan_upward_test_data): Likewise.
29854         (ctanh_test_data): Likewise.
29855         (ctanh_tonearest_test_data): Likewise.
29856         (ctanh_towardzero_test_data): Likewise.
29857         (ctanh_downward_test_data): Likewise.
29858         (ctanh_upward_test_data): Likewise.
29859         (erf_test_data): Likewise.
29860         (erfc_test_data): Likewise.
29861         (exp_test_data): Likewise.
29862         (exp_tonearest_test_data): Likewise.
29863         (exp_towardzero_test_data): Likewise.
29864         (exp_downward_test_data): Likewise.
29865         (exp_upward_test_data): Likewise.
29866         (exp10_test_data): Likewise.
29867         (exp2_test_data): Likewise.
29868         (expm1_test_data): Likewise.
29869         (fabs_test_data): Likewise.
29870         (fdim_test_data): Likewise.
29871         (finite_test_data): Likewise.
29872         (floor_test_data): Likewise.
29873         (fma_test_data): Likewise.
29874         (fma_towardzero_test_data): Likewise.
29875         (fma_downward_test_data): Likewise.
29876         (fma_upward_test_data): Likewise.
29877         (fmax_test_data): Likewise.
29878         (fmin_test_data): Likewise.
29879         (fmod_test_data): Likewise.
29880         (fpclassify_test_data): Likewise.
29881         (frexp_test_data): Likewise.
29882         (gamma_test_data): Likewise.
29883         (hypot_test_data): Likewise.
29884         (ilogb_test_data): Likewise.
29885         (isfinite_test_data): Likewise.
29886         (isgreater_test_data): Likewise.
29887         (isgreaterequal_test_data): Likewise.
29888         (isinf_test_data): Likewise.
29889         (isless_test_data): Likewise.
29890         (islessequal_test_data): Likewise.
29891         (islessgreater_test_data): Likewise.
29892         (isnan_test_data): Likewise.
29893         (isnormal_test_data): Likewise.
29894         (issignaling_test_data): Likewise.
29895         (isunordered_test_data): Likewise.
29896         (j0_test_data): Likewise.
29897         (j1_test_data): Likewise.
29898         (jn_test_data): Likewise.
29899         (ldexp_test_data): Likewise.
29900         (lgamma_test_data): Likewise.
29901         (lrint_test_data): Likewise.
29902         (lrint_tonearest_test_data): Likewise.
29903         (lrint_towardzero_test_data): Likewise.
29904         (lrint_downward_test_data): Likewise.
29905         (lrint_upward_test_data): Likewise.
29906         (llrint_test_data): Likewise.
29907         (llrint_tonearest_test_data): Likewise.
29908         (llrint_towardzero_test_data): Likewise.
29909         (llrint_downward_test_data): Likewise.
29910         (llrint_upward_test_data): Likewise.
29911         (log_test_data): Likewise.
29912         (log10_test_data): Likewise.
29913         (log1p_test_data): Likewise.
29914         (log2_test_data): Likewise.
29915         (logb_test_data): Likewise.
29916         (logb_downward_test_data): Likewise.
29917         (lround_test_data): Likewise.
29918         (llround_test_data): Likewise.
29919         (modf_test_data): Likewise.
29920         (nearbyint_test_data): Likewise.
29921         (nextafter_test_data): Likewise.
29922         (nexttoward_test_data): Likewise.
29923         (pow_test_data): Likewise.
29924         (pow_tonearest_test_data): Likewise.
29925         (pow_towardzero_test_data): Likewise.
29926         (pow_downward_test_data): Likewise.
29927         (pow_upward_test_data): Likewise.
29928         (remainder_test_data): Likewise.
29929         (remainder_tonearest_test_data): Likewise.
29930         (remainder_towardzero_test_data): Likewise.
29931         (remainder_downward_test_data): Likewise.
29932         (remainder_upward_test_data): Likewise.
29933         (remquo_test_data): Likewise.
29934         (rint_test_data): Likewise.
29935         (rint_tonearest_test_data): Likewise.
29936         (rint_towardzero_test_data): Likewise.
29937         (rint_downward_test_data): Likewise.
29938         (rint_upward_test_data): Likewise.
29939         (round_test_data): Likewise.
29940         (scalb_test_data): Likewise.
29941         (scalbn_test_data): Likewise.
29942         (scalbln_test_data): Likewise.
29943         (signbit_test_data): Likewise.
29944         (sin_test_data): Likewise.
29945         (sin_tonearest_test_data): Likewise.
29946         (sin_towardzero_test_data): Likewise.
29947         (sin_downward_test_data): Likewise.
29948         (sin_upward_test_data): Likewise.
29949         (sincos_test_data): Likewise.
29950         (sinh_test_data): Likewise.
29951         (sinh_tonearest_test_data): Likewise.
29952         (sinh_towardzero_test_data): Likewise.
29953         (sinh_downward_test_data): Likewise.
29954         (sinh_upward_test_data): Likewise.
29955         (sqrt_test_data): Likewise.
29956         (tan_test_data): Likewise.
29957         (tan_tonearest_test_data): Likewise.
29958         (tan_towardzero_test_data): Likewise.
29959         (tan_downward_test_data): Likewise.
29960         (tan_upward_test_data): Likewise.
29961         (tanh_test_data): Likewise.
29962         (tgamma_test_data): Likewise.
29963         (trunc_test_data): Likewise.
29964         (y0_test_data): Likewise.
29965         (y1_test_data): Likewise.
29966         (yn_test_data): Likewise.
29967         (significand_test_data): Likewise.
29969         * math/gen-libm-test.pl (@functions): Remove variable.
29970         (generate_testfile): Don't handle START and END lines.
29971         * math/libm-test.inc (START): New macro.
29972         (END): Likewise.
29973         (END_COMPLEX): Likewise.
29974         (acos_test): Use END macro without arguments.
29975         (acos_test_tonearest): Likewise.
29976         (acos_test_towardzero): Likewise.
29977         (acos_test_downward): Likewise.
29978         (acos_test_upward): Likewise.
29979         (acosh_test): Likewise.
29980         (asin_test): Likewise.
29981         (asin_test_tonearest): Likewise.
29982         (asin_test_towardzero): Likewise.
29983         (asin_test_downward): Likewise.
29984         (asin_test_upward): Likewise.
29985         (asinh_test): Likewise.
29986         (atan_test): Likewise.
29987         (atanh_test): Likewise.
29988         (atan2_test): Likewise.
29989         (cabs_test): Likewise.
29990         (cacos_test): Use END_COMPLEX macro without arguments.
29991         (cacosh_test): Likewise.
29992         (carg_test): Use END macro without arguments.
29993         (casin_test): Use END_COMPLEX macro without arguments.
29994         (casinh_test): Likewise.
29995         (catan_test): Likewise.
29996         (catanh_test): Likewise.
29997         (cbrt_test): Use END macro without arguments.
29998         (ccos_test): Use END_COMPLEX macro without arguments.
29999         (ccosh_test): Likewise.
30000         (ceil_test): Use END macro without arguments.
30001         (cexp_test): Use END_COMPLEX macro without arguments.
30002         (cimag_test): Use END macro without arguments.
30003         (clog_test): Use END_COMPLEX macro without arguments.
30004         (clog10_test): Likewise.
30005         (conj_test): Likewise.
30006         (copysign_test): Use END macro without arguments.
30007         (cos_test): Likewise.
30008         (cos_test_tonearest): Likewise.
30009         (cos_test_towardzero): Likewise.
30010         (cos_test_downward): Likewise.
30011         (cos_test_upward): Likewise.
30012         (cosh_test): Likewise.
30013         (cosh_test_tonearest): Likewise.
30014         (cosh_test_towardzero): Likewise.
30015         (cosh_test_downward): Likewise.
30016         (cosh_test_upward): Likewise.
30017         (cpow_test): Use END_COMPLEX macro without arguments.
30018         (cproj_test): Likewise.
30019         (creal_test): Use END macro without arguments.
30020         (csin_test): Use END_COMPLEX macro without arguments.
30021         (csinh_test): Likewise.
30022         (csqrt_test): Likewise.
30023         (ctan_test): Likewise.
30024         (ctan_test_tonearest): Likewise.
30025         (ctan_test_towardzero): Likewise.
30026         (ctan_test_downward): Likewise.
30027         (ctan_test_upward): Likewise.
30028         (ctanh_test): Likewise.
30029         (ctanh_test_tonearest): Likewise.
30030         (ctanh_test_towardzero): Likewise.
30031         (ctanh_test_downward): Likewise.
30032         (ctanh_test_upward): Likewise.
30033         (erf_test): Use END macro without arguments.
30034         (erfc_test): Likewise.
30035         (exp_test): Likewise.
30036         (exp_test_tonearest): Likewise.
30037         (exp_test_towardzero): Likewise.
30038         (exp_test_downward): Likewise.
30039         (exp_test_upward): Likewise.
30040         (exp10_test): Likewise.
30041         (exp2_test): Likewise.
30042         (expm1_test): Likewise.
30043         (fabs_test): Likewise.
30044         (fdim_test): Likewise.
30045         (finite_test): Likewise.
30046         (floor_test): Likewise.
30047         (fma_test): Likewise.
30048         (fma_test_towardzero): Likewise.
30049         (fma_test_downward): Likewise.
30050         (fma_test_upward): Likewise.
30051         (fmax_test): Likewise.
30052         (fmin_test): Likewise.
30053         (fmod_test): Likewise.
30054         (fpclassify_test): Likewise.
30055         (frexp_test): Likewise.
30056         (gamma_test): Likewise.
30057         (hypot_test): Likewise.
30058         (ilogb_test): Likewise.
30059         (isfinite_test): Likewise.
30060         (isgreater_test): Likewise.
30061         (isgreaterequal_test): Likewise.
30062         (isinf_test): Likewise.
30063         (isless_test): Likewise.
30064         (islessequal_test): Likewise.
30065         (islessgreater_test): Likewise.
30066         (isnan_test): Likewise.
30067         (isnormal_test): Likewise.
30068         (issignaling_test): Likewise.
30069         (isunordered_test): Likewise.
30070         (j0_test): Likewise.
30071         (j1_test): Likewise.
30072         (jn_test): Likewise.
30073         (ldexp_test): Likewise.
30074         (lgamma_test): Likewise.
30075         (lrint_test): Likewise.
30076         (lrint_test_tonearest): Likewise.
30077         (lrint_test_towardzero): Likewise.
30078         (lrint_test_downward): Likewise.
30079         (lrint_test_upward): Likewise.
30080         (llrint_test): Likewise.
30081         (llrint_test_tonearest): Likewise.
30082         (llrint_test_towardzero): Likewise.
30083         (llrint_test_downward): Likewise.
30084         (llrint_test_upward): Likewise.
30085         (log_test): Likewise.
30086         (log10_test): Likewise.
30087         (log1p_test): Likewise.
30088         (log2_test): Likewise.
30089         (logb_test): Likewise.
30090         (logb_test_downward): Likewise.
30091         (lround_test): Likewise.
30092         (llround_test): Likewise.
30093         (modf_test): Likewise.
30094         (nearbyint_test): Likewise.
30095         (nextafter_test): Likewise.
30096         (nexttoward_test): Likewise.
30097         (pow_test): Likewise.
30098         (pow_test_tonearest): Likewise.
30099         (pow_test_towardzero): Likewise.
30100         (pow_test_downward): Likewise.
30101         (pow_test_upward): Likewise.
30102         (remainder_test): Likewise.
30103         (remainder_test_tonearest): Likewise.
30104         (remainder_test_towardzero): Likewise.
30105         (remainder_test_downward): Likewise.
30106         (remainder_test_upward): Likewise.
30107         (remquo_test): Likewise.
30108         (rint_test): Likewise.
30109         (rint_test_tonearest): Likewise.
30110         (rint_test_towardzero): Likewise.
30111         (rint_test_downward): Likewise.
30112         (rint_test_upward): Likewise.
30113         (round_test): Likewise.
30114         (scalb_test): Likewise.
30115         (scalbn_test): Likewise.
30116         (scalbln_test): Likewise.
30117         (signbit_test): Likewise.
30118         (sin_test): Likewise.
30119         (sin_test_tonearest): Likewise.
30120         (sin_test_towardzero): Likewise.
30121         (sin_test_downward): Likewise.
30122         (sin_test_upward): Likewise.
30123         (sincos_test): Likewise.
30124         (sinh_test): Likewise.
30125         (sinh_test_tonearest): Likewise.
30126         (sinh_test_towardzero): Likewise.
30127         (sinh_test_downward): Likewise.
30128         (sinh_test_upward): Likewise.
30129         (sqrt_test): Likewise.
30130         (tan_test): Likewise.
30131         (tan_test_tonearest): Likewise.
30132         (tan_test_towardzero): Likewise.
30133         (tan_test_downward): Likewise.
30134         (tan_test_upward): Likewise.
30135         (tanh_test): Likewise.
30136         (tgamma_test): Likewise.
30137         (trunc_test): Likewise.
30138         (y0_test): Likewise.
30139         (y1_test): Likewise.
30140         (yn_test): Likewise.
30141         (significand_test): Likewise.
30143 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
30145         [BZ #15381]
30146         * libio/genops.c (_IO_no_init): Initialize wide struct info.
30148 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30150         [BZ #14894]
30151         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30152         __ppc_mdoio and __ppc_mdoom.
30153         * manual/platform.texi: Document new functions __ppc_yield,
30154         __ppc_mdoio and __ppc_mdoom.
30156 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30158         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30159         (main): Mention "tls" pseudo-hwcap is legacy.
30160         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30162 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30164         * math/gen-libm-test.pl (parse_args): Output only string of
30165         arguments as text for test name, not full call or descriptions of
30166         tests for extra outputs.
30167         (generate_testfile): Do not pass function name to parse_args.
30168         Generate this_func variable from START.
30169         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30170         field to arg_str.
30171         (struct test_ff_f_data): Likewise.
30172         (test_ff_f_data_nexttoward): Likewise.
30173         (struct test_fi_f_data): Likewise.
30174         (struct test_fl_f_data): Likewise.
30175         (struct test_if_f_data): Likewise.
30176         (struct test_fff_f_data): Likewise.
30177         (struct test_c_f_data): Likewise.
30178         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30179         (struct test_fF_f1_data): Likewise.
30180         (struct test_ffI_f1_data): Likewise.
30181         (struct test_c_c_data): Rename test_name field to arg_str.
30182         (struct test_cc_c_data): Likewise.
30183         (struct test_f_i_data): Likewise.
30184         (struct test_ff_i_data): Likewise.
30185         (struct test_f_l_data): Likewise.
30186         (struct test_f_L_data): Likewise.
30187         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30188         and extra2_name.
30189         (COMMON_TEST_SETUP): New macro.
30190         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30191         (COMMON_TEST_CLEANUP): Likewise.
30192         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30193         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30194         macros.
30195         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30196         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30197         macros.
30198         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30199         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30200         cleanup macros.
30201         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30202         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30203         macros.
30204         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30205         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30206         macros.
30207         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30208         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30209         cleanup macros.
30210         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30211         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30212         cleanup macros.
30213         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30214         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30215         cleanup macros.
30216         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30217         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30218         macros.
30219         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30220         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30221         macros.
30222         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30223         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
30224         macros.
30225         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30226         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
30227         cleanup macros.
30228         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30229         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
30230         cleanup macros.
30231         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30232         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
30233         macros.
30234         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30235         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
30236         cleanup macros.
30237         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30238         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
30239         macros.
30240         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30241         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
30242         macros.
30243         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30244         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
30245         cleanup macros.
30246         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30248 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
30250         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30251         to _sifields.sigfault.
30252         (si_addr_lsb): Define new macro.
30253         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30254         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30255         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30257 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
30259         [BZ #15441]
30260         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30261         returns -1.
30262         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30263         null return -1.
30264         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30265         loading the domain.
30267 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30269         * math/gen-libm-test.pl (parse_args): Do not include expected
30270         result in test name.
30271         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30272         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30273         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30274         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30275         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30278 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30280         * benchtests/Makefile: Sort function entries.
30282         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30283         tanh, asinh, acosh, atanh.
30284         * benchtests/acos-inputs: New file.
30285         * benchtests/acosh-inputs: New file.
30286         * benchtests/asin-inputs: New file.
30287         * benchtests/asinh-inputs: New file.
30288         * benchtests/atanh-inputs: New file.
30289         * benchtests/cosh-inputs: New file.
30290         * benchtests/log-inputs: New file.
30291         * benchtests/sinh-inputs: New file.
30292         * benchtests/tanh-inputs: New file.
30294 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
30296         [BZ #15339]
30297         * posix/tst-getaddrinfo4.c: New test.
30298         * posix/Makefile (tests): Add it.
30300 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30302         [BZ #15339]
30303         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30304         when no services were used.
30305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30306         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30308 2013-05-21  Andreas Schwab  <schwab@suse.de>
30310         [BZ #15014]
30311         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30312         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30313         successful.
30314         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30315         redundant variable declarations and reallocation of buffer when
30316         parsing as IPv6 address.  Always set NSS status when called from
30317         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
30318         buffer too small.  Correct computation of needed size.
30319         * nss/Makefile (tests): Add test-digits-dots.
30320         * nss/test-digits-dots.c: New test.
30322 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30324         * benchtests/Makefile: Remove instructions for adding
30325         benchmark tests.
30326         * benchtests/README: New file to explain how to execute and
30327         enhance the benchmark tests.
30329 2013-05-21  Andreas Schwab  <schwab@suse.de>
30331         [BZ #15493]
30332         * setjmp/Makefile (tests): Add tst-sigsetjmp.
30333         * setjmp/tst-sigsetjmp.c: New test.
30335 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30337         * sysdeps/x86_64/memset.S (memset): New implementation.
30338         (__bzero): Likewise.
30339         (__memset_tail): New function.
30341 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30343         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30344         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30345         __memcpy_sse2_unaligned ifunc selection.
30346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30347         Add memcpy-sse2-unaligned.S.
30348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30349         Add: __memcpy_sse2_unaligned.
30351 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
30353         [BZ #15490]
30354         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30355         math_force_eval before restoring floating-point envrionment.
30356         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30357         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30358         Likewise.
30359         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30360         <math_private.h>.
30361         (__nearbyintl): Use math_force_eval before restoring
30362         floating-point environment.
30363         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30365         * math/gen-libm-test.pl (special_functions): Remove.
30366         (parse_args): Don't handle TEST_extra.  Handle functions with no
30367         return value.
30368         * math/libm-test.inc (struct test_sincos_data): Replace with
30369         struct test_fFF_11_data.
30370         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30371         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30372         (sincos_test_data): Change element type to struct
30373         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
30374         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30375         RUN_TEST_LOOP_sincos.
30376         * math/README.libm-test: Don't mention special handling of
30377         individual functions.
30378         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30379         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30380         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30381         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30382         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30385         * math/gen-libm-test.pl (get_variable): Remove function.
30386         (parse_args): Don't show pointer parameters to call in test
30387         names.  Use "extra output N" in test names for extra outputs
30388         rather than naming variables.
30390 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
30392         [BZ #15488]
30393         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30394         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30395         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30396         double tests.
30397         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30398         disable.
30399         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30400         check_long_double.
30402         * math/gen-libm-test.pl (@tests): Remove variable.
30403         ($count): Likewise.
30404         (new_test): Remove function.
30405         (show_exceptions): New function.
30406         (special_functions): Use show_exceptions instead of new_test.
30407         (parse_args): Likewise.
30408         (generate_testfile): Pass only function name in generated call to
30409         print_max_error or print_complex_max_error.
30410         (get_ulps): Do not handle complex tests specially.
30411         (output_test): Rename to ...
30412         (get_all_ulps_for_test): ... this.  Return a string rather than
30413         printing to a file.  Require ulps to be present.
30414         (output_ulps): Generate arrays rather than #defines.
30415         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30416         (struct ulp_data): New type.
30417         (BUILD_COMPLEX_ULP): Remove macro.
30418         (compare_ulp_data): New function.
30419         (find_ulps): Likewise.
30420         (find_test_ulps): Likewise.
30421         (find_function_ulps): Likewise.
30422         (find_complex_function_ulps): Likewise.
30423         (print_max_error): Determine allowed ulps using
30424         find_function_ulps.
30425         (print_complex_max_error): Determine allowed ulps using
30426         find_complex_function_ulps.
30427         (check_float_internal): Determine max ulps using find_test_ulps.
30428         (check_float): Do not take max_ulp parameter.  Update call to
30429         check_float_internal.
30430         (check_complex): Likewise.
30431         (check_int): Do not take max_ulp parameter.
30432         (check_long): Likewise.
30433         (check_bool): Likewise.
30434         (check_longlong): Likewise.
30435         (struct test_f_f_data): Remove max_ulp field.
30436         (struct test_ff_f_data): Likewise.
30437         (struct test_ff_f_data_nexttoward): Likewise.
30438         (struct test_fi_f_data): Likewise.
30439         (struct test_fl_f_data): Likewise.
30440         (struct test_if_f_data): Likewise.
30441         (struct test_fff_f_data): Likewise.
30442         (struct test_c_f_data): Likewise.
30443         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30444         (struct test_fF_f1_data): Likewise.
30445         (struct test_ffI_f1_data): Likewise.
30446         (struct test_c_c_data): Remove max_ulp field.
30447         (struct test_cc_c_data): Likewise.
30448         (struct test_f_i_data): Likewise.
30449         (struct test_ff_i_data): Likewise.
30450         (struct test_f_l_data): Likewise.
30451         (struct test_f_L_data): Likewise.
30452         (struct test_sincos_data): Likewise.
30453         (RUN_TEST_f_f): Do not handle ulps.
30454         (RUN_TEST_LOOP_f_f): Likewise.
30455         (RUN_TEST_2_f): Likewise.
30456         (RUN_TEST_LOOP_2_f): Likewise.
30457         (RUN_TEST_fff_f): Likewise.
30458         (RUN_TEST_LOOP_fff_f): Likewise.
30459         (RUN_TEST_c_f): Likewise.
30460         (RUN_TEST_LOOP_c_f): Likewise.
30461         (RUN_TEST_f_f1): Likewise.
30462         (RUN_TEST_LOOP_f_f1): Likewise.
30463         (RUN_TEST_fF_f1): Likewise.
30464         (RUN_TEST_LOOP_fF_f1): Likewise.
30465         (RUN_TEST_fI_f1): Likewise.
30466         (RUN_TEST_LOOP_fI_f1): Likewise.
30467         (RUN_TEST_ffI_f1): Likewise.
30468         (RUN_TEST_LOOP_ffI_f1): Likewise.
30469         (RUN_TEST_c_c): Likewise.
30470         (RUN_TEST_LOOP_c_c): Likewise.
30471         (RUN_TEST_cc_c): Likewise.
30472         (RUN_TEST_LOOP_cc_c): Likewise.
30473         (RUN_TEST_f_i): Likewise.
30474         (RUN_TEST_LOOP_f_i): Likewise.
30475         (RUN_TEST_f_i_tg): Likewise.
30476         (RUN_TEST_LOOP_f_i_tg): Likewise.
30477         (RUN_TEST_ff_i_tg): Likewise.
30478         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30479         (RUN_TEST_f_b): Likewise.
30480         (RUN_TEST_LOOP_f_b): Likewise.
30481         (RUN_TEST_f_b_tg): Likewise.
30482         (RUN_TEST_LOOP_f_b_tg): Likewise.
30483         (RUN_TEST_f_l): Likewise.
30484         (RUN_TEST_LOOP_f_l): Likewise.
30485         (RUN_TEST_f_L): Likewise.
30486         (RUN_TEST_LOOP_f_L): Likewise.
30487         (RUN_TEST_sincos): Likewise.
30488         (RUN_TEST_LOOP_sincos): Likewise.
30490 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
30492         [BZ #15480]
30493         [BZ #15485]
30494         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30495         main case of finite arguments, set rounding mode to FE_TONEAREST
30496         and discard exceptions.
30497         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30498         exceptions.
30499         (remainder_tonearest_test_data): New variable.
30500         (remainder_test_tonearest): New function.
30501         (remainder_towardzero_test_data): New variable.
30502         (remainder_test_towardzero): New function.
30503         (remainder_downward_test_data): New variable.
30504         (remainder_test_downward): New function.
30505         (remainder_upward_test_data): New variable.
30506         (remainder_test_upward): New function.
30507         (main): Call the new test functions.
30509         * math/libm-test.inc (struct test_f_f1_data): Remove field
30510         extra_init.
30511         (struct test_fF_f1_data): Likewise.
30512         (struct test_ffI_f1_data): Likewise.
30513         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
30514         based on value of EXTRA_EXPECTED.
30515         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30516         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
30517         EXTRA_VAR based on value of EXTRA_EXPECTED.
30518         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30519         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
30520         EXTRA_VAR based on value of EXTRA_EXPECTED.
30521         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30522         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
30523         EXTRA_VAR based on value of EXTRA_EXPECTED.
30524         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30525         * math/gen-libm-test.pl (parse_args): Don't output initializers
30526         for extra output values.
30528         * math/libm-test.inc (check_int): Expect result to be exactly
30529         equal to expected value and do not handle ulps.
30530         (check_long): Likewise.
30531         (check_longlong): Likewise.
30533         * math/libm-test.inc (ceil_test_data): Test for "inexact"
30534         exceptions.
30535         (cimag_test_data): Likewise.
30536         (conj_test_data): Likewise.
30537         (copysign_test_data): Likewise.
30538         (cproj_test_data): Likewise.
30539         (creal_test_data): Likewise.
30540         (fabs_test_data): Likewise.
30541         (fdim_test_data): Likewise.
30542         (finite_test_data): Likewise.
30543         (floor_test_data): Likewise.
30544         (fmax_test_data): Likewise.
30545         (fmin_test_data): Likewise.
30546         (fmod_test_data): Likewise.
30547         (fpclassify_test_data): Likewise.
30548         (frexp_test_data): Likewise.
30549         (ilogb_test_data): Likewise.
30550         (isfinite_test_data): Likewise.
30551         (isgreater_test_data): Likewise.
30552         (isgreaterequal_test_data): Likewise.
30553         (isinf_test_data): Likewise.
30554         (isless_test_data): Likewise.
30555         (islessequal_test_data): Likewise.
30556         (islessgreater_test_data): Likewise.
30557         (isnan_test_data): Likewise.
30558         (isnormal_test_data): Likewise.
30559         (issignaling_test_data): Likewise.
30560         (isunordered_test_data): Likewise.
30561         (ldexp_test_data): Likewise.
30562         (lrint_test_data): Likewise.
30563         (lrint_test_data) [TEST_FLOAT]: Disable one test.
30564         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30565         (lrint_tonearest_test_data): Test for "inexact" exceptions.
30566         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30567         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30568         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30569         test input.
30570         (lrint_towardzero_test_data): Test for "inexact" exceptions.
30571         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30572         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30573         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30574         that test input.
30575         (lrint_downward_test_data): Test for "inexact" exceptions.
30576         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30577         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30578         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30579         test input.
30580         (lrint_upward_test_data): Test for "inexact" exceptions.
30581         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30582         test input.
30583         (llrint_test_data): Test for "inexact" exceptions.
30584         (llrint_test_data) [TEST_FLOAT]: Disable one test.
30585         (llrint_tonearest_test_data): Test for "inexact" exceptions.
30586         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30587         (llrint_towardzero_test_data): Test for "inexact" exceptions.
30588         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30589         (llrint_downward_test_data): Test for "inexact" exceptions.
30590         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30591         (llrint_upward_test_data): Test for "inexact" exceptions.
30592         (logb_test_data): Likewise.
30593         (logb_downward_test_data): Likewise.
30594         (nextafter_test_data): Likewise.
30595         (nexttoward_test_data): Likewise.
30596         (remainder_test_data): Likewise.
30597         (remquo_test_data): Likewise.
30598         (scalbn_test_data): Likewise.
30599         (scalbln_test_data): Likewise.
30600         (signbit_test_data): Likewise.
30601         (sqrt_test_data): Likewise.
30602         (significand_test_data): Likewise.
30604 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30606         [BZ #15424]
30607         * benchtests/bench-modf.c (struct args): Mark arg0 as
30608         volatile.
30609         * scripts/bench.pl: Mark members of struct args as volatile.
30611 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30613         [BZ # 15497]
30614         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30615         negative infinity on POWER6 or lower.
30616         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30618 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30620         [BZ #15442]
30621         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30622         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30623         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30624         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30625         (_FP_SETQNAN): New macro.
30626         (_FP_SETQNAN_SEMIRAW): Likewise.
30627         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30628         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30629         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30630         (FP_EXTEND): Use _FP_FRAC_SNANP.
30631         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30632         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30633         into account.
30634         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30635         New macro.
30636         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30637         Likewise.
30639 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30641         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30642         with DIVIDE_BY_ZERO_EXCEPTION.
30643         (gamma_test_data): Likewise.
30644         (lgamma_test_data): Likewise.
30645         (log_test_data): Likewise.
30646         (log10_test_data): Likewise.
30647         (log2_test_data): Likewise.
30648         (tgamma_test_data): Likewise.
30650         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30651         (acos_test_tonearest): Likewise.
30652         (acos_test_towardzero): Likewise.
30653         (acos_test_downward): Likewise.
30654         (acos_test_upward): Likewise.
30655         (acosh_test): Likewise.
30656         (asin_test): Likewise.
30657         (asin_test_tonearest): Likewise.
30658         (asin_test_towardzero): Likewise.
30659         (asin_test_downward): Likewise.
30660         (asin_test_upward): Likewise.
30661         (asinh_test): Likewise.
30662         (atan_test): Likewise.
30663         (atanh_test): Likewise.
30664         (atan2_test): Likewise.
30665         (cabs_test): Likewise.
30666         (cacos_test): Likewise.
30667         (cacosh_test): Likewise.
30668         (casin_test): Likewise.
30669         (casinh_test): Likewise.
30670         (catan_test): Likewise.
30671         (catanh_test): Likewise.
30672         (cbrt_test): Likewise.
30673         (ccos_test): Likewise.
30674         (ccosh_test): Likewise.
30675         (cexp_test): Likewise.
30676         (clog_test): Likewise.
30677         (clog10_test): Likewise.
30678         (cos_test): Likewise.
30679         (cos_test_tonearest): Likewise.
30680         (cos_test_towardzero): Likewise.
30681         (cos_test_downward): Likewise.
30682         (cos_test_upward): Likewise.
30683         (cosh_test): Likewise.
30684         (cosh_test_tonearest): Likewise.
30685         (cosh_test_towardzero): Likewise.
30686         (cosh_test_downward): Likewise.
30687         (cosh_test_upward): Likewise.
30688         (cpow_test): Likewise.
30689         (csin_test): Likewise.
30690         (csinh_test): Likewise.
30691         (csqrt_test): Likewise.
30692         (ctan_test): Likewise.
30693         (ctan_test_tonearest): Likewise.
30694         (ctan_test_towardzero): Likewise.
30695         (ctan_test_downward): Likewise.
30696         (ctan_test_upward): Likewise.
30697         (ctanh_test): Likewise.
30698         (ctanh_test_tonearest): Likewise.
30699         (ctanh_test_towardzero): Likewise.
30700         (ctanh_test_downward): Likewise.
30701         (ctanh_test_upward): Likewise.
30702         (erf_test): Likewise.
30703         (erfc_test): Likewise.
30704         (exp_test): Likewise.
30705         (exp_test_tonearest): Likewise.
30706         (exp_test_towardzero): Likewise.
30707         (exp_test_downward): Likewise.
30708         (exp_test_upward): Likewise.
30709         (exp10_test): Likewise.
30710         (exp2_test): Likewise.
30711         (expm1_test): Likewise.
30712         (fmod_test): Likewise.
30713         (gamma_test): Likewise.
30714         (hypot_test): Likewise.
30715         (j0_test): Likewise.
30716         (j1_test): Likewise.
30717         (jn_test): Likewise.
30718         (lgamma_test): Likewise.
30719         (log_test): Likewise.
30720         (log10_test): Likewise.
30721         (log1p_test): Likewise.
30722         (log2_test): Likewise.
30723         (logb_test_downward): Likewise.
30724         (pow_test): Likewise.
30725         (pow_test_tonearest): Likewise.
30726         (pow_test_towardzero): Likewise.
30727         (pow_test_downward): Likewise.
30728         (pow_test_upward): Likewise.
30729         (remainder_test): Likewise.
30730         (remquo_test): Likewise.
30731         (sin_test): Likewise.
30732         (sin_test_tonearest): Likewise.
30733         (sin_test_towardzero): Likewise.
30734         (sin_test_downward): Likewise.
30735         (sin_test_upward): Likewise.
30736         (sincos_test): Likewise.
30737         (sinh_test): Likewise.
30738         (sinh_test_tonearest): Likewise.
30739         (sinh_test_towardzero): Likewise.
30740         (sinh_test_downward): Likewise.
30741         (sinh_test_upward): Likewise.
30742         (sqrt_test): Likewise.
30743         (tan_test): Likewise.
30744         (tan_test_tonearest): Likewise.
30745         (tan_test_towardzero): Likewise.
30746         (tan_test_downward): Likewise.
30747         (tan_test_upward): Likewise.
30748         (tanh_test): Likewise.
30749         (tgamma_test): Likewise.
30750         (y0_test): Likewise.
30751         (y1_test): Likewise.
30752         (yn_test): Likewise.
30754         * math/gen-libm-test.pl (adjust_arg): Remove function.
30755         (special_function): Remove argument $in_func.  Only handle
30756         generating output for tables of tests, not inside functions.
30757         (parse_args): Likewise.
30758         (generate_testfile): Remove variable $in_func.  Update call to
30759         parse_args.
30760         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30761         (MINUS_ZERO_INIT): Rename macro to minus_zero.
30762         (PLUS_INFTY_INIT): Rename macro to plus_infty.
30763         (MINUS_INFTY_INIT): Rename macro to minus_infty.
30764         (QNAN_VALUE_INIT): Rename macro to qnan_value.
30765         (MAX_VALUE_INIT): Rename macro to max_value.
30766         (MIN_VALUE_INIT): Rename macro to min_value.
30767         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30768         (plus_zero): Remove variable.
30769         (minus_zero): Likewise.
30770         (plus_infty): Likewise.
30771         (minus_infty): Likewise.
30772         (qnan_value): Likewise.
30773         (max_value): Likewise.
30774         (min_value): Likewise.
30775         (min_subnorm_value): Likewise.
30777 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30779         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30780         uint64_t or uint32_t usage.
30781         * crypt/sha256-block.c: Likewise.
30782         * crypt/sha256-crypt.c: Likewise.
30783         * crypt/sha256.c: Likewise.
30784         * crypt/sha512-block.c: Likewise.
30785         * crypt/sha512-crypt.c: Likewise.
30786         * crypt/sha512.c: Likewise.
30787         * debug/backtrace-tst.c: Likewise.
30788         * debug/pcprofiledump.c: Likewise.
30789         * elf/cache.c: Likewise.
30790         * elf/dl-cache.c: Likewise.
30791         * elf/dl-misc.c: Likewise.
30792         * elf/dl-profile.c: Likewise.
30793         * elf/dl-support.c: Likewise.
30794         * elf/ldconfig.c: Likewise.
30795         * elf/sprof.c: Likewise.
30796         * iconv/dummy-repertoire.c: Likewise.
30797         * iconv/iconv_charmap.c: Likewise.
30798         * iconv/skeleton.c: Likewise.
30799         * iconvdata/8bit-generic.c: Likewise.
30800         * iconvdata/cp737.h: Likewise.
30801         * iconvdata/cp775.h: Likewise.
30802         * iconvdata/ibm1008.h: Likewise.
30803         * iconvdata/ibm1025.h: Likewise.
30804         * iconvdata/ibm1046.h: Likewise.
30805         * iconvdata/ibm1097.h: Likewise.
30806         * iconvdata/ibm1112.h: Likewise.
30807         * iconvdata/ibm1122.h: Likewise.
30808         * iconvdata/ibm1123.h: Likewise.
30809         * iconvdata/ibm1124.h: Likewise.
30810         * iconvdata/ibm1129.h: Likewise.
30811         * iconvdata/ibm1130.h: Likewise.
30812         * iconvdata/ibm1132.h: Likewise.
30813         * iconvdata/ibm1133.h: Likewise.
30814         * iconvdata/ibm1137.h: Likewise.
30815         * iconvdata/ibm1140.h: Likewise.
30816         * iconvdata/ibm1141.h: Likewise.
30817         * iconvdata/ibm1142.h: Likewise.
30818         * iconvdata/ibm1143.h: Likewise.
30819         * iconvdata/ibm1144.h: Likewise.
30820         * iconvdata/ibm1145.h: Likewise.
30821         * iconvdata/ibm1146.h: Likewise.
30822         * iconvdata/ibm1147.h: Likewise.
30823         * iconvdata/ibm1148.h: Likewise.
30824         * iconvdata/ibm1149.h: Likewise.
30825         * iconvdata/ibm1153.h: Likewise.
30826         * iconvdata/ibm1154.h: Likewise.
30827         * iconvdata/ibm1155.h: Likewise.
30828         * iconvdata/ibm1156.h: Likewise.
30829         * iconvdata/ibm1157.h: Likewise.
30830         * iconvdata/ibm1158.h: Likewise.
30831         * iconvdata/ibm1160.h: Likewise.
30832         * iconvdata/ibm1161.h: Likewise.
30833         * iconvdata/ibm1162.h: Likewise.
30834         * iconvdata/ibm1163.h: Likewise.
30835         * iconvdata/ibm1164.h: Likewise.
30836         * iconvdata/ibm1166.h: Likewise.
30837         * iconvdata/ibm1167.h: Likewise.
30838         * iconvdata/ibm12712.h: Likewise.
30839         * iconvdata/ibm1390.h: Likewise.
30840         * iconvdata/ibm1399.h: Likewise.
30841         * iconvdata/ibm16804.h: Likewise.
30842         * iconvdata/ibm4517.h: Likewise.
30843         * iconvdata/ibm4899.h: Likewise.
30844         * iconvdata/ibm4909.h: Likewise.
30845         * iconvdata/ibm4971.h: Likewise.
30846         * iconvdata/ibm5347.h: Likewise.
30847         * iconvdata/ibm803.h: Likewise.
30848         * iconvdata/ibm856.h: Likewise.
30849         * iconvdata/ibm901.h: Likewise.
30850         * iconvdata/ibm902.h: Likewise.
30851         * iconvdata/ibm9030.h: Likewise.
30852         * iconvdata/ibm9066.h: Likewise.
30853         * iconvdata/ibm921.h: Likewise.
30854         * iconvdata/ibm922.h: Likewise.
30855         * iconvdata/ibm9448.h: Likewise.
30856         * iconvdata/isiri-3342.h: Likewise.
30857         * iconvdata/jis0201.h: Likewise.
30858         * include/link.h: Likewise.
30859         * include/netdb.h: Likewise.
30860         * inet/check_native.c: Likewise.
30861         * inet/check_pf.c: Likewise.
30862         * inet/getipv4sourcefilter.c: Likewise.
30863         * inet/getnameinfo.c: Likewise.
30864         * inet/getsourcefilter.c: Likewise.
30865         * inet/htonl.c: Likewise.
30866         * inet/setipv4sourcefilter.c: Likewise.
30867         * inet/setsourcefilter.c: Likewise.
30868         * inet/test-inet6_opt.c: Likewise.
30869         * inet/tst-network.c: Likewise.
30870         * locale/C-collate.c: Likewise.
30871         * locale/C-ctype.c: Likewise.
30872         * locale/C-time.c: Likewise.
30873         * locale/C-translit.h: Likewise.
30874         * locale/loadarchive.c: Likewise.
30875         * locale/programs/3level.h: Likewise.
30876         * locale/programs/charmap.c: Likewise.
30877         * locale/programs/charmap.h: Likewise.
30878         * locale/programs/ld-address.c: Likewise.
30879         * locale/programs/ld-collate.c: Likewise.
30880         * locale/programs/ld-ctype.c: Likewise.
30881         * locale/programs/ld-identification.c: Likewise.
30882         * locale/programs/ld-measurement.c: Likewise.
30883         * locale/programs/ld-messages.c: Likewise.
30884         * locale/programs/ld-monetary.c: Likewise.
30885         * locale/programs/ld-name.c: Likewise.
30886         * locale/programs/ld-numeric.c: Likewise.
30887         * locale/programs/ld-paper.c: Likewise.
30888         * locale/programs/ld-telephone.c: Likewise.
30889         * locale/programs/ld-time.c: Likewise.
30890         * locale/programs/linereader.c: Likewise.
30891         * locale/programs/locale.c: Likewise.
30892         * locale/programs/locarchive.c: Likewise.
30893         * locale/programs/locfile.h: Likewise.
30894         * locale/programs/repertoire.c: Likewise.
30895         * locale/programs/simple-hash.c: Likewise.
30896         * locale/programs/simple-hash.h: Likewise.
30897         * malloc/memusage.c: Likewise.
30898         * malloc/memusagestat.c: Likewise.
30899         * nis/nis_defaults.c: Likewise.
30900         * nis/nis_hash.c: Likewise.
30901         * nis/nis_print.c: Likewise.
30902         * nis/nis_xdr.c: Likewise.
30903         * nscd/connections.c: Likewise.
30904         * nscd/hstcache.c: Likewise.
30905         * nscd/nscd_gethst_r.c: Likewise.
30906         * nscd/nscd_getserv_r.c: Likewise.
30907         * nscd/nscd_helper.c: Likewise.
30908         * nscd/servicescache.c: Likewise.
30909         * nss/makedb.c: Likewise.
30910         * nss/nss_db/db-XXX.c: Likewise.
30911         * nss/nss_db/db-initgroups.c: Likewise.
30912         * nss/nss_db/db-netgrp.c: Likewise.
30913         * nss/nss_files/files-network.c: Likewise.
30914         * nss/nss_files/files-parse.c: Likewise.
30915         * posix/bug-regex5.c: Likewise.
30916         * posix/fnmatch_loop.c: Likewise.
30917         * posix/regcomp.c: Likewise.
30918         * posix/regexec.c: Likewise.
30919         * posix/tst-rfc3484-2.c: Likewise.
30920         * posix/tst-rfc3484-3.c: Likewise.
30921         * posix/tst-rfc3484.c: Likewise.
30922         * resolv/nss_dns/dns-canon.c: Likewise.
30923         * resolv/nss_dns/dns-network.c: Likewise.
30924         * resolv/res_init.c: Likewise.
30925         * resolv/res_mkquery.c: Likewise.
30926         * resolv/tst-aton.c: Likewise.
30927         * stdlib/cxa_atexit.c: Likewise.
30928         * stdlib/cxa_finalize.c: Likewise.
30929         * stdlib/gen-fpioconst.c: Likewise.
30930         * stdlib/strtol_l.c: Likewise.
30931         * string/tst-endian.c: Likewise.
30932         * sunrpc/auth_des.c: Likewise.
30933         * sunrpc/clnt_udp.c: Likewise.
30934         * sunrpc/rtime.c: Likewise.
30935         * sunrpc/svcauth_des.c: Likewise.
30936         * sunrpc/xdr.c: Likewise.
30937         * sunrpc/xdr_intXX_t.c: Likewise.
30938         * sunrpc/xdr_rec.c: Likewise.
30939         * sysdeps/generic/ldconfig.h: Likewise.
30940         * sysdeps/generic/ldsodefs.h: Likewise.
30941         * sysdeps/generic/memusage.h: Likewise.
30942         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30943         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30944         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30945         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30946         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30948         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30949         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30950         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30951         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30952         * sysdeps/posix/getaddrinfo.c: Likewise.
30953         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30954         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30955         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30956         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30957         * sysdeps/powerpc/test-gettimebase.c: Likewise.
30958         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30959         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30960         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30961         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30962         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30963         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30964         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30965         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30966         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30967         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30968         * sysdeps/x86_64/dl-tls.h: Likewise.
30969         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30970         * time/alt_digit.c: Likewise.
30971         * time/era.c: Likewise.
30972         * wcsmbs/tst-c16c32-1.c: Likewise.
30974 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30976         * math/libm-test.inc (struct test_sincos_data): New type.
30977         (RUN_TEST_LOOP_sincos): New macro.
30978         (sincos_test_data): New variable.
30979         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30981 2013-05-16  Richard Henderson  <rth@redhat.com>
30983         * math/atest-exp2.c (LIMB64): New macro.
30984         (CONSTSZ): New macro.
30985         (mp_exp1, mp_exp_m1, mp_log2): New variables.
30986         (hexdig): Move ...
30987         (print_mpn_fp): ... to function scope.
30988         (read_mpn_hex): Remove.
30989         (get_log2): Remove.
30990         (exp2_mpn): Use mp_log2.
30991         (main): Use mp_exp1.
30993 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30995         * math/libm-test.inc: Remove comment about not testing "inexact"
30996         exceptions.
30997         (INEXACT_EXCEPTION): New macro.
30998         (NO_INEXACT_EXCEPTION): Likewise.
30999         (INVALID_EXCEPTION_OK): Update value.
31000         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31001         (OVERFLOW_EXCEPTION_OK): Likewise.
31002         (UNDERFLOW_EXCEPTION_OK): Likewise.
31003         (IGNORE_ZERO_INF_SIGN): Likewise.
31004         (ERRNO_UNCHANGED): Likewise.
31005         (ERRNO_EDOM): Likewise.
31006         (ERRNO_ERANGE): Likewise.
31007         (test_exceptions): Handle testing "inexact" exceptions.
31008         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31009         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31010         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31011         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31012         INEXACT_EXCEPTION.
31013         (rint_towardzero_test_data): Likewise.
31014         (rint_downward_test_data): Likewise.
31015         (rint_upward_test_data): Likewise.
31017         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31018         with OVERFLOW_EXCEPTION.
31019         (exp10_test_data): Likewise.
31020         (exp2_test_data): Likewise.
31021         (expm1_test_data): Likewise.
31022         (lgamma_test_data): Likewise.
31023         (pow_test_data): Likewise.
31024         (tgamma_test_data): Likewise.
31025         (yn_test_data): Remove duplicate test of overflow.
31027         * math/libm-test.inc (struct test_cc_c_data): New type.
31028         (RUN_TEST_LOOP_cc_c): New macro.
31029         (cpow_test_data): New variable.
31030         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31032         * math/libm-test.inc (struct test_f_L_data): New type.
31033         (RUN_TEST_LOOP_f_L): New macro.
31034         (llrint_test_data): New variable.
31035         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31036         (llrint_tonearest_test_data): New variable.
31037         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31038         (llrint_towardzero_test_data): New variable.
31039         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31040         (llrint_downward_test_data): New variable.
31041         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31042         (llrint_upward_test_data): New variable.
31043         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31044         (llround_test_data): New variable.
31045         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31047 2013-05-13  Peter Collingbourne  <pcc@google.com>
31049         * math/atest-exp2.c (get_log2): Remove const attribute.
31051 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31053         * math/libm-test.inc (struct test_f_l_data): New type.
31054         (RUN_TEST_LOOP_f_l): New macro.
31055         (lrint_test_data): New variable.
31056         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31057         (lrint_tonearest_test_data): New variable.
31058         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31059         (lrint_towardzero_test_data): New variable.
31060         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31061         (lrint_downward_test_data): New variable.
31062         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31063         (lrint_upward_test_data): New variable.
31064         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31065         (lround_test_data): New variable.
31066         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31068 2013-05-15  Peter Collingbourne  <pcc@google.com>
31070         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31071         (EXTRACT_WORDS64) Use where appropriate.
31072         (INSERT_WORDS64) Likewise.
31074         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31075         constraints with x constraints.
31076         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31078         * malloc/obstack.c (_obstack_compat): Add initializer.
31080 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31082         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31083         si_trapno and add si_addr_lsb to _sifields.sigfault.
31084         (si_trapno): Remove macro.
31085         (si_addr_lsb): Define new macro.
31086         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31088 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31090         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31091         instead of TEST_f_l.
31092         (llrint_test_tonearest): Likewise.
31093         (llrint_test_towardzero): Likewise.
31094         (llrint_test_downward): Likewise.
31095         (llrint_test_upward): Likewise.
31096         (llround_test): Likewise.
31098         * math/libm-test.inc (struct test_f_i_data): Add comment.
31099         (RUN_TEST_LOOP_f_b): New macro.
31100         (RUN_TEST_LOOP_f_b_tg): Likewise.
31101         (finite_test_data): New variable.
31102         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31103         (isfinite_test_data): New variable.
31104         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31105         (isinf_test_data): New variable.
31106         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31107         (isnan_test_data): New variable.
31108         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31109         (isnormal_test_data): New variable.
31110         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31111         (issignaling_test_data): New variable.
31112         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31113         (signbit_test_data): New variable.
31114         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31116         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31117         with INVALID_EXCEPTION.
31118         (acosh_test_data): Likewise.
31119         (asin_test_data): Likewise.
31120         (atanh_test_data): Likewise.
31121         (fmod_test_data): Likewise.
31122         (log_test_data): Likewise.
31123         (log10_test_data): Likewise.
31124         (log2_test_data): Likewise.
31125         (pow_test_data): Likewise.
31126         (sqrt_test_data): Likewise.
31127         (y0_test_data): Likewise.
31128         (y1_test_data): Likewise.
31129         (yn_test_data): Likewise.
31131         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31132         function contents.
31134         * math/libm-test.inc (struct test_ff_i_data): New type.
31135         (RUN_TEST_LOOP_ff_i_tg): New macro.
31136         (isgreater_test_data): New variable.
31137         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31138         (isgreaterequal_test_data): New variable.
31139         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31140         (isless_test_data): New variable.
31141         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31142         (islessequal_test_data): New variable.
31143         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31144         (islessgreater_test_data): New variable.
31145         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31146         (isunordered_test_data): New variable.
31147         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31149 2013-05-14  David S. Miller  <davem@davemloft.net>
31151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31153 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31155         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31157         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31158         extra_test to int.
31159         (struct test_f_i_data): Change type of max_ulp to int.
31161         * math/libm-test.inc (test_ffI_f1_data): New type.
31162         (RUN_TEST_LOOP_ffI_f1): New macro.
31163         (remquo_test_data): New variable.
31164         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31166         * setjmp/tst-setjmp-fp.c: New file.
31167         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31168         (link-libm): New variable.
31169         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31171         * math/libm-test.inc (struct test_f_i_data): New type.
31172         (RUN_TEST_LOOP_f_i): New macro.
31173         (RUN_TEST_LOOP_f_i_tg): Likewise.
31174         (fpclassify_test_data): New variable.
31175         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31176         (ilogb_test_data): New variable.
31177         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31179         * math/libm-test.inc (scalbln_test): Correct function name in END
31180         call.
31182         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31183         (RUN_TEST_LOOP_fI_f1): New macro.
31184         (frexp_test_data): New variable.
31185         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31187         * math/libm-test.inc (struct test_fF_f1_data): New type.
31188         (RUN_TEST_LOOP_fF_f1): New macro.
31189         (modf_test_data): New variable.
31190         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31192         * math/libm-test.inc (struct test_f_f1_data): New type.
31193         (RUN_TEST_LOOP_f_f1): New macro.
31194         (gamma_test_data): New variable.
31195         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31196         (lgamma_test_data): New variable.
31197         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31199 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31201         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31202         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31203         (main): Comment "tls" pseudo-hwcap.
31205 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31207         * math/libm-test.inc (struct test_fl_f_data): New type.
31208         (RUN_TEST_LOOP_fl_f): New variable.
31209         (scalbln_test_data): New variable.
31210         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31212         * math/libm-test.inc (struct test_fi_f_data): New type.
31213         (RUN_TEST_LOOP_fi_f): New macro.
31214         (ldexp_test_data): New variable.
31215         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31216         (scalbn_test_data): New variable.
31217         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31219         * math/libm-test.inc (struct test_c_f_data): New type.
31220         (RUN_TEST_LOOP_c_f): New macro.
31221         (cabs_test_data): New variable.
31222         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31223         (carg_test_data): New variable.
31224         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31225         (cimag_test_data): New variable.
31226         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31227         (creal_test_data): New variable.
31228         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31230         * math/libm-test.inc (struct test_if_f_data): New type.
31231         (RUN_TEST_LOOP_if_f): New macro.
31232         (jn_test_data): New variable.
31233         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31234         (yn_test_data): New variable.
31235         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31237         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31239 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31241         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31242         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31244 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31246         * benchtests/Makefile (CPPFLAGS-nonlib): Add
31247         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31248         (bench-deps): Add bench-timing.h.
31249         * benchtests-bench-skeleton.c: Include bench-timing.h.
31250         (main): Use TIMING_* macros instead of clock_gettime.
31251         * benchtests/bench-timing.h: New file.
31253         [BZ #14582]
31254         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31255         Renamed from _LIB_VERSION.
31256         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31258 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
31260         * math/libm-test.inc (struct test_fff_f_data): New type.
31261         (RUN_TEST_LOOP_fff_f): New macro.
31262         (fma_test_data): New variable.
31263         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31264         (fma_towardzero_test_data): New variable.
31265         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31266         (fma_downward_test_data): New variable.
31267         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31268         (fma_upward_test_data): New variable.
31269         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31271         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31272         (struct test_c_c_data): New type.
31273         (RUN_TEST_LOOP_c_c): New macro.
31274         (cacos_test_data): New variable.
31275         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31276         (cacosh_test_data): New variable.
31277         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31278         (casin_test_data): New variable.
31279         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31280         (casinh_test_data): New variable.
31281         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31282         (catan_test_data): New variable.
31283         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31284         (catanh_test_data): New variable.
31285         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31286         (ccos_test_data): New variable.
31287         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31288         (ccosh_test_data): New variable.
31289         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31290         (cexp_test_data): New variable.
31291         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31292         (clog_test_data): New variable.
31293         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31294         (clog10_test_data): New variable.
31295         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31296         (conj_test_data): New variable.
31297         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31298         (cproj_test_data): New variable.
31299         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31300         (csin_test_data): New variable.
31301         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31302         (csinh_test_data): New variable.
31303         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31304         (csqrt_test_data): New variable.
31305         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31306         (ctan_test_data): New variable.
31307         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31308         (ctan_tonearest_test_data): New variable.
31309         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31310         (ctan_towardzero_test_data): New variable.
31311         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31312         (ctan_downward_test_data): New variable.
31313         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31314         (ctan_upward_test_data): New variable.
31315         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31316         (ctanh_test_data): New variable.
31317         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31318         (ctanh_tonearest_test_data): New variable.
31319         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31320         (ctanh_towardzero_test_data): New variable.
31321         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31322         (ctanh_downward_test_data): New variable.
31323         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31324         (ctanh_upward_test_data): New variable.
31325         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31326         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31327         of BUILD_COMPLEX.
31329         * math/libm-test.inc (struct test_ff_f_data): New type.
31330         (struct test_ff_f_data_nexttoward): Likewise.
31331         (RUN_TEST_LOOP_2_f): New macro.
31332         (RUN_TEST_LOOP_ff_f): Likewise.
31333         (atan2_test_data): New variable.
31334         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31335         (copysign_test_data): New variable.
31336         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31337         (fdim_test_data): New variable.
31338         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31339         (fmax_test_data): New variable.
31340         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31341         (fmin_test_data): New variable.
31342         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31343         (fmod_test_data): New variable.
31344         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31345         (hypot_test_data): New variable.
31346         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31347         (nextafter_test_data): New variable.
31348         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31349         (nexttoward_test_data): New variable.
31350         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31351         (pow_test_data): New variable.
31352         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31353         (pow_tonearest_test_data): New variable.
31354         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31355         (pow_towardzero_test_data): New variable.
31356         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31357         (pow_downward_test_data): New variable.
31358         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31359         (pow_upward_test_data): New variable.
31360         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31361         (remainder_test_data): New variable.
31362         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31363         (scalb_test_data): New variable.
31364         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31365         * sysdeps/i386/fpu/libm-test-ulps: Update.
31367 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
31369         * math/libm-test.inc (fma_test): Use max_value instead of local
31370         variable fltmax.
31371         (nextafter_test): Likewise.
31373         * math/libm-test.inc (acos_towardzero_test_data): New variable.
31374         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31375         (acos_downward_test_data): New variable.
31376         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31377         (acos_upward_test_data): New variable.
31378         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31379         (acosh_test_data): New variable.
31380         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31381         (asin_test_data): New variable.
31382         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31383         (asin_tonearest_test_data): New variable.
31384         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31385         (asin_towardzero_test_data): New variable.
31386         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31387         (asin_downward_test_data): New variable.
31388         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31389         (asin_upward_test_data): New variable.
31390         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31391         (asinh_test_data): New variable.
31392         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31393         (atan_test_data): New variable.
31394         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31395         (atanh_test_data): New variable.
31396         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31397         (cbrt_test_data): New variable.
31398         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31399         (ceil_test_data): New variable.
31400         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31401         (cos_test_data): New variable.
31402         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31403         (cos_tonearest_test_data): New variable.
31404         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31405         (cos_towardzero_test_data): New variable.
31406         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31407         (cos_downward_test_data): New variable.
31408         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31409         (cos_upward_test_data): New variable.
31410         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31411         (cosh_test_data): New variable.
31412         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31413         (cosh_tonearest_test_data): New variable.
31414         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31415         (cosh_towardzero_test_data): New variable.
31416         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31417         (cosh_downward_test_data): New variable.
31418         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31419         (cosh_upward_test_data): New variable.
31420         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31421         (erf_test_data): New variable.
31422         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31423         (erfc_test_data): New variable.
31424         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31425         (exp_test_data): New variable.
31426         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31427         (exp_tonearest_test_data): New variable.
31428         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31429         (exp_towardzero_test_data): New variable.
31430         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31431         (exp_downward_test_data): New variable.
31432         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31433         (exp_upward_test_data): New variable.
31434         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31435         (exp10_test_data): New variable.
31436         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31437         (exp2_test_data): New variable.
31438         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31439         (expm1_test_data): New variable.
31440         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31441         (fabs_test_data): New variable.
31442         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31443         (floor_test_data): New variable.
31444         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31445         (j0_test_data): New variable.
31446         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31447         (j1_test_data): New variable.
31448         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31449         (log_test_data): New variable.
31450         (log_test): Run tests with RUN_TEST_LOOP_f_f.
31451         (log10_test_data): New variable.
31452         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31453         (log1p_test_data): New variable.
31454         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31455         (log2_test_data): New variable.
31456         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31457         (logb_test_data): New variable.
31458         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31459         (logb_downward_test_data): New variable.
31460         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31461         (nearbyint_test_data): New variable.
31462         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31463         (rint_test_data): New variable.
31464         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31465         (rint_tonearest_test_data): New variable.
31466         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31467         (rint_towardzero_test_data): New variable.
31468         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31469         (rint_downward_test_data): New variable.
31470         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31471         (rint_upward_test_data): New variable.
31472         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31473         (round_test_data): New variable.
31474         (round_test): Run tests with RUN_TEST_LOOP_f_f.
31475         (sin_test_data): New variable.
31476         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31477         (sin_tonearest_test_data): New variable.
31478         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31479         (sin_towardzero_test_data): New variable.
31480         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31481         (sin_downward_test_data): New variable.
31482         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31483         (sin_upward_test_data): New variable.
31484         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31485         (sinh_test_data): New variable.
31486         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31487         (sinh_tonearest_test_data): New variable.
31488         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31489         (sinh_towardzero_test_data): New variable.
31490         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31491         (sinh_downward_test_data): New variable.
31492         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31493         (sinh_upward_test_data): New variable.
31494         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31495         (sqrt_test_data): New variable.
31496         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31497         (tan_test_data): New variable.
31498         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31499         (tan_tonearest_test_data): New variable.
31500         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31501         (tan_towardzero_test_data): New variable.
31502         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31503         (tan_downward_test_data): New variable.
31504         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31505         (tan_upward_test_data): New variable.
31506         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31507         (tanh_test_data): New variable.
31508         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31509         (tgamma_test_data): New variable.
31510         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31511         (trunc_test_data): New variable.
31512         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31513         (y0_test_data): New variable.
31514         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31515         (y1_test_data): New variable.
31516         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31517         (significand_test_data): New variable.
31518         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31520 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
31522         [BZ #12387]
31523         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31525 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31527         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31529 2013-05-10  Andreas Jaeger  <aj@suse.de>
31531         [BZ #15448]
31532         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31533         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31535 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31537         * math/gen-libm-test.pl (adjust_arg): New function.
31538         (special_functions): Handle generating output in both functions
31539         and arrays.
31540         (parse_args): Likewise.
31541         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
31542         $in_func argument to parse_args.
31543         * math/libm-test.inc (struct test_f_f_data): New type.
31544         (IF_ROUND_INIT_): New macro.
31545         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31546         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31547         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31548         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31549         (ROUND_RESTORE_): Likewise.
31550         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31551         (ROUND_RESTORE_FE_TONEAREST): Likewise.
31552         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31553         (ROUND_RESTORE_FE_UPWARD): Likewise.
31554         (RUN_TEST_LOOP_f_f): New macro.
31555         (acos_test_data): New variable.
31556         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31557         (acos_tonearest_test_data): New variable.
31558         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31560 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31562         * benchtests/bench-skeleton.c (startup): Fix coding style.
31564 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31566         [BZ #6809]
31567         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31568         negative infinity argument.
31569         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31570         negative infinity argument.
31571         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31572         negative infinity argument.
31573         * math/libm-test.inc (tgamma_test): Expect errno to be set for
31574         domain errors.
31576 2013-05-10  Florian Weimer  <fweimer@redhat.com>
31578         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31579         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31580         * iconv/iconv_prog.c (main): Likewise.
31581         * locale/programs/charmap-dir.c (charmap_readdir)
31582         (fopen_uncompressed): Likewise.
31583         * locale/programs/locfile.c (siblings_uncached)
31584         (write_locale_data): Use lstat64 instead of lstat.
31585         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31586         stat.
31588 2013-05-10  Andreas Jaeger  <aj@suse.de>
31590         [BZ #15395]
31591         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31592         localization.
31593         Include <locale.h>.
31595 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
31597         * elf/dl-close.c (_dl_close_worker): Add comments.
31599 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
31601         [BZ #15359]
31602         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31603         high part of pi/2.
31604         (__ieee754_rem_pio2l): Update comments.
31606         [BZ #15429]
31607         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31608         high part of pi/2.
31609         (__ieee754_rem_pio2l): Update comments.
31611         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31612         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31614         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31615         M_PI_4l.
31617         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31618         (M_PI_34_LOG10El): Likewise.
31619         (M_PI2_LOG10El): Likewise.
31620         (M_PI4_LOG10El): Likewise.
31621         (M_PI_LOG10El): Likewise.
31623 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31627 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
31629         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31630         (MINUS_ZERO_INIT): Likewise.
31631         (PLUS_INFTY_INIT): Likewise.
31632         (MINUS_INFTY_INIT): Likewise.
31633         (QNAN_VALUE_INIT): Likewise.
31634         (MAX_VALUE_INIT): Likewise.
31635         (MIN_VALUE_INIT): Likewise.
31636         (MIN_SUBNORM_VALUE_INIT): Likewise.
31637         (plus_zero): Initialize with PLUS_ZERO_INIT.
31638         (minus_zero): Initialize with MINUS_ZERO_INIT.
31639         (plus_infty): Initialize with PLUS_INFTY_INIT.
31640         (minus_infty): Initialize with MINUS_INFTY_INIT.
31641         (qnan_value): Initialize with QNAN_VALUE_INIT.
31642         (max_value): Initialize with MAX_VALUE_INIT.
31643         (min_value): Initialize with MIN_VALUE_INIT.
31644         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31646         * math/libm-test.inc (RUN_TEST_if_f): New macro.
31647         (jn_test): Use TEST_if_f instead of TEST_ff_f.
31648         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31649         (yn_test): Use TEST_if_f instead of TEST_ff_f.
31651         * math/libm-test.inc (RUN_TEST_f_f): New macro.
31652         (RUN_TEST_2_f): Likewise.
31653         (RUN_TEST_ff_f): Likewise.
31654         (RUN_TEST_fi_f): Likewise.
31655         (RUN_TEST_fl_f): Likewise.
31656         (RUN_TEST_fff_f): Likewise.
31657         (RUN_TEST_c_f): Likewise.
31658         (RUN_TEST_f_f1): Likewise.
31659         (RUN_TEST_fF_f1): Likewise.
31660         (RUN_TEST_fI_f1): Likewise.
31661         (RUN_TEST_ffI_f1): Likewise.
31662         (RUN_TEST_c_c): Likewise.
31663         (RUN_TEST_cc_c): Likewise.
31664         (RUN_TEST_f_i): Likewise.
31665         (RUN_TEST_f_i_tg): Likewise.
31666         (RUN_TEST_ff_i_tg): Likewise.
31667         (RUN_TEST_f_b): Likewise.
31668         (RUN_TEST_f_b_tg): Likewise.
31669         (RUN_TEST_f_l): Likewise.
31670         (RUN_TEST_f_L): Likewise.
31671         (RUN_TEST_sincos): Likewise.
31672         * math/gen-libm-test.pl (new_test): Take new argument to indicate
31673         whether to show exceptions.  Do not include ");\n" in return
31674         value.
31675         (special_functions): Output call to RUN_TEST_sincos instead of
31676         check_float calls.  Update calls to new_test.
31677         (parse_args): Output call to single RUN_TEST_* macro instead of
31678         check_* calls and other assignments.  Update calls to new_test.
31680         [BZ #2546]
31681         [BZ #2560]
31682         [BZ #5159]
31683         [BZ #15426]
31684         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31685         input to result for tgamma overflow.
31686         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31687         (gamma_coeff): New variable.
31688         (NCOEFF): New macro.
31689         (gamma_positive): New function.
31690         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31691         underflow here.  Use gamma_positive instead of exp (lgamma) for
31692         other arguments.
31693         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31694         (gamma_coeff): New variable.
31695         (NCOEFF): New macro.
31696         (gammaf_positive): New function.
31697         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31698         underflow here.  Use gamma_positive instead of exp (lgamma) for
31699         other arguments.
31700         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31701         (gamma_coeff): New variable.
31702         (NCOEFF): New macro.
31703         (gammal_positive): New function.
31704         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31705         underflow here.  Use gamma_positive instead of exp (lgamma) for
31706         other arguments.
31707         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31708         (gamma_coeff): New variable.
31709         (NCOEFF): New macro.
31710         (gammal_positive): New function.
31711         (__ieee754_gammal_r): Handle positive infinity, overflow and
31712         underflow here.  Handle NaN the same as positive infinity.  Remove
31713         check x < 0xffffffff for negative integers.  Use gamma_positive
31714         instead of exp (lgamma) for other arguments.
31715         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31716         (gamma_coeff): New variable.
31717         (NCOEFF): New macro.
31718         (gammal_positive): New function.
31719         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31720         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31721         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31722         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31723         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31724         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31725         * sysdeps/generic/math_private.h (__gamma_productf): New
31726         prototype.
31727         (__gamma_product): Likewise.
31728         (__gamma_productl): Likewise.
31729         * math/Makefile (libm-calls): Add gamma_product.
31730         * math/libm-test.inc (tgamma_test): Add more tests.
31731         * sysdeps/i386/fpu/libm-test-ulps: Update.
31732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31734 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
31736         * benchtests/bench-skeleton.c (main): Preheat CPU.
31738 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
31740         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31742 2013-05-07  Roland McGrath  <roland@hack.frob.com>
31744         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31745         and _dl_skip_args_internal.
31747 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
31749         * manual/message.texi (Message Translation): Talk about users.
31750         Message to key mapping impacts design.
31752 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31754         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31756         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31758         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31759         * sysdeps/wordsize-64/glob64.c: ... here.
31761         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31762         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31763         New macros.
31765         * debug/getlogin_r_chk.c: Moved to ...
31766         * login/getlogin_r_chk.c: ... here.
31767         * debug/Makefile (routines): Move getlogin_r_chk to ...
31768         * login/Makefile (routines): ... here.
31769         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31770         * login/Versions (libc: GLIBC_2.4): ... here.
31772         * io/poll.c (__poll): Renamed from poll.
31773         Add libc_hidden_def.
31774         (poll): Define as weak alias.
31776         * debug/ptsname_r_chk.c: Moved to ...
31777         * login/ptsname_r_chk.c: ... here.
31778         * debug/Makefile (routines): Move ptsname_r_chk to ...
31779         * login/Makefile (routines): ... here.
31780         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31781         * login/Versions (libc: GLIBC_2.4): ... here.
31783         * posix/getlogin.c: Moved to ...
31784         * login/getlogin.c: ... here.
31785         * posix/getlogin_r.c: Moved to ...
31786         * login/getlogin_r.c: ... here.
31787         * posix/getlogin_r.c: Moved to ...
31788         * login/getlogin_r.c: ... here.
31789         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31790         * login/Makefile (routines): ... here.
31791         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31792         * login/Versions (libc: GLIBC_2.0): ... here.
31794         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31795         (setrlimit): Define as weak alias.
31797         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31798         Call __ names for open, ftruncate, and close.
31799         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31800         (truncate): Define as weak alias.
31802 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
31804         * math/gen-libm-test.pl (parse_args): Initialize x before each
31805         test of frexp, modf and remquo.
31807         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31808         test signgam value.
31810 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31812         [BZ #15418]
31813         [BZ #15419]
31814         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31815         internal tests.
31816         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31818 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31820         * elf/dl-writev.h: New file.
31821         * elf/dl-misc.c: Include it.
31822         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31823         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31825 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
31827         * math/libm-test.inc (noXFails): Remove variable.
31828         (noXPasses): Likewise.
31829         (BUILD_COMPLEX_INT): Remove macro.
31830         (print_screen): Remove xfail argument.
31831         (print_screen_max_error): Likewise.
31832         (update_stats): Likewise.
31833         (print_max_error): Likewise.  Update calls to other affected
31834         functions.
31835         (print_complex_max_error): Likewise.
31836         (test_single_exception): Update calls to print_screen.
31837         (test_single_errno): Likewise.
31838         (check_float_internal): Remove xfail argument.  Update calls to
31839         other affected functions.
31840         (check_float): Likewise.
31841         (check_complex): Likewise.
31842         (check_int): Likewise.
31843         (check_long): Likewise.
31844         (check_bool): Likewise.
31845         (check_longlong): Likewise.
31846         (main): Don't print noXFails and noXPasses.
31847         * math/gen-libm-test.pl (top level): Don't mention expected
31848         failure handling in comment.
31849         (new_test): Don't handle expected failures.
31850         (parse_args): Don't mention expected failure handling in comment.
31851         (generate_testfile): Don't handle expected failures.
31852         (parse_ulps): Likewise.
31853         (print_ulps_file): Likewise.
31854         (get_failure): Remove function.
31855         (output_test): Don't handle expected failures.
31856         * make/README.libm-test: Don't mention expected failure handling.
31858         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
31859         (minus_zero): Likewise.
31860         (plus_infty): Likewise.
31861         (minus_infty): Likewise.
31862         (qnan_value): Likewise.
31863         (max_value): Likewise.
31864         (min_value): Likewise.
31865         (min_subnorm_value): Likewise.
31866         (initialize): Do not initialize those variables dynamically.
31868 2013-05-03  Roland McGrath  <roland@hack.frob.com>
31870         * io/open.c (__open_2): Moved to ...
31871         * io/open_2.c: ... this new file.
31872         * io/open64.c (__open64_2): Moved to ...
31873         * io/open64_2.c: ... this new file.
31874         * io/openat.c (__openat_2): Moved to ...
31875         * io/openat_2.c: ... this new file.
31876         * io/openat64.c (__openat64_2): Moved to ...
31877         * io/openat64_2.c: ... this new file.
31878         * io/Makefile (routines): Add them.
31879         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31880         * sysdeps/unix/sysv/linux/open_2.c: File removed.
31881         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31882         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31883         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31884         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31885         (__openat64): Add hidden_ver.
31886         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31887         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31889         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31890         Separately conditionalize setting of GLRO(dl_sysinfo) so
31891         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31892         as well, but the actual setting is only under [NEED_DL_SYSINFO].
31894 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31896         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31897         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31898         definition.
31899         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31900         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31901         (_libc_vdso_platform_setup): Add __vdso_time initialization.
31902         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31903         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31905 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
31907         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31908         test signgam value.
31910         * math/libm-test.inc (hypot_test): Do not use
31911         IGNORE_ZERO_INF_SIGN.
31913 2013-05-03  Andreas Jaeger  <aj@suse.de>
31915         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31916         Linux 3.9.
31917         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31918         (PF_MAX): Adjust for VSOCK change.
31920 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31924 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
31926         [BZ #15264]
31927         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31928         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31929         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31931 2013-05-02  David S. Miller  <davem@davemloft.net>
31933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31935 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
31937         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31939 2013-05-01  Roland McGrath  <roland@hack.frob.com>
31941         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31943 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
31945         [BZ #14952]
31946         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31947         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31948         Use __attribute__ ((__gnu_inline__)).
31949         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31950         Don't use __attribute__ ((__gnu_inline__)).
31952 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
31954         [BZ #15423]
31955         * math/s_catan.c (__catan): Handle small real or imaginary part of
31956         input specially to avoid spurious underflow.
31957         * math/s_catanf.c (__catanf): Likewise.
31958         * math/s_catanh.c (__catanh): Likewise.
31959         * math/s_catanhf.c (__catanhf): Likewise.
31960         * math/s_catanhl.c (__catanhl): Likewise.
31961         * math/s_catanl.c (__catanl): Likewise.
31962         * math/libm-test.inc (catan_test): Add more tests.
31963         (catanh_test): Likewise.
31964         * sysdeps/i386/fpu/libm-test-ulps: Update.
31965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31967 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31971 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
31973         [BZ #15416]
31974         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31975         accurately for denominator in atan2.
31976         * math/s_catanf.c (__catanf): Likewise.
31977         * math/s_catanh.c (__catanh): Likewise.
31978         * math/s_catanhf.c (__catanhf): Likewise.
31979         * math/s_catanhl.c (__catanhl): Likewise.
31980         * math/s_catanl.c (__catanl): Likewise.
31981         * math/libm-test.inc (catan_test): Add more tests.
31982         (catanh_test): Likewise.
31983         * sysdeps/i386/fpu/libm-test-ulps: Update.
31984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31986 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31988         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31990         * benchtests/Makefile (bench): Remove slow benchmarks.
31991         * benchtests/atan-inputs: Add slow benchmark inputs.
31992         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31993         (BENCH_FUNC): Accept variant offset.
31994         (VARIANT): Define.
31995         * benchtests/bench-skeleton.c (main): Run benchmark for each
31996         variant.
31997         * benchtests/cos-inputs: Add slow benchmark inputs.
31998         * benchtests/exp-inputs: Likewise.
31999         * benchtests/pow-inputs: Likewise.
32000         * benchtests/sin-inputs: Likewise.
32001         * benchtests/slowatan-inputs: Remove.
32002         * benchtests/slowatan.c: Remove.
32003         * benchtests/slowcos-inputs: Remove.
32004         * benchtests/slowcos.c: Remove.
32005         * benchtests/slowexp-inputs: Remove.
32006         * benchtests/slowexp.c: Remove.
32007         * benchtests/slowpow-inputs: Remove.
32008         * benchtests/slowpow.c: Remove.
32009         * benchtests/slowsin-inputs: Remove.
32010         * benchtests/slowsin.c: Remove.
32011         * benchtests/slowtan-inputs: Remove.
32012         * benchtests/slowtan.c: Remove.
32013         * benchtests/tan-inputs: Add slow benchmark inputs.
32014         * scripts/bench.pl: Parse comments and directives.
32016         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32017         in CPPFLAGS.
32018         ($(objpfx)bench-%.c): Remove *-ITER.
32019         * benchtests/bench-modf.c: Remove definition of ITER.
32020         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32021         (main): Loop for DURATION seconds instead of fixed number of
32022         iterations.
32023         * scripts/bench.pl: Don't expect iterations in parameters.
32025 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32027         * io/fchdir.c (__fchdir): Renamed from fchdir.
32028         (fchdir): Define as weak alias.
32030 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32032         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32033         (ERRNO_EDOM): Likewise.
32034         (ERRNO_ERANGE): Likewise.
32035         (noErrnoTests): New variable.
32036         (init_max_error): Set errno to 0.
32037         (test_single_errno): New function.
32038         (test_errno): Likewise.
32039         (check_float_internal): Call test_errno.  Set errno to 0.
32040         (check_complex): Refer to errno tests in comment.
32041         (check_int): Call test_errno.  Set errno to 0.
32042         (check_long): Likewise.
32043         (check_bool): Likewise.
32044         (check_longlong): Likewise.
32045         (cos_test): Use ERRNO_* flags for errno tests instead of
32046         check_int.
32047         (expm1_test): Likewise.
32048         (fmod_test): Likewise.
32049         (ilogb_test): Likewise.
32050         (lgamma_test): Likewise.
32051         (pow_test): Likewise.
32052         (remainder_test): Likewise.
32053         (sin_test): Likewise.
32054         (tan_test): Likewise.
32055         (yn_test): Likewise.
32056         (initialize): Set errno to 0.
32057         (main): Print number of errno tests.
32058         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32060 2013-04-29  Andreas Jaeger  <aj@suse.de>
32062         [BZ #15084]
32063         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32064         and RES_USEVC.
32066         [BZ #15085]
32067         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32068         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32069         unimplemented.
32071         [BZ #15380]
32072         * stdlib/random.c (__initstate): Return NULL if
32073         __initstate fails.
32075         [BZ #15086]
32076         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32077         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32078         RES_SNGLKUPREOP.
32080 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32084 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32086         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32087         of individual tests.
32088         (casin_test): Likewise.
32089         (casinh_test): Likewise.
32091 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32093         [BZ #15409]
32094         * math/s_catan.c (__catan): Handle arguments with large real or
32095         imaginary part separately without squaring.
32096         * math/s_catanf.c (__catanf): Likewise.
32097         * math/s_catanh.c (__catanh): Likewise.
32098         * math/s_catanhf.c (__catanhf): Likewise.
32099         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32100         and redefine.
32101         (__catanhl): Handle arguments with large real or imaginary part
32102         separately without squaring.
32103         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32104         and redefine.
32105         (__catanl): Handle arguments with large real or imaginary part
32106         separately without squaring.
32107         * math/libm-test.inc (catan_test): Add more tests.
32108         (catanh_test): Likewise.
32109         * sysdeps/i386/fpu/libm-test-ulps: Update.
32110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32112 2013-04-27  Andreas Jaeger  <aj@suse.de>
32114         [BZ #15007]
32115         * stdlib/stdlib.h: Update guards for qecvt.
32116         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32117         <stdlib.h>.
32119 2013-04-27  Allan McRae  <allan@archlinux.org>
32121         * sysdeps/i386/fpu/libm-test-ulps: Update.
32123 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
32125         [BZ #15406]
32126         * math/s_catan.c: Include <float.h>.
32127         (__catan): Ensure underflow exception occurs for underflowed
32128         result.
32129         * math/s_catanf.c: Include <float.h>.
32130         (__catanf): Ensure underflow exception occurs for underflowed
32131         result.
32132         * math/s_catanh.c: Include <float.h>.
32133         (__catanh): Ensure underflow exception occurs for underflowed
32134         result.
32135         * math/s_catanhf.c: Include <float.h>.
32136         (__catanhf): Ensure underflow exception occurs for underflowed
32137         result.
32138         * math/s_catanhl.c: Include <float.h>.
32139         (__catanhl): Ensure underflow exception occurs for underflowed
32140         result.
32141         * math/s_catanl.c: Include <float.h>.
32142         (__catanl): Ensure underflow exception occurs for underflowed
32143         result.
32144         * math/libm-test.inc (catan_test): Add more tests.
32145         (catanh_test): Likewise.
32147         [BZ #15405]
32148         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32149         underflowed result.
32150         * math/s_ccoshf.c (__ccoshf): Likewise.
32151         * math/s_ccoshl.c (__ccoshl): Likewise.
32152         * math/s_csin.c (__csin): Likewise.
32153         * math/s_csinf.c (__csinf): Likewise.
32154         * math/s_csinh.c (__csinh): Likewise.
32155         * math/s_csinhf.c (__csinhf): Likewise.
32156         * math/s_csinhl.c (__csinhl): Likewise.
32157         * math/s_csinl.c (__csinl): Likewise.
32158         * math/libm-test.inc (ccos_test): Add more tests.
32159         (ccosh_test): Likewise.
32160         (csin_test): Likewise.
32161         (csinh_test): Likewise.
32163 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32165         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32166         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32167         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32168         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32169         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32170         powerpc/power5+/fpu folders.
32171         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32174 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32178 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32180         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32181         additions to variable.
32182         [$(config-machine) = x86_64] (modules-names): Likewise.
32183         ($(objpfx)tst-audit3): Remove dependency.
32184         ($(objpfx)tst-audit3.out): Likewise.
32185         ($(objpfx)tst-audit4): Likewise.
32186         ($(objpfx)tst-audit4.out): Likewise.
32187         ($(objpfx)tst-audit5): Likewise.
32188         ($(objpfx)tst-audit5.out): Likewise.
32189         ($(objpfx)tst-audit6): Likewise.
32190         ($(objpfx)tst-audit6.out): Likewise.
32191         ($(objpfx)tst-audit7): Likewise.
32192         ($(objpfx)tst-audit7.out): Likewise.
32193         (tst-audit3-ENV): Remove variable.
32194         (tst-audit4-ENV): Likewise.
32195         (tst-audit5-ENV): Likewise.
32196         (tst-audit6-ENV): Likewise.
32197         (tst-audit7-ENV): Likewise.
32198         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32199         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32200         addition to variable.
32201         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32202         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32203         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32204         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32205         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32206         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32207         tst-audit3, tst-audit4 and tst-audit5.
32208         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32209         tst-audit6 and tst-audit7.
32210         [$(subdir) = elf] (modules-names): Add audit modules for those
32211         tests.
32212         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32213         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32214         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32215         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32216         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32217         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32218         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32219         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32220         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32221         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32222         [$(subdir) = elf] (tst-audit3-ENV): New variable.
32223         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32224         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32225         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32226         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32227         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32228         Likewise.
32229         [$(subdir) = elf && $(config-cflags-avx) = yes]
32230         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32231         [$(subdir) = elf && $(config-cflags-avx) = yes]
32232         (CFLAGS-tst-auditmod4a.c): Likewise.
32233         [$(subdir) = elf && $(config-cflags-avx) = yes]
32234         (CFLAGS-tst-auditmod4b.c): Likewise.
32235         [$(subdir) = elf && $(config-cflags-avx) = yes]
32236         (CFLAGS-tst-auditmod6b.c): Likewise.
32237         [$(subdir) = elf && $(config-cflags-avx) = yes]
32238         (CFLAGS-tst-auditmod6c.c): Likewise.
32239         [$(subdir) = elf && $(config-cflags-avx) = yes]
32240         (CFLAGS-tst-auditmod7b.c): Likewise.
32241         * elf/tst-audit3.c: Move to ...
32242         * sysdeps/x86_64/tst-audit3.c: ... here.
32243         * elf/tst-audit4.c: Move to ...
32244         * sysdeps/x86_64/tst-audit4.c: ... here.
32245         * elf/tst-audit5.c: Move to ...
32246         * sysdeps/x86_64/tst-audit5.c: ... here.
32247         * elf/tst-audit6.c: Move to ...
32248         * sysdeps/x86_64/tst-audit6.c: ... here.
32249         * elf/tst-audit7.c: Move to ...
32250         * sysdeps/x86_64/tst-audit7.c: ... here.
32251         * elf/tst-auditmod3a.c: Move to ...
32252         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32253         * elf/tst-auditmod3b.c: Move to ...
32254         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32255         * elf/tst-auditmod4a.c: Move to ...
32256         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32257         * elf/tst-auditmod4b.c: Move to ...
32258         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32259         * elf/tst-auditmod5a.c: Move to ...
32260         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32261         * elf/tst-auditmod5b.c: Move to ...
32262         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32263         * elf/tst-auditmod6a.c: Move to ...
32264         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32265         * elf/tst-auditmod6b.c: Move to ...
32266         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32267         * elf/tst-auditmod6c.c: Move to ...
32268         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32269         * elf/tst-auditmod7a.c: Move to ...
32270         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32271         * elf/tst-auditmod7b.c: Move to ...
32272         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32274 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
32276         [BZ #15366]
32277         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32278         define unconditionally.
32279         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32280         define unconditionally.
32281         (INT8_C, INT16_C, etc.): Likewise.
32283 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
32285         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32286         __ehdr_start with hidden visibility.
32288         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32290 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
32292         * math/libm-test.inc (cos_test): Use accurate hex constants.
32293         (sincost_test): Likewise.
32295 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
32297         * math/libm-test.inc (catan_test): Add more tests.
32298         (catanh_test): Likewise.
32300         * math/s_catanf.c (__catanf): Use suffixed floating-point
32301         constants.
32302         * math/s_catanhf.c (__catanhf): Likewise.
32303         * math/s_catanhl.c (__catanhl): Likewise.
32304         * math/s_catanl.c (__catanl): Likewise.
32306         [BZ #15394]
32307         * math/s_catan.c (__catan): Calculate imaginary part of result
32308         with log1p not log unless computing log of number close to 0.
32309         * math/s_catanf.c (__catanf): Likewise.
32310         * math/s_catanl.c (__catanl): Likewise.
32311         * math/s_catanh.c (__catanh): Calculate real part of result with
32312         log1p not log unless computing log of number close to 0.
32313         * math/s_catanhf.c (__catanhf): Likewise.
32314         * math/s_catanhl.c (__catanhl): Likewise.
32315         * math/libm-test.inc (catan_test): Add more tests.
32316         (catanh_test): Likewise.
32317         * sysdeps/i386/fpu/libm-test-ulps: Update.
32318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32320 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32322         * benchtests/Makefile: Mention files in which fast and slow
32323         paths of math functions are implemented.
32325 2013-04-23  Roland McGrath  <roland@hack.frob.com>
32327         * sysdeps/posix/timespec_get.c: New file.
32329 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32331         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32332         POWER.
32333         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32334         for POWER.
32335         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32336         powerpc/power5/fpu folders.
32337         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32338         * benchtests/Makefile: Add modf testcase.
32339         * benchtests/bench-modf.c: New file: Benchmark test for mo
32341 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32343         [BZ #14888]
32344         * time/Makefile (tests): Add tst-strptime-whitespace.
32345         * time/strptime_l.c (get_number): Use ISSPACE.
32346         (__strptime_internal): Likewise.
32347         * time/tst-strptime-whitespace.c: New test case.
32349 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
32351         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32352         member.
32353         (_nss_files_init): Set it here.
32355 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
32357         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32358         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32359         unsigned.
32361 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
32363         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32365 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32367         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32368         size just once.
32370 2013-04-21  David S. Miller  <davem@davemloft.net>
32372         * po/ru.po: Update Russion translation from translation project.
32374 2013-04-17  Adam Conrad  <adconrad@0c3.net>
32376         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32377         and setfsgid.
32379 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
32381         * configure.in: Remove i386 configure warning. Remove i386 case.
32382         * configure: Regenerate.
32383         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32384         Add example to error message.
32385         * sysdeps/i386/configure: Regenerate.
32387 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32389         * benchtests/Makefile (bench): Add cos, tan, slowcos and
32390         slowtan.
32391         * benchtests/cos-inputs: New file.
32392         * benchtests/slowcos-inputs: New file.
32393         * benchtests/slowcos.c: New file.
32394         * benchtests/slowtan-inputs: New file.
32395         * benchtests/slowtan.c: New file.
32396         * benchtests/tan-inputs: New file.
32398 2013-04-16  Roland McGrath  <roland@hack.frob.com>
32400         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32401         considered kosher.
32403 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32405         * benchtests/Makefile: Include cppflags-iterator.mk to add
32406         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32408         * Makefile.in (bench-clean): New target.
32409         * benchtests/Makefile (bench-clean): Likewise.
32411 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
32413         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32415 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
32417         * stdio-common/tstdiomisc.c: Fix coding-style violation.
32419 2013-04-15  Andreas Schwab  <schwab@suse.de>
32421         * nscd/grpcache.c (cache_addgr): Properly check for short write.
32422         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32423         * nscd/pwdcache.c (cache_addpw): Likewise.
32424         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
32425         more than recsize.
32427 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32429         * benchtests/Makefile (bench): Write all output to
32430         bench-out.tmp together.
32432 2013-04-15  Andreas Schwab  <schwab@suse.de>
32434         * nscd/nscd.c (main): Don't fork again after closing files.
32436 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32438         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32440         * benchtests/Rules (bench-deps): Collect dependencies into a
32441         single variable.  Add Makefile to dependencies.
32442         ($(objpfx)bench-%.c): Depend on bench-deps.
32444 2013-04-12  Roland McGrath  <roland@hack.frob.com>
32445             Xavier Roche  <roche+kml2@exalead.com>
32447         [BZ #15361]
32448         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32449         just that it's a file descriptor.
32450         * manual/llio.texi (Synchronizing AIO Operations): Update description
32451         for EBADF error from aio_fsync.
32453 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32455         * Rules (bench): Move target definition...
32456         * benchtests/Makefile: ... here.
32458 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
32460         * math/libm-test.inc (cos_test): Fix PI/2 test.
32461         (sincos_test): Likewise.
32462         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32463         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32465 2013-04-11  Andreas Schwab  <schwab@suse.de>
32467         [BZ #13988]
32468         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32469         accept exponent character only when digits were seen.
32470         * stdio-common/Makefile (tests): Add bug26.
32471         * stdio-common/bug26.c: New file.
32473         [BZ #14293]
32474         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32475         non-freeable.
32477 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32479         * Makeconfig (rtld-prefix): Define built linker prefix.
32480         * Rules (run-bench): Use it.
32481         * math/Makefile (run-regen-ulps): Likewise.
32483         * Rules (bench): Remove eval.
32485 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32486             Roland McGrath  <roland@hack.frob.com>
32487             Ondrej Bilka  <neleai@seznam.cz>
32489         [BZ #15346]
32490         * time/getdate.c: Include ctype.h and alloca.h.
32491         (__getdate_r): Trim leading and trailing spaces of input.
32492         * time/tst-getdate.c (tests): Add tests with leading and
32493         trailing spaces.
32495 2013-04-08  Roland McGrath  <roland@hack.frob.com>
32497         [BZ #14280]
32498         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32499         when computing value.
32501 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32503         * math/README.libm-test (How can I generate "libm-test-ulps"?):
32504         Use testrun.sh to run libm tests.
32506         [BZ #15309]
32507         * elf/dl-open.c (dl_open_worker): memset all of seen array.
32509 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
32511         [BZ #15264]
32512         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32514 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32516         * Makefile.in (regen-ulps): New target.
32517         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32518         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32519         [ifneq (no,$(PERL)] (regen-ulps): New target.
32520         [ifeq (no,$(PERL)] (regen-ulps): New target.
32521         * math/libm-test.inc (ulps_file_name): Define.
32522         (output_dir): New variable.
32523         (options): Add "output-dir" option.
32524         (parse_opt): Handle 'o' case.
32525         (main): If output_dir is non-NULL use it as a prefix
32526         otherwise use "".
32527         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32529 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32531         [BZ #10060, #10062]
32532         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32533         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32534         fail configure if __sync_val_compare_and_swap is not inlined.
32535         * sysdeps/i386/configure: Regenerate.
32536         * configure.in: Build for i686 when configured for i386.
32537         * configure: Regenerate.
32538         * README: Remove i386 reference.
32540 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32542         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32543         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32545 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32547         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32548         (lmsnanval): New variables.
32549         (F): Add conversion tests.
32550         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32551         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32553         * stdio-common/tstdiomisc.c (F): Properly collect individual
32554         tests' results.
32556         [BZ #14686, #15336]
32557         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32558         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32559         Instead, use input NaN values or generate a qNaN by arithmetic
32560         operation.  Also fix bugs to comply with the standard.
32561         * math/libm-test.inc (remainder_test): Add more tests.
32563         [BZ #15335, #15342]
32564         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32565         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32566         input NaN values or generate a qNaN by arithmetic operation.
32568         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32569         unreachable code.
32571         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32572         definitions.
32574 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
32576         [BZ #14478]
32577         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32578         underflowed result.
32579         * math/s_cexpf.c (__cexpf): Likewise.
32580         * math/s_cexpl.c (__cexpl): Likewise.
32581         * math/libm-test.inc (cexp_test): Add more tests.
32583 2013-04-03  Andreas Schwab  <schwab@suse.de>
32585         [BZ #15330]
32586         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32587         order arrays from heap if bigger than alloca cutoff.
32589 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
32591         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32592         (SNAN_TESTS_double): Refer to GCC PR56831.
32593         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32594         GCC PR56828.
32596 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32598         * Rules (bench): Move bench.out after the run is complete.
32600         * Rules (bench): Echo currently running benchmark.
32602         * benchtests/Makefile (bench): Add atan and slowatan.
32603         * benchtests/atan-inputs: New file.
32604         * benchtests/slowatan-inputs: New file.
32605         * benchtests/slowatan.c: New file.
32607         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32608         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32609         its value.
32611         [BZ #15305]
32612         * sysdeps/unix/sysv/linux/kernel-features.h
32613         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32614         __ASSUME_XFS_RESTRICTED_CHOWN.
32615         * sysdeps/unix/sysv/linux/pathconf.c
32616         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32617         Save and restore errno.
32619 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
32621         [BZ #15327]
32622         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32623         arguments using __kernel_casinh.
32624         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32625         arguments using __kernel_casinhf.
32626         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32627         arguments using __kernel_casinhl.
32628         * math/libm-test.inc (cacosh_test): Add more tests.
32629         * sysdeps/i386/fpu/libm-test-ulps: Update.
32630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32632 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32634         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32635         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32637         * bench/Makefile (bench): Add sin and slowsin.
32638         * benchtests/sin-inputs: New file.
32639         * benchtests/slowsin-inputs: New file.
32640         * benchtests/slowsin.c: New file.
32642         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32643         (bench): Add slowexp and slowpow.
32644         (exp-ITER): Increase iterations.
32645         (pow-ITER): Likewise.
32646         * benchtests/exp-inputs: Change input.
32647         * benchtests/pow-inputs: Likewise.
32648         * benchtests/slowexp-inputs: New file.
32649         * benchtests/slowexp.c: New file.
32650         * benchtests/slowpow-inputs: New file.
32651         * benchtests/slowpow.c: New file.
32653 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32655         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32656         instructions.
32657         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32658         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32659         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32660         * benchtests/Makefile: Add rint benchtest.
32661         * benchtests/rint-inputs: Input for rint benchtest.
32663 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32665         * Versions.def (libm): Add GLIBC_2.18.
32666         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32667         hidden libm prototypes.
32668         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32669         * math/Makefile (libm-calls): Add s_issignaling.
32670         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32671         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
32672         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32673         declaration.
32674         * math/math.h [__USE_GNU] (issignaling): New macro.
32675         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32676         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32677         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32678         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32679         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32680         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32681         * manual/arith.texi (issignaling): New section.
32682         * manual/libm-err-tab.pl (@all_functions): Update comment.
32683         * math/gen-libm-test.pl (parse_args): Apply special handling for
32684         issignaling.
32685         * math/libm-test.inc (print_float, issignaling_test): New
32686         functions.
32687         (check_float_internal): Add issignaling checks.
32688         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32689         default definition.
32690         * sysdeps/powerpc/math-tests.h: New file.
32691         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32692         tests.
32693         * math/test-snan.c (TEST_FUNC): Likewise.
32695 2013-03-30  David S. Miller  <davem@davemloft.net>
32697         * po/de.po: Update from translation team.
32699 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
32701         [BZ #10357]
32702         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32703         imaginary part less than 1.0 and real part less than 0.5
32704         specially.
32705         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32706         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32707         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32708         (cacos_test): Add more tests.
32709         (casin_test): Likewise.
32710         (casinh_test): Likewise.
32711         * sysdeps/i386/fpu/libm-test-ulps: Update.
32712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32714 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32716         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32717         ONE with its value.
32719         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32720         (__pow_mp): Replace ONE and MONE with their values.
32721         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32723         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32724         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32725         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32726         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32728         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32730         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32731         (__pow_mp): Replace ZERO and MZERO with their values.
32732         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32733         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32734         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32735         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32736         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32737         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32738         (__sqr): Likewise.
32740         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32742         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32744 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32746         * include/stdlib.h [!SHARED] (__call_tls_dtors):
32747         Declare with __attribute__ ((weak)).
32748         * stdlib/exit.c (__libc_atexit) [!SHARED]:
32749         Call __call_tls_dtors only if it's not NULL.
32751 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32753         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32754         didn't do it already, then set _dl_phdr and _dl_phnum based on the
32755         magic __ehdr_start linker symbol if it's defined.
32756         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32757         them up here if it was already done.
32759         * elf/dl-support.c (_dl_phdr): Make pointer to const.
32760         (_dl_aux_init): Use const in cast when setting it.
32761         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32762         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32763         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32765         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32766         Declare them here.
32767         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32768         * csu/libc-tls.c: Nor here.
32769         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32771         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32772         (__libc_message): Never call vsyslog.
32774 2013-03-28  Alan Modra  <amodra@gmail.com>
32776         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32777         Define as empty.
32778         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32779         Likewise.
32781 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32783         [BZ #15214]
32784         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32785         underflow.
32786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32788 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32790         [BZ #15304]
32791         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32792         Don't add gid passed as argument.
32794         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32796 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
32798         [BZ #15307]
32799         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32800         imaginary part between 1.0 and 1.5 and real part less than 0.5
32801         specially.
32802         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32803         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32804         * math/libm-test.inc (cacos_test): Add more tests.
32805         (casin_test): Likewise.
32806         (casinh_test): Likewise.
32807         * sysdeps/i386/fpu/libm-test-ulps: Update.
32808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32810 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32812         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32813         constants.
32814         (norm): Likewise.
32815         (denorm): Likewise.
32816         (__dbl_mp): Likewise.
32817         (add_magnitudes): Likewise.
32818         (sub_magnitudes): Likewise.
32819         (__add): Likewise.
32820         (__sub): Likewise.
32821         (__mul): Likewise.
32822         (__sqr): Likewise.
32823         (__inv): Likewise.
32824         (__dvd): Likewise.
32826         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32827         commented code.
32828         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32829         (__dubcos): Likewise.
32830         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32831         (__ieee754_acos): Likewise.
32832         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32833         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32834         (__exp1): Likewise.
32835         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32836         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32837         (log1): Likewise.
32838         (my_log2): Likewise.
32839         (checkint): Likewise.
32840         * sysdeps/ieee754/dbl-64/e_remainder.c
32841         (__ieee754_remainder): Likewise.
32842         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32843         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32844         (bsloww): Likewise.
32845         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32847         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32848         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32849         MANTISSA_STORE_T to store computations on mantissa.  Use
32850         macros for rounding and division.
32851         (denorm): Likewise.
32852         (__dbl_mp): Likewise.
32853         (add_magnitudes): Likewise.
32854         (sub_magnitudes): Likewise.
32855         (__mul): Likewise.
32856         (__sqr): Likewise.
32857         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32858         powers of two in terms of TWOPOW macro.
32859         (mp_no): Make type of mantissa as MANTISSA_T.
32860         [!RADIXI]: Define RADIXI.
32861         [!TWO52]: Define TWO52.
32862         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32864 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32866         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32867         llroundl symbol when building for PPC32.
32869 2013-03-24  Mark H Weaver  <mhw@netris.org>
32871         * manual/arith.texi (Normalization Functions): Fix prototypes for
32872         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32874 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32876         [BZ #13889]
32877         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32878         high value to check if expl overflow.
32879         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32880         to check for underflow and overflow.
32881         * math/libm-test.inc: Add exp test.
32883 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
32885         [BZ #11120]
32886         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32887         with NOT_IN_libc.
32889 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32891         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32892         symbol.
32894 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32896         * math/gen-libm-test.pl (parse_args, special_functions): Properly
32897         wrap blocks consisting of several statements.
32899         * sysdeps/generic/math-tests.h: New file.
32900         * sysdeps/i386/fpu/math-tests.h: Likewise.
32901         * math/test-snan.c: Include it.
32902         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32904 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32906         [BZ #15285]
32907         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32908         (__ieee754_j0l): Do not improve calculations using cos of twice
32909         input for inputs above LDBL_MAX / 2.0L.
32910         (__ieee754_y0l): Likewise.
32911         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32912         (__ieee754_j1l): Do not improve calculations using cos of twice
32913         input for inputs above LDBL_MAX / 2.0L.
32914         (__ieee754_y1l): Likewise.
32915         * math/libm-test.inc (j0_test): Add another test.
32916         (j1_test): Likewise.
32917         (y0_test): Likewise.
32918         (y1_test): Likewise.
32919         * sysdeps/i386/fpu/libm-test-ulps: Update.
32921 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32923         * Rules ($(objpfx)bench-%.c): Include code from a C source
32924         file.
32926 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32928         [BZ #15287]
32929         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32930         imaginary part 1.0 and real part less than 0.5 specially.
32931         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32932         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32933         * math/libm-test.inc (cacos_test): Add more tests.
32934         (casin_test): Likewise.
32935         (casinh_test): Likewise.
32936         * sysdeps/i386/fpu/libm-test-ulps: Update.
32937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32939 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32941         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32942         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32944 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
32946         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32947         * config.make.in (config-cflags-sse4): Remove variable.
32948         (config-cflags-avx): Likewise.
32949         (config-cflags-sse2avx): Likewise.
32950         (config-cflags-novzeroupper): Likewise.
32951         (config-asflags-i686): Likewise.
32952         (have-mfma4): Likewise.
32953         (have-as-vis3): Likewise.
32954         (MIG): Likewise.
32955         * configure.in (MIG): Do not AC_SUBST.
32956         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32957         (libc_cv_cc_sse4): Do not AC_SUBST.
32958         (libc_cv_cc_avx): Likewise.
32959         (libc_cv_cc_sse2avx): Likewise.
32960         (libc_cv_cc_novzeroupper): Likewise.
32961         (libc_cv_cc_fma4): Likewise.
32962         (libc_cv_as_i686): Likewise.
32963         (libc_cv_sparc_as_vis3): Likewise.
32964         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32965         LIBC_CONFIG_VAR.
32966         (config-asflags-i686): Likewise.
32967         (config-cflags-avx): Likewise.
32968         (config-cflags-sse2avx): Likewise.
32969         (have-mfma4): Likewise.
32970         (config-cflags-novzeroupper): Likewise.
32971         * sysdeps/mach/configure.in (MIG): Likewise.
32972         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32973         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32974         LIBC_CONFIG_VAR.
32975         (config-cflags-avx): Likewise.
32976         (config-cflags-sse2avx): Likewise.
32977         (have-mfma4): Likewise.
32978         (config-cflags-novzeroupper): Likewise.
32979         * configure: Regenerated.
32980         * sysdeps/i386/configure: Likewise.
32981         * sysdeps/mach/configure: Likewise.
32982         * sysdeps/sparc/configure: Likewise.
32983         * sysdeps/x86_64/configure: Likewise.
32985 2013-03-20  Roland McGrath  <roland@hack.frob.com>
32987         [BZ #14812]
32988         * locale/programs/localedef.c (options): Put N_ translation marker
32989         on argument names, not just descriptions.
32991 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32993         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32995 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
32997         [BZ #14176]
32998         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33000 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33002         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33003         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33004         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33005         [!BEFORE_ABORT] (before_abort): New function.
33006         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33007         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33008         (writev_for_fatal): New function.
33009         (WRITEV_FOR_FATAL): New macro; call that.
33010         (backtrace_and_maps): New function.
33011         (BEFORE_ABORT): New macro; call that.
33012         (struct str_list): Type removed.
33013         (__libc_message, __libc_fatal): Functions removed.
33014         Include <sysdeps/posix/libc_fatal.c> instead.
33016 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33018         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33019         constants.
33020         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33021         double constants.
33023 2013-03-19  Andreas Schwab  <schwab@suse.de>
33025         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33026         * sysdeps/gnu/configure: Regenerate.
33028         * configure.in: Substitute libc_cv_rtlddir.
33029         * configure: Regenerate.
33030         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33031         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33032         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33033         * elf/Makefile (install-others, CFLAGS-interp.c)
33034         (ldso_install, common-ldd-rewrite): Likewise.
33035         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33036         $(inst_slibdir)/$(rtld-installed-name).
33037         * scripts/rellns-sh: Add -p option.
33038         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33039         for source.
33041 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33043         * manual/nptl.texi: Renamed to ...
33044         * manual/threads.texi: ... this.
33045         * manual/Makefile (chapters): Update.
33047 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33049         [BZ #14812]
33050         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33051         on argument names, not just descriptions.
33052         * malloc/memusagestat.c (options): Likewise.
33053         * nss/getent.c (options): Likewise.
33055 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33057         [BZ #14812]
33058         * iconv/iconv_prog.c (options): Put N_ translation marker
33059         on argument names, not just descriptions.
33060         * iconv/iconvconfig.c (options): Likewise.
33062 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33064         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33065         implementation which is faster on all x86_64 architectures.
33066         Tested on AMD, Intel Nehalem, SNB, IVB.
33067         * sysdeps/x86_64/strnlen.S: Likewise.
33069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33070         Remove all multiarch strlen and strnlen versions.
33071         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33072         Remove strlen and strnlen related parts.
33074         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33075         Inline strlen part.
33076         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33078         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33079         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33080         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33081         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33082         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33083         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33085 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33087         * manual/memory.texi (Malloc Tunable Parameters):
33088         Sort parameters alphabetically. Add comments for missing entries.
33090 2013-03-17  David S. Miller  <davem@davemloft.net>
33092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33094 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33096         [BZ #15283]
33097         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33098         for arguments at most half maximum finite value.
33099         * math/libm-test.inc (j0_test): Add more tests.
33100         (j1_test): Likewise.
33101         (y0_test): Likewise.
33102         (y1_test): Likewise.
33103         * sysdeps/i386/fpu/libm-test-ulps: Update.
33104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33106         [BZ #14155]
33107         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33108         1 / x and functions P and Q for arguments above 0x1p256L.
33109         (__ieee754_y0l): Likewise.
33110         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33111         (__ieee754_y1l): Likewise.
33112         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33113         (j1_test): Likewise.
33114         (y0_test): Likewise.
33115         (y1_test): Likewise.
33117 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
33119         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33120         variable.
33122 2013-03-15  Roland McGrath  <roland@hack.frob.com>
33124         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33125         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33126         zero since it's initialized to EXEC_PAGESIZE.
33128         * sysdeps/unix/sysv/linux/ldsodefs.h
33129         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33130         * sysdeps/generic/ldsodefs.h: ... here.
33132 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
33134         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33136         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33137         math/test-snan.c.
33138         * math/test-snan.c: Renamed from
33139         sysdeps/powerpc/fpu/test-powerpc-snan.c.
33140         * math/Makefile (tests): Add test-snan.
33141         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33142         test-powerpc-snan.
33144         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33145         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
33146         functions.
33147         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
33148         __builtin_nan family of functions.
33149         * math/libm-test.inc (initialize): Initialize qnan_value with
33150         __builtin_nan family of functions.
33151         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33152         Remove variables.
33153         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33154         Remove functions.
33155         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33156         storage class.  Initialize qNaN_var and sNaN_var with
33157         __builtin_nan and __builtin_nans families of functions,
33158         respectively.
33160         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33161         (sqrt_test): Remove duplicate test with qNaN input.
33162         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33163         (round_test, signbit_test, significand_test): Note missing +/-Inf
33164         as well as qNaN tests.
33166         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33167         qNaN_var.  Fix a few strings, too.
33168         * math/libm-test.inc (nan_value): Rename to qnan_value.
33169         * math/gen-libm-test.pl (%beautify): Adjust to that.
33170         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33171         * math/test-misc.c (main): Likewise.
33172         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33173         to __qnan_bytes, and __qnan_union, respectively.
33174         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33175         Likewise.
33176         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33177         and lqnanval, respectively.
33178         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33179         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33180         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33181         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33183         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33184         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33185         doubles.
33187         * math/test-misc.c (main): Fix copy'n'pastos.
33188         * misc/tst-efgcvt.c (special): Likewise.
33190         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33191         Remove declarations.
33193 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33195         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33196         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33197         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33198         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33200 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33202         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33203         macro to return vdso values correctly in IFUNC implementations.
33204         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33205         Optimization by using IFUNC.
33207 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33208             Richard Henderson  <rth@redhat.com>
33209             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33211         * Makefile.in (bench): New target.
33212         * NEWS: Mention the benchmark framework.
33213         * Rules (bench): Likewise.
33214         (binaries-bench): Generate binaries for functions to
33215         benchmark.
33216         * benchtests/Makefile: New makefile for benchmark tests.
33217         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33218         programs.
33219         * benchtests/exp-inputs: New input file for EXP function.
33220         * benchtests/pow-inputs: New input file for POW function.
33221         * scripts/bench.pl: New script to generate source files for
33222         benchmark programs.
33224 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33226         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33227         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33228         computations on mantissa.  Use macros for rounding and
33229         division.
33230         (denorm): Likewise.
33231         (__dbl_mp): Likewise.
33232         (add_magnitudes): Likewise.
33233         (sub_magnitudes): Likewise.
33234         (__mul): Likewise.
33235         (__sqr): Likewise.
33236         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33237         powers of two in terms of TWOPOW macro.
33238         (mp_no): Make type of mantissa as MANTISSA_T.
33239         [!RADIXI]: Define RADIXI.
33240         [!TWO52]: Define TWO52.
33241         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33243         * manual/nptl.texi (cindex): Modify threads to pthreads.
33245 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
33247         * sysdeps/x86_64/preconfigure: Regenerated.
33249 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
33251         [BZ #14155]
33252         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33253         0x1p28 and above.
33254         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33255         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33256         0x1p28 and above.
33257         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33258         * math/libm-test.inc (j0_test): Do not allow one spurious
33259         underflow exception.
33260         (y1_test): Likewise.
33262 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33264         * manual/Makefile (chapters): Add nptl.
33265         * manual/debug.texi (Debugging Support): Add link to Threads
33266         chapter.
33267         * manual/nptl.texi: New file.
33269         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33271 2013-03-14  Petr Baudis  <pasky@ucw.cz>
33273         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33274         for non-NULL pointer before the memory validity test. Pointed
33275         out by Holger Brunck <holger.brunck@keymile.com>.
33277 2013-03-13  Andreas Schwab  <schwab@suse.de>
33279         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33280         instead of .os.
33282 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
33284         * timezone/zic.c: Update from tzcode 2013b.
33286 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
33288         * manual/install.texi (Configuring and compiling):
33289         Mention i686 and i586.
33290         * INSTALL: Regenerate.
33292 2013-03-12  Roland McGrath  <roland@hack.frob.com>
33294         * sysdeps/init_array/elf-init.c: New file.
33295         * csu/elf-init.c
33296         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33297         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33299         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33300         __gmon_start__ as global, but as static with a .preinit_array pointer.
33301         * sysdeps/init_array/gmon-start.c: New file.  Use that.
33302         * sysdeps/init_array/crti.S: New file, empty except for comments.
33303         * sysdeps/init_array/crtn.S: Likewise.
33305 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
33307         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33308         definining bcopy.
33309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33310         Remove Prefer_SSE_for_memop.
33311         * sysdeps/x86_64/multiarch/init-arch.h: Remove
33312         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33313         HAS_PREFER_SSE_FOR_MEMOP.
33314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33315         memset-x86-64.
33316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33317         Remove bzero, memset ifunc support.
33318         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33319         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33320         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33321         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33323 2013-03-11  Andreas Schwab  <schwab@suse.de>
33325         [BZ #15234]
33326         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33327         by SHLIB_COMPAT.
33328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33329         (GLIBC_2.16): Remove pthread_atfork.
33331 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33333         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33334         (ptestcases.h): Likewise.
33336 2013-03-08  Roland McGrath  <roland@hack.frob.com>
33338         * Makeconfig ($(common-objpfx)config.status): Depend on
33339         sysdeps/*/preconfigure{,.in} too.
33341 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
33343         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33344         (__free_hook): Use void * instead of __malloc_ptr_t.
33345         (__malloc_hook): Likewise.
33346         (__realloc_hook): Likewise.
33347         (__memalign_hook): Likewise.
33348         (__after_morecore_hook): Likewise.
33349         * malloc/arena.c (save_malloc_hook): Likewise.
33350         (save_free_hook): Likewise.
33351         * malloc/hooks.c (malloc_hook_ini): Likewise.
33352         (realloc_hook_ini): Likewise.
33353         (memalign_hook_ini): Likewise.
33354         * malloc/malloc.c (malloc_hook_ini): Likewise.
33355         (realloc_hook_ini): Likewise.
33356         (memalign_hook_ini): Likewise.
33357         (__free_hook): Likewise.
33358         (__malloc_hook): Likewise.
33359         (__realloc_hook): Likewise.
33360         (__memalign_hook): Likewise.
33361         (__libc_malloc): Likewise.
33362         (__libc_free): Likewise.
33363         (__libc_realloc): Likewise.
33364         (__libc_memalign): Likewise.
33365         (__libc_valloc): Likewise.
33366         (__libc_pvalloc): Likewise.
33367         (__libc_calloc): Likewise.
33368         (__posix_memalign): Likewise.
33369         * malloc/morecore.c (__sbrk): Likewise.
33370         (__default_morecore): Likewise.
33372         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33374         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33375         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33376         __malloc_ptrdiff_t.
33378         * malloc/malloc.h (__malloc_size_t): Remove macro.
33379         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33380         __malloc_size_t.
33381         (old_memalign_hook): Likewise.
33382         (old_realloc_hook): Likewise.
33383         (struct hdr): Likewise.
33384         (flood): Likewise.
33385         (mallochook): Likewise.
33386         (memalignhook): Likewise.
33387         (reallochook): Likewise.
33388         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33389         (tr_old_realloc_hook): Likewise.
33390         (tr_old_memalign_hook): Likewise.
33391         (tr_mallochook): Likewise.
33392         (tr_reallochook): Likewise.
33393         (tr_memalignhook): Likewise.
33395 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33397         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33398         default_ldbl_pack and using as default implementation.
33399         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33400         implementation.
33401         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33402         redundant definition.
33403         (ldbl_insert_mantissa): Likewise.
33404         (ldbl_canonicalize): Likewise.
33405         (ldbl_nearbyint): Likewise.
33406         (ldbl_pack): Rename to ldbl_pack_ppc.
33407         (ldbl_unpack): Rename to ldbl_unpack_ppc.
33408         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33409         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33411 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33414         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33415         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33416         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33418         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33419         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33420         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33422 2013-03-07  Andreas Jaeger  <aj@suse.de>
33424         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33425         bits/mman-linux.h.
33427 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33429         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33430         Include mpa.h and declare __MPEXP.
33431         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33432         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33433         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33434         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33435         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33436         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33437         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33439         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33440         (__slowpow): Use long double EXPL and LOGL functions to
33441         compute POW.
33442         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33443         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33444         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33445         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33446         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33447         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33450         intermediate variable to calculate exponent.
33451         (__sqr): Likewise.
33452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33453         Likewise.
33454         (__sqr): Likewise.
33456         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33457         [!NO__SQR]: Define __sqr.
33458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33459         and NO__SQR.  Remove all code except __mul and __sqr.  Include
33460         sysdeps/ieee754/dbl-64/mpa.c.
33461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33463         [BZ #12723]
33464         * posix/Makefile (tests): Add tst-pathconf.
33465         * posix/tst-pathconf.c: New test case.
33466         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33467         _PC_PIPE_BUF.
33468         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33470 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
33472         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33474 2013-03-06  Andreas Jaeger  <aj@suse.de>
33476         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33477         definition via __MAP_ANONYMOUS.
33479         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33480         it's not part of Linux headers.
33482         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33483         (MAP_HUGE_MASK): Define.
33485         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33486         Define.
33487         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33488         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33489         Define.
33490         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33491         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33492         Define.
33493         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33495         Define.
33496         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33498         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33499         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33500         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33501         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33502         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33503         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33505         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33506         Handle f2fs.
33508         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33509         Handle f2fs and efivarfs.
33511         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33512         f2fs.
33514         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33515         (EFIVARFS_MAGIC): Add.
33516         (F2FS_LINK_MAX): Add.
33518 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33520         * stdio-common/vfprintf.c: Replace __builtin_expect with
33521         __glibc_unlikely.
33523 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
33525         [BZ #13550]
33526         * sysdeps/generic/bp-sym.h: Remove file.
33527         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33528         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33529         <bp-sym.h> and <bp-asm.h>.
33530         (__longjmp): Don't use BP_SYM.
33531         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33532         and <bp-asm.h>.
33533         (memcpy): Don't use BP_SYM.
33534         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33535         <bp-sym.h> and <bp-asm.h>.
33536         (memcpy): Don't use BP_SYM.
33537         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33538         <bp-asm.h>.
33539         (memcpy): Don't use BP_SYM.
33540         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33541         <bp-asm.h>.
33542         (memset): Don't use BP_SYM.
33543         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33544         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33545         (__bzero): Don't use BP_SYM.
33546         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33547         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33548         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33549         <bp-sym.h> and <bp-asm.h>.
33550         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33551         pointers.
33552         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33553         <bp-sym.h> and <bp-asm.h>.
33554         (memcpy): Don't use BP_SYM.
33555         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33556         <bp-sym.h> and <bp-asm.h>.
33557         (memset): Don't use BP_SYM.
33558         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33559         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33560         (__bzero): Don't use BP_SYM.
33561         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33562         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33563         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33564         <bp-sym.h> and <bp-asm.h>.
33565         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33566         pointers.
33567         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33568         <bp-sym.h> and <bp-asm.h>.
33569         (memcpy): Don't use BP_SYM.
33570         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33571         <bp-sym.h> and <bp-asm.h>.
33572         (memset): Don't use BP_SYM.
33573         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33574         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33575         (__bzero): Don't use BP_SYM.
33576         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33577         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33578         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33579         <bp-sym.h> and <bp-asm.h>.
33580         (__memchr): Don't use BP_SYM.
33581         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33582         <bp-sym.h> and <bp-asm.h>.
33583         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33584         pointers.
33585         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33586         <bp-sym.h> and <bp-asm.h>.
33587         (memcpy): Don't use BP_SYM.
33588         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33589         <bp-sym.h> and <bp-asm.h>.
33590         (__mempcpy): Don't use BP_SYM.
33591         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33592         <bp-sym.h> and <bp-asm.h>.
33593         (__memrchr): Don't use BP_SYM.
33594         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33595         <bp-sym.h> and <bp-asm.h>.
33596         (memset): Don't use BP_SYM.
33597         (__bzero): Likewise.
33598         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33599         <bp-sym.h> and <bp-asm.h>.
33600         (__rawmemchr): Don't use BP_SYM.
33601         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33602         <bp-sym.h> and <bp-asm.h>.
33603         (__STRCMP): Don't use BP_SYM.
33604         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33605         <bp-sym.h> and <bp-asm.h>.
33606         (strchr): Don't use BP_SYM.
33607         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33608         <bp-sym.h> and <bp-asm.h>.
33609         (__strchrnul): Don't use BP_SYM.
33610         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33611         <bp-sym.h> and <bp-asm.h>.
33612         (strlen): Don't use BP_SYM.
33613         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33614         <bp-sym.h> and <bp-asm.h>.
33615         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33616         pointers.
33617         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33618         <bp-sym.h> and <bp-asm.h>.
33619         (__strnlen): Don't use BP_SYM.
33620         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33621         <bp-sym.h> and <bp-asm.h>.
33622         (__GI__setjmp): Don't use BP_SYM.
33623         (_setjmp): Likewise.
33624         (__sigsetjmp): Likewise.
33625         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33626         (L(start_addresses)): Don't use BP_SYM.
33627         (_start): Likewise.
33628         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33629         <bp-asm.h>.
33630         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33631         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33632         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33633         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33634         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33635         <bp-asm.h>.
33636         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33637         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
33638         about bounded pointers.
33639         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33640         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33641         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33642         <bp-asm.h>.
33643         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33644         about bounded pointers.  Remove GKM FIXME comments.
33645         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33646         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33647         <bp-asm.h>.
33648         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33649         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
33650         Remove GKM FIXME comments.
33651         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33652         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33653         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33654         <bp-asm.h>.
33655         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33656         about bounded pointers.  Remove GKM FIXME comment.
33657         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33658         and <bp-asm.h>.
33659         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33660         pointers.
33661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33662         <bp-sym.h> and <bp-asm.h>.
33663         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33665         <bp-sym.h> and <bp-asm.h>.
33666         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33667         comment.
33669 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33671         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33672         call free(NULL).
33674 2013-03-05  David S. Miller  <davem@davemloft.net>
33676         * po/es.po: Update from translation team.
33678 2013-03-05  Andreas Jaeger  <aj@suse.de>
33680         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33681         <bits/mman-linux.h>.
33682         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33683         is fine.
33684         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33685         <bits/mman-linux.h> to end of file.
33686         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33687         is fine.
33688         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33689         <bits/mman-linux.h> to end of file.
33690         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33691         is fine.
33692         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33693         <bits/mman-linux.h> to end of file.
33695         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33696         (MCL_CURRENT, MCL_FUTURE): Define here.
33698 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33700         [BZ #15232]
33701         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33702         attribute_hidden.
33703         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33705 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33707         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33708         fourth parameter needed for rt_sigprocmask syscall.
33709         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33710         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33711         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33712         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33713         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33714         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33716 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
33718         [BZ #13550]
33719         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33720         comment about bounded pointers.
33721         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33722         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33724 2013-03-04  Andreas Jaeger  <aj@suse.de>
33726         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33727         common definitions.
33729         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33730         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33731         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33732         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33733         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33734         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33736 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33738         [BZ #15055]
33739         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33740         __ieee754_sqrl instead of __sqrl.
33742 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
33744         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33745         * sysdeps/powerpc/fpu_control.h: ... here.
33746         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33747         * sysdeps/powerpc/bits/fenvinline.h: ... here.
33748         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33749         * sysdeps/powerpc/bits/mathinline.h: ... here.
33751 2013-03-01  Roland McGrath  <roland@hack.frob.com>
33753         * elf/dl-hwcaps.c (_dl_important_hwcaps):
33754         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33755         to just [NEED_DL_SYSINFO_DSO].
33756         * elf/dl-support.c: Likewise.
33757         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33758         * elf/rtld.c (dl_main): Likewise.
33759         * elf/setup-vdso.h (setup_vdso): Likewise.
33760         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33761         * sysdeps/unix/sysv/linux/dl-sysdep.c
33762         (_dl_discover_osversion): Likewise.
33764 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
33766         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33767         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33769 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33771         * NEWS: Mention libm performance improvements and non-x86 PI
33772         futex support.
33774         * csu/libc-start.c (__pthread_initialize_minimal): Change
33775         function arguments.
33776         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33778 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
33780         [BZ #13550]
33781         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33782         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33783         <bp-sym.h> and <bp-asm.h>.
33784         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33785         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33786         and <bp-asm.h>.
33787         (memcpy): Don't use BP_SYM.
33788         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33789         <bp-asm.h>.
33790         (__mpn_add_n): Don't use BP_SYM.
33791         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33792         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33793         and <bp-asm.h>.
33794         (__mpn_addmul_1): Don't use BP_SYM.
33795         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33796         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33797         <bp-sym.h>.
33798         (_setjmp): Don't use BP_SYM.
33799         (__novmx_setjmp): Likewise.
33800         (__GI__setjmp): Likewise.
33801         (__vmx_setjmp): Likewise.
33802         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33803         <bp-sym.h>.
33804         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33805         (__bzero): Don't use BP_SYM.
33806         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33807         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33808         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33809         <bp-sym.h> and <bp-asm.h>.
33810         (memcpy): Don't use BP_SYM.
33811         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33812         <bp-sym.h> and <bp-asm.h>.
33813         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33814         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33815         <bp-sym.h> and <bp-asm.h>.
33816         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33817         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33818         <bp-asm.h>.
33819         (__mpn_lshift): Don't use BP_SYM.
33820         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33821         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33822         <bp-asm.h>.
33823         (memset): Don't use BP_SYM.
33824         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33825         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33826         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33827         <bp-asm.h>.
33828         (__mpn_mul_1): Don't use BP_SYM.
33829         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33830         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33831         <bp-sym.h> and <bp-asm.h>.
33832         (memcmp): Don't use BP_SYM.
33833         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33834         <bp-sym.h> and <bp-asm.h>.
33835         (memcpy): Don't use BP_SYM.
33836         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33837         <bp-sym.h> and <bp-asm.h>.
33838         (memset): Don't use BP_SYM.
33839         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33840         <bp-sym.h> and <bp-asm.h>.
33841         (strncmp): Don't use BP_SYM.
33842         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33843         <bp-sym.h> and <bp-asm.h>.
33844         (memcpy): Don't use BP_SYM.
33845         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33846         <bp-sym.h> and <bp-asm.h>.
33847         (memset): Don't use BP_SYM.
33848         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33849         <bp-sym.h> and <bp-asm.h>.
33850         (__memchr): Don't use BP_SYM.
33851         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33852         <bp-sym.h> and <bp-asm.h>.
33853         (memcmp): Don't use BP_SYM.
33854         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33855         <bp-sym.h> and <bp-asm.h>.
33856         (memcpy): Don't use BP_SYM.
33857         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33858         <bp-sym.h> and <bp-asm.h>.
33859         (__mempcpy): Don't use BP_SYM.
33860         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33861         <bp-sym.h> and <bp-asm.h>.
33862         (__memrchr): Don't use BP_SYM.
33863         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33864         <bp-sym.h> and <bp-asm.h>.
33865         (memset): Don't use BP_SYM.
33866         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33867         <bp-sym.h> and <bp-asm.h>.
33868         (__rawmemchr): Don't use BP_SYM.
33869         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33870         <bp-sym.h> and <bp-asm.h>.
33871         (__STRCMP): Don't use BP_SYM.
33872         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33873         <bp-sym.h> and <bp-asm.h>.
33874         (strchr): Don't use BP_SYM.
33875         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33876         <bp-sym.h> and <bp-asm.h>.
33877         (__strchrnul): Don't use BP_SYM.
33878         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33879         <bp-sym.h> and <bp-asm.h>.
33880         (strlen): Don't use BP_SYM.
33881         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33882         <bp-sym.h> and <bp-asm.h>.
33883         (strncmp): Don't use BP_SYM.
33884         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33885         <bp-sym.h> and <bp-asm.h>.
33886         (__strnlen): Don't use BP_SYM.
33887         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33888         <bp-asm.h>.
33889         (__mpn_rshift): Don't use BP_SYM.
33890         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33891         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33892         <bp-sym.h> and <bp-asm.h>.
33893         (__sigsetjmp): Don't use BP_SYM.
33894         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33895         (L(start_addresses)): Don't use BP_SYM.
33896         (_start): Likewise.
33897         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33898         <bp-asm.h>.
33899         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33900         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33901         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33902         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33903         <bp-asm.h>.
33904         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33905         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33906         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33907         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33908         <bp-asm.h>.
33909         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33910         comments.
33911         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33912         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33913         <bp-asm.h>.
33914         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
33915         FIXME comments.
33916         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33917         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33918         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33919         <bp-asm.h>.
33920         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33921         comment.
33922         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33923         and <bp-asm.h>.
33924         (strncmp): Don't use BP_SYM,
33925         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33926         <bp-asm.h>.
33927         (__mpn_sub_n): Don't use BP_SYM.
33928         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33929         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33930         and <bp-asm.h>.
33931         (__mpn_submul_1): Don't use BP_SYM.
33932         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33934         <bp-sym.h> and <bp-asm.h>.
33935         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33937         <bp-sym.h> and <bp-asm.h>.
33938         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33939         comment.
33941 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33944         Use ZK to minimize writes to Z.
33945         (sub_magnitudes): Simplify code a bit.
33946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33947         Use ZK to minimize writes to Z.
33948         (sub_magnitudes): Simplify code a bit.
33950 2013-02-27  Roland McGrath  <roland@hack.frob.com>
33952         * csu/gmon-start.c: Add special exception to license text.
33954 2013-02-27  Richard Henderson  <rth@redhat.com>
33956         * scripts/config.guess: Update from config.git.
33957         * scripts/config.sub: Likewise.
33959 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33961         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33963         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33965         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33967         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33969         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33971 2013-02-26  Roland McGrath  <roland@hack.frob.com>
33973         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33974         [$(build-shared = yes].
33976 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33978         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33979         (__mul): Reduce iterations for calculating mantissa.
33981         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33982         MPTWO.
33983         (__mpranred): Likewise.
33985         [BZ #15160]
33986         * malloc/memusagestat.c (main): Draw graphs for heap and stack
33987         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33989 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
33991         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33992         Define __attribute__.
33994 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33996         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33997         unused.
33998         * posix/regex_internal.h (__attribute): Remove.
33999         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34000         (re_string_context_at): Likewise.
34001         (bitset_not): Use __attribute__ and mark function as possibly
34002         unused.
34003         (bitset_merge): Likewise.
34004         (bitset_mask): Likewise.
34005         (re_string_char_size_at): Likewise.
34006         (re_string_wchar_at): Likewise.
34007         (re_string_elem_size_at): Likewise.
34009 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34011         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34012         code.
34013         (cc32): Likewise.
34015         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34016         (__acr): Likewise.
34017         (__cpy): Likewise.
34018         (norm): Likewise.
34019         (denorm): Likewise.
34020         (__dbl_mp): Likewise.
34021         (add_magnitudes): Likewise.
34022         (sub_magnitudes): Likewise.
34023         (__mul): Likewise.
34024         (__inv): Likewise.
34026         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34027         style.
34029         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34030         style.
34032         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34033         code.
34035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34036         up changes with default code.
34037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34038         Likewise.
34040 2013-02-24  Allan McRae  <allan@archlinux.org>
34042         * manual/socket.texi (The Internet Namespace): Order menu items
34043         to match that in the file.
34045         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34046         node listing of the info page menu.
34048 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34050         [BZ #13550]
34051         * sysdeps/i386/bp-asm.h: Remove file.
34052         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34053         (PARMS): Do not use macros from bp-asm.h.
34054         (S1): Likewise.
34055         (S2): Likewise.
34056         (SIZE): Likewise.
34057         (__mpn_add_n): Do not use BP_SYM
34058         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34059         "bp-asm.h".
34060         (PARMS): Do not use macros from bp-asm.h.
34061         (S1): Likewise.
34062         (SIZE): Likewise.
34063         (__mpn_addmul_1): Do not use BP_SYM
34064         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34065         "bp-asm.h".
34066         (PARMS): Do not use macros from bp-asm.h.
34067         (SIGMSK): Likewise.
34068         (_setjmp): Likewise.  Do not use BP_SYM.
34069         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34070         "bp-asm.h".
34071         (PARMS): Do not use macros from bp-asm.h.
34072         (SIGMSK): Likewise.
34073         (setjmp): Likewise.  Do not use BP_SYM.
34074         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34075         "bp-asm.h".
34076         (PARMS): Do not use macros from bp-asm.h.
34077         (__frexp): Do not use BP_SYM.
34078         (frexp): Likewise.
34079         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34080         "bp-asm.h".
34081         (PARMS): Do not use macros from bp-asm.h.
34082         (__frexpf): Do not use BP_SYM.
34083         (frexpf): Likewise.
34084         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34085         "bp-asm.h".
34086         (PARMS): Do not use macros from bp-asm.h.
34087         (__frexpl): Do not use BP_SYM.
34088         (frexpl): Likewise.
34089         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34090         "bp-asm.h".
34091         (PARMS): Do not use macros from bp-asm.h.
34092         (__remquo): Do not use BP_SYM.
34093         (remquo): Likewise.
34094         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34095         "bp-asm.h".
34096         (PARMS): Do not use macros from bp-asm.h.
34097         (__remquof): Do not use BP_SYM.
34098         (remquof): Likewise.
34099         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34100         "bp-asm.h".
34101         (PARMS): Do not use macros from bp-asm.h.
34102         (__remquol): Do not use BP_SYM.
34103         (remquol): Likewise.
34104         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34105         "bp-asm.h".
34106         (PARMS): Do not use macros from bp-asm.h.
34107         (DEST): Likewise.
34108         (SRC): Likewise.
34109         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34110         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34111         "bp-asm.h".
34112         (PARMS): Do not use macros from bp-asm.h.
34113         (strlen): Do not use BP_SYM.
34114         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34115         "bp-asm.h".
34116         (PARMS): Do not use macros from bp-asm.h.
34117         (S1): Likewise.
34118         (S2): Likewise.
34119         (SIZE): Likewise.
34120         (__mpn_add_n): Do not use BP_SYM.
34121         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34122         "bp-asm.h".
34123         (PARMS): Do not use macros from bp-asm.h.
34124         (S1): Likewise.
34125         (SIZE): Likewise.
34126         (__mpn_addmul_1): Do not use BP_SYM.
34127         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34128         weak_alias.
34129         (bzero): Likewise.
34130         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34131         "bp-asm.h".
34132         (PARMS): Do not use macros from bp-asm.h.
34133         (S): Likewise.
34134         (SIZE): Likewise.
34135         (__mpn_lshift): Do not use BP_SYM.
34136         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34137         "bp-asm.h".
34138         (PARMS): Do not use macros from bp-asm.h.
34139         (DEST): Likewise.
34140         (SRC): Likewise.
34141         (LEN): Likewise.
34142         (memcpy): Likewise.  Do not use BP_SYM.
34143         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34144         libc_hidden_def and weak_alias.
34145         (mempcpy): Do not use BP_SYM in weak_alias.
34146         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34147         "bp-asm.h".
34148         (PARMS): Do not use macros from bp-asm.h.
34149         (DEST): Likewise.
34150         (LEN): Likewise.
34151         [!BZERO_P] (CHR): Likewise.
34152         (memset): Likewise.  Do not use BP_SYM.
34153         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34154         "bp-asm.h".
34155         (PARMS): Do not use macros from bp-asm.h.
34156         (S1): Likewise.
34157         (SIZE): Likewise.
34158         (__mpn_mul_1): Do not use BP_SYM.
34159         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34160         "bp-asm.h".
34161         (PARMS): Do not use macros from bp-asm.h.
34162         (S): Likewise.
34163         (SIZE): Likewise.
34164         (__mpn_rshift): Do not use BP_SYM.
34165         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34166         "bp-asm.h".
34167         (PARMS): Do not use macros from bp-asm.h.
34168         (STR): Likewise.
34169         (CHR): Likewise.
34170         (strchr): Likewise.  Do not use BP_SYM.
34171         (index): Do not use BP_SYM in weak_alias.
34172         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34173         "bp-asm.h".
34174         (PARMS): Do not use macros from bp-asm.h.
34175         (DEST): Likewise.
34176         (SRC): Likewise.
34177         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34178         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34179         "bp-asm.h".
34180         (PARMS): Do not use macros from bp-asm.h.
34181         (strlen): Do not use BP_SYM.
34182         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34183         "bp-asm.h".
34184         (PARMS): Do not use macros from bp-asm.h.
34185         (S1): Likewise.
34186         (S2): Likewise.
34187         (SIZE): Likewise.
34188         (__mpn_sub_n): Do not use BP_SYM.
34189         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34190         "bp-asm.h".
34191         (PARMS): Do not use macros from bp-asm.h.
34192         (S1): Likewise.
34193         (SIZE): Likewise.
34194         (__mpn_submul_1): Do not use BP_SYM.
34195         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34196         "bp-asm.h".
34197         (PARMS): Do not use macros from bp-asm.h.
34198         (S1): Likewise.
34199         (S2): Likewise.
34200         (SIZE): Likewise.
34201         (__mpn_add_n): Do not use BP_SYM.
34202         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34203         weak_alias.
34204         (bzero): Likewise.
34205         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34206         "bp-asm.h".
34207         (PARMS): Do not use macros from bp-asm.h.
34208         (BLK2): Likewise.
34209         (LEN): Likewise.
34210         (memcmp): Do not use BP_SYM.
34211         (bcmp): Do not use BP_SYM in weak_alias.
34212         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34213         "bp-asm.h".
34214         (PARMS): Do not use macros from bp-asm.h.
34215         (DEST): Likewise.
34216         (SRC): Likewise.
34217         (LEN): Likewise.
34218         (memcpy): Likewise.  Do not use BP_SYM.
34219         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34220         "bp-asm.h".
34221         (PARMS): Do not use macros from bp-asm.h.
34222         (DEST): Likewise.
34223         (SRC): Likewise.
34224         (LEN): Likewise.
34225         (memmove): Likewise.  Do not use BP_SYM.
34226         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34227         "bp-asm.h".
34228         (PARMS): Do not use macros from bp-asm.h.
34229         (DEST): Likewise.
34230         (SRC): Likewise.
34231         (LEN): Likewise.
34232         (__mempcpy): Likewise.  Do not use BP_SYM.
34233         (mempcpy): Do not use BP_SYM in weak_alias.
34234         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34235         "bp-asm.h".
34236         (PARMS): Do not use macros from bp-asm.h.
34237         (DEST): Likewise.
34238         (LEN): Likewise.
34239         [!BZERO_P] (CHR): Likewise.
34240         (memset): Likewise.  Do not use BP_SYM.
34241         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34242         "bp-asm.h".
34243         (PARMS): Do not use macros from bp-asm.h.
34244         (STR2): Likewise.
34245         (strcmp): Do not use BP_SYM.
34246         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34247         "bp-asm.h".
34248         (PARMS): Do not use macros from bp-asm.h.
34249         (STR): Likewise.
34250         (DELIM): Likewise.
34251         [USE_AS_STRTOK_R] (SAVE): Likewise.
34252         (FUNCTION): Likewise.  Do not use BP_SYM.
34253         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34254         aliases.
34255         (strtok_r): Likewise.
34256         (__GI___strtok_r): Likewise.
34257         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34258         (PARMS): Do not use macros from bp-asm.h.
34259         (S): Likewise.
34260         (SIZE): Likewise.
34261         (__mpn_lshift): Do not use BP_SYM.
34262         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34263         (PARMS): Do not use macros from bp-asm.h.
34264         (STR): Likewise.
34265         (CHR): Likewise.
34266         (__memchr): Do not use BP_SYM.
34267         (memchr): Do not use BP_SYM in weak_alias.
34268         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34269         (PARMS): Do not use macros from bp-asm.h.
34270         (BLK2): Likewise.
34271         (LEN): Likewise.
34272         (memcmp): Do not use BP_SYM.
34273         (bcmp): Do not use BP_SYM in weak_alias.
34274         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34275         (PARMS): Do not use macros from bp-asm.h.
34276         (S1): Likewise.
34277         (SIZE): Likewise.
34278         (__mpn_mul_1): Do not use BP_SYM.
34279         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34280         "bp-asm.h".
34281         (PARMS): Do not use macros from bp-asm.h.
34282         (STR): Likewise.
34283         (CHR): Likewise.
34284         (__rawmemchr): Do not use BP_SYM.
34285         (rawmemchr): Do not use BP_SYM in weak_alias.
34286         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34287         (PARMS): Do not use macros from bp-asm.h.
34288         (S): Likewise.
34289         (SIZE): Likewise.
34290         (__mpn_rshift): Do not use BP_SYM.
34291         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34292         (PARMS): Do not use macros from bp-asm.h.
34293         (SIGMSK): Likewise.
34294         (__sigsetjmp): Likewise.  Do not use BP_SYM.
34295         * sysdeps/i386/start.S: Do not include "bp-sym.h".
34296         (_start): Do not use BP_SYM.
34297         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34298         (PARMS): Do not use macros from bp-asm.h.
34299         (DEST): Likewise.
34300         (SRC): Likewise.
34301         (__stpcpy): Likewise.  Do not use BP_SYM.
34302         (stpcpy): Do not use BP_SYM in weak_alias.
34303         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34304         "bp-asm.h".
34305         (PARMS): Do not use macros from bp-asm.h.
34306         (DEST): Likewise.
34307         (SRC): Likewise.
34308         (LEN): Likewise.
34309         (__stpncpy): Likewise.  Do not use BP_SYM.
34310         (stpncpy): Do not use BP_SYM in weak_alias.
34311         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34312         (PARMS): Do not use macros from bp-asm.h.
34313         (STR): Likewise.
34314         (CHR): Likewise.
34315         (strchr): Likewise.  Do not use BP_SYM.
34316         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34317         "bp-asm.h".
34318         (PARMS): Do not use macros from bp-asm.h.
34319         (STR): Likewise.
34320         (CHR): Likewise.
34321         (__strchrnul): Likewise.  Do not use BP_SYM.
34322         (strchrnul): Do not use BP_SYM in weak_alias.
34323         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34324         "bp-asm.h".
34325         (PARMS): Do not use macros from bp-asm.h.
34326         (STOP): Likewise.
34327         (strcspn): Do not use BP_SYM.
34328         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34329         "bp-asm.h".
34330         (PARMS): Do not use macros from bp-asm.h.
34331         (STR): Likewise.
34332         (STOP): Likewise.
34333         (strpbrk): Likewise.  Do not use BP_SYM.
34334         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34335         "bp-asm.h".
34336         (PARMS): Do not use macros from bp-asm.h.
34337         (STR): Likewise.
34338         (CHR): Likewise.
34339         (strrchr): Likewise.  Do not use BP_SYM.
34340         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34341         (PARMS): Do not use macros from bp-asm.h.
34342         (SKIP): Likewise.
34343         (strspn): Do not use BP_SYM.
34344         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34345         (PARMS): Do not use macros from bp-asm.h.
34346         (STR): Likewise.
34347         (DELIM): Likewise.
34348         (SAVE): Likewise.
34349         (FUNCTION): Likewise.  Do not use BP_SYM.
34350         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34351         aliases.
34352         (strtok_r): Likewise.
34353         (__GI___strtok_r): Likewise.
34354         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34355         (PARMS): Do not use macros from bp-asm.h.
34356         (S1): Likewise.
34357         (S2): Likewise.
34358         (SIZE): Likewise.
34359         (__mpn_sub_n): Do not use BP_SYM.
34360         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34361         "bp-asm.h".
34362         (PARMS): Do not use macros from bp-asm.h.
34363         (S1): Likewise.
34364         (SIZE): Likewise.
34365         (__mpn_submul_1): Do not use BP_SYM.
34366         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34367         <bp-sym.h>.
34368         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34369         and <bp-asm.h>.
34370         (PARMS): Do not use macros from bp-asm.h.
34371         (FLAGS): Likewise.
34372         (PTID): Likewise.
34373         (TLS): Likewise.
34374         (CTID): Likewise.
34375         (__clone): Do not use BP_SYM.
34376         (clone): Do not use BP_SYM in weak_alias.
34377         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34378         and <bp-asm.h>.
34379         (PARMS): Do not use macros from bp-asm.h.
34380         (LEN): Likewise.
34381         (__mmap64): Do not use BP_SYM.
34382         (mmap64): Do not use BP_SYM in weak_alias.
34383         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34384         <bp-sym.h> and <bp-asm.h>.
34385         (PARMS): Do not use macros from bp-asm.h.
34386         (__posix_fadvise64_l64): Do not use BP_SYM.
34387         * sysdeps/unix/sysv/linux/i386/semtimedop.S
34388         (PARMS): Do not use macros from bp-asm.h.
34389         (NSOPS): Likewise.
34390         (semtimedop): Do not use BP_SYM.
34391         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34392         and <bp-asm.h>.
34394 2013-02-21  Allan McRae  <allan@archlinux.org>
34396         * manual/message.texi (Charset conversion in gettext):
34397         Move @end statement to beginning of line.
34399 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34402         static.
34403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34404         Likewise.
34406         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34407         (denorm): Likewise.
34408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34411 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34413         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34414         tail-call to the resolved function if pltexit isn't needed.
34416 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34419         or Y being zero as being unlikely.
34420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34421         Likewise.
34423 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
34425         * manual/nss.texi (System Databases and Name Service Switch):
34426         Remove frobnicate @pxref.
34428 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34430         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34431         __attribute__ ((unused)) to __attribute__ ((__unused__)).
34433 2013-02-20  Petr Machata  <pmachata@redhat.com>
34435         * elf/elf.h (R_ARM_TARGET1): New macro.
34436         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34437         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34438         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34439         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34440         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34441         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34442         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34443         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34444         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34445         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34446         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34447         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34448         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34449         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34450         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34451         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34452         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34453         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34454         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34455         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34456         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34457         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34458         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34459         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34460         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34461         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34462         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34463         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34464         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34465         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34466         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34467         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34468         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34469         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34470         (R_ARM_THM_GOT_BREL12): Likewise.
34471         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34472         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34473         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34474         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34475         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34476         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34477         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34478         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34479         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34481 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34483         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34484         __attribute_used__ to __attribute__ ((unused)).
34486 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34488         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34489         powerpc mpa.c.
34490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34491         comment formatting.
34492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34494 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
34496         [BZ #13550]
34497         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34498         Remove macro.
34499         (ENTER): Remove both macro definitions.
34500         (LEAVE): Likewise.
34501         (CHECK_BOUNDS_LOW): Likewise.
34502         (CHECK_BOUNDS_HIGH): Likewise.
34503         (CHECK_BOUNDS_BOTH): Likewise.
34504         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34505         (RETURN_BOUNDED_POINTER): Likewise.
34506         (RETURN_NULL_BOUNDED_POINTER): Likewise.
34507         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34508         (POP_ERRNO_LOCATION_RETURN): Likewise.
34509         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34510         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34511         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34512         macros.
34513         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34514         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34515         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34516         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34517         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34518         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34519         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34520         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34521         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34522         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34523         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34524         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34525         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34526         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34527         removed macros.
34528         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34529         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34530         macros.
34531         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34532         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34533         * sysdeps/i386/i586/memset.S (memset): Likewise.
34534         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34535         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34536         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34537         macros.
34538         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34539         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34540         Change uses of L(2) to L(out).
34541         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34542         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34543         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34544         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34545         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34546         removed macros.
34547         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34548         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34549         macros.
34550         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34551         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34552         (RETURN): Do not use macro LEAVE.
34553         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34554         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34555         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34556         * sysdeps/i386/i686/memset.S (memset): Likewise.
34557         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34558         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34559         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34560         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34561         Likewise.
34562         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34563         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
34564         L(1_2) and L(1_3) into L(1).
34565         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34566         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34567         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34568         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34569         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34570         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34571         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34572         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34573         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34574         macros.
34575         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34576         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34577         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34578         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34579         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34580         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34581         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34582         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34583         * sysdeps/i386/strcspn.S (strcspn): Likewise.
34584         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34585         * sysdeps/i386/strrchr.S (strrchr): Likewise.
34586         * sysdeps/i386/strspn.S (strspn): Likewise.
34587         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34588         conditional code.
34589         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34590         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34591         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34592         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
34593         L(1_3) into L(1_1).
34594         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34595         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34596         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34597         macros.
34598         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34600 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
34602         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34603         macro.
34605 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34607         * math/atest-exp.c (exp_mpn): Remove ROUND.
34608         * math/atest-exp2.c (exp_mpn): Likewise.
34609         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34611         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34612         * stdlib/tst-tls-atexit-lib.c: Likewise.
34613         * stdlib/tst-tls-atexit.c: Likewise.
34615 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34617         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34618         and __attribute_alloc_size__.
34620 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34622         * include/programs/xmalloc.h: Change __attribute_alloc_size to
34623         __attribute_alloc_size__.
34624         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34625         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34629         * include/programs/xmalloc.h: New file.
34630         * catgets/gencat.c: Include it.
34631         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34632         * elf/pldd.c: Likewise.
34633         * iconv/iconv_charmap.c: Likewise.
34634         * iconv/iconvconfig.c: Likewise.
34635         * iconv/strtab.c: Likewise.
34636         * locale/programs/locale.c: Likewise.
34637         * locale/programs/localedef.h: Likewise.
34638         * locale/programs/simple-hash.c: Likewise.
34639         * nscd/nscd.h: Likewise.
34640         * nss/makedb.c: Likewise.
34641         * sysdeps/generic/ldconfig.h: Likewise.
34643 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34645         * Versions.def: Add GLIBC_2.18.
34646         * include/link.h (struct link_map): New member l_tls_dtor_count.
34647         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34648         (__call_tls_dtors): Likewise.
34649         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34650         __cxa_thread_atexit_impl.
34651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34652         Likewise.
34653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34654         Likewise.
34655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34656         Likewise.
34657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34658         Likewise.
34659         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34661         Likewise.
34662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34663         Likewise.
34664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34666         Likewise.
34667         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34668         (tests): Add test case tst-tls-atexit.
34669         (modules-names): Add shared library for tst-tls-atexit.
34670         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34671         (GLIBC_PRIVATE): Add __call_tls_dtors.
34672         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34673         for libstdc++.
34674         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34675         * stdlib/tst-tls-atexit.c: New test case.
34676         * stdlib/tst-tls-atexit-lib.c: New test case.
34678         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34680         * elf/Versions (ld): Add _dl_find_dso_for_object.
34681         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34682         * elf/dl-open.c (_dl_find_dso_for_object): New function.
34683         (dl_open_worker): Use _dl_find_dso_for_object.
34684         * elf/dl-sym.c (do_sym): Likewise.
34685         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34687 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34689         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34690         Syntactic changes only.
34691         (_dl_runtime_profile): Do a tail-call to the resolved function.
34693 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
34695         [BZ #13550]
34696         * sysdeps/x86_64/bp-asm.h: Remove file.
34697         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34698         <bp-sym.h> and <bp-asm.h>.
34699         (__clone): Do not use BP_SYM.
34700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34701         <bp-sym.h> and <bp-asm.h>.
34702         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34703         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34704         "bp-asm.h".
34705         (_setjmp): Do not use BP_SYM.
34706         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34707         "bp-asm.h".
34708         (setjmp): Do not use BP_SYM.
34709         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34710         libc_hidden_def.
34711         (mempcpy): Do not use BP_SYM in weak_alias.
34712         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34713         "bp-asm.h".
34714         (strchr): Do not use BP_SYM.
34715         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34716         "bp-asm.h".
34717         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34718         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34719         (_start): Do not use BP_SYM.
34720         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34721         "bp-asm.h".
34722         (strcat): Do not use BP_SYM.
34723         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34724         "bp-asm.h".
34725         (STRCMP): Do not use BP_SYM.
34726         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34727         "bp-asm.h".
34728         (STRCPY): Do not use BP_SYM.
34729         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34730         "bp-asm.h".
34731         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34732         "bp-asm.h".
34733         (FUNCTION): Do not use BP_SYM.
34734         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34735         weak_alias.
34736         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34738 2013-02-17  Andreas Jaeger  <aj@suse.de>
34740         * time/Versions: Sort entries.
34741         * string/Versions: Likewise.
34742         * resolv/Versions: Likewise.
34743         * posix/Versions: Likewise.
34744         * iconv/Versions: Likewise.
34745         * elf/Versions: Likewise.
34746         * wcsmbs/Versions: Likewise.
34748 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34750         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34751         loop termination condition.
34753         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34754         variable to calculate EZ.
34755         (__sqr): Likewise.
34757         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34758         the lower precision input.
34760 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
34762         [BZ #13550]
34763         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34764         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34765         (run-via-rtld-prefix): Do not handle %-bp tests.
34766         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34767         (all-object-suffixes): Remove .ob.
34768         (bppfx): Remove variable.
34769         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34770         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34771         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34772         [$(build-bounded) = yes] (libtype.ob): Likewise.
34773         * Makerules (elide-routines.ob): Remove variable.
34774         (do-tests-clean): Do not handle *-bp.out.
34775         (common-mostlyclean): Do not handle *-bp and *-bp.out.
34776         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34777         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34778         (tests): Do not include $(tests-bp.out).
34779         (xtests): Do not include $(xtests-bp.out).
34780         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34781         [$(build-bounded) = yes] ($(addprefix
34782         $(objpfx),$(binaries-bounded))): Remove rule.
34783         ($(objpfx)%-bp.out): Remove rule.
34784         * config.make.in (build-bounded): Remove variable.
34785         * crypt/Makefile [$(build-bounded) = yes]
34786         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34787         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34788         append to variable.
34789         [$(build-bounded) = yes] (install-lib): Likewise.
34790         [$(build-bounded) = yes] (generated): Likewise.
34791         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34792         Remove rule.
34793         * intl/Makefile [$(build-bounded) = yes]
34794         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34795         * math/Makefile [$(build-bounded) = yes]
34796         ($(tests:%=$(objpfx)%-bp): Likewise.
34797         * misc/Makefile [$(build-bounded) = yes]
34798         ($(objpfx)tst-tsearch-bp): Likewise.
34799         * nptl/Makeconfig (bounded-thread-library): Remove variable.
34800         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34801         Remove dependency.
34802         * string/Makefile (o-objects.ob): Remove variable.
34803         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34804         (CFLAGS-.ob): Remove variable.
34805         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34806         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34807         both definitions of variable.
34808         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34809         (ASFLAGS-.ob): Remove variable.
34811 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
34813         [BZ #13550]
34814         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34815         Remove __BOUNDED_POINTERS__ from condition.
34816         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34817         * string/bits/string2.h [!__NO_STRING_INLINES &&
34818         !__BOUNDED_POINTERS__]: Likewise.
34819         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34820         Likewise.
34821         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34822         Remove conditional code.
34823         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34824         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34825         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34826         condition.
34828         [BZ #13550]
34829         * csu/libc-start.c: Do not include <bp-sym.h>.
34830         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34831         * elf/dl-open.c: Do not include <bp-sym.h>.
34832         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34833         * math/fegetenv.c: Do not include <bp-sym.h>.
34834         (fegetenv): Do not use BP_SYM in versioned symbols.
34835         * nptl/sysdeps/pthread/bits/libc-lockP.h
34836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34837         <bp-sym.h>.
34838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34839         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34841         (__pthread_mutex_destroy): Likewise.
34842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34843         (__pthread_mutex_lock): Likewise.
34844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34845         (__pthread_mutex_trylock): Likewise.
34846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34847         (__pthread_mutex_unlock): Likewise.
34848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34849         (__pthread_mutexattr_init): Likewise.
34850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34851         (__pthread_mutexattr_destroy): Likewise.
34852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34853         (__pthread_mutexattr_settype): Likewise.
34854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34855         (__pthread_rwlock_init): Likewise.
34856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34857         (__pthread_rwlock_destroy): Likewise.
34858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34859         (__pthread_rwlock_rdlock): Likewise.
34860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34861         (__pthread_rwlock_tryrdlock): Likewise.
34862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34863         (__pthread_rwlock_wrlock): Likewise.
34864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34865         (__pthread_rwlock_trywrlock): Likewise.
34866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34867         (__pthread_rwlock_unlock): Likewise.
34868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34869         (__pthread_key_create): Likewise.
34870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34871         (__pthread_setspecific): Likewise.
34872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34873         (__pthread_getspecific): Likewise.
34874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34875         Likewise.
34876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34877         (_pthread_cleanup_push_defer): Likewise.
34878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34879         (_pthread_cleanup_pop_restore): Likewise.
34880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34881         (pthread_setcancelstate): Likewise.
34882         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34883         <bp-sym.h>.
34884         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34885         (memchr): Do not use BP_SYM in weak_alias.
34886         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34887         (fegetenv): Do not use BP_SYM in versioned symbols.
34888         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34889         (fesetenv): Do not use BP_SYM in versioned symbols.
34890         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34891         (feupdateenv): Do not use BP_SYM in versioned symbols.
34892         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34893         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34894         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34895         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34896         (open64): Do not use BP_SYM in weak_alias.
34897         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34898         (fegetenv): Do not use BP_SYM in versioned symbols.
34899         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34900         (fesetenv): Do not use BP_SYM in versioned symbols.
34901         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34902         (feupdateenv): Do not use BP_SYM in versioned symbols.
34903         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34904         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34905         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34906         (feraiseexcept): Do not use BP_SYM in versioned symbols.
34907         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34908         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34909         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34910         <bp-sym.h>.
34911         (__libc_start_main): Do not use BP_SYM.
34913 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34916         redundant return line.
34917         (norm): Likewise.
34918         (denorm): Likewise.
34919         (dbl_mp): Likewise.
34920         (sub_magnitudes): Likewise.
34921         (__add): Likewise.
34922         (__sub): Likewise.
34923         (__mul): Likewise.
34924         (__inv): Likewise.
34925         (__dvd): Likewise.
34926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34927         (norm): Likewise.
34928         (denorm): Likewise.
34929         (dbl_mp): Likewise.
34930         (sub_magnitudes): Likewise.
34931         (__add): Likewise.
34932         (__sub): Likewise.
34933         (__mul): Likewise.
34934         (__inv): Likewise.
34935         (__dvd): Likewise.
34937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34938         instead of __mul.
34939         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34940         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34941         (cc32): Likewise.
34943         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34944         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34946         of __mul for squares.
34947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34948         function
34949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34950         Likewise.
34951         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34952         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34954 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
34956         [BZ #13550]
34957         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34958         code.
34959         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34960         prototype or function definition.  Rename ubp_* variables and
34961         parameters.  Remove argv definitions conditional on
34962         [__BOUNDED_POINTERS__].
34963         * debug/backtrace.c (__backtrace): Do not use __unbounded.
34964         * elf/dl-runtime.c (_dl_fixup): Likewise.
34965         * include/set-hooks.h (RUN_HOOK): Likewise.
34966         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34967         definition.
34968         * string/strcpy.c (strcpy): Do not use __unbounded.
34969         * sysdeps/generic/frame.h (struct layout): Likewise.
34970         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34971         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34972         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34973         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34974         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34975         (__backtrace): Likewise.
34976         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34977         use __ptrvalue.
34978         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34979         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34980         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34981         Likewise.
34982         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34983         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34984         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34985         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34986         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34987         Do not use __unbounded.
34988         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34989         Rename __unboundedrlimits parameter to rlimits in prototype.
34990         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34991         Do not use __unbounded.
34992         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34993         not use __ptrvalue.
34994         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34995         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34996         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34997         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34998         __ptrvalue or __unbounded.
34999         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35000         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35001         use __unbounded.
35002         (__new_msgctl): Do not use __ptrvalue.
35003         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35004         __unbounded.
35005         (__libc_msgrcv): Do not use __ptrvalue.
35006         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35007         startup_info): Do not use __unbounded.
35008         (__libc_start_main): Likewise.  Rename ubp_* variables and
35009         parameters.  Remove argv definitions conditional on
35010         [__BOUNDED_POINTERS__].
35011         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35012         __ptrvalue.
35013         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35014         use __unbounded.
35015         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35016         or __ptrvalue.
35017         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35018         use __unbounded.
35019         (__new_shmctl): Do not use __ptrvalue.
35020         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35021         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35022         Likewise.
35023         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35024         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35025         (__libc_sigaction): Likewise.
35026         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35027         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35028         Likewise.
35029         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35031 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35033         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35035         * string/mempcpy.c: Implement by calling memcpy.
35037 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35041         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35042         evaluation.
35044         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35045         values in the mantissa.
35047         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35048         minimize writes to Z.
35049         (sub_magnitudes): Simplify code a bit.
35051 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35053         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35054         from the message.  The linker prefixes all warnings with that already.
35056 2013-02-12  Andreas Schwab  <schwab@suse.de>
35058         [BZ #15078]
35059         * posix/regexec.c (extend_buffers): Add parameter min_len.
35060         (check_matching): Pass minimum needed length.
35061         (clean_state_log_if_needed): Likewise.
35062         (get_subexp): Likewise.
35063         * posix/Makefile (tests): Add bug-regex34.
35064         (bug-regex34-ENV): Define.
35065         * posix/bug-regex34.c: New file.
35067         [BZ #11561]
35068         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35069         elements compare against the byte sequence of it, not its name.
35070         * posix/Makefile (tests): Add bug-regex35.
35071         (bug-regex35-ENV): Define.
35072         * posix/bug-regex35.c: New file.
35074 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35076         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35077         comment.
35078         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35079         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35080         (CHECK_EOL): Add undef.
35082 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35084         * bits/stdlib-bsearch.h: New file.
35085         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35086         * stdlib/stdlib.h: Likewise.
35088 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35090         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35091         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35092         declaration.
35093         * manual/search.texi (Array Search Function): Add missing const in
35094         lfind prototype.
35095         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35096         declaration to use rlim_t.
35097         (Basic Scheduling Functions): Remove erroneous const from
35098         sched_getparam prototype.  Remove erroneous * from
35099         sched_get_priority_max and sched_get_priority_min prototypes.
35100         (Resource Usage): Fix summary @comment on vtimes to refer to
35101         sys/vtimes.h rather than vtimes.h.
35102         Add missing *s in vtimes prototype.
35103         (Limits on Resources): Fix ulimit prototype to return long int.
35104         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35105         prototypes to use long int rather than double.
35106         (BSD Random): Fix initstate and setstate to use char *, not void *.
35107         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35108         prototype to make second argument 'struct aiocb64 *const[]'.
35109         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35110         (Status of AIO Operations): Remove erroneous const in aio_return and
35111         aio_return64 prototypes.
35112         (Synchronizing I/O): Fix sync prototype to return void.
35113         * manual/startup.texi (Suboptions): Remove an erroneous const in
35114         getsubopt prototype.
35115         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35116         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35117         use size_t rather than int.
35118         (Scanning All Users): Likewise for getpwent_r.
35119         (Setting Groups): Add missing const to setgroups prototype.
35120         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35121         * manual/socket.texi (Host Names): Fix gethostbyaddr and
35122         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35123         'const void *' rather than 'const char *'.
35124         (Host Address Functions): Likewise for inet_ntop.
35125         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35126         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35127         ssize_t for return value.
35128         (Sending Data): Likewise for send, sendto, sendmsg.
35129         (Socket Option Functions): Add a missing const in setsockopt prototype.
35130         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35131         use wchar_t for the argument.
35132         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35133         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35134         take no arguments.
35135         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35136         double/float/long double for second argument.
35137         Fix return types of significand, significandf, significandl.
35138         * manual/filesys.texi (Setting Permissions): Use mode_t for second
35139         argument in fchmod prototype.
35140         (File Owner): Use uid_t and gid_t in fchown prototype.
35141         (File Times): Add const to utimes, futimes, and lutimes prototypes.
35142         (Making Special Files): Use mode_t and dev_t in mknod prototype.
35143         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35144         use 'const struct dirent **' as argument types to CMP function pointer
35145         argument.
35146         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35147         (File Times): Fix summary magic @comment for struct utimbuf and utime
35148         to refer to utime.h, not time.h.
35149         * manual/string.texi (Argz Functions): Add missing const in
35150         argz_extract and argz_next prototypes.
35151         (Finding Tokens in a String): Likewise for basename.
35152         (String/Array Comparison): Fix typo in wcscasecmp prototype.
35153         (Copying and Concatenation): Fix typo in wmemmove prototype.
35154         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35155         (Signal Stack): Remove erroneous const in sigstack prototype.
35156         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35157         prototype.
35158         (Simple Calendar Time): Likewise for stime.
35159         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35160         prototype.
35161         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35162         say sys/sysctl.h instead.
35163         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35164         and vsyslog prototypes.
35166 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35168         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35169         Remove.
35171 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35173         * misc/sys/mman.h: Fix typo in mremap comment.
35175 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35177         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35178         the '\0' terminator.
35180 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35182         [BZ #13550]
35183         * debug/segfault.c: Don't include <bp-checks.h>.
35184         * sysdeps/generic/bp-checks.h: Remove file.
35185         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35186         (__GETDENTS): Don't use CHECK_N.
35187         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35188         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35189         (__getgroups): Don't use CHECK_N.
35190         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35191         (setgroups): Don't use CHECK_N.
35192         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35193         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35194         (__libc_msgrcv): Don't use CHECK_N.
35195         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35196         (__libc_msgsnd): Don't use CHECK_N.
35197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35198         <bp-checks.h>.
35199         (__libc_pread): Don't use CHECK_N.
35200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35201         include <bp-checks.h>.
35202         (__libc_pread64): Don't use CHECK_N.
35203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35204         include <bp-checks.h>.
35205         (__libc_pwrite): Don't use CHECK_N.
35206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35207         include <bp-checks.h>.
35208         (__libc_pwrite64): Don't use CHECK_N.
35209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35210         <bp-checks.h>.
35211         (__libc_pread): Don't use CHECK_N.
35212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35213         include <bp-checks.h>.
35214         (__libc_pread64): Don't use CHECK_N.
35215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35216         include <bp-checks.h>.
35217         (__libc_pwrite): Don't use CHECK_N.
35218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35219         include <bp-checks.h>.
35220         (__libc_pwrite64): Don't use CHECK_N.
35221         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35222         (do_pread): Don't use CHECK_N.
35223         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35224         (do_pread64): Don't use CHECK_N.
35225         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35226         (do_pwrite): Don't use CHECK_N.
35227         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35228         (do_pwrite64): Don't use CHECK_N.
35229         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35230         (__libc_readv): Don't use CHECK_N.
35231         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35232         (semop): Don't use CHECK_N.
35233         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35234         <bp-checks.h>.
35235         (semtimedop): Don't use CHECK_N.
35236         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35237         (__libc_pread): Don't use CHECK_N.
35238         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35239         <bp-checks.h>.
35240         (__libc_pread64): Don't use CHECK_N.
35241         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35242         <bp-checks.h>.
35243         (__libc_pwrite): Don't use CHECK_N.
35244         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35245         <bp-checks.h>.
35246         (__libc_pwrite64): Don't use CHECK_N.
35247         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35248         <bp-checks.h>.
35249         (__libc_msgrcv): Don't use CHECK_N.
35250         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35251         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
35252         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35253         (__libc_writev): Don't use CHECK_N.
35255 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35257         * string/strcpy.c: Removed unused variable.
35259         * Makeconfig (+sysdep-includes): Define with := rather than =.
35260         Use an existing include/ subdir of each sysdeps dir before it.
35262 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35264         * nscd/connection.c (register_traced_file): Comment function.
35265         [HAVE_INOTIFY] (union __inev): Define.
35266         [HAVE_INOTIFY] (inotify_check_files): New function.
35267         [HAVE_INOTIFY] (clear_db_cache): Likewise.
35268         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35269         clear_db_cache.
35270         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35272 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35274         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35275         loaded if not already and that a failure is permanent.
35277 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35279         [BZ #15006]
35280         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35281         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35283 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35285         [BZ #13550]
35286         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35287         (CHECK_1_NULL_OK): Likewise.
35288         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35289         (__fxstat): Do not use CHECK_1.
35290         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35291         <bp-checks.h>.
35292         (___fxstat64): Do not use CHECK_1.
35293         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35294         <bp-checks.h>.
35295         (__fxstatat): Do not use CHECK_1.
35296         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35297         <bp-checks.h>.
35298         (__fxstatat64): Do not use CHECK_1.
35299         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35300         <bp-checks.h>.
35301         (__fxstat): Do not use CHECK_1.
35302         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35303         <bp-checks.h>.
35304         (__fxstatat): Do not use CHECK_1.
35305         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35306         <bp-checks.h>.
35307         (__getresgid): Do not use CHECK_1.
35308         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35309         <bp-checks.h>.
35310         (__getresuid): Do not use CHECK_1.
35311         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35312         <bp-checks.h>.
35313         (__lxstat): Do not use CHECK_1.
35314         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35315         <bp-checks.h>.
35316         (__old_msgctl): Do not use CHECK_1.
35317         (__new_msgctl): Likewise.
35318         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35319         <bp-checks.h>.
35320         (__new_setrlimit): Do not use CHECK_1.
35321         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35322         <bp-checks.h>.
35323         (__old_shmctl): Do not use CHECK_1.
35324         (__new_shmctl): Likewise.
35325         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35326         <bp-checks.h>.
35327         (__xstat): Do not use CHECK_1.
35328         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35329         (__lxstat): Do not use CHECK_1.
35330         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35331         <bp-checks.h>.
35332         (___lxstat64): Do not use CHECK_1.
35333         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35334         (__old_msgctl): Do not use CHECK_1.
35335         (__new_msgctl): Likewise.
35336         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35337         <bp-checks.h>.
35338         (__gettimeofday): Do not use CHECK_1.
35339         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35340         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35341         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35342         <bp-checks.h>.
35343         (__gettimeofday): Do not use CHECK_1.
35344         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35345         (__old_shmctl): Do not use CHECK_1_NULL_OK.
35346         (__new_shmctl): Do not use CHECK_1.
35347         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35348         <bp-checks.h>.
35349         (do_sigtimedwait): Do not use CHECK_1.
35350         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35351         <bp-checks.h>.
35352         (do_sigwaitinfo): Do not use CHECK_1.
35353         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35354         <bp-checks.h>.
35355         (msgctl): Do not use CHECK_1.
35356         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35357         <bp-checks.h>.
35358         (shmctl): Do not use CHECK_1.
35359         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35360         (ustat): Do not use CHECK_1.
35361         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35362         <bp-checks.h>.
35363         (__fxstat): Do not use CHECK_1.
35364         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35365         <bp-checks.h>.
35366         (__fxstatat): Do not use CHECK_1.
35367         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35368         <bp-checks.h>.
35369         (__lxstat): Do not use CHECK_1.
35370         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35371         <bp-checks.h>.
35372         (__xstat): Do not use CHECK_1.
35373         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35374         (__xstat): Do not use CHECK_1.
35375         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35376         (___xstat64): Do not use CHECK_1.
35378         [BZ #13550]
35379         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35380         definitions.
35381         (CHECK_BOUNDS_HIGH): Likewise.
35382         * string/strcpy.c: Do not include <bp-checks.h>.
35383         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35385 2013-02-07  Roland McGrath  <roland@hack.frob.com>
35387         * nscd/nscd-client.h (__nscd_drop_map_ref):
35388         Add __attribute__ ((unused)).
35389         * nis/nss-nisplus.h (niserr2nss): Likewise.
35391         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35392         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35394         * csu/libc-tls.c (init_static_tls, init_slotinfo):
35395         Remove inline keyword.
35396         * include/rounding-mode.h (round_away): Likewise.
35397         * libio/wfileops.c (adjust_wide_data): Likewise.
35398         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35399         (__m128i_strloadu_tolower): Likewise.
35400         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35401         (__m128i_strloadu_tolower): Likewise.
35402         * time/mktime.c (ydhms_diff): Likewise.
35403         * locale/elem-hash.h (elem_hash): Likewise.
35404         * locale/setlocale.c (setdata): Likewise.
35405         * posix/regex_internal.h (re_string_char_size_at): Likewise.
35406         (re_string_wchar_at): Likewise.
35407         (bitset_not, bitset_merge, bitset_mask): Likewise.
35408         [!(__GNUC__ > 3)] (inline): Remove macro.
35409         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35410         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35411         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35412         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35413         * string/memcmp.c (memcmp_bytes): Likewise.
35414         * locale/programs/locarchive.c (compute_hashval): Likewise.
35415         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35416         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35417         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35418         * nss/getent.c (print_rpc, print_protocols): Likewise.
35419         (print_passwd, print_group, print_aliases): Likewise.
35420         * nis/nss-nisplus.h (niserr2nss): Likewise.
35421         * nscd/connections.c (restart_p): Likewise.
35422         Change return type to bool.
35424 2013-02-05  Roland McGrath  <roland@hack.frob.com>
35426         * Makeconfig (all-Depend-files): Add existing
35427         $(sorted-subdirs:=/Depend) files.
35428         (all-subdirs): Remove nss.
35429         * sysdeps/unix/inet/Subdirs: Add it here instead.
35430         * hesiod/Depend: New file.
35432         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35433         instead of calling alloca.
35435         * io/lseek.c (__lseek): Rename to __libc_lseek.
35436         Define __lseek as an alias.
35438         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35440 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
35442         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35443         else clause and remove check for non-standard endianness.
35445 2013-02-04  David S. Miller  <davem@davemloft.net>
35447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35449 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
35451         [BZ #13550]
35452         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35453         (__ubp_memchr): Remove prototype.
35454         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35455         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35456         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35457         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35458         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35459         Remove alias.
35460         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35461         (__ubp_memchr): Likewise.
35462         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35463         (__ubp_memchr): Likewise.
35464         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35465         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35466         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35467         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35468         CHECK_STRING.
35469         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35470         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35471         (__getcwd): Do not use CHECK_STRING.
35472         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35473         <bp-checks.h>.
35474         (__real_chown): Do not use CHECK_STRING.
35475         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35476         <bp-checks.h>.
35477         (fchownat): Do not use CHECK_STRING.
35478         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35479         CHECK_STRING.
35480         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35481         <bp-checks.h>.
35482         (__lchown): Do not use CHECK_STRING.
35483         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35484         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35485         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35486         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35488         include <bp-checks.h>.
35489         (truncate64): Do not use CHECK_STRING.
35490         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35491         <bp-checks.h>.
35492         (__real_chown): Do not use CHECK_STRING.
35493         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35494         <bp-checks.h>.
35495         (__lchown): Do not use CHECK_STRING.
35496         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35497         <bp-checks.h>.
35498         (__chown): Do not use CHECK_STRING.
35499         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35500         <bp-checks.h>.
35501         (truncate64): Do not use CHECK_STRING.
35502         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35503         Likewise.
35504         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35505         (__xmknod): Do not use CHECK_STRING.
35506         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35507         <bp-checks.h>.
35508         (__xmknodat): Do not use CHECK_STRING.
35509         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35510         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35512 2013-02-04  Andreas Schwab  <schwab@suse.de>
35514         [BZ #14142]
35515         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35516         * include/netdb.h: Likewise for h_errno.
35517         * elf/tst-stackguard1.c: Include <tls.h>.
35519 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
35521         * elf/link.h (struct link_map): Extend the l_addr comment.
35522         * include/link.h (struct link_map): Likewise.
35524 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
35526         [BZ #13550]
35527         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35528         (BOUNDED_1): Remove macro.
35529         * debug/backtrace.c: Don't include <bp-checks.h>.
35530         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35531         (__backtrace): Likewise.
35532         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35533         <bp-checks.h>.
35534         (__backtrace): Don't use BOUNDED_1.
35535         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35536         <bp-checks.h>.
35537         (__backtrace): Don't use BOUNDED_1.
35538         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35539         (__backtrace): Don't use BOUNDED_1.
35540         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35541         (shmat): Don't use BOUNDED_N.
35543 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
35545         [BZ #13550]
35546         * sysdeps/generic/bp-start.h: Remove file.
35547         * csu/libc-start.c: Don't include <bp-start.h>.
35548         (LIBC_START_MAIN): Set up __environ directly instead of using
35549         INIT_ARGV_and_ENVIRON.
35550         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35551         <bp-start.h>.
35553         [BZ #13550]
35554         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35555         definitions.
35556         (CHECK_FCNTL): Likewise.
35557         (CHECK_N_PAGES): Likewise.
35559         [BZ #13550]
35560         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35561         definitions.
35562         (CHECK_SIGSET_NULL_OK): Likewise.
35563         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35564         <bp-checks.h>.
35565         (sigpending): Don't use CHECK_SIGSET.
35566         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35567         <bp-checks.h>.
35568         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35569         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35570         <bp-checks.h>.
35571         (do_sigsuspend): Don't use CHECK_SIGSET.
35572         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35573         use CHECK_SIGSET.
35574         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35575         (do_sigwait): Don't use CHECK_SIGSET.
35576         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35577         use CHECK_SIGSET.
35578         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35579         include <bp-checks.h>.
35580         (sigpending): Don't use CHECK_SIGSET.
35581         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35582         include <bp-checks.h>.
35583         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35584         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35585         <bp-checks.h>.
35586         (sigpending): Don't use CHECK_SIGSET.
35587         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35588         <bp-checks.h>.
35589         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35591         [BZ #13550]
35592         * sysdeps/generic/bp-semctl.h: Remove file.
35593         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35594         <bp-checks.h> and <bp-semctl.h>.
35595         (__old_semctl): Don't use CHECK_SEMCTL.
35596         (__new_semctl): Likewise.
35597         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35598         and <bp-semctl.h>.
35599         (__old_semctl): Don't use CHECK_SEMCTL.
35600         (__new_semctl): Likewise.
35601         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35602         <bp-checks.h> and <bp-semctl.h>.
35603         (__old_semctl): Don't use CHECK_SEMCTL.
35604         (__new_semctl): Likewise.
35605         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35606         <bp-checks.h> and <bp-semctl.h>.
35607         (semctl): Don't use CHECK_SEMCTL.
35609         [BZ #13550]
35610         * Makerules (elide-bp-thunks): Remove variable.
35611         (elide-routines.oS): Don't use $(elide-bp-thunks).
35612         (elide-routines.os): Likewise.
35613         (elide-routines.o): Likewise.
35614         (elide-routines.op): Likewise.
35615         (elide-routines.og): Likewise.
35616         (objects): Don't use $(bp-thunks).
35617         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35618         include.
35619         (common-generated): Do not add s-proto-bp.d.
35620         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35621         (int): Likewise.
35622         (typ): Likewise.
35623         Do not generate makefile rules for bounded-pointer thunks.
35624         * sysdeps/generic/bp-thunks.h: Remove file.
35625         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35626         * sysdeps/unix/s-proto-bp.S: Likewise.
35628         [BZ #15062]
35629         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35630         parts of result separately when argument is not close to line from
35631         -i to i and one part of argument is small.
35632         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35633         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35634         * math/libm-test.inc (cacos_test): Add more tests.
35635         (casin_test): Likewise.
35636         (casinh_test): Likewise.
35637         * sysdeps/i386/fpu/libm-test-ulps: Update.
35638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35640 2013-01-31  David S. Miller  <davem@davemloft.net>
35642         * po/de.po: Update from translation team.
35644 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
35646         * time/tzfile.c: Include stdint.h for SIZE_MAX.
35648 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
35650         * configure.in (_AC_PROG_CC_C89): New definition.
35651         * configure: Regenerate.
35653         * configure.in (AC_PROG_CPP): New definition.
35654         * configure: Regenerate.
35656 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35658         * debug/tst-backtrace.h: New file.
35659         * debug/tst-backtrace2.c: Include tst-backtrace.h.
35660         (ret): Remove variable.
35661         (x): Likewise.
35662         (FAIL): Remove macro.
35663         (NO_INLINE): Likewise.
35664         (fn1): Use match function instead of strstr.
35665         * debug/tst-backtrace3.c: Include tst-backtrace.h.
35666         (ret): Remove variable.
35667         (x): Likewise.
35668         (FAIL): Remove macro.
35669         (NO_INLINE): Likewise.
35670         (fn): Use match function instead of strstr.
35671         * debug/tst-backtrace4.c: Include tst-backtrace.h.
35672         (ret): Remove variable.
35673         (x): Likewise.
35674         (FAIL): Remove macro.
35675         (NO_INLINE): Likewise.
35676         (handle_signal): Use match function instead of strstr.
35677         * debug/tst-backtrace5.c: Include tst-backtrace.h.
35678         (ret): Remove variable.
35679         (x): Likewise.
35680         (FAIL): Remove macro.
35681         (NO_INLINE): Likewise.
35682         (handle_signal): Use match function instead of strstr.
35684 2013-01-23  Roland McGrath  <roland@hack.frob.com>
35686         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35688 2013-01-23  David S. Miller  <davem@davemloft.net>
35690         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35691         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35692         argument of CAS if possible.
35693         * sysdeps/sparc/sparc64/bits/atomic.h
35694         (__arch_compare_and_exchange_val_32_acq): Likewise.
35695         (__arch_compare_and_exchange_val_64_acq): Likewise.
35697 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
35699         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35700         * sysdeps/posix/ulimit.c: ... this.
35701         Include <limits.h>.
35702         * sysdeps/unix/bsd/ulimit.c: Remove file.
35704 2013-01-23  Adam Conrad  <adconrad@0c3.net>
35706         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35707         (LDFLAGS-tst-array5): Likewise.
35709 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35711         [BZ #15036]
35712         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35713         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35714         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35715         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35717 2013-01-21  David S. Miller  <davem@davemloft.net>
35719         * sysdeps/sparc/backtrace.c: New file.
35720         * sysdeps/sparc/sparc32/backtrace.h: New file.
35721         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35722         * sysdeps/sparc/sparc64/backtrace.h: New file.
35723         * sysdeps/sparc/sparc64/backtrace.c: Delete.
35724         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35725         -funwind-tables.
35727 2013-01-21  Andreas Schwab  <schwab@suse.de>
35729         [BZ #15020]
35730         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35731         closed its stdout.
35733 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
35735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35736         "mpa2.h".
35737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35739 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
35740             Mark Mitchell  <mark@codesourcery.com>
35741             Tom de Vries  <tom@codesourcery.com>
35742             Paul Pluzhnikov  <ppluzhnikov@google.com>
35744         * debug/tst-backtrace2.c: New file.
35745         * debug/tst-backtrace3.c: Likewise.
35746         * debug/tst-backtrace4.c: Likewise.
35747         * debug/tst-backtrace5.c: Likewise.
35748         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35749         (CFLAGS-tst-backtrace3.c): Likewise.
35750         (CFLAGS-tst-backtrace4.c): Likewise.
35751         (CFLAGS-tst-backtrace5.c): Likewise.
35752         (LDFLAGS-tst-backtrace2): Likewise.
35753         (LDFLAGS-tst-backtrace3): Likewise.
35754         (LDFLAGS-tst-backtrace4): Likewise.
35755         (LDFLAGS-tst-backtrace5): Likewise.
35756         (tests): Add new tests tst-backtrace2, tst-backtrace3,
35757         tst-backtrace4 and tst-backtrace5.
35759 2013-01-18  Anton Blanchard  <anton@samba.org>
35760             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35762         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35763         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35764         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35765         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35767         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35768         "+r" and remove output regs list as redundant.  Add explicit inline
35769         asm to specify register of return val to work around compiler codegen
35770         bug.  Remove (int) cast on return value.  Add return type parameter to
35771         use in macro so that this macro does not truncate return value for
35772         64-bit values.
35773         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35774         pass to INTERNAL_VSYSCALL_NCS.
35775         (INLINE_VSYSCALL): Add 'long int' as return type to
35776         INTERNAL_VSYSCALL_NCS macro invocation.
35777         (INTERNAL_VSYSCALL): Add 'long int' as return type to
35778         INTERNAL_VSYSCALL_NCS macro invocation.
35779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35781 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35783         [BZ #14496]
35784         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35785         Fix application of SIMD FP exception mask.
35787         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35788         mp_no from a power of two.
35789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35790         __mpexp_twomm1.  Use __pow_mp.
35792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35793         multiplication.
35795 2013-01-17  David S. Miller  <davem@davemloft.net>
35797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35799 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35801         [BZ #15023]
35802         * include/complex.h: Condition contents on [!_COMPLEX_H].
35803         (__kernel_casinhf): New prototype.
35804         (__kernel_casinh): Likewise.
35805         (__kernel_casinhl): Likewise.
35806         * math/Makefile (libm_calls): Add k_casinh.
35807         * math/k_casinh.c: New file.
35808         * math/k_casinhf.c: Likewise.
35809         * math/k_casinhl.c: Likewise.
35810         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35811         finite nonzero arguments.
35812         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35813         finite nonzero arguments.
35814         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35815         finite nonzero arguments.
35816         * math/s_casinh.c: Do not include <float.h>.
35817         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35818         * math/s_casinhf.c: Do not include <float.h>.
35819         (__casinhf): Move code for finite nonzero arguments to
35820         k_casinhf.c.
35821         * math/s_casinhl.c: Do not include <float.h>.
35822         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35823         redefine.
35824         (__casinhl): Move code for finite nonzero arguments to
35825         k_casinhl.c.
35826         * math/libm-test.inc (cacos_test): Add more tests.
35827         * sysdeps/i386/fpu/libm-test-ulps: Update.
35828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35830 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
35832         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35833         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35834         [!HAVE_MREMAP]: Remove [defined linux] case.
35835         * malloc/arena.c: Do not include <malloc-sysdep.h>.
35837 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35839         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35841 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
35843         * elf/elf.h (R_386_SIZE32): New relocation.
35844         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35845         R_386_SIZE32.
35846         (elf_machine_rela): Likewise.
35847         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35848         R_X86_64_SIZE64 and R_X86_64_SIZE32.
35850 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35852         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35853         (FP_FAST_FMA): Do not define.
35854         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35855         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35856         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35857         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35858         !_SOFT_FLOAT]: Likewise.
35859         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35860         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35861         value.
35862         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35863         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35864         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35865         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35866         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35867         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35868         file.
35870 2013-01-16  Andreas Schwab  <schwab@suse.de>
35872         [BZ #14327]
35873         * include/stdlib.h (__mktemp): Add declaration.
35874         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35875         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35877 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35879         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35880         definitions.
35881         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35882         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35883         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35884         definitions here.
35885         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35886         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35887         definitions.
35888         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35889         and ONE.
35890         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35891         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35892         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35893         definitions.
35894         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35895         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35896         definitions.
35897         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35899         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35901 2013-01-15  David S. Miller  <davem@davemloft.net>
35903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35904         trunc{,f} to libm-sysdep_routes.
35905         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35907         file.
35908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35910         file.
35911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35912         file.
35913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35915         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35916         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35917         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35918         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35919         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35920         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35923         nearbyint{,f} to libm-sysdep_routes.
35924         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35926         New file.
35927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35928         file.
35929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35930         New file.
35931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35932         file.
35933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35935         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35936         file.
35937         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35938         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35939         file.
35940         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35941         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35942         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35944         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35945         libc_feholdexcept and libc_fesetenv.
35947 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
35949         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35951 2013-01-14  David S. Miller  <davem@davemloft.net>
35953         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35954         (SPARC_ASM_VIS2_IFUNC): Likewise.
35955         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35957         use of 'siam' instruction.
35958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35959         Likewise.
35960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35961         Likewise.
35962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35963         Likewise.
35964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35969         file.
35970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35971         file.
35972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35973         file.
35974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35975         file.
35976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35981         new VIS2 routines.
35982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35985         Likewise.
35986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35988         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35991         routines to libm-sysdep_routines.
35992         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35995         fdim/fdimf to libm-sysdep_routines.
35996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35997         file.
35998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36000         file.
36001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36004         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36005         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36006         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36007         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36009 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36011         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36012         to optimize copies.
36014         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36016         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36018         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36019         local variable MPTWO.
36020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36021         Likewise.
36023 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36025         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36026         GLOB_NOESCAPE.
36028 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36030         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36032 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36034         * manual/pattern.texi (glob_t): Document gl_flags.
36035         (glob64_t): Likewise.
36037 2013-01-11  David S. Miller  <davem@davemloft.net>
36039         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36040         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36041         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36042         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36043         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36044         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36045         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36046         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36047         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36048         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36049         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36050         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36051         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36053         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36054         sparc V9 rather than using V8 code.
36055         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36056         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36058         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36059         Move to...
36060         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36061         Here.
36063 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36065         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36066         not in the main loop.
36067         * configure: Regenerated.
36069 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36071         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36072         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36073         to just #else.
36074         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36075         [!__GLIBC_HAVE_LONG_LONG] case.
36076         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36077         condition to just #else.
36078         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36079         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36080         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36081         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36082         unconditional.
36083         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36084         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36085         #elif condition to just #else.
36086         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36087         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36088         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36089         #elif condition to just #else.
36091 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36093         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36094         (EF_MIPS_ARCH_64): Fix value.
36095         (EF_MIPS_ARCH_32R2): New.
36096         (EF_MIPS_ARCH_64R2): New.
36098 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36100         * Makeconfig (+link-pie-before-libc): New.
36101         (+link-pie-after-libc): Likewise.
36102         (+link-pie-tests): Likewise.
36103         (+link-pie): Rewritten.
36104         (link-before-libc): Remove $(config-LDFLAGS).
36105         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36106         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36107         (config-LDFLAGS): Renamed to ...
36108         (rtld-LDFLAGS): This.
36109         (rtld-tests-LDFLAGS): New macro.
36110         (link-libc-rpath-link): Likewise.
36111         (link-libc-tests-rpath-link): Likewise.
36112         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36113         (link-libc): Prepand $(link-libc-rpath-link).
36114         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36115         (test-program-prefix): New macro.
36116         (test-via-rtld-prefix): Likewise.
36117         (test-program-cmd): Likewise.
36118         (host-test-program-cmd): Likewise.
36119         * Makefile ($(common-objpfx)testrun.sh): Replace
36120         $(run-program-prefix) with $(test-program-prefix).
36121         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36122         $(rtld-LDFLAGS).
36123         ($(common-objpfx)shlib.lds): Likewise.
36124         (build-module-helper): Likewise.
36125         ($(common-objpfx)format.lds): Likewise.
36126         * Rules (binaries-pie-tests): New.
36127         (binaries-pie-notests): Likewise.
36128         (binaries-pie): Rewritten.
36129         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36130         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36131         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36132         (make-test-out): Replace $(host-built-program-cmd) with
36133         $(host-test-program-cmd).
36134         * config.make.in (build-hardcoded-path-in-tests): New variable.
36135         * configure.in (--enable-hardcoded-path-in-tests): New configure
36136         option.
36137         (hardcoded_path_in_tests): New AC_SUBST.
36138         * configure: Regenerated.
36139         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36140         $(built-program-cmd) with $(test-program-cmd).
36141         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36142         (test_program_cmd): This.
36143         * elf/Makefile ($(objpfx)order.out): Run test with
36144         $(test-program-prefix).
36145         ($(objpfx)order2.out): Likewise.
36146         ($(objpfx)tst-initorder.out): Likewise.
36147         ($(objpfx)tst-initorder2.out): Likewise.
36148         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36149         $(test-program-cmd).
36150         ($(objpfx)tst-array1-static.out): Likewise.
36151         ($(objpfx)tst-array2.out): Likewise.
36152         ($(objpfx)tst-array3.out): Likewise.
36153         ($(objpfx)tst-array4.out): Likewise.
36154         ($(objpfx)tst-array5.out): Likewise.
36155         ($(objpfx)tst-array5-static.out): Likewise.
36156         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36157         $(test-program-cmd).
36158         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36159         $(run-program-prefix) with $(test-program-prefix).
36160         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36161         (test_program_prefix): This.
36162         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36163         $(run-program-prefix) with $(test-program-prefix).
36164         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36165         (test_program_prefix): This.
36166         * iconvdata/tst-tables.sh: Likewise.
36167         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36168         $(run-program-prefix) with $(test-program-prefix).
36169         ($(objpfx)tst-translit.out): Likewise.
36170         ($(objpfx)tst-gettext2.out): Likewise.
36171         ($(objpfx)tst-gettext4.out): Likewise.
36172         ($(objpfx)tst-gettext6.out): Likewise.
36173         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36174         (test_program_prefix): This.
36175         * intl/tst-gettext2.sh: Likewise.
36176         * intl/tst-gettext4.sh  Likewise.
36177         * intl/tst-gettext6.sh: Likewise.
36178         * intl/tst-translit.sh: Likewise.
36179         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36180         with $(test-program-cmd).
36181         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36182         $(run-program-prefix) with $(test-program-prefix).
36183         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36184         (test_program_prefix): This.
36185         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36186         $(run-program-prefix) with $(test-program-prefix).
36187         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36188         (test_program_prefix): This.
36189         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36190         * posix/Makefile ($(objpfx)globtest.out): Replace
36191         $(run-via-rtld-prefix) and $(test-wrapper) with
36192         $(test-program-prefix) and $(test-via-rtld-prefix).
36193         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36194         $(test-program-prefix).
36195         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36196         $(host-test-program-cmd).
36197         (tst-spawn-ARGS): Likewise.
36198         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36199         $(test-program-prefix).
36200         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36201         (test_via_rtld_prefix): This.
36202         (test_wrapper): Renamed to ...
36203         (test_program_prefix): This.
36204         (run_program_prefix): Replaced by test_program_prefix.
36205         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36206         (test_program_prefix): This.
36207         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36208         with $(host-test-program-cmd).
36209         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36210         $(run-program-prefix) with $(test-program-prefix).
36211         ($(objpfx)tst-printf.out): Likewise.
36212         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36213         $(test-program-cmd).
36214         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36215         (test_program_prefix): This.
36216         * stdio-common/tst-unbputc.sh: Likewise.
36217         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36218         $(run-program-prefix) with $(test-program-prefix).
36219         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36220         (test_program_prefix): This.
36221         * string/Makefile ($(objpfx)tst-svc.out):  Replace
36222         $(built-program-cmd) with $(test-program-cmd).
36224 2013-01-11  Andreas Jaeger  <aj@suse.de>
36226         [BZ #15003]
36227         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36228         value. Sync with Linux 3.7.
36230 2013-01-10  David S. Miller  <davem@davemloft.net>
36232         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36233         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36234         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36236 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36238         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36239         never set.
36240         * configure: Regenerated.
36242 2013-01-10  David S. Miller  <davem@davemloft.net>
36244         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36245         sparc V9 rather than using V8 code.
36246         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36247         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36249 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36251         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36252         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36253         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36254         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36255         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36256         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36257         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36258         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36259         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36260         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36261         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36262         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36263         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36264         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36265         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36266         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36267         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36268         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36269         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36270         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36271         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36272         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36273         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36274         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36275         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36276         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36277         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36279 2013-01-10  David S. Miller  <davem@davemloft.net>
36281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36283 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36285         * posix/Makefile (tests-static): New variable.
36286         (tests): Add $(tests-static).
36287         (tst-exec-static-ARGS): New variable.
36288         (tst-spawn-static-ARGS): Likewise.
36289         * posix/tst-exec-static.c: New file.
36290         * posix/tst-spawn-static.c: Likewise.
36291         * posix/tst-exec.c: Support run directly.
36292         * posix/tst-spawn.c: Likewise.
36294 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
36296         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36297         long.
36298         * math/bits/mathcalls.h (llrint): Likewise.
36299         (llround): Likewise.
36300         * stdlib/stdlib.h (struct drand48_data): Likewise.
36301         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36302         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36303         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36304         Likewise.
36305         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36306         Likewise.
36307         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36308         (elf_greg_t): Likewise.
36309         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36310         (__jmp_buf): Likewise.
36311         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36312         definitions.
36313         (llrint): Likewise, for all definitions.
36314         (llrintl): Likewise.
36316         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36317         Remove [__GNUC__] condition.
36318         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36319         condition to just [__USE_ISOC99].
36320         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36322 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36324         [BZ #14200]
36325         * sysdeps/unix/sysv/linux/x86/bits/environments.h
36326         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36327         defined.
36328         (_POSIX_V6_ILP32_OFF32): Likewise.
36329         (_XBS5_ILP32_OFF32): Likewise.
36330         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36331         (__ILP32_OFFBIG_LDFLAGS): Likewise.
36333 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36335         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36338         doubles __mpexp_twomm1.  Adjust usage.
36339         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36340         Remove.
36342 2013-01-10  Andreas Schwab  <schwab@suse.de>
36344         [BZ #14964]
36345         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36346         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36348 2013-01-09  David S. Miller  <davem@davemloft.net>
36350         [BZ #15003]
36351         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36352         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36353         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36354         (TCP_FASTOPEN): Define.
36355         (tcp_repair_opt): New structure.
36356         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36357         enum values.
36358         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36359         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36360         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36361         (tcp_cookie_transactions): New structure.
36363 2013-01-09  Anton Blanchard  <anton@samba.org>
36365         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36366         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36367         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36368         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36370 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
36372         * include/features.h (__USE_ANSI): Remove.
36374 2013-01-09  Roland McGrath  <roland@hack.frob.com>
36376         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36378         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36380 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36382         * sysdeps/s390/fpu/libm-test-ulps: Update.
36384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36386         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36387         (__acr): Likewise.
36388         (__cpy): Likewise.
36389         (norm): Likewise.
36390         (denorm): Likewise.
36391         (__mp_dbl): Likewise.
36392         (__dbl_mp): Likewise.
36393         (add_magnitudes): Likewise.
36394         (sub_magnitudes): Likewise.
36395         (__add): Likewise.
36396         (__sub): Likewise.
36397         (__mul): Likewise.
36398         (__inv): Likewise.
36399         (__dvd): Likewise.
36400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36401         (__acr): Likewise.
36402         (__cpy): Likewise.
36403         (norm): Likewise.
36404         (denorm): Likewise.
36405         (__mp_dbl): Likewise.
36406         (__dbl_mp): Likewise.
36407         (add_magnitudes): Likewise.
36408         (sub_magnitudes): Likewise.
36409         (__add): Likewise.
36410         (__sub): Likewise.
36411         (__mul): Likewise.
36412         (__inv): Likewise.
36413         (__dvd): Likewise.
36414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36415         (__acr): Likewise.
36416         (__cpy): Likewise.
36417         (norm): Likewise.
36418         (denorm): Likewise.
36419         (__mp_dbl): Likewise.
36420         (__dbl_mp): Likewise.
36421         (add_magnitudes): Likewise.
36422         (sub_magnitudes): Likewise.
36423         (__add): Likewise.
36424         (__sub): Likewise.
36425         (__mul): Likewise.
36426         (__inv): Likewise.
36427         (__dvd): Likewise.
36429 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
36431         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36432         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36433         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36434         2 && __USE_EXTERN_INLINES]: Likewise.
36436 2013-01-08  Andreas Jaeger  <aj@suse.de>
36438         [BZ# 14985]
36439         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36440         Remove.
36441         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36442         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36444 2013-01-07  Anton Blanchard  <anton@samba.org>
36446         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36447         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36448         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36449         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36450         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36451         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36452         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36453         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36455         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36456         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36457         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36458         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36459         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36460         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36461         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36462         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36463         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36464         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36465         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36466         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36467         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36468         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36469         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36470         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36471         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36472         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36473         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36474         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36475         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36476         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36478         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36479         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36480         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36481         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36482         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36483         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36484         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36485         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36486         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36487         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36488         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36490 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
36492         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36493         (__MALLOC_PMT): Likewise.
36494         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36495         [__GNUC__], only on [_LIBC].
36496         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36497         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36498         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36499         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36500         forward declaration.
36501         (realloc_hook_ini): Likewise.
36502         (memalign_hook_ini): Likewise.
36503         (__libc_memalign): Do not use __MALLOC_PMT in variable
36504         declaration.
36505         (__libc_valloc): Likewise.
36506         (__libc_pvalloc): Likewise.
36507         (__libc_calloc): Likewise.
36508         (__posix_memalign): Likewise.
36510         [BZ #14996]
36511         * math/s_casinh.c: Include <float.h>.
36512         (__casinh): Do not do computation with squaring and square root
36513         for large arguments.
36514         * math/s_casinhf.c: Include <float.h>.
36515         (__casinhf): Do not do computation with squaring and square root
36516         for large arguments.
36517         * math/s_casinhl.c: Include <float.h>.
36518         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36519         (__casinhl): Do not do computation with squaring and square root
36520         for large arguments.
36521         * math/libm-test.inc (casin_test): Add more tests.
36522         (casinh_test): Likewise.
36523         * sysdeps/i386/fpu/libm-test-ulps: Update.
36524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36526 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
36528         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36529         (__x86_64_raw_data_cache_size): Likewise.
36530         (__x86_64_data_cache_size_half): Likewise.
36531         (__x86_64_raw_data_cache_size_half): Likewise.
36532         (__x86_64_shared_cache_size): Likewise.
36533         (__x86_64_raw_shared_cache_size): Likewise.
36534         (__x86_64_shared_cache_size_half): Likewise.
36535         (__x86_64_raw_shared_cache_size_half): Likewise.
36536         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36537         to ...
36538         (__x86_data_cache_size): This.
36539         (__x86_64_raw_data_cache_size): Renamed to ...
36540         (__x86_raw_data_cache_size): This.
36541         (__x86_64_data_cache_size_half): Renamed to ...
36542         (__x86_data_cache_size_half): This.
36543         (__x86_64_raw_data_cache_size_half): Renamed to ...
36544         (__x86_raw_data_cache_size_half): This.
36545         (__x86_64_shared_cache_size): Renamed to ...
36546         (__x86_shared_cache_size): This.
36547         (__x86_64_raw_shared_cache_size): Renamed to ...
36548         (__x86_raw_shared_cache_size): This.
36549         (__x86_64_shared_cache_size_half): Renamed to ...
36550         (__x86_shared_cache_size_half): This.
36551         (__x86_64_raw_shared_cache_size_half): Renamed to ...
36552         (__x86_raw_shared_cache_size_half): This.
36553         * sysdeps/x86_64/memcpy.S: Updated.
36554         * sysdeps/x86_64/memset.S: Likewise.
36555         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36556         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36557         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36559 2013-01-04  David S. Miller  <davem@davemloft.net>
36561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36563 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
36565         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36566         1 to avoid redefinition warning.
36567         (__USE_GNU): Don't define.
36568         (init_signaling_nan): Protoize.
36570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36572 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36574         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36576         (__cpymn): Likewise.
36577         (norm): Remove commented code.
36578         (denorm): Likewise.
36579         (__mp_dbl): Likewise.
36580         (__inv): Likewise.
36581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36582         (__cpymn): Likewise.
36583         (norm): Remove commented code.
36584         (denorm): Likewise.
36585         (__mp_dbl): Likewise.
36586         (__inv): Likewise.
36588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36589         mp_no value for 1.0 and 2.0.
36590         (norm): Use RADIXI instead of radixi.d.
36591         (denorm): Likewise.
36592         (__mul): Use 0.0 instead of zero.d.
36593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36594         mp_no value for 1.0 and 2.0.
36595         (norm): Use RADIXI instead of radixi.d.
36596         (denorm): Likewise.
36597         (__mul): Use 0.0 instead of zero.d.
36599 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
36601         [BZ #14994]
36602         * math/s_casinh.c (__casinh): Reduce finite argument to first
36603         quadrant then set signs of results at the end.
36604         * math/s_casinhf.c (__casinhf): Likewise.
36605         * math/s_casinhl.c (__casinhl): Likewise.
36606         * math/libm-test.inc (casin_test): Add more tests.
36607         (casinh_test): Likewise.
36608         * sysdeps/i386/fpu/libm-test-ulps: Update.
36609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36611 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36613         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36615         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36617         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36618         declarations.
36619         (denorm): Likewise.
36620         (__mp_dbl): Likewise.
36621         (__inv): Likewise.
36623         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36624         and adjust the header comment.
36626         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36627         variable name from declaration.
36629 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
36631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36632         Initialize COMMON_CPUID_INDEX_7 element.
36633         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36634         (CPUID_RTM): Likewise.
36635         (HAS_RTM): Likewise.
36636         (COMMON_CPUID_INDEX_7): New enum.
36638 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
36640         [BZ #14981]
36641         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36642         size is zero, record memory as freed.
36644 2013-01-03  Andreas Jaeger  <aj@suse.de>
36646         * po/ia.po: Add new Interlingua translation.
36648 2012-01-03  Allan McRae  <allan@archlinux.org>
36650         * locale/programs/localedef.c: Fix description of '--posix' flag.
36652 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
36654         * NEWS: Update dates in second copyright notice.
36655         * README: Update copyright dates in example.
36656         * manual/libc.texinfo: Update copyright dates.
36657         * scripts/test-installation.pl: Update copyright date in --version
36658         output.
36660         * hurd/ctty-input.c: Fix copyright notice formatting.
36661         * hurd/ctty-output.c: Likewise.
36662         * hurd/dtable.c: Likewise.
36663         * hurd/hurd-raise.c: Likewise.
36664         * hurd/hurdprio.c: Likewise.
36665         * hurd/msgportdemux.c: Likewise.
36666         * misc/sys/file.h: Likewise.
36667         * misc/sys/ioctl.h: Likewise.
36668         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36669         * sysdeps/mach/hurd/chdir.c: Likewise.
36670         * sysdeps/mach/hurd/fchdir.c: Likewise.
36671         * sysdeps/mach/hurd/rename.c: Likewise.
36672         * sysdeps/mach/hurd/rmdir.c: Likewise.
36673         * sysdeps/mach/hurd/seekdir.c: Likewise.
36674         * sysdeps/mach/hurd/setsid.c: Likewise.
36675         * sysdeps/posix/wait3.c: Likewise.
36677         * All files with FSF copyright notices: Update copyright dates
36678         using scripts/update-copyrights.
36679         * intl/plural.c: Regenerated.
36680         * locale/programs/charmap-kw.h: Likewise.
36681         * locale/programs/locfile-kw.h: Likewise.
36683 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36685         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36686         four values.
36688         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36689         calculation loop and add branch prediction.
36691         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36692         check access beyond bounds of m1np.
36694         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36695         MPTWO.
36696         (__inv): Remove local variable MPTWO to use the global
36697         constant.
36698         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36699         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36700         variable MPTWO.
36701         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36702         MP3HALFS static const.
36704 2013-01-01  David S. Miller  <davem@davemloft.net>
36706         * po/ca.po: Update from translation team.
36708 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
36710         * scripts/update-copyrights: New file.
36711         * Makeconfig: Reformat copyright notice.
36712         * ctype/ctype.h: Likewise.
36713         * debug/swprintf_chk.c: Likewise.
36714         * elf/dl-cache.c: Likewise.
36715         * elf/dl-debug.c: Likewise.
36716         * elf/dl-object.c: Likewise.
36717         * grp/initgroups.c: Likewise.
36718         * hurd/Makefile: Likewise.
36719         * hurd/hurd/signal.h: Likewise.
36720         * hurd/hurdfault.c: Likewise.
36721         * hurd/hurdioctl.c: Likewise.
36722         * hurd/hurdlookup.c: Likewise.
36723         * hurd/intr-msg.c: Likewise.
36724         * iconv/gconv_open.c: Likewise.
36725         * libio/swprintf.c: Likewise.
36726         * locale/lc-ctype.c: Likewise.
36727         * locale/nl_langinfo.c: Likewise.
36728         * mach/Machrules: Likewise.
36729         * mach/Makefile: Likewise.
36730         * malloc/obstack.h: Likewise.
36731         * manual/Makefile: Likewise.
36732         * manual/tsort.awk: Likewise.
36733         * misc/bits/stab.def: Likewise.
36734         * nis/nis_print_group_entry.c: Likewise.
36735         * nis/nis_table.c: Likewise.
36736         * nis/nss_compat/compat-pwd.c: Likewise.
36737         * nis/nss_compat/compat-spwd.c: Likewise.
36738         * po/Makefile: Likewise.
36739         * posix/fnmatch.c: Likewise.
36740         * posix/regex.h: Likewise.
36741         * resolv/Makefile: Likewise.
36742         * resolv/nss_dns/dns-network.c: Likewise.
36743         * resolv/res_hconf.c: Likewise.
36744         * scripts/gen-sorted.awk: Likewise.
36745         * soft-fp/soft-fp.h: Likewise.
36746         * stdio-common/printf.h: Likewise.
36747         * stdlib/monetary.h: Likewise.
36748         * stdlib/random.c: Likewise.
36749         * stdlib/random_r.c: Likewise.
36750         * sysdeps/generic/Makefile: Likewise.
36751         * sysdeps/gnu/Makefile: Likewise.
36752         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36754         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36756         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36759         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36760         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36761         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36762         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36763         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36764         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36765         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36766         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36767         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36768         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36769         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36770         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36771         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36772         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36773         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36774         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36775         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36776         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36777         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36778         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36779         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36780         * sysdeps/mach/hurd/errnos.awk: Likewise.
36781         * sysdeps/mach/hurd/fork.c: Likewise.
36782         * sysdeps/mach/hurd/getcwd.c: Likewise.
36783         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36784         * sysdeps/mach/hurd/mmap.c: Likewise.
36785         * sysdeps/mach/hurd/utimes.c: Likewise.
36786         * sysdeps/mach/hurd/xmknod.c: Likewise.
36787         * sysdeps/posix/profil.c: Likewise.
36788         * sysdeps/posix/readdir_r.c: Likewise.
36789         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36790         * sysdeps/powerpc/bits/setjmp.h: Likewise.
36791         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36792         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36794         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36795         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36796         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36798         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36799         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36800         * sysdeps/pthread/lio_listio.c: Likewise.
36801         * sysdeps/sparc/dl-procinfo.h: Likewise.
36802         * sysdeps/unix/i386/sysdep.S: Likewise.
36803         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36804         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36805         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36806         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36808         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36809         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36810         * sysdeps/unix/sysv/linux/speed.c: Likewise.
36811         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36812         * sysdeps/wordsize-32/divdi3.c: Likewise.
36813         * time/sys/time.h: Likewise.
36814         * wcsmbs/Makefile: Likewise.
36816 2013-01-01  David S. Miller  <davem@davemloft.net>
36818         * po/fr.po: Update from translation team.
36820         * catgets/gencat.c: Update copyright year.
36821         * csu/version.c: Likewise.
36822         * debug/catchsegv.sh: Likewise.
36823         * debug/pcprofiledump.c: Likewise.
36824         * debug/xtrace.sh: Likewise.
36825         * elf/ldconfig.c: Likewise.
36826         * elf/ldd.bash.in: Likewise.
36827         * elf/pldd.c: Likewise.
36828         * elf/sotruss.ksh: Likewise.
36829         * elf/sprof.c: Likewise.
36830         * iconv/iconv_prog.c: Likewise.
36831         * iconv/iconvconfig.c: Likewise.
36832         * locale/programs/locale.c: Likewise.
36833         * locale/programs/localedef.c: Likewise.
36834         * login/programs/pt_chown.c: Likewise.
36835         * malloc/memusage.sh: Likewise.
36836         * malloc/memusagestat.c: Likewise.
36837         * malloc/mtrace.pl: Likewise.
36838         * nscd/nscd.c: Likewise.
36839         * nss/getent.c: Likewise.
36840         * nss/makedb.c: Likewise.
36841         * posix/getconf.c: Likewise.
36843 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36845         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36846         numbers.
36848 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
36850         * math/bits/mathcalls.h (modf): Use __nonnull.
36852 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36854         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36855         (split): Use macro CN instead of the bare value.
36856         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36857         could be used.
36858         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36859         instead of the bare value.
36860         (power1): Likewise.
36862 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36864         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36865         __ATAN_TWOM.
36866         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36868         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36869         their values.
36870         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36871         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36872         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36873         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36875 2012-12-28  Andreas Jaeger  <aj@suse.de>
36877         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
36878         values are from Linux 3.7.
36880         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36881         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
36883 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36885         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36886         TRUE case.
36888         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36889         (norm): Likewise.
36890         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36891         variables with preprocessor constants.
36892         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36893         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36894         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36896 2012-12-27  Bruno Haible  <bruno@clisp.org>
36898         [BZ #14317]
36899         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36900         only if needed.
36902 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36904         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36905         and use variable directly.
36906         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36908         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36909         MPONE.
36910         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36912         variable MPONE.
36913         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36915         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36916         include directive.  Remove local variable MPONE.
36917         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36918         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36919         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36921 2012-12-25  David S. Miller  <davem@davemloft.net>
36923         * version.h (RELEASE): Set to "development".
36924         (VERSION): Set to "2.17.90".
36925         * NEWS: Add 2.18 section.
36927 2012-12-21  David S. Miller  <davem@davemloft.net>
36929         * po/hr.po: Update from translation team.
36931 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36933         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36935 2012-12-19  Steve Ellcey  <sellcey@mips.com>
36937         * NEWS:  Mention new memcpy for MIPS.
36939 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36941         * manual/contrib.texi (Contributors): Spelling correction.
36943 2012-12-15  David S. Miller  <davem@davemloft.net>
36945         * po/ru.po: Update from translation team.
36947 2012-12-13  David S. Miller  <davem@davemloft.net>
36949         * NEWS: Mention IFUNC testsuite enhancements.
36951         * po/pl.po: Update from translation team.
36952         * po/bg.po: Likewise.
36954         * manual/contrib.texi (Contributors): Update entries for Hongjiu
36955         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
36957 2012-12-11  David S. Miller  <davem@davemloft.net>
36959         * po/sv.po: Update from translation team.
36961         * po/vi.po: Update from translation team.
36963         * po/cs.po: Update from translation team.
36965         * po/de.po: Update from translation team.
36966         * po/eo.po: Likewise.
36967         * po/nl.po: Likewise.
36969 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36971         [BZ #14246]
36972         * manual/argp.texi (Argp Helper Functions): Move node to follow
36973         Argp Parsing State.
36975         [BZ #14872]
36976         * manual/conf.texi (Limits on File System Capacity): Mention if
36977         terminating null is included in the max size.
36979 2012-12-10  Andreas Jaeger  <aj@suse.de>
36981         * po/cs.po: Update from translation team.
36983 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36985         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36986         void pointer and cast to uintptr_t.
36987         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36988         path.
36989         * sysdeps/s390/s390-64/memcpy.S: Likewise.
36990         * sysdeps/s390/s390-64/memset.S: Likewise.
36992 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
36994         [BZ #14833]
36995         * menual/message.texi (Message Translation): Fix typos.
36996         (Helper programs for gettext): Likewise.
36998 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37000         [BZ #14898]
37001         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37002         Change to -1.
37004 2012-12-07  David S. Miller  <davem@davemloft.net>
37006         * po/libc.pot: Update.
37008 2012-12-07  Richard Henderson  <rth@redhat.com>
37010         [BZ #10114]
37011         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37012         normal/normal case to before the switch.
37013         (_FP_DIV): Likewise.
37015 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37016             Mike Frysinger  <vapier@gentoo.org>
37018         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37019         check for __NR_fadvise64_64.
37021 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37023         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37024         0, not just to plain "0" as a statement.
37025         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37026         with cw.
37028 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37030         * NEWS: Use sourceware.org in Bugzilla URL.
37032 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37035         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37037         * stdio-common/tst-put-error.c (do_test): Add newline to the
37038         padded test to ensure flush.
37040 2012-12-05  Jeff Law  <law@redhat.com>
37042         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37044 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37046         * README: Don't refer to ports add-on as distributed separately.
37047         Mention AArch64 in list of systems supported in the ports add-on.
37049         * LICENSES: Add more non-FSF copyright and license notices.
37051         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37052         ((unused)).
37054         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37056         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37057         10000 as width of padded output.
37059 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37061         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37063         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37064         variable LX with __attribute__ ((unused)).
37065         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37066         Likewise.
37067         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37068         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37069         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37070         with __attribute__ ((unused)).
37072 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37074         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37076 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37078         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37079         (CFLAGS-nldbl-acos.c): New variable.
37080         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37081         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37082         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37083         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37084         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37085         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37086         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37087         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37088         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37089         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37090         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37091         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37092         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37093         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37094         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37095         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37096         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37097         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37098         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37099         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37100         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37101         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37102         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37103         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37104         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37105         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37106         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37107         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37108         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37109         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37110         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37111         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37112         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37113         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37114         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37115         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37116         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37117         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37118         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37119         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37120         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37121         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37122         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37123         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37124         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37125         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37126         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37127         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37128         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37129         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37130         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37131         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37132         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37133         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37134         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37135         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37136         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37137         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37138         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37139         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37140         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37141         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37142         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37143         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37144         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37145         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37146         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37147         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37148         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37149         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37150         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37151         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37152         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37153         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37154         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37155         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37156         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37157         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37158         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37159         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37160         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37161         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37162         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37163         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37164         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37165         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37166         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37167         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37168         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37169         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37170         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37171         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37172         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37173         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37174         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37175         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37176         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37179         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37181         [BZ #14914]
37182         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37183         whole low double instead of just low 47 bits when splitting values
37184         into two parts.
37186 2012-12-03  Allan McRae  <allan@archlinux.org>
37188         * manual/stdio.texi (Predefined Printf Handlers): Remove
37189         @hsep and @vsep usage.
37191 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37193         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37194         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37196 2012-12-03  Jeff Law  <law@redhat.com>
37198         * time/sys/time.h (settimeofday): Do not mark TV argument
37199         as __nonnull.
37201 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37203         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37204         when currently writing and seek to current position when not.
37205         * libio/Makefile (tests): Remove bug-fclose1.
37206         * libio/bug-fclose1.c: Delete.
37208 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37210         * manual/arith.texi (feenableexcept): Fix typo.
37211         (fedisableexcept): Likewise.
37213 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37215         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37216         second, differently-typed declaration, rather than a cast.
37218 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37220         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37221         * include/rpc/svc.h: ... here.
37223 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
37225         [BZ #13013]
37226         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37227         depending n and resplen2 to catch cases where answer
37228         equals answerp2.
37230 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
37232         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37233         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37235 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
37237         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37239 2012-11-29  Roland McGrath  <roland@hack.frob.com>
37241         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37243 2012-11-28  Jeff Law  <law@redhat.com>
37245         [BZ #13761]
37246         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37247         dataset_temporary.  Track alloca usage into alloca_used.
37248         If dataset is large allocate and release it via malloc/free.
37250 2012-06-04  Florian Weimer  <fweimer@redhat.com>
37252         [BZ #14197]
37253         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37255 2012-11-28  David S. Miller  <davem@davemloft.net>
37257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37259 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37261         [BZ #14803]
37262         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37263         of pi/2 rounded to nearest to 64 bits.
37264         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37265         nearest to 64 bits.
37266         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37267         bits.
37269 2012-11-28  Jeff Law <law@redhat.com>
37270             Martin Osvald <mosvald@redhat.com>
37272         [BZ #14889]
37273         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37274         * sunrpc/svc.c: Include time.h.
37275         (__svc_accept_failed): New function.
37276         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37277         any reason other than EINTR, call __svc_accept_failed.
37278         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37279         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37281 2012-11-28  Andreas Schwab  <schwab@suse.de>
37283         * scripts/abilist.awk: Also handle indirect functions in .opd
37284         section.
37286 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37288         [BZ #13881]
37289         * sysdeps/x86/fpu/powl_helper.c: New file.
37290         * sysdeps/x86/fpu/Makefile: Likewise.
37291         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37292         (p3): New object.
37293         (__ieee754_powl): Use __powl_helper for finite arguments except
37294         integer exponents below 8.
37295         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37296         (p3): New object.
37297         (__ieee754_powl): Use __powl_helper for finite arguments except
37298         integer exponents below 8.
37299         * math/libm-test.inc (pow_test): Add more tests and enable some
37300         previously disabled tests.
37301         * sysdeps/i386/fpu/libm-test-ulps: Update.
37302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37304 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37305             Carlos O'Donell  <carlos_odonell@mentor.com>
37307         * nss/makedb.c (is_prime): Assert that input is odd and greater
37308         than 4.  Note that fact in a comment too.
37309         (next_prime): Add 4 to input.
37311 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37313         [BZ #11741]
37314         * libio/Makefile (tests): Add test case tst-fwrite-error.
37315         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37316         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37317         * libio/tst-fwrite-error.c: New test case.
37319 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
37321         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37322         before casting to void *.
37323         * include/libc-internal.h (__pointer_type): New macro.
37324         (__integer_if_pointer_type_sub): Likewise.
37325         (__integer_if_pointer_type): Likewise.
37326         (cast_to_integer): Likewise.
37327         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37328         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37329         before casting to atomic64_t.
37330         (atomic_exchange_acq): Likewise.
37331         (__arch_exchange_and_add_body): Likewise.
37332         (__arch_add_body): Likewise.
37333         (atomic_add_negative): Likewise.
37334         (atomic_add_zero): Likewise.
37336 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
37338         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37339         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37340         (add_fdes): Likewise.
37341         (linear_search_fdes): Likewise.
37342         (binary_search_unencoded_fdes): Likewise.
37344 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
37346         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37348 2012-11-24  Adam Conrad  <adconrad@0c3.net>
37350         * configure.in: Autodetect C++ header directories.
37351         * configure: Regenerated.
37353 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
37355         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37357 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
37359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37361 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
37363         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37364         LDBL_MANT_DIG == 106]: Disable some tests.
37365         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37366         Likewise.
37367         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37368         Likewise.
37370         [BZ #14871]
37371         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37372         input for small inputs.  Return +/- pi/2 for large inputs.
37373         * math/libm-test.inc (atan_test): Add more tests.
37375         * sysdeps/generic/unwind-dw2-fde-glibc.c
37376         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37377         __attribute__ ((unused)).
37379         [BZ #14645]
37380         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37381         x * y if x and y are nonzero and z is zero.
37383         [BZ #14811]
37384         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37385         nonzero exponents with absolute value below 0x1p-117 to +/-
37386         0x1p-117.
37388         [BZ #14869]
37389         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37390         up arguments below 2**-450, not just those below 2**-500.
37391         * math/libm-test.inc (hypot_test): Add another test.
37393         [BZ #14868]
37394         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37395         Return a+b for ratio over 2**120, not 2**60.
37396         * math/libm-test.inc (hypot_test): Add another test.
37398         * math/libm-test.inc (clog_test): Use
37399         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37400         (clog10_test): Likewise.
37402         [BZ #6778]
37403         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37405 2012-11-22  Andreas Schwab  <schwab@suse.de>
37407         * sysdeps/i386/fpu/libm-test-ulps: Update.
37409 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
37411         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37412         printf output with newline.
37414 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
37416         [BZ #14865]
37417         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37418         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37419         -z nodlopen, -z initfirst and -z execstack support.
37420         * configure: Regenerated.
37422         * elf/elf.h (DF_1_NODIRECT): New macro.
37423         (DF_1_IGNMULDEF): Likewise.
37424         (DF_1_NOKSYMS): Likewise.
37425         (DF_1_NOHDR): Likewise.
37426         (DF_1_EDITED): Likewise.
37427         (DF_1_NORELOC): Likewise.
37428         (DF_1_SYMINTPOSE): Likewise.
37429         (DF_1_GLOBAUDIT): Likewise.
37430         (DF_1_SINGLETON): Likewise.
37431         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37432         DT_1_SUPPORTED_MASK bits.
37433         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37435 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
37437         * sysdeps/unix/make-syscalls.sh: Document prefixes.
37439 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
37441         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37442         macro.
37444         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37445         (sendmmsg): Move declarations...
37446         * socket/sys/socket.h: ... here.
37447         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37448         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37449         include it from...
37450         * socket/recvmmsg.c: ... this new file.
37451         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37452         (sendmmsg): Rename to __sendmmsg, create weak alias and make
37453         definition of __sendmmsg hidden.
37454         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37455         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37456         Move ENOSYS stub into and include it from...
37457         * socket/sendmmsg.c: ... this new file.
37458         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37459         (sysdep_routines): Move recvmmsg and sendmmsg...
37460         * socket/Makefile (routines): ... here.
37461         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37462         (GLIBC_PRIVATE): Add __sendmmsg.
37463         * include/sys/socket.h (__sendmmsg): Add declarations.
37464         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37465         sendmmsg.
37467 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
37469         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37470         variable I1 with __attribute__ ((unused)).
37471         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37473 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37475         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37476         DUMMY variables with __attribute__ ((unused)).
37478         * bits/byteswap.h: Include <bits/types.h>.
37479         (__bswap_64): Use __uint64_t instead of unsigned long long int.
37481 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37483         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37484         string_t.  Do not manually set errno.
37485         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37486         length with __strnlen.  Make sure to both set errno and return it on
37487         failure.
37489 2012-11-19  David S. Miller  <davem@davemloft.net>
37491         With help from Joseph Myers.
37492         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37493         very large arguments properly.
37494         * math/libm-test.inc (atan_test): New tests.
37495         (atan2_test): New tests.
37496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37499 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37501         [BZ #14856]
37502         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37503         Define to 3.
37505         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37506         [POSIX] (EADDRNOTAVAIL): Likewise.
37507         [POSIX] (EAFNOSUPPORT): Likewise.
37508         [POSIX] (EALREADY): Likewise.
37509         [POSIX] (ECONNABORTED): Likewise.
37510         [POSIX] (ECONNREFUSED): Likewise.
37511         [POSIX] (ECONNRESET): Likewise.
37512         [POSIX] (EDESTADDRREQ): Likewise.
37513         [POSIX] (EDQUOT): Likewise.
37514         [POSIX] (EHOSTUNREACH): Likewise.
37515         [POSIX] (EIDRM): Likewise.
37516         [POSIX] (EISCONN): Likewise.
37517         [POSIX] (ELOOP): Likewise.
37518         [POSIX] (EMULTIHOP): Likewise.
37519         [POSIX] (ENETDOWN): Likewise.
37520         [POSIX] (ENETUNREACH): Likewise.
37521         [POSIX] (ENOBUFS): Likewise.
37522         [POSIX] (ENODATA): Likewise.
37523         [POSIX] (ENOLINK): Likewise.
37524         [POSIX] (ENOMSG): Likewise.
37525         [POSIX] (ENOPROTOOPT): Likewise.
37526         [POSIX] (ENOSR): Likewise.
37527         [POSIX] (ENOSTR): Likewise.
37528         [POSIX] (ENOTCONN): Likewise.
37529         [POSIX] (ENOTSOCK): Likewise.
37530         [POSIX] (EOPNOTSUPP): Likewise.
37531         [POSIX] (EOVERFLOW): Likewise.
37532         [POSIX] (EPROTO): Likewise.
37533         [POSIX] (EPROTONOSUPPORT): Likewise.
37534         [POSIX] (EPROTOTYPE): Likewise.
37535         [POSIX] (ESTALE): Likewise.
37536         [POSIX] (ETIME): Likewise.
37537         [POSIX] (ETXTBSY): Likewise.
37538         [POSIX] (EWOULDBLOCK): Likewise.
37539         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37540         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37541         [POSIX] (SEEK_CUR): Likewise.
37542         [POSIX] (SEEK_END): Likewise.
37543         [POSIX || UNIX98] (mode_t): Do not require.
37544         [POSIX] (off_t): Likewise.
37545         [POSIX] (pid_t): Likewise.
37546         [POSIX] (sys/stat.h): Do not allow header.
37547         [POSIX] (unistd.h): Likewise.
37548         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37549         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37550         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37551         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37552         require.
37553         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37554         sigevent): Specify elements.
37555         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37556         entry.
37557         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37558         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37560         * conform/data/cpio.h-data [POSIX]: Disable whole file.
37561         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37562         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37563         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37564         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37565         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37566         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37567         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37568         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37569         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37570         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37571         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37572         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37573         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37574         Likewise.
37575         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37576         Likewise.
37577         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37578         Likewise.
37579         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37580         Likewise.
37581         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37582         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37583         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37584         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37585         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37586         Specify lower bound on value.
37587         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37588         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37589         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37590         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37591         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37592         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37593         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37594         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37595         value.
37596         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37597         as optional.
37598         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37599         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37600         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37601         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37602         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37603         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37604         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37605         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37606         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37607         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37608         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37609         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37610         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37611         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37612         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37613         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37614         entry.
37615         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37616         optional.
37617         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37618         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37619         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37620         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37621         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37622         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37623         Likewise.
37624         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37625         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37626         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37627         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37628         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
37629         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37630         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37631         as optional.
37632         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37633         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37634         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37635         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37636         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37637         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37638         specify as optional.
37639         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37640         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37641         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37642         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37643         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37644         [XPG3] (NL_LANGMAX): Likewise.
37645         [POSIX || XPG3] (NL_MSGMAX): Likewise.
37646         [POSIX || XPG3] (NL_NMAX): Likewise.
37647         [POSIX || XPG3] (NL_SETMAX): Likewise.
37648         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37649         [XPG3] (NZERO): Likewise.
37650         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37651         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37652         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37653         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37654         (REG_ERANGE): Expect.
37655         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37656         optional-constant.
37657         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37658         Use (void) in prototype.
37659         [POSIX] (*_t): Allow.
37660         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37661         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37662         (WRDE_BADVAL): Expect.
37664         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37665         expect.
37666         [XPG3 || XPG4] (O_RSYNC): Likewise.
37667         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37668         Likewise.
37669         [XPG3 || XPG4] (pthread_sigmask): Likewise.
37670         [XPG3 || XPG4] (sigqueue): Likewise.
37671         [XPG3 || XPG4] (sigtimedwait): Likewise.
37672         [XPG3 || XPG4] (sigwaitinfo): Likewise.
37673         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37674         [XPG3 || XPG4] (vsnprintf): Likewise.
37675         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37676         Likewise.
37677         [XPG3 || XPG4] (blksize_t): Likewise.
37678         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37679         Likewise.
37680         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37681         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37682         [XPG3 || XPG4] (struct itimerspec): Likewise.
37683         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37684         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37685         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37686         [XPG3 || XPG4] (clockid_t): Likewise.
37687         [XPG3 || XPG4] (timer_t): Likewise.
37688         [XPG3 || XPG4] (clock_getres): Likewise.
37689         [XPG3 || XPG4] (clock_gettime): Likewise.
37690         [XPG3 || XPG4] (clock_settime): Likewise.
37691         [XPG3 || XPG4] (nanosleep): Likewise.
37692         [XPG3 || XPG4] (timer_create): Likewise.
37693         [XPG3 || XPG4] (timer_delete): Likewise.
37694         [XPG3 || XPG4] (timer_gettime): Likewise.
37695         [XPG3 || XPG4] (timer_getoverrun): Likewise.
37696         [XPG3 || XPG4] (timer_settime): Likewise.
37697         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37698         [XPG3 || XPG4] (getlogin_r): Likewise.
37699         [XPG3 || XPG4] (pread): Likewise.
37700         [XPG3 || XPG4] (pthread_atfork): Likewise.
37701         [XPG3 || XPG4] (pwrite): Likewise.
37703         [BZ #14835]
37704         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37705         <bits/siginfo.h>.
37707 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37709         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37710         finalizing MALLSTREAM.
37712         * sysdeps/mach/hurd/syncfs.c: New file.
37714 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37716         [BZ #14719]
37717         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37718         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37719         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37720         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37721         (_nss_dns_gethostbyname4_r): Likewise.
37722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37723         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37725 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
37727         [BZ #13763]
37728         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37730 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
37732         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37733         * elf/cache.c (print_entry): Print ",AArch64" for
37734         FLAG_AARCH64_LIB64
37736         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37737         * elf/cache.c (print_entry): Print ",hard-float" for
37738         FLAG_ARM_LIBHF.
37740 2012-11-18  David S. Miller  <davem@davemloft.net>
37742         With help from Joseph Myers.
37743         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37744         cutoff to 2**-13.
37745         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37746         cutoff to 2**-25.
37747         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37748         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37749         small.
37750         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37751         * math/libm-test.inc (y0_test): New tests.
37752         (y1_test): New tests.
37753         * sysdeps/i386/fpu/libm-test-ulps: Update.
37754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37757 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
37759         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37760         64-bit targets.
37761         * configure: Regenerated.
37763 2012-11-17  David S. Miller  <davem@davemloft.net>
37765         [BZ #14811]
37766         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37767         nonzero exponents with absolute value below 0x1p-128 to +/-
37768         0x1p-128.
37770 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
37772         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37774         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37776         * posix/getconf-speclist.c: New file.
37777         * posix/posix-envs.def: Likewise.
37778         * posix/confstr.c (START_ENV_GROUP): New macro.
37779         (END_ENV_GROUP): Likewise.
37780         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37781         (KNOWN_PRESENT_ENV_STRING): Likewise.
37782         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37783         (UNKNOWN_ENVIRONMENT): Likewise.
37784         (confstr): Include posix-envs.def instead of handling
37785         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37786         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37787         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37788         (END_ENV_GROUP): Likewise.
37789         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37790         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37791         (UNKNOWN_ENVIRONMENT): Likewise.
37792         (__sysconf): Include posix-envs.def instead of handling associated
37793         cases directly here.
37794         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37795         preprocessing getconf-speclist.c rather than running getconf or
37796         generating empty file.
37798 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
37800         * scripts/check-local-headers.sh: Ignore 'mach' headers.
37802 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
37804         [BZ #14672]
37805         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37807 2012-11-16  David S. Miller  <davem@davemloft.net>
37809         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37810         smaller than LDBL_EPSILON/2.0L, just return xm1.
37812 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
37814         * elf/tst-array1.c (init): Set constructor priority to 1000.
37815         (fini): Set destructor priority to 1000.
37816         * elf/tst-array2dep.c: Likewise.
37818 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37820         [BZ #11741]
37821         * libio/fileops.c (_IO_new_file_write): Correctly return error.
37822         (_IO_new_file_xsputn): Also return EOF if none of the input
37823         data was written when overflow failed.
37824         * libio/iopadn.c (_IO_padn): Likewise.
37825         * libio/iowpadn.c (_IO_wpadn): Likewise.
37826         * stdio-common/tst-put-error.c: Add copyright notice.
37827         (do_test): Add case for printing padded string.
37828         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37829         _IO_padn returned error.
37830         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37831         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37832         return EOF.
37834 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37836         * libio/libioP.h: Add comment note that the references to C++
37837         bits are now obsolete.
37839 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37841         * math/libm-test.inc (check_complex): Use asprintf.
37843 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
37845         * debug/pcprofiledump.c (print_version): Update copyright year.
37846         * malloc/memusagestat.c (print_version): Likewise.
37848 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
37850         [BZ #14831]
37851         * elf/Makefile (tests): Add tst-audit8.
37852         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37853         ($(objpfx)tst-audit8.out): New target.
37854         (tst-audit8-ENV): New variable.
37855         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37856         audit if l_reloc_result is NULL.
37857         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37858         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37859         * elf/tst-audit8.c: New file.
37861 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37863         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37864         * misc/Makefile (CFLAGS-select.c): Define.
37865         * posix/Makefile (CFLAGS-pause.c): Define.
37867 2012-11-13  David S. Miller  <davem@davemloft.net>
37869         * crypt/Makefile: Move test targets after toplevel Rules
37870         inclusion.  Grab any necessary sysdep routines when linking.
37871         * crypt/md5.c (md5_process_block): Remove define, we will always
37872         name it __md5_process_block.
37873         (md5_finish_ctx): Update md5_process_block call.
37874         (md5_stream): Likewise.
37875         (md5_process_bytes): Likewise.
37876         (md5_process_block): Rename to __md5_process_block and move to ...
37877         * crypt/md5-block.c: ... here.
37878         * crypt/sha256.c (sha256_process_block): Move to ...
37879         * crypt/sha256-block.c: ... here.
37880         * crypt/sha512.c (sha512_process_block): Move to ...
37881         * crypt/sha512-block.c: ... here.
37882         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37883         path.
37884         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37885         * sysdeps/sparc/sparc64/multiarch/Makefile
37886         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37887         crypt subdir.
37888         (localedef-aux): Add md5 crypto assembler when in locale subdir.
37889         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37890         multiarch changes.
37891         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37892         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37893         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37894         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37895         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37896         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37897         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37898         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37899         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37900         file.
37901         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37902         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37903         file.
37904         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37906 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
37908         * timezone/tzselect.ksh: Update from tzcode git revision
37909         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37910         * timezone/zdump.c: Likewise.
37911         * timezone/zic.c: Likewise.
37912         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37913         in TZVERSION setting, not $(PKGVERSION).
37914         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
37915         REPORT_BUGS_TO settings.
37917         [BZ #14838]
37918         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37919         macro.
37921 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37923         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37924         detection to immediately after _FP_ROUND().
37925         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37926         bits are 0.
37928 2012-11-11  David S. Miller  <davem@davemloft.net>
37930         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37931         inttypes.h
37932         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37933         __close rather than their public counterparts.
37935 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
37937         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37938         file.
37939         [UNIX98] (sem_timedwait): Do not expect.
37940         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37941         [XPG4 || UNIX98] (sockatmark): Do not expect.
37942         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37943         (clock_getcpuclockid): Do not expect.
37944         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37945         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37946         Do not expect.
37947         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37948         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37949         [UNIX98] (vwscanf): Likewise.
37950         [UNIX98] (vswscanf): Likewise.
37952 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
37954         * timezone/version.h: Remove file.
37955         * timezone/README: Do not refer to version.h.
37956         * timezone/Makefile ($(objpfx)zic.o): New dependency on
37957         $(objpfx)version.h.
37958         ($(objpfx)zdump.o): Likewise.
37959         ($(objpfx)version.h): New target.
37961         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37962         2012i.
37963         * timezone/README: Don't mention modification to tzselect.ksh.
37964         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37965         work on unmodified tzselect.ksh.  Substitute version numbers in
37966         tzselect.ksh.
37968         * Makefile (format-me): Remove.
37969         (INSTALL): Adjust indentation.  Use commands directly instead of
37970         using $(format-me).
37972         * aclocal.m4 (ACX_PKGVERSION): New macro.
37973         (ACX_BUGURL): Likewise.
37974         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37975         (PKGVERSION): New AC_DEFINE_UNQUOTED.
37976         (REPORT_BUGS_TO): Likewise.
37977         * configure: Regenerated.
37978         * config.h.in (PKGVERSION): New macro.
37979         (REPORT_BUGS_TO): Likewise.
37980         * config.make.in (PKGVERSION): New variable.
37981         (PKGVERSION_TEXI): Likewise.
37982         (REPORT_BUGS_TO): Likewise.
37983         (REPORT_BUGS_TEXI): Likewise.
37984         * Makefile (format-me): Use -I$(common-objpfx)manual.
37985         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37986         ($(common-objpfx)manual/%): New target.
37987         (manual/%): Remove target.
37988         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37989         (print_version): Use PKGVERSION.
37990         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37991         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37992         and REPORT_BUGS_TO.
37993         ($(objpfx)xtrace): Likewise.
37994         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37995         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37996         (print_version): Use PKGVERSION.
37997         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37998         (do_version): Use PKGVERSION.
37999         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38000         REPORT_BUGS_TO.
38001         (common-ldd-rewrite): Likewise.
38002         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38003         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38004         (print_version): Use PKGVERSION.
38005         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38006         * elf/pldd.c (argp_program_bug_address): Remove variable.
38007         (more_help): New function.
38008         (argp): Use more_help.
38009         (print_version): Use PKGVERSION.
38010         * elf/sln.c (main): Use PKGVERSION.
38011         (usage): Use REPORT_BUGS_TO.
38012         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38013         (top level): Use PKGVERSION.
38014         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38015         (print_version): Use PKGVERSION.
38016         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38017         (print_version): Use PKGVERSION.
38018         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38019         (print_version): Use PKGVERSION.
38020         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38021         (print_version): Use PKGVERSION.
38022         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38023         (print_version): Use PKGVERSION.
38024         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38025         (print_version): Use PKGVERSION.
38026         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38027         and BUGURL.
38028         ($(objpfx)memusage): Likewise.
38029         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38030         (do_version): Use PKGVERSION.
38031         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38032         (print_version): Use PKGVERSION.
38033         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38034         ($PKGVERSION): New variable.
38035         ($REPORT_BUGS_TO): Likewise.
38036         (usage): Use $REPORT_BUGS_TO.
38037         (top level): Use $PKGVERSION.
38038         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38039         ($(objpfx)pkgvers.texi): New rule.
38040         ($(objpfx)stamp-pkgvers): Likewise.
38041         * manual/install.texi: Include pkgvers.texi.
38042         (--with-pkgversion): Document new configure option.
38043         (--with-bugurl): Likewise.
38044         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38045         than necessarily for this particular distribution.  Use
38046         REPORT_BUGS_TO for where to report bugs.
38047         * INSTALL: Regenerated.
38048         * manual/libc.texinfo: Include pkgvers.texi.
38049         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38050         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38051         (print_version): Use PKGVERSION.
38052         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38053         (print_version): Use PKGVERSION.
38054         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38055         (print_version): Use PKGVERSION.
38056         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38057         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38058         macro.
38059         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38060         (print_version): Use PKGVERSION.
38061         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38062         (print_version): Use PKGVERSION.
38063         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38064         and PKGVERSION.
38066         * timezone/checktab.awk: Update from tzcode 2012i.
38067         * timezone/ialloc.c: Likewise.
38068         * timezone/private.h: Likewise.
38069         * timezone/scheck.c: Likewise.
38070         * timezone/tzfile.h: Likewise.
38071         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38072         (TZVERSION): Hardcode tzcode version number.
38073         * timezone/zdump.c: Update from tzcode 2012i.
38074         * timezone/zic.c: Likewise.
38075         * timezone/version.h: New file.
38076         * timezone/README: Describe version.h.  Update upstream location.
38078         [BZ #14824]
38079         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38080         (mktemp): Enable declaration.
38081         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38083         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38085         Likewise.
38086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38087         Likewise.
38088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38089         Likewise.
38090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38091         Likewise.
38092         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38093         Likewise.
38094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38095         Likewise.
38097         [BZ #14821]
38098         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38099         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38100         for copies of such integer values.
38101         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38102         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38104 2012-11-09  Andreas Jaeger  <aj@suse.de>
38106         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38107         definitions and declarations that are provided by
38108         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38110 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38112         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38113         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38114         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38115         definition.
38117 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38119         * elf/elf.h: Update comment before AArch64 relocations.
38121 2012-11-07  David S. Miller  <davem@davemloft.net>
38123         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38124         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38125         (__start_context): Declare.
38126         (__makecontext_ret): Delete.
38127         (__makecontext): Hook up __start_context instead of
38128         __makecontext_ret.
38129         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38130         (sysdep_routines): Add __start_context when in stdlib.
38132 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38134         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38135         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38136         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
38137         hardcoded "nm".
38138         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
38139         (READELF): New variable.  Use it instead of hardcoded "readelf".
38141 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38143         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38144         * sysdeps/x86/Makefile: Here.
38145         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38146         * sysdeps/x86/tst-xmmymm.sh: This.
38148 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38150         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38151         expectations.
38152         [UNIX98] (pthread_barrier_t): Do not expect.
38153         [UNIX98] (pthread_barrierattr_t): Likewise.
38154         [UNIX98] (pthread_spinlock_t): Likewise.
38155         [UNIX98] (pthread_barrier_destroy): Likewise.
38156         [UNIX98] (pthread_barrier_init): Likewise.
38157         [UNIX98] (pthread_barrier_wait): Likewise.
38158         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38159         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38160         [UNIX98] (pthread_barrierattr_init): Likewise.
38161         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38162         [UNIX98] (pthread_getcpuclockid): Likewise.
38163         [UNIX98] (pthread_mutex_timedlock): Likewise.
38164         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38165         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38166         [UNIX98] (pthread_sigmask): Likewise.
38167         [UNIX98] (pthread_spin_destroy): Likewise.
38168         [UNIX98] (pthread_spin_init): Likewise.
38169         [UNIX98] (pthread_spin_lock): Likewise.
38170         [UNIX98] (pthread_spin_trylock): Likewise.
38171         [UNIX98] (pthread_spin_unlock): Likewise.
38172         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38173         Do not expect.
38174         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38175         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38176         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38177         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38178         [XPG3 || XPG4] (pthread_key_t): Likewise.
38179         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38180         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38181         [XPG3 || XPG4] (pthread_once_t): Likewise.
38182         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38183         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38184         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38185         [XPG3 || XPG4] (pthread_t): Likewise.
38187         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38188         not expect.
38189         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38191         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38192         Change function return type to int.
38194         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38195         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38196         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38197         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38198         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38199         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38200         [!POSIX] (posix_madvise): Likewise.
38201         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38202         && !UNIX98].
38203         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38204         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38205         (mode_t): Likewise.
38206         (posix_mem_offset): Likewise.
38207         (posix_typed_mem_get_info): Likewise.
38208         (posix_typed_mem_open): Likewise.
38210         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38211         Change condition to [XOPEN2K8].
38213         * conform/conformtest.pl: Preprocess allow-header data with -x c
38214         instead of from stdin.
38215         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38216         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38217         [C99-based standards] (cerfc): Likewise.
38218         [C99-based standards] (cexp2): Likewise.
38219         [C99-based standards] (cexpm1): Likewise.
38220         [C99-based standards] (clog10): Likewise.
38221         [C99-based standards] (clog1p): Likewise.
38222         [C99-based standards] (clog2): Likewise.
38223         [C99-based standards] (clgamma): Likewise.
38224         [C99-based standards] (ctgamma): Likewise.
38225         [C99-based standards] (cerff): Likewise.
38226         [C99-based standards] (cerfcf): Likewise.
38227         [C99-based standards] (cexp2f): Likewise.
38228         [C99-based standards] (cexpm1f): Likewise.
38229         [C99-based standards] (clog10f): Likewise.
38230         [C99-based standards] (clog1pf): Likewise.
38231         [C99-based standards] (clog2f): Likewise.
38232         [C99-based standards] (clgammaf): Likewise.
38233         [C99-based standards] (ctgammaf): Likewise.
38234         [C99-based standards] (cerfl): Likewise.
38235         [C99-based standards] (cerfcl): Likewise.
38236         [C99-based standards] (cexp2l): Likewise.
38237         [C99-based standards] (cexpm1l): Likewise.
38238         [C99-based standards] (clog10l): Likewise.
38239         [C99-based standards] (clog1pl): Likewise.
38240         [C99-based standards] (clog2l): Likewise.
38241         [C99-based standards] (clgammal): Likewise.
38242         [C99-based standards] (ctgammal): Likewise.
38243         * conform/data/inttypes.h-data [C99-based standards]: Include
38244         stdint.h-data.  Remove all expectations for stdint.h contents.
38245         [C99-based standards] (PRI*): Do not allow.
38246         [C99-based standards] (SCN*): Likewise.
38247         [C99-based standards] (*_t): Likewise.
38248         [C99-based-standards] (PRId8): Expect macro.
38249         [C99-based-standards] (PRIi8): Likewise.
38250         [C99-based-standards] (PRIo8): Likewise.
38251         [C99-based-standards] (PRIu8): Likewise.
38252         [C99-based-standards] (PRIx8): Likewise.
38253         [C99-based-standards] (PRIX8): Likewise.
38254         [C99-based-standards] (SCNd8): Likewise.
38255         [C99-based-standards] (SCNi8): Likewise.
38256         [C99-based-standards] (SCNo8): Likewise.
38257         [C99-based-standards] (SCNu8): Likewise.
38258         [C99-based-standards] (SCNx8): Likewise.
38259         [C99-based-standards] (PRIdLEAST8): Likewise.
38260         [C99-based-standards] (PRIiLEAST8): Likewise.
38261         [C99-based-standards] (PRIoLEAST8): Likewise.
38262         [C99-based-standards] (PRIuLEAST8): Likewise.
38263         [C99-based-standards] (PRIxLEAST8): Likewise.
38264         [C99-based-standards] (PRIXLEAST8): Likewise.
38265         [C99-based-standards] (SCNdLEAST8): Likewise.
38266         [C99-based-standards] (SCNiLEAST8): Likewise.
38267         [C99-based-standards] (SCNoLEAST8): Likewise.
38268         [C99-based-standards] (SCNuLEAST8): Likewise.
38269         [C99-based-standards] (SCNxLEAST8): Likewise.
38270         [C99-based-standards] (PRIdFAST8): Likewise.
38271         [C99-based-standards] (PRIiFAST8): Likewise.
38272         [C99-based-standards] (PRIoFAST8): Likewise.
38273         [C99-based-standards] (PRIuFAST8): Likewise.
38274         [C99-based-standards] (PRIxFAST8): Likewise.
38275         [C99-based-standards] (PRIXFAST8): Likewise.
38276         [C99-based-standards] (SCNdFAST8): Likewise.
38277         [C99-based-standards] (SCNiFAST8): Likewise.
38278         [C99-based-standards] (SCNoFAST8): Likewise.
38279         [C99-based-standards] (SCNuFAST8): Likewise.
38280         [C99-based-standards] (SCNxFAST8): Likewise.
38281         [C99-based-standards] (PRId16): Likewise.
38282         [C99-based-standards] (PRIi16): Likewise.
38283         [C99-based-standards] (PRIo16): Likewise.
38284         [C99-based-standards] (PRIu16): Likewise.
38285         [C99-based-standards] (PRIx16): Likewise.
38286         [C99-based-standards] (PRIX16): Likewise.
38287         [C99-based-standards] (SCNd16): Likewise.
38288         [C99-based-standards] (SCNi16): Likewise.
38289         [C99-based-standards] (SCNo16): Likewise.
38290         [C99-based-standards] (SCNu16): Likewise.
38291         [C99-based-standards] (SCNx16): Likewise.
38292         [C99-based-standards] (PRIdLEAST16): Likewise.
38293         [C99-based-standards] (PRIiLEAST16): Likewise.
38294         [C99-based-standards] (PRIoLEAST16): Likewise.
38295         [C99-based-standards] (PRIuLEAST16): Likewise.
38296         [C99-based-standards] (PRIxLEAST16): Likewise.
38297         [C99-based-standards] (PRIXLEAST16): Likewise.
38298         [C99-based-standards] (SCNdLEAST16): Likewise.
38299         [C99-based-standards] (SCNiLEAST16): Likewise.
38300         [C99-based-standards] (SCNoLEAST16): Likewise.
38301         [C99-based-standards] (SCNuLEAST16): Likewise.
38302         [C99-based-standards] (SCNxLEAST16): Likewise.
38303         [C99-based-standards] (PRIdFAST16): Likewise.
38304         [C99-based-standards] (PRIiFAST16): Likewise.
38305         [C99-based-standards] (PRIoFAST16): Likewise.
38306         [C99-based-standards] (PRIuFAST16): Likewise.
38307         [C99-based-standards] (PRIxFAST16): Likewise.
38308         [C99-based-standards] (PRIXFAST16): Likewise.
38309         [C99-based-standards] (SCNdFAST16): Likewise.
38310         [C99-based-standards] (SCNiFAST16): Likewise.
38311         [C99-based-standards] (SCNoFAST16): Likewise.
38312         [C99-based-standards] (SCNuFAST16): Likewise.
38313         [C99-based-standards] (SCNxFAST16): Likewise.
38314         [C99-based-standards] (PRId32): Likewise.
38315         [C99-based-standards] (PRIi32): Likewise.
38316         [C99-based-standards] (PRIo32): Likewise.
38317         [C99-based-standards] (PRIu32): Likewise.
38318         [C99-based-standards] (PRIx32): Likewise.
38319         [C99-based-standards] (PRIX32): Likewise.
38320         [C99-based-standards] (SCNd32): Likewise.
38321         [C99-based-standards] (SCNi32): Likewise.
38322         [C99-based-standards] (SCNo32): Likewise.
38323         [C99-based-standards] (SCNu32): Likewise.
38324         [C99-based-standards] (SCNx32): Likewise.
38325         [C99-based-standards] (PRIdLEAST32): Likewise.
38326         [C99-based-standards] (PRIiLEAST32): Likewise.
38327         [C99-based-standards] (PRIoLEAST32): Likewise.
38328         [C99-based-standards] (PRIuLEAST32): Likewise.
38329         [C99-based-standards] (PRIxLEAST32): Likewise.
38330         [C99-based-standards] (PRIXLEAST32): Likewise.
38331         [C99-based-standards] (SCNdLEAST32): Likewise.
38332         [C99-based-standards] (SCNiLEAST32): Likewise.
38333         [C99-based-standards] (SCNoLEAST32): Likewise.
38334         [C99-based-standards] (SCNuLEAST32): Likewise.
38335         [C99-based-standards] (SCNxLEAST32): Likewise.
38336         [C99-based-standards] (PRIdFAST32): Likewise.
38337         [C99-based-standards] (PRIiFAST32): Likewise.
38338         [C99-based-standards] (PRIoFAST32): Likewise.
38339         [C99-based-standards] (PRIuFAST32): Likewise.
38340         [C99-based-standards] (PRIxFAST32): Likewise.
38341         [C99-based-standards] (PRIXFAST32): Likewise.
38342         [C99-based-standards] (SCNdFAST32): Likewise.
38343         [C99-based-standards] (SCNiFAST32): Likewise.
38344         [C99-based-standards] (SCNoFAST32): Likewise.
38345         [C99-based-standards] (SCNuFAST32): Likewise.
38346         [C99-based-standards] (SCNxFAST32): Likewise.
38347         [C99-based-standards] (PRId64): Likewise.
38348         [C99-based-standards] (PRIi64): Likewise.
38349         [C99-based-standards] (PRIo64): Likewise.
38350         [C99-based-standards] (PRIu64): Likewise.
38351         [C99-based-standards] (PRIx64): Likewise.
38352         [C99-based-standards] (PRIX64): Likewise.
38353         [C99-based-standards] (SCNd64): Likewise.
38354         [C99-based-standards] (SCNi64): Likewise.
38355         [C99-based-standards] (SCNo64): Likewise.
38356         [C99-based-standards] (SCNu64): Likewise.
38357         [C99-based-standards] (SCNx64): Likewise.
38358         [C99-based-standards] (PRIdLEAST64): Likewise.
38359         [C99-based-standards] (PRIiLEAST64): Likewise.
38360         [C99-based-standards] (PRIoLEAST64): Likewise.
38361         [C99-based-standards] (PRIuLEAST64): Likewise.
38362         [C99-based-standards] (PRIxLEAST64): Likewise.
38363         [C99-based-standards] (PRIXLEAST64): Likewise.
38364         [C99-based-standards] (SCNdLEAST64): Likewise.
38365         [C99-based-standards] (SCNiLEAST64): Likewise.
38366         [C99-based-standards] (SCNoLEAST64): Likewise.
38367         [C99-based-standards] (SCNuLEAST64): Likewise.
38368         [C99-based-standards] (SCNxLEAST64): Likewise.
38369         [C99-based-standards] (PRIdFAST64): Likewise.
38370         [C99-based-standards] (PRIiFAST64): Likewise.
38371         [C99-based-standards] (PRIoFAST64): Likewise.
38372         [C99-based-standards] (PRIuFAST64): Likewise.
38373         [C99-based-standards] (PRIxFAST64): Likewise.
38374         [C99-based-standards] (PRIXFAST64): Likewise.
38375         [C99-based-standards] (SCNdFAST64): Likewise.
38376         [C99-based-standards] (SCNiFAST64): Likewise.
38377         [C99-based-standards] (SCNoFAST64): Likewise.
38378         [C99-based-standards] (SCNuFAST64): Likewise.
38379         [C99-based-standards] (SCNxFAST64): Likewise.
38380         [C99-based-standards] (PRIdMAX): Likewise.
38381         [C99-based-standards] (PRIiMAX): Likewise.
38382         [C99-based-standards] (PRIoMAX): Likewise.
38383         [C99-based-standards] (PRIuMAX): Likewise.
38384         [C99-based-standards] (PRIxMAX): Likewise.
38385         [C99-based-standards] (PRIXMAX): Likewise.
38386         [C99-based-standards] (SCNdMAX): Likewise.
38387         [C99-based-standards] (SCNiMAX): Likewise.
38388         [C99-based-standards] (SCNoMAX): Likewise.
38389         [C99-based-standards] (SCNuMAX): Likewise.
38390         [C99-based-standards] (SCNxMAX): Likewise.
38391         [C99-based-standards] (PRIdPTR): Likewise.
38392         [C99-based-standards] (PRIiPTR): Likewise.
38393         [C99-based-standards] (PRIoPTR): Likewise.
38394         [C99-based-standards] (PRIuPTR): Likewise.
38395         [C99-based-standards] (PRIxPTR): Likewise.
38396         [C99-based-standards] (PRIXPTR): Likewise.
38397         [C99-based-standards] (SCNdPTR): Likewise.
38398         [C99-based-standards] (SCNiPTR): Likewise.
38399         [C99-based-standards] (SCNoPTR): Likewise.
38400         [C99-based-standards] (SCNuPTR): Likewise.
38401         [C99-based-standards] (SCNxPTR): Likewise.
38402         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38403         allow.
38404         * conform/data/stdint.h-data: Update comments to clarify
38405         requirements.
38406         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
38407         type.
38408         [C99-based standards] (INT8_MAX): Likewise.
38409         [C99-based standards] (INT16_MIN): Likewise.
38410         [C99-based standards] (INT16_MAX): Likewise.
38411         [C99-based standards] (INT32_MIN): Likewise.
38412         [C99-based standards] (INT32_MAX): Likewise.
38413         [C99-based standards] (INT64_MIN): Likewise.
38414         [C99-based standards] (INT64_MAX): Likewise.
38415         [C99-based standards] (UINT8_MAX): Likewise.
38416         [C99-based standards] (UINT16_MAX): Likewise.
38417         [C99-based standards] (UINT32_MAX): Likewise.
38418         [C99-based standards] (UINT64_MAX): Likewise.
38419         [C99-based standards] (INT_LEAST8_MIN): Likewise.
38420         [C99-based standards] (INT_LEAST8_MAX): Likewise.
38421         [C99-based standards] (INT_LEAST16_MIN): Likewise.
38422         [C99-based standards] (INT_LEAST16_MAX): Likewise.
38423         [C99-based standards] (INT_LEAST32_MIN): Likewise.
38424         [C99-based standards] (INT_LEAST32_MAX): Likewise.
38425         [C99-based standards] (INT_LEAST64_MIN): Likewise.
38426         [C99-based standards] (INT_LEAST64_MAX): Likewise.
38427         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38428         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38429         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38430         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38431         [C99-based standards] (INT_FAST8_MIN): Likewise.
38432         [C99-based standards] (INT_FAST8_MAX): Likewise.
38433         [C99-based standards] (INT_FAST16_MIN): Likewise.
38434         [C99-based standards] (INT_FAST16_MAX): Likewise.
38435         [C99-based standards] (INT_FAST32_MIN): Likewise.
38436         [C99-based standards] (INT_FAST32_MAX): Likewise.
38437         [C99-based standards] (INT_FAST64_MIN): Likewise.
38438         [C99-based standards] (INT_FAST64_MAX): Likewise.
38439         [C99-based standards] (UINT_FAST8_MAX): Likewise.
38440         [C99-based standards] (UINT_FAST16_MAX): Likewise.
38441         [C99-based standards] (UINT_FAST32_MAX): Likewise.
38442         [C99-based standards] (UINT_FAST64_MAX): Likewise.
38443         [C99-based standards] (INTPTR_MIN): Likewise.
38444         [C99-based standards] (INTPTR_MAX): Likewise.
38445         [C99-based standards] (UINTPTR_MAX): Likewise.
38446         [C99-based standards] (INTMAX_MIN): Likewise.
38447         [C99-based standards] (INTMAX_MAX): Likewise.
38448         [C99-based standards] (UINTMAX_MAX): Likewise.
38449         [C99-based standards] (PTRDIFF_MIN): Likewise.
38450         [C99-based standards] (PTRDIFF_MAX): Likewise.
38451         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38452         [C99-based standards] (SIZE_MAX): Likewise.
38453         [C99-based standards] (WCHAR_MAX): Likewise.
38454         [C99-based standards] (WINT_MAX): Likewise.
38455         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
38456         constraint on value.
38457         [C99-based standards] (WCHAR_MIN): Likewise.
38458         [C99-based standards] (WINT_MIN): Likewise.
38459         [C99-based standards] (*_t): Allow.
38460         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38461         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38462         Include math.h-data and complex.h-data.  Remove all expectations
38463         of math.h and complex.h contents.
38464         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38465         at end of line.
38466         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38467         (struct tm): Expect tag.
38468         [C99-based-standards] (wcstof): Expect function.
38469         [C99-based-standards] (wcstold): Likewise.
38470         [C99-based-standards] (wcstoll): Likewise.
38471         [C99-based-standards] (wcstoull): Likewise.
38472         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38473         macro-int-constant.  Specify type.
38474         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
38475         constraint on value.
38476         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38477         Specify type.
38478         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38479         Specify value.
38480         [ISO C standards]: Do not allow headers.
38481         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38482         wcs[abcdefghijklmnopqrstuvwxyz]*.
38483         [ISO C standards] (*_t): Do not allow.
38484         * conform/data/wctype.h-data [C99-based standards] (iswblank):
38485         Expect function.
38486         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38487         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38488         Specify type.
38489         [ISO C standards]: Do not allow headers.
38490         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38491         is[abcdefghijklmnopqrstuvwxyz]*.
38492         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38493         to[abcdefghijklmnopqrstuvwxyz]*.
38494         [ISO C standards] (*_t): Do not allow.
38495         * conform/data/stdalign.h-data: New file.
38496         * conform/data/stdbool.h-data: Likewise.
38497         * conform/data/stdnoreturn.h-data: Likewise.
38499 2012-11-07  Roland McGrath  <roland@hack.frob.com>
38501         [BZ #14815]
38502         * manual/filesys.texi (Directory Entries): Typo fix.
38503         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38505 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38507         * elf/elf.h (EM_AARCH64): New macro.
38508         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38509         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38510         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38511         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38512         (R_AARCH64_TLSDESC): Likewise.
38513         (NT_ARM_TLS): Likewise.
38514         (NT_ARM_HW_BREAK): Likewise.
38515         (NT_ARM_HW_WATCH): Likewise.
38517 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38519         [BZ #14811]
38520         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38521         (__ieee754_powl): Saturate nonzero exponents with absolute value
38522         below 0x1p-79 to +/- 0x1p-79.
38523         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38524         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38525         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38526         nonzero exponents with absolute value below 0x1p-32 to +/-
38527         0x1p-32.
38528         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38529         (__ieee754_powl): Saturate nonzero exponents with absolute value
38530         below 0x1p-79 to +/- 0x1p-79.
38531         * math/libm-test.inc (pow_test): Add more tests.
38533 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38535         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38536         _dl_s390_cap_flags with kernel. Increase string length.
38537         (_dl_s390_platforms): Add z196 and zEC12.
38539 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38541         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38542         Change XOPEN21K to XOPEN2K.
38544 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
38546         * string/memmove.c: Use memcpy when possible.
38548 2012-11-06  Andreas Jaeger  <aj@suse.de>
38550         * po/eo.po: Update from translation team.
38552 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
38554         [BZ #14793]
38555         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38556         exponent and small x and y exponents, scale x or y up.  Increase
38557         by 2 the exponent used in scaling up.
38558         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38559         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38560         * math/libm-test.inc (fma_test): Add more tests.
38561         (fma_test_towardzero): Likewise.
38562         (fma_test_downward): Likewise.
38563         (fma_test_upward): Likewise.
38565 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
38567         [BZ #14805]
38568         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38569         fenv_t *.
38571         [BZ #14801]
38572         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38573         namespace for names of struct fields.
38574         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38575         fenv_t fields.
38576         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38577         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38579 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38581         [BZ #3665]
38582         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38584 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38586         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38587         PTR_DEMANGLE.
38589         [BZ #5246]
38590         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38591         PTR_DEMANGLE.
38593 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
38595         [BZ #14797]
38596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38597         definitely overflow as x * y not x * y + z.
38598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38599         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38600         * math/libm-test.inc (fma_test): Add more tests.
38601         (fma_test_towardzero): Likewise.
38602         (fma_test_downward): Likewise.
38603         (fma_test_upward): Likewise.
38605 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38607         [BZ #157]
38609         * include/stub-tag.h: Remove file.
38610         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38611         '#include' of it.
38612         * manual/maint.texi (Porting): Don't reference it.
38613         * Makerules ($(objpfx)stubs): Likewise.
38614         * dirent/closedir.c: Don't include <stub-tag.h>.
38615         * dirent/dirfd.c: Likewise.
38616         * dirent/fdopendir.c: Likewise.
38617         * dirent/getdents.c: Likewise.
38618         * dirent/getdents64.c: Likewise.
38619         * dirent/opendir.c: Likewise.
38620         * dirent/readdir.c: Likewise.
38621         * dirent/readdir64.c: Likewise.
38622         * dirent/readdir64_r.c: Likewise.
38623         * dirent/readdir_r.c: Likewise.
38624         * dirent/rewinddir.c: Likewise.
38625         * dirent/seekdir.c: Likewise.
38626         * dirent/telldir.c: Likewise.
38627         * gmon/profil.c: Likewise.
38628         * grp/setgroups.c: Likewise.
38629         * inet/if_index.c: Likewise.
38630         * io/access.c: Likewise.
38631         * io/chdir.c: Likewise.
38632         * io/chmod.c: Likewise.
38633         * io/chown.c: Likewise.
38634         * io/close.c: Likewise.
38635         * io/dup.c: Likewise.
38636         * io/dup2.c: Likewise.
38637         * io/dup3.c: Likewise.
38638         * io/euidaccess.c: Likewise.
38639         * io/faccessat.c: Likewise.
38640         * io/fchdir.c: Likewise.
38641         * io/fchmod.c: Likewise.
38642         * io/fchmodat.c: Likewise.
38643         * io/fchown.c: Likewise.
38644         * io/fchownat.c: Likewise.
38645         * io/fcntl.c: Likewise.
38646         * io/flock.c: Likewise.
38647         * io/fstatfs.c: Likewise.
38648         * io/fstatfs64.c: Likewise.
38649         * io/fstatvfs.c: Likewise.
38650         * io/fstatvfs64.c: Likewise.
38651         * io/futimens.c: Likewise.
38652         * io/fxstat.c: Likewise.
38653         * io/fxstat64.c: Likewise.
38654         * io/fxstatat.c: Likewise.
38655         * io/fxstatat64.c: Likewise.
38656         * io/getcwd.c: Likewise.
38657         * io/isatty.c: Likewise.
38658         * io/lchmod.c: Likewise.
38659         * io/lchown.c: Likewise.
38660         * io/link.c: Likewise.
38661         * io/linkat.c: Likewise.
38662         * io/lseek.c: Likewise.
38663         * io/lseek64.c: Likewise.
38664         * io/lxstat64.c: Likewise.
38665         * io/mkdir.c: Likewise.
38666         * io/mkdirat.c: Likewise.
38667         * io/mkfifo.c: Likewise.
38668         * io/mkfifoat.c: Likewise.
38669         * io/open.c: Likewise.
38670         * io/open64.c: Likewise.
38671         * io/openat.c: Likewise.
38672         * io/openat64.c: Likewise.
38673         * io/pipe.c: Likewise.
38674         * io/pipe2.c: Likewise.
38675         * io/poll.c: Likewise.
38676         * io/posix_fadvise.c: Likewise.
38677         * io/posix_fadvise64.c: Likewise.
38678         * io/posix_fallocate.c: Likewise.
38679         * io/posix_fallocate64.c: Likewise.
38680         * io/read.c: Likewise.
38681         * io/readlink.c: Likewise.
38682         * io/readlinkat.c: Likewise.
38683         * io/rmdir.c: Likewise.
38684         * io/sendfile.c: Likewise.
38685         * io/sendfile64.c: Likewise.
38686         * io/statfs.c: Likewise.
38687         * io/statfs64.c: Likewise.
38688         * io/statvfs.c: Likewise.
38689         * io/statvfs64.c: Likewise.
38690         * io/symlink.c: Likewise.
38691         * io/symlinkat.c: Likewise.
38692         * io/ttyname.c: Likewise.
38693         * io/ttyname_r.c: Likewise.
38694         * io/umask.c: Likewise.
38695         * io/unlink.c: Likewise.
38696         * io/unlinkat.c: Likewise.
38697         * io/utime.c: Likewise.
38698         * io/utimensat.c: Likewise.
38699         * io/write.c: Likewise.
38700         * io/xmknod.c: Likewise.
38701         * io/xmknodat.c: Likewise.
38702         * io/xstat.c: Likewise.
38703         * io/xstat64.c: Likewise.
38704         * login/getpt.c: Likewise.
38705         * login/grantpt.c: Likewise.
38706         * login/unlockpt.c: Likewise.
38707         * math/e_acoshl.c: Likewise.
38708         * math/e_acosl.c: Likewise.
38709         * math/e_asinl.c: Likewise.
38710         * math/e_atan2l.c: Likewise.
38711         * math/e_atanhl.c: Likewise.
38712         * math/e_coshl.c: Likewise.
38713         * math/e_expl.c: Likewise.
38714         * math/e_fmodl.c: Likewise.
38715         * math/e_gammal_r.c: Likewise.
38716         * math/e_hypotl.c: Likewise.
38717         * math/e_j0l.c: Likewise.
38718         * math/e_j1l.c: Likewise.
38719         * math/e_jnl.c: Likewise.
38720         * math/e_lgammal_r.c: Likewise.
38721         * math/e_log10l.c: Likewise.
38722         * math/e_log2l.c: Likewise.
38723         * math/e_logl.c: Likewise.
38724         * math/e_powl.c: Likewise.
38725         * math/e_rem_pio2l.c: Likewise.
38726         * math/e_sinhl.c: Likewise.
38727         * math/e_sqrtl.c: Likewise.
38728         * math/fclrexcpt.c: Likewise.
38729         * math/fedisblxcpt.c: Likewise.
38730         * math/feenablxcpt.c: Likewise.
38731         * math/fegetenv.c: Likewise.
38732         * math/fegetexcept.c: Likewise.
38733         * math/fegetround.c: Likewise.
38734         * math/feholdexcpt.c: Likewise.
38735         * math/fesetenv.c: Likewise.
38736         * math/fesetround.c: Likewise.
38737         * math/feupdateenv.c: Likewise.
38738         * math/fgetexcptflg.c: Likewise.
38739         * math/fraiseexcpt.c: Likewise.
38740         * math/fsetexcptflg.c: Likewise.
38741         * math/ftestexcept.c: Likewise.
38742         * math/k_cosl.c: Likewise.
38743         * math/k_rem_pio2l.c: Likewise.
38744         * math/k_sinl.c: Likewise.
38745         * math/k_tanl.c: Likewise.
38746         * math/s_asinhl.c: Likewise.
38747         * math/s_atanl.c: Likewise.
38748         * math/s_cbrtl.c: Likewise.
38749         * math/s_erfl.c: Likewise.
38750         * math/s_expm1l.c: Likewise.
38751         * math/s_log1pl.c: Likewise.
38752         * math/s_tanhl.c: Likewise.
38753         * misc/acct.c: Likewise.
38754         * misc/brk.c: Likewise.
38755         * misc/chflags.c: Likewise.
38756         * misc/chroot.c: Likewise.
38757         * misc/fchflags.c: Likewise.
38758         * misc/fgetxattr.c: Likewise.
38759         * misc/flistxattr.c: Likewise.
38760         * misc/fremovexattr.c: Likewise.
38761         * misc/fsetxattr.c: Likewise.
38762         * misc/fsync.c: Likewise.
38763         * misc/ftruncate.c: Likewise.
38764         * misc/futimes.c: Likewise.
38765         * misc/futimesat.c: Likewise.
38766         * misc/getdomain.c: Likewise.
38767         * misc/getdtsz.c: Likewise.
38768         * misc/gethostid.c: Likewise.
38769         * misc/gethostname.c: Likewise.
38770         * misc/getloadavg.c: Likewise.
38771         * misc/getpagesize.c: Likewise.
38772         * misc/getsysstats.c: Likewise.
38773         * misc/getxattr.c: Likewise.
38774         * misc/gtty.c: Likewise.
38775         * misc/ioctl.c: Likewise.
38776         * misc/lgetxattr.c: Likewise.
38777         * misc/listxattr.c: Likewise.
38778         * misc/llistxattr.c: Likewise.
38779         * misc/lremovexattr.c: Likewise.
38780         * misc/lsetxattr.c: Likewise.
38781         * misc/lutimes.c: Likewise.
38782         * misc/madvise.c: Likewise.
38783         * misc/mincore.c: Likewise.
38784         * misc/mlock.c: Likewise.
38785         * misc/mlockall.c: Likewise.
38786         * misc/mmap.c: Likewise.
38787         * misc/mprotect.c: Likewise.
38788         * misc/msync.c: Likewise.
38789         * misc/munlock.c: Likewise.
38790         * misc/munlockall.c: Likewise.
38791         * misc/munmap.c: Likewise.
38792         * misc/preadv.c: Likewise.
38793         * misc/preadv64.c: Likewise.
38794         * misc/ptrace.c: Likewise.
38795         * misc/pwritev.c: Likewise.
38796         * misc/pwritev64.c: Likewise.
38797         * misc/readv.c: Likewise.
38798         * misc/reboot.c: Likewise.
38799         * misc/remap_file_pages.c: Likewise.
38800         * misc/removexattr.c: Likewise.
38801         * misc/revoke.c: Likewise.
38802         * misc/select.c: Likewise.
38803         * misc/setdomain.c: Likewise.
38804         * misc/setegid.c: Likewise.
38805         * misc/seteuid.c: Likewise.
38806         * misc/sethostid.c: Likewise.
38807         * misc/sethostname.c: Likewise.
38808         * misc/setregid.c: Likewise.
38809         * misc/setreuid.c: Likewise.
38810         * misc/setxattr.c: Likewise.
38811         * misc/sstk.c: Likewise.
38812         * misc/stty.c: Likewise.
38813         * misc/swapoff.c: Likewise.
38814         * misc/swapon.c: Likewise.
38815         * misc/sync.c: Likewise.
38816         * misc/syncfs.c: Likewise.
38817         * misc/syscall.c: Likewise.
38818         * misc/truncate.c: Likewise.
38819         * misc/ualarm.c: Likewise.
38820         * misc/usleep.c: Likewise.
38821         * misc/ustat.c: Likewise.
38822         * misc/utimes.c: Likewise.
38823         * misc/vhangup.c: Likewise.
38824         * misc/writev.c: Likewise.
38825         * posix/_exit.c: Likewise.
38826         * posix/alarm.c: Likewise.
38827         * posix/execve.c: Likewise.
38828         * posix/fexecve.c: Likewise.
38829         * posix/fork.c: Likewise.
38830         * posix/fpathconf.c: Likewise.
38831         * posix/getaddrinfo.c: Likewise.
38832         * posix/getegid.c: Likewise.
38833         * posix/geteuid.c: Likewise.
38834         * posix/getgid.c: Likewise.
38835         * posix/getgroups.c: Likewise.
38836         * posix/getlogin.c: Likewise.
38837         * posix/getlogin_r.c: Likewise.
38838         * posix/getpgid.c: Likewise.
38839         * posix/getpid.c: Likewise.
38840         * posix/getppid.c: Likewise.
38841         * posix/getresgid.c: Likewise.
38842         * posix/getresuid.c: Likewise.
38843         * posix/getsid.c: Likewise.
38844         * posix/getuid.c: Likewise.
38845         * posix/glob64.c: Likewise.
38846         * posix/nanosleep.c: Likewise.
38847         * posix/pathconf.c: Likewise.
38848         * posix/pause.c: Likewise.
38849         * posix/posix_madvise.c: Likewise.
38850         * posix/pread.c: Likewise.
38851         * posix/pread64.c: Likewise.
38852         * posix/pwrite.c: Likewise.
38853         * posix/pwrite64.c: Likewise.
38854         * posix/sched_getaffinity.c: Likewise.
38855         * posix/sched_getp.c: Likewise.
38856         * posix/sched_gets.c: Likewise.
38857         * posix/sched_primax.c: Likewise.
38858         * posix/sched_primin.c: Likewise.
38859         * posix/sched_rr_gi.c: Likewise.
38860         * posix/sched_setaffinity.c: Likewise.
38861         * posix/sched_setp.c: Likewise.
38862         * posix/sched_sets.c: Likewise.
38863         * posix/sched_yield.c: Likewise.
38864         * posix/setgid.c: Likewise.
38865         * posix/setlogin.c: Likewise.
38866         * posix/setpgid.c: Likewise.
38867         * posix/setresgid.c: Likewise.
38868         * posix/setresuid.c: Likewise.
38869         * posix/setsid.c: Likewise.
38870         * posix/setuid.c: Likewise.
38871         * posix/sleep.c: Likewise.
38872         * posix/spawni.c: Likewise.
38873         * posix/sysconf.c: Likewise.
38874         * posix/times.c: Likewise.
38875         * posix/wait.c: Likewise.
38876         * posix/wait3.c: Likewise.
38877         * posix/wait4.c: Likewise.
38878         * posix/waitpid.c: Likewise.
38879         * resolv/gai_sigqueue.c: Likewise.
38880         * resource/getpriority.c: Likewise.
38881         * resource/getrlimit.c: Likewise.
38882         * resource/getrusage.c: Likewise.
38883         * resource/nice.c: Likewise.
38884         * resource/setpriority.c: Likewise.
38885         * resource/setrlimit.c: Likewise.
38886         * resource/ulimit.c: Likewise.
38887         * rt/aio_cancel.c: Likewise.
38888         * rt/aio_fsync.c: Likewise.
38889         * rt/aio_read.c: Likewise.
38890         * rt/aio_sigqueue.c: Likewise.
38891         * rt/aio_suspend.c: Likewise.
38892         * rt/aio_write.c: Likewise.
38893         * rt/clock_getres.c: Likewise.
38894         * rt/clock_gettime.c: Likewise.
38895         * rt/clock_nanosleep.c: Likewise.
38896         * rt/clock_settime.c: Likewise.
38897         * rt/lio_listio.c: Likewise.
38898         * rt/mq_close.c: Likewise.
38899         * rt/mq_getattr.c: Likewise.
38900         * rt/mq_notify.c: Likewise.
38901         * rt/mq_open.c: Likewise.
38902         * rt/mq_receive.c: Likewise.
38903         * rt/mq_send.c: Likewise.
38904         * rt/mq_setattr.c: Likewise.
38905         * rt/mq_timedreceive.c: Likewise.
38906         * rt/mq_timedsend.c: Likewise.
38907         * rt/mq_unlink.c: Likewise.
38908         * rt/shm_open.c: Likewise.
38909         * rt/shm_unlink.c: Likewise.
38910         * rt/timer_create.c: Likewise.
38911         * rt/timer_delete.c: Likewise.
38912         * rt/timer_getoverr.c: Likewise.
38913         * rt/timer_gettime.c: Likewise.
38914         * rt/timer_settime.c: Likewise.
38915         * setjmp/__longjmp.c: Likewise.
38916         * setjmp/setjmp.c: Likewise.
38917         * signal/kill.c: Likewise.
38918         * signal/killpg.c: Likewise.
38919         * signal/raise.c: Likewise.
38920         * signal/sigaction.c: Likewise.
38921         * signal/sigaltstack.c: Likewise.
38922         * signal/sigblock.c: Likewise.
38923         * signal/sigignore.c: Likewise.
38924         * signal/sigintr.c: Likewise.
38925         * signal/signal.c: Likewise.
38926         * signal/sigpause.c: Likewise.
38927         * signal/sigpending.c: Likewise.
38928         * signal/sigqueue.c: Likewise.
38929         * signal/sigreturn.c: Likewise.
38930         * signal/sigset.c: Likewise.
38931         * signal/sigsetmask.c: Likewise.
38932         * signal/sigstack.c: Likewise.
38933         * signal/sigsuspend.c: Likewise.
38934         * signal/sigtimedwait.c: Likewise.
38935         * signal/sigvec.c: Likewise.
38936         * signal/sigwait.c: Likewise.
38937         * signal/sigwaitinfo.c: Likewise.
38938         * signal/sysv_signal.c: Likewise.
38939         * socket/accept.c: Likewise.
38940         * socket/accept4.c: Likewise.
38941         * socket/bind.c: Likewise.
38942         * socket/connect.c: Likewise.
38943         * socket/getpeername.c: Likewise.
38944         * socket/getsockname.c: Likewise.
38945         * socket/getsockopt.c: Likewise.
38946         * socket/isfdtype.c: Likewise.
38947         * socket/listen.c: Likewise.
38948         * socket/recv.c: Likewise.
38949         * socket/recvfrom.c: Likewise.
38950         * socket/recvmsg.c: Likewise.
38951         * socket/send.c: Likewise.
38952         * socket/sendmsg.c: Likewise.
38953         * socket/sendto.c: Likewise.
38954         * socket/setsockopt.c: Likewise.
38955         * socket/shutdown.c: Likewise.
38956         * socket/sockatmark.c: Likewise.
38957         * socket/socket.c: Likewise.
38958         * socket/socketpair.c: Likewise.
38959         * stdio-common/ctermid.c: Likewise.
38960         * stdio-common/cuserid.c: Likewise.
38961         * stdio-common/remove.c: Likewise.
38962         * stdio-common/rename.c: Likewise.
38963         * stdio-common/renameat.c: Likewise.
38964         * stdio-common/tempname.c: Likewise.
38965         * stdlib/getcontext.c: Likewise.
38966         * stdlib/makecontext.c: Likewise.
38967         * stdlib/setcontext.c: Likewise.
38968         * stdlib/swapcontext.c: Likewise.
38969         * stdlib/system.c: Likewise.
38970         * streams/fattach.c: Likewise.
38971         * streams/fdetach.c: Likewise.
38972         * streams/getmsg.c: Likewise.
38973         * streams/getpmsg.c: Likewise.
38974         * streams/putmsg.c: Likewise.
38975         * streams/putpmsg.c: Likewise.
38976         * sysdeps/unix/bsd/getpt.c: Likewise.
38977         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38978         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38979         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38981         Likewise.
38982         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38983         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38984         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38985         * sysvipc/msgctl.c: Likewise.
38986         * sysvipc/msgget.c: Likewise.
38987         * sysvipc/msgrcv.c: Likewise.
38988         * sysvipc/msgsnd.c: Likewise.
38989         * sysvipc/semctl.c: Likewise.
38990         * sysvipc/semget.c: Likewise.
38991         * sysvipc/semop.c: Likewise.
38992         * sysvipc/semtimedop.c: Likewise.
38993         * sysvipc/shmat.c: Likewise.
38994         * sysvipc/shmctl.c: Likewise.
38995         * sysvipc/shmdt.c: Likewise.
38996         * sysvipc/shmget.c: Likewise.
38997         * termios/tcdrain.c: Likewise.
38998         * termios/tcflow.c: Likewise.
38999         * termios/tcflush.c: Likewise.
39000         * termios/tcgetattr.c: Likewise.
39001         * termios/tcgetpgrp.c: Likewise.
39002         * termios/tcsendbrk.c: Likewise.
39003         * termios/tcsetattr.c: Likewise.
39004         * termios/tcsetpgrp.c: Likewise.
39005         * time/adjtime.c: Likewise.
39006         * time/clock.c: Likewise.
39007         * time/getitimer.c: Likewise.
39008         * time/gettimeofday.c: Likewise.
39009         * time/setitimer.c: Likewise.
39010         * time/settimeofday.c: Likewise.
39011         * time/stime.c: Likewise.
39012         * time/time.c: Likewise.
39014 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39016         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39017         /usr/old/bin.
39019         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39020         instead of spaces.
39021         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39023 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39025         [BZ #14796]
39026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39027         FE_TONEAREST before applying Dekker multiplication and Knuth
39028         addition.  Clear inexact exceptions and check for exact zero
39029         results afterwards.
39030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39031         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39033         * math/libm-test.inc (fma_test): Add more tests.
39034         (fma_test_towardzero): Likewise.
39035         (fma_test_downward): Likewise.
39036         (fma_test_upward): Likewise.
39037         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39038         function.
39039         (libc_fesetround): New macro.
39040         (libc_fesetroundf): Likewise.
39041         (libc_fesetroundl): Likewise.
39042         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39043         function.
39044         (libc_fesetround_387): Likewise.
39045         (libc_fesetroundf): New macro.
39046         (libc_fesetround): Likewise.
39047         (libc_fesetroundl): Likewise.
39048         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39049         function.
39050         (libc_fesetroundf): New macro.
39051         (libc_fesetround): Likewise.
39052         (libc_fesetroundl): Likewise.
39053         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39054         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39055         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39056         libm_hidden_ver.
39057         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39058         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39059         libm_hidden_def.
39060         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39061         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39062         libm_hidden_ver.
39063         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39064         libm_hidden_def.
39066         [BZ #3439]
39067         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39068         integer constant usable in #if and use that to give value to enum
39069         constant.
39070         (FE_DIVBYZERO): Likewise.
39071         (FE_UNDERFLOW): Likewise.
39072         (FE_OVERFLOW): Likewise.
39073         (FE_INVALID): Likewise.
39074         (FE_INVALID_SNAN): Likewise.
39075         (FE_INVALID_ISI): Likewise.
39076         (FE_INVALID_IDI): Likewise.
39077         (FE_INVALID_ZDZ): Likewise.
39078         (FE_INVALID_IMZ): Likewise.
39079         (FE_INVALID_COMPARE): Likewise.
39080         (FE_INVALID_SOFTWARE): Likewise.
39081         (FE_INVALID_SQRT): Likewise.
39082         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39083         (FE_TONEAREST): Likewise.
39084         (FE_TOWARDZERO): Likewise.
39085         (FE_UPWARD): Likewise.
39086         (FE_DOWNWARD): Likewise.
39087         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39088         (FE_DIVBYZERO): Likewise.
39089         (FE_OVERFLOW): Likewise.
39090         (FE_UNDERFLOW): Likewise.
39091         (FE_INEXACT): Likewise.
39092         (FE_TONEAREST): Likewise.
39093         (FE_DOWNWARD): Likewise.
39094         (FE_UPWARD): Likewise.
39095         (FE_TOWARDZERO): Likewise.
39096         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39097         (FE_UNDERFLOW): Likewise.
39098         (FE_OVERFLOW): Likewise.
39099         (FE_DIVBYZERO): Likewise.
39100         (FE_INVALID): Likewise.
39101         (FE_TONEAREST): Likewise.
39102         (FE_TOWARDZERO): Likewise.
39103         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39104         (FE_OVERFLOW): Likewise.
39105         (FE_UNDERFLOW): Likewise.
39106         (FE_DIVBYZERO): Likewise.
39107         (FE_INEXACT): Likewise.
39108         (FE_TONEAREST): Likewise.
39109         (FE_TOWARDZERO): Likewise.
39110         (FE_UPWARD): Likewise.
39111         (FE_DOWNWARD): Likewise.
39112         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39113         (FE_DIVBYZERO): Likewise.
39114         (FE_OVERFLOW): Likewise.
39115         (FE_UNDERFLOW): Likewise.
39116         (FE_INEXACT): Likewise.
39117         (FE_TONEAREST): Likewise.
39118         (FE_DOWNWARD): Likewise.
39119         (FE_UPWARD): Likewise.
39120         (FE_TOWARDZERO): Likewise.
39122 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
39124         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39126 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
39128         * scripts/cross-test-ssh.sh (command): Use newlines to separate
39129         commands.  Quote $PWD.
39130         (blacklist_exports): Don't use remove_newlines.  Replace "declare
39131         -x" by "export".
39132         (remove_newlines): Remove.
39134 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
39136         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39137         * stdlib/stdlib.h (atof): Moved to ...
39138         * include/bits/stdlib-float.h: Here.  New file.
39139         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39140         * stdlib/bits/stdlib-float.h: New file.
39141         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39142         -mno-sse -mno-mmx.
39143         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39144         <xmmintrin.h>.
39146 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39148         * conform/conformtest.pl (@headers): Add fenv.h.
39149         * conform/data/fenv.h-data: New file.
39150         * include/fenv.h [_ISOMAC]: Disable all contents of file except
39151         include of <math/fenv.h>.
39153         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39154         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39155         && !UNIX98].  Enables tests for XOPEN2K8.
39156         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39157         POSIX2008]: Likewise.
39159         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39160         (struct rusage): Do not expect type or its members.
39162         [BZ #3439]
39163         * math/math.h (FP_NAN): Define macro to integer constant usable in
39164         #if and use that to give value to enum constant.
39165         (FP_INFINITE): Likewise.
39166         (FP_ZERO): Likewise.
39167         (FP_SUBNORMAL): Likewise.
39168         (FP_NORMAL): Likewise.
39170 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39172         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39173         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39174         arguments.
39176 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39178         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39179         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39180         autoconf-time if not.
39181         * configure.in: Remove AC_PREREQ.
39183 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39185         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39186         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39187         of the internal implementation.
39189 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39191         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39192         except include of <misc/sys/syslog.h>.
39194 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39197         function returns with a NULL context exit with zero.
39199 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39201         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39203 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39205         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39206         (run_program_cmd): This.
39207         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39208         (tst_langinfo): New variable.  Use it.
39210 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39212         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39213         floating point opcodes.
39215 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39217         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39218         variable.
39220         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39222         * sysdeps/mach/hurd/powerpc: Remove directory.
39223         * sysdeps/mach/powerpc: Likewise.
39225 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39227         * scripts/check-local-headers.sh: Ignore c++ headers.
39229 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39231         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39232         __libc_cleanup_region_start argument.
39234 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
39236         [BZ #14784]
39237         [BZ #14785]
39238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39239         x * y using scaling, not as x * y + z.
39240         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39241         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39242         * math/libm-test.inc (fma_test): Add more tests.
39243         (fma_test_towardzero): Likewise.
39244         (fma_test_downward): Likewise.
39245         (fma_test_upward): Likewise.
39247 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39249         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39251 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39253         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39254         New variable.
39256 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
39258         * rt/tst-shm.c (worker): Correct checking for mmap failure.
39260 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39263         Fix sort order.
39264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39265         Likewise.
39267 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39270         Fix the order of the list for glibc 2.17.
39271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39272         Likewise.
39274 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39278 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39280         [BZ #14610]
39281         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39282         for low part of x being zero before using __atanl (y).
39283         * math/libm-test.inc (atan2_test): Add another test.
39285         * manual/install.texi (Configuring and compiling): Document
39286         general use of test-wrapper and test-wrapper-env.
39287         * INSTALL: Regenerated.
39289         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39290         (__fma): Do not extract and scale down low bits on after-rounding
39291         systems when result rounded to normal precision would have normal
39292         exponent.
39293         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39294         (__fmal): Do not extract and scale down low bits on after-rounding
39295         systems when result rounded to normal precision would have normal
39296         exponent.
39297         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39298         (__fmal): Do not extract and scale down low bits on after-rounding
39299         systems when result rounded to normal precision would have normal
39300         exponent.
39301         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39302         macro.
39303         (fma_test): Add more tests.
39304         (fma_test_towardzero): Likewise.
39305         (fma_test_downward): Likewise.
39306         (fma_test_upward): Likewise.
39308 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
39310         * sysdeps/i386/tininess.h: Renamed to ...
39311         * sysdeps/x86/tininess.h: This.
39312         * sysdeps/x86_64/tininess.h: Removed.
39314 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39316         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39317         input.  Use $(build-program-cmd).
39318         ($(objpfx)tst-array1-static.out): Likewise.
39319         ($(objpfx)tst-array2.out): Likewise.
39320         ($(objpfx)tst-array3.out): Likewise.
39321         ($(objpfx)tst-array4.out): Likewise.
39322         ($(objpfx)tst-array5.out): Likewise.
39323         ($(objpfx)tst-array5-static.out): Likewise.
39325 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
39327         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39328         if defined.
39330         * nss/nsswitch.h (nss_interface_function): Provide new
39331         macro for use with NSS functions.
39332         * grp/initgroups.c: Use new macro.
39333         * nss/getXXbyYY.c: Likewise.
39334         * nss/getXXbyYY_r.c: Likewise.
39335         * nss/getXXent.c: Likewise.
39336         * nss/getXXent_r.c: Likewise.
39337         * sysdeps/posix/getaddrinfo.c: Likewise.
39339 2012-10-30  Andreas Jaeger  <aj@suse.de>
39341         * po/ru.po: Update Russion translation from translation project.
39343 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39345         [BZ #14152]
39346         [BZ #14783]
39347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39348         result and shift together with sticky bit instead of replicating
39349         round-to-nearest rounding.
39350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39352         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
39353         missing underflow exceptions.
39354         (fma_test_towardzero): Add more tests.
39355         (fma_test_downward): Likewise.
39356         (fma_test_upward): Likewise.
39358         [BZ #14047]
39359         * sysdeps/generic/tininess.h: New file.
39360         * sysdeps/i386/tininess.h: Likewise.
39361         * sysdeps/sh/tininess.h: Likewise.
39362         * sysdeps/x86_64/tininess.h: Likewise.
39363         * stdlib/tst-strtod-underflow.c: Likewise.
39364         * stdlib/tst-tininess.c: Likewise.
39365         * stdlib/strtod_l.c: Include <tininess.h>.
39366         (round_and_return): Do not set errno for exact underflow cases.
39367         Force an underflow exception when setting errno for underflow.
39368         Determine underflow based on rounding to normal precision if
39369         TININESS_AFTER_ROUNDING.
39370         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39371         ERANGE for exact underflow cases.
39372         * stdlib/Makefile (tests): Add tst-tininess and
39373         tst-strtod-underflow.
39374         ($(objpfx)tst-tininess): Use $(link-libm).
39375         ($(objpfx)tst-strtod-underflow): Likewise.
39377 2012-10-30  Andreas Jaeger  <aj@suse.de>
39379         [BZ#14767]
39380         * elf/Makefile (tests): Remove conditional for have-initfini-array
39381         since this is now always required and the variable does not exist
39382         anymore.
39383         (tests-static): Likewise.
39384         (modules-names): Likewise.
39386         * po/eo.po: Add Esperanto translation from translation project.
39388         * elf/tst-array1.c (fini_array): Make writeable so that it can be
39389         merged with constructor/destructor.
39390         (init_array): Likewise.
39391         * elf/tst-array2dep.c (fini_array): Likewise.
39392         (init_array): Likewise.
39394 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
39396         * manual/message.texi: Delete @cartouche tags.
39398 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
39400         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39401         EOPNOTSUPP.
39402         * sysdeps/mach/hurd/fsync.c: Likewise.
39404         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39405         [_POSIX_REALTIME_SIGNALS]: Change condition to
39406         [_POSIX_REALTIME_SIGNALS > 0].
39408 2012-10-27  Andreas Jaeger  <aj@suse.de>
39410         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39411         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39412         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39413         [__WORDSIZE != 64]: Likewise.
39415 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
39417         *  iconvdata/tst-table.sh: Remove ${SHELL}.
39418         *  iconvdata/tst-tables.sh: Likewise.
39420 2012-10-25  David S. Miller  <davem@davemloft.net>
39422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39423         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39424         of strtoull.
39426         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39427         ifunc-impl-list.c
39428         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39429         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39430         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39431         file.
39433 2012-10-25  Roland McGrath  <roland@hack.frob.com>
39435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39436         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39437         __getdirentries.
39439 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39440             Jim Blandy  <jimb@codesourcery.com>
39442         * scripts/cross-test-ssh.sh: New file.
39443         * manual/install.texi (Configuring and compiling): Document use of
39444         cross-test-ssh.sh.
39445         * INSTALL: Regenerated.
39447 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
39449         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39450         EOPNOTSUPP.
39452 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39454         * Makeconfig (run-program-prefix): Fix comment.
39456 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39457             Jim Blandy  <jimb@codesourcery.com>
39459         * Makeconfig (test-wrapper): New variable,
39460         (test-wrapper-env): Likewise.
39461         [$(cross-compiling) = yes && $(test-wrapper) != ""]
39462         (run-built-tests): Define to yes.
39463         (run-program-prefix): Use $(test-wrapper).
39464         (built-program-cmd): Likewise.
39465         * Rules (make-test-out): Use $(test-wrapper-env) and
39466         $(host-built-program-cmd).
39467         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39468         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39469         tst-pathopt.sh.
39470         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39471         $(test-wrapper-env) to tst-rtld-load-self.sh.
39472         ($(objpfx)order2.out): Use $(test-wrapper).
39473         ($(objpfx)tst-initorder.out): Likewise.
39474         ($(objpfx)tst-initorder2.out): Likewise.
39475         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39476         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39477         (test_wrapper_env): New variable.  Use it to run ld.so.
39478         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39479         Use it to run ld.so.
39480         (test_wrapper_env): Likewise.
39481         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39482         $(test-wrapper) to run-iconv-test.sh.
39483         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39484         (ICONV): Use $test_wrapper.
39485         * posix/Makefile ($(objpfx)globtest.out): Pass
39486         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39487         globtest.sh, not $(run-program-prefix).
39488         * posix/globtest.sh (run_via_rtld_prefix): New variable.
39489         (test_wrapper): Likewise.
39490         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
39491         set together with run_via_rtld_prefix.
39492         (run_program_prefix): Define in terms of test_wrapper and
39493         run_via_rtld_prefix.
39495 2012-10-24  Roland McGrath  <roland@hack.frob.com>
39497         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39498         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39499         Targets removed.
39501         [BZ #14743]
39502         * include/time.h: Remove librt_hidden_proto (clock_gettime).
39503         Declare __clock_getres, __clock_gettime, __clock_settime,
39504         __clock_nanosleep, and __clock_getcpuclockid.
39505         * rt/clock_gettime.c: Define __clock_gettime as an alias.
39506         Remove librt_hidden_def (clock_gettime).
39507         * sysdeps/unix/clock_gettime.c: Likewise.
39508         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39509         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39510         * rt/clock_getres.c: Define __clock_getres as an alias.
39511         * sysdeps/posix/clock_getres.c: Likewise.
39512         * rt/clock_settime.c: Define __clock_settime as an alias.
39513         * sysdeps/unix/clock_settime.c: Likewise.
39514         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39515         * sysdeps/unix/clock_nanosleep.c: Likewise.
39516         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39517         * rt/clock-compat.c: New file.
39518         * rt/Makefile (librt-routines): Add clock-compat and move
39519         $(clock-routines) to ...
39520         (routines): ... here, new variable.
39521         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39522         Don't add get_clockfreq here.
39523         * rt/Versions (libc: GLIBC_2.17): New version set.
39524         Add clock_* symbols here.
39525         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
39526         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39527         (GLIBC_2.17): Add clock_* symbols.
39528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39532         Likewise.
39533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39534         Likewise.
39535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39539         * NEWS: Mention the move.
39541         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39542         Use __open, __read, __close rather than their public counterparts.
39543         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39544         (__get_clockfreq_via_cpuinfo): Likewise.
39545         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39546         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39548         * config.h.in (HAVE_IFUNC): New #undef.
39549         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39550         was successful.
39551         * configure: Regenerated.
39553 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39555         * configure.in: Move READELF check to start of file.
39556         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39557         libc_cv_asm_gnu_indirect_function in the process.
39558         * configure: Regenerated.
39560 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39562         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39563         send the output to /dev/null.
39564         (libc_cv_cc_with_libunwind): Likewise.
39565         (libc_cv_as_noexecstack): Likewise.
39566         * configure: Regenerate.
39568 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39570         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39572         * posix/globtest.sh (TMPDIR): Do not set.
39573         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39574         (testout): Likewise.
39576 2012-10-24  Andreas Jaeger  <aj@suse.de>
39578         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39579         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39580         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39581         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39582         posix_fadvise64, posix_fallocate64.
39584         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39585         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39586         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39587         Likewise.
39588         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39589         Likewise.
39590         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39592         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39593         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39594         <bits/fcntl-linux.h>.
39595         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39598         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39599         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39600         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39601         [__WORDSIZE != 64]: Likewise.
39603 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39605         * Makeconfig (run-built-tests): New variable.
39606         * Rules [$(cross-compiling) = yes]: Change condition to
39607         [$(run-built-tests) = no].
39608         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39609         to [$(run-built-tests) = yes].
39610         * elf/Makefile [$(cross-compiling) = no]: Likewise
39611         * grp/Makefile [$(cross-compiling) = no]: Likewise.
39612         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39613         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39614         * intl/Makefile [$(cross-compiling) = no]: Likewise.
39615         * io/Makefile [$(cross-compiling) = no]: Likewise.
39616         * libio/Makefile [$(cross-compiling) = no]: Likewise.
39617         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39618         * misc/Makefile [$(cross-compiling) = no]: Likewise.
39619         * posix/Makefile [$(cross-compiling) = no]: Likewise.
39620         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39621         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39622         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39623         * string/Makefile [$(cross-compiling) = no]: Likewise.
39625         * posix/Makefile ($(objpfx)globtest.out): Pass
39626         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39627         $(rtld-installed-name).
39628         * posix/globtest.sh (elf_objpfx): Remove variable.
39629         (rtld_installed_name): Likewise.
39630         (library_path): Likewise.
39631         (run_program_prefix): New variable.  Use for running globtest
39632         binary.
39634 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
39635             Joseph Myers  <joseph@codesourcery.com>
39637         * Makeconfig (host-built-program-cmd): New variable.
39638         * elf/Makefile (tst-stackguard1-ARGS): Use
39639         $(host-built-program-cmd).
39640         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39641         (tst-spawn-ARGS): Likewise.
39642         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39644 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39645             Jim Blandy  <jimb@codesourcery.com>
39647         * Makeconfig (run-via-rtld-prefix): New variable.
39648         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39649         (built-program-cmd): Likewise.
39651 2012-10-22  Andreas Jaeger  <aj@suse.de>
39653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39654         __O_RSYNC if it exists, otherwise to O_SYNC.
39656 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
39657             Joseph Myers  <joseph@codesourcery.com>
39659         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39660         /dev/null.
39661         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39662         from /dev/null
39663         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39664         /dev/null.
39666 2012-10-22  Andreas Jaeger  <aj@suse.de>
39668         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39669         Define always.
39670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39673         bits/fcntl-linux.h.
39675         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39676         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39678         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39679         to __O_LARGEFILE.
39680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39681         to __O_LARGEFILE.
39683 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
39684             Joseph Myers  <joseph@codesourcery.com>
39686         * config.make.in (NM): New variable.
39688 2012-10-21  Andreas Jaeger  <aj@suse.de>
39690         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39691         definitions and declarations that are provided by
39692         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39694 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39696         [BZ #14683]
39697         * elf/Makefile (tests-static): Add tst-leaks1-static.
39698         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39699         ($(objpfx)tst-leaks1-static): New rule.
39700         ($(objpfx)tst-leaks1-static-mem): Likewise.
39701         (tst-leaks1-static-ENV): New macro.
39702         * elf/dl-open.c (dl_open_worker): Check the main application
39703         only if SHARED is defined.
39704         * elf/tst-leaks1-static.c: New file.
39706 2012-10-20  Andreas Jaeger  <aj@suse.de>
39708         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39709         generic values for Linux.
39710         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39711         and declarations that are provided by <bits/fcntl-linux.h> and
39712         include <bits/fcntl-linux.h>.
39713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39714         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39716 2012-10-20  Roland McGrath  <roland@hack.frob.com>
39718         * io/fcntl.h: Move include of <bits/types.h> to the top and
39719         include it unconditionally.
39721 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39723         * wcsmbs/Makefile (tests-ifunc): New variable.
39724         (tests): Add $(tests-ifunc).
39725         * wcsmbs/test-wcschr-ifunc.c: New file.
39726         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39727         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39728         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39729         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39730         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39732         * string/Makefile (tests-ifunc): New variable.
39733         (tests): Add $(tests-ifunc).
39734         * string/test-memccpy.c (TEST_NAME): New macro.
39735         * string/test-memchr.c (TEST_NAME): Likewise.
39736         * string/test-memcmp.c (TEST_NAME): Likewise.
39737         * string/test-memcpy.c (TEST_NAME): Likewise.
39738         * string/test-memmem.c (TEST_NAME): Likewise.
39739         * string/test-memmove.c (TEST_NAME): Likewise.
39740         * string/test-memset.c (TEST_NAME): Likewise.
39741         * string/test-rawmemchr.c (TEST_NAME): Likewise.
39742         * string/test-stpcpy.c (TEST_NAME): Likewise.
39743         * string/test-stpncpy.c (TEST_NAME): Likewise.
39744         * string/test-strcasecmp.c (TEST_NAME): Likewise.
39745         * string/test-strcasestr.c (TEST_NAME): Likewise.
39746         * string/test-strcat.c (TEST_NAME): Likewise.
39747         * string/test-strchr.c (TEST_NAME): Likewise.
39748         * string/test-strcmp.c(TEST_NAME): Likewise.
39749         * string/test-strcpy.c (TEST_NAME): Likewise.
39750         * string/test-strcspn.c (TEST_NAME): Likewise.
39751         * string/test-strlen.c (TEST_NAME): Likewise.
39752         * string/test-strncasecmp.c (TEST_NAME): Likewise.
39753         * string/test-strncmp.c (TEST_NAME): Likewise.
39754         * string/test-strncpy.c (TEST_NAME): Likewise.
39755         * string/test-strnlen.c (TEST_NAME): Likewise.
39756         * string/test-strpbrk.c (TEST_NAME): Likewise.
39757         * string/test-strrchr.c (TEST_NAME): Likewise.
39758         * string/test-strspn.c (TEST_NAME): Likewise.
39759         * string/test-strstr.c (TEST_NAME): Likewise.
39760         * string/test-bcopy-ifunc.c: New file.
39761         * string/test-bzero-ifunc.c: Likewise.
39762         * string/test-memccpy-ifunc.c: Likewise.
39763         * string/test-memchr-ifunc.c: Likewise.
39764         * string/test-memcmp-ifunc.c: Likewise.
39765         * string/test-memcpy-ifunc.c: Likewise.
39766         * string/test-memmem-ifunc.c: Likewise.
39767         * string/test-memmove-ifunc.c: Likewise.
39768         * string/test-mempcpy-ifunc.c: Likewise.
39769         * string/test-memset-ifunc.c: Likewise.
39770         * string/test-rawmemchr-ifunc.c: Likewise.
39771         * string/test-stpcpy-ifunc.c: Likewise.
39772         * string/test-stpncpy-ifunc.c: Likewise.
39773         * string/test-strcasecmp-ifunc.c: Likewise.
39774         * string/test-strcasestr-ifunc.c: Likewise.
39775         * string/test-strcat-ifunc.c: Likewise.
39776         * string/test-strchr-ifunc.c: Likewise.
39777         * string/test-strchrnul-ifunc.c: Likewise.
39778         * string/test-strcmp-ifunc.c: Likewise.
39779         * string/test-strcpy-ifunc.c: Likewise.
39780         * string/test-strcspn-ifunc.c: Likewise.
39781         * string/test-strlen-ifunc.c: Likewise.
39782         * string/test-strncasecmp-ifunc.c: Likewise.
39783         * string/test-strncat-ifunc.c: Likewise.
39784         * string/test-strncmp-ifunc.c: Likewise.
39785         * string/test-strncpy-ifunc.c: Likewise.
39786         * string/test-strnlen-ifunc.c: Likewise.
39787         * string/test-strpbrk-ifunc.c: Likewise.
39788         * string/test-strrchr-ifunc.c: Likewise.
39789         * string/test-strspn-ifunc.c: Likewise.
39790         * string/test-strstr-ifunc.c: Likewise.
39792         * debug/Makefile (tests-ifunc): New variable.
39793         (tests): Add $(tests-ifunc).
39794         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39795         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39796         * debug/test-stpcpy_chk-ifunc.c: New file.
39797         * debug/test-strcpy_chk-ifunc.c: Likewise.
39799 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39801         [BZ #13601]
39802         * elf/dl-load.c (open_verify): Retry read if the entire ELF
39803         header is not read in.
39805 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
39807         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
39808         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
39809         directly.  Pass built executable to script as
39810         $(built-program-cmd).
39811         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
39812         $testprogram without using LD_LIBRARY_PATH and $ldso.
39814         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39815         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39816         $(rtld-installed-name).
39817         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39818         (rtld_installed_name): Likewise.
39819         (library_path): Likewise.
39820         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
39821         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39822         $(run-program-prefix) to tst-tables.sh.
39823         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
39824         it to run tst-table-from and tst-table-to.
39825         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39826         Pass it to tst-table.sh.
39827         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39828         $(run-program-prefix) to tst-gettext.sh.
39829         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39830         tst-translit.sh.
39831         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39832         tst-gettext2.sh.
39833         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
39834         to run tst-gettext.
39835         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
39836         to run tst-gettext2.
39837         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
39838         to run tst-translit.
39839         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39840         $(run-program-prefix) to tst-mtrace.sh.
39841         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
39842         to run tst-mtrace.
39843         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39844         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39845         $(rtld-installed-name).
39846         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39847         (rtld_installed_name): Likewise.
39848         (run_program_prefix): New variable.  Use it to run wordexp-test.
39850         * Makeconfig (ARCH): Remove all definitions.
39851         (machine): Likewise.
39852         [ARCH]: Remove conditional code.
39853         [!objdir]: Give error.
39854         [!objdir] (objpfx): Remove.
39855         [!objdir] (common-objpfx): Likewise.
39856         [!objdir] (common-objdir): Likewise.
39857         * configure.in (config_makefile): Remove.  Hardcode Makefile in
39858         AC_CONFIG_FILES call.
39859         * configure: Regenerated.
39861         [BZ #13888]
39862         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39863         or TMPDIR.
39864         (testout): Likewise.
39866         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39867         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39868         $(rtld-installed-name).
39869         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39870         (rtld_installed_name): Likwise.
39871         (runit): Remove function.
39872         (run_getconf): New variable,  Use it for running getconf binary.
39874 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
39876         [BZ #14716]
39877         * string/test-memmem.c (check_result): New function.
39878         (do_one_test): Use it.
39879         (check1): New function.
39880         (test_main): Use it.
39882 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
39884         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39886 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
39888         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39889         (_G_LSEEK64): Likewise.
39890         (_G_MMAP64): Likewise.
39891         (_G_FSTAT64): Likewise.
39892         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39893         (_G_LSEEK64): Likewise.
39894         (_G_MMAP64): Likewise.
39895         (_G_FSTAT64): Likewise.
39896         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39897         unconditional.  Call __mmap64 directly.
39898         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39899         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
39900         __lseek64 directly.
39901         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39902         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
39903         __mmap64 directly.
39904         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39905         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39906         __lseek64 directly.
39907         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39908         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39909         __lseek64 directly.
39910         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39911         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
39912         __lseek64 directly.
39913         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39914         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
39915         __fxstat64 directly.
39916         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39917         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39918         unconditional.
39919         (freopen64) [!_G_OPEN64]: Remove conditional code.
39920         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39921         unconditional.
39922         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39923         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39924         unconditional.
39925         (ftello64) [!_G_LSEEK64]: Remove conditional code.
39926         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39927         unconditional.
39928         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39929         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39930         unconditional.
39931         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39932         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39933         unconditional.
39934         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39935         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39936         unconditional.
39937         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39938         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39939         unconditional.
39940         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39942 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39944         [BZ #12140]
39945         * manual/memory.texi (Malloc Tunable Parameters): Add note
39946         about free list pointers overwriting some perturb bytes.
39947         Wording suggested by Roland McGrath.
39949 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
39951         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39952         (lgamma_test): Likewise.
39953         (tgamma_test): Likewise.
39955 2012-10-16  Florian Weimer  <fweimer@redhat.com>
39957         [BZ #14700]
39958         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39959         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39961 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
39963         * NEWS: Mention BZ #14716.
39964         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39965         when removing AVAILABLE1_USES_J macro.
39967 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
39969         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39970         (__bswap_64): __uint64_t for unsigned 64-bit int.
39972 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
39974         * include/string.h (memmem): Declare libc hidden alias.
39975         * string/memmem.c (memmem): Define libc hidden alias.
39976         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39977         __read, __close instead of open, read, close.
39979 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
39981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39982         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39983         global and hidden.
39984         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39985         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39986         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39987         Likewise.
39988         (__rawmemchr_sse2): Likewise.
39989         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39990         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39991         (__strchr_sse2): Likewise.
39992         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39993         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39994         (__strcasecmp_sse2): Likewise.
39995         (__strncasecmp_sse2): Likewise.
39996         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39997         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39998         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39999         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40000         (__strrchr_sse2): Likewise.
40001         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40002         ifunc-impl-list.c.
40003         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40004         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40005         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40006         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40007         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40008         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40009         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40010         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40011         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40012         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40013         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40014         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40015         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40016         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40017         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40018         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40019         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40020         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40021         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40022         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40023         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40024         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40025         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40026         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40027         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40028         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40029         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40030         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40031         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40032         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40034         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40035         global and hidden.
40036         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40037         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40038         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40039         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40040         Likewise.
40041         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40042         Likewise.
40043         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40044         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40045         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40046         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40047         ifunc-impl-list.c.
40048         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40049         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40050         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40051         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40052         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40053         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40054         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40055         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40056         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40057         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40058         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40059         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40060         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40061         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40062         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40063         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40064         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40065         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40066         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40067         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40068         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40069         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40070         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40071         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40072         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40073         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40074         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40075         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40076         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40077         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40078         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40079         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40080         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40081         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40082         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40083         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40084         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40085         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40086         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40087         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40088         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40090         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40091         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40092         * include/ifunc-impl-list.h: New file.
40093         * misc/ifunc-impl-list.c: Likewise.
40094         * misc/Makefile (routines): Add ifunc-impl-list.
40095         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40096         * string/test-string.h: Include <ifunc-impl-list.h>.
40097         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40098         TEST_NAME]: New variables.
40099         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40100         are defined.
40101         (test_init): Call __libc_ifunc_impl_list to initialize
40102         func_list if TEST_IFUNC and TEST_NAME are defined.
40104         * string/Makefile (strop-tests): Add bcopy and bzero.
40105         * string/test-bcopy.c: New file.
40106         * string/test-bzero.c: Likewise.
40107         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40108         defined.
40109         * string/test-memset.c: Support bzero test if TEST_BZERO is
40110         defined.
40111         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40112         __libc_memmove.
40113         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40114         __libc_memset.
40115         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40116         of memset.
40118 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
40120         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40121         * configure: Regenerated.
40123         * Makeconfig (+link-static-before-libc): Don't include
40124         $(link-static-libc).
40126         * libio/libio.h (_IO_pos_t): Remove.
40128 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40130         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
40131         McGrath.
40133 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40135         * crypt/crypt-entry.c: Include fips-private.h.
40136         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40137         * crypt/md5c-test.c (main): Tolerate disabled MD5.
40138         * sysdeps/unix/sysv/linux/fips-private.h: New file.
40139         * sysdeps/generic/fips-private.h: New file, dummy fallback.
40141 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40143         * crypt/crypt-private.h: Include stdbool.h.
40144         (_ufc_setup_salt_r): Return bool.
40145         * crypt/crypt-entry.c: Include errno.h.
40146         (__crypt_r): Return NULL with EINVAL for bad salt.
40147         * crypt/crypt_util.c (bad_for_salt): New.
40148         (_ufc_setup_salt_r): Check that salt is long enough and within
40149         the specified alphabet.
40150         * crypt/badsalttest.c: New file.
40151         * crypt/Makefile (tests): Add it.
40152         ($(objpfx)badsalttest): New.
40154 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40156         * NEWS: Add entry for BZ #14602.
40158 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40160         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40161         type-generic.
40162         * math/libm-test.inc: Update comment listing what functions and
40163         macros are tested.
40164         (isgreater_test): New function.
40165         (isgreaterequal_test): Likewise.
40166         (isless_test): Likewise.
40167         (islessequal_test): Likewise.
40168         (islessgreater_test): Likewise.
40169         (isunordered_test): Likewise.
40170         (main): Call the new functions.
40172 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40174         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40175         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40176         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40177         * sysdeps/i386/configure: Regenerated.
40178         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40179         * sysdeps/mach/configure: Regenerated.
40180         * sysdeps/mach/hurd/configure: Regenerated.
40181         * sysdeps/powerpc/configure: Regenerated.
40182         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40183         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40184         * sysdeps/s390/s390-32/configure: Regenerated.
40185         * sysdeps/s390/s390-64/configure: Regenerated.
40186         * sysdeps/sh/configure: Regenerated.
40187         * sysdeps/sparc/configure: Regenerated.
40188         * sysdeps/unix/sysv/linux/configure: Regenerated.
40189         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40190         * sysdeps/x86_64/configure: Regenerated.
40192         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40193         defined.  Don't check if MAP is NULL.
40195 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40197         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40198         (_G_stat64): Likewise.
40199         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40200         (_G_stat64): Likewise.
40201         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40202         instead of struct _G_stat64.
40203         * libio/fileops.c (mmap_remap_check): Likewise.
40204         (decide_maybe_mmap): Likewise.
40205         (_IO_new_file_seekoff): Likewise.
40206         (_IO_file_stat): Likewise.
40207         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40208         _G_off64_t.
40209         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40210         instead of struct _G_stat64.
40211         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40213 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40215         [BZ #14602]
40216         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40217         Replace with ...
40218         (CHECK_EOL): New macro.
40219         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40220         CHECK_EOL.
40221         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40222         Replace with CHECK_EOL.
40223         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40224         Replace with CHECK_EOL.
40226 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
40228         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40229         type-generic.
40230         * math/libm-test.inc: Update comment listing what functions and
40231         macros are tested.
40232         (finite_test): New function.
40233         (isinf_test): Likewise.
40234         (isnan_test): Likewise.
40235         (fpclassify_test): Test subnormal input.
40236         (isfinite_test): Likewise.
40237         (isnormal_test): Likewise.
40238         (main): Call the new functions.
40240 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
40242         [BZ #14660]
40243         * Makerules (%.dynsym): Force C locale when running
40244         $(OBJDUMP) --dynamic-syms.
40246 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
40248         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40249         <stdint.h>.
40251 2012-10-06  David S. Miller  <davem@davemloft.net>
40253         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40254         upper 32-bits of the length value in %o2 since we use branch-on-register
40255         tests which consider the entire 64-bit register.
40257 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
40259         * string/test-strstr.c (check2): Add a test for page boundary.
40261 2012-10-05  David S. Miller  <davem@davemloft.net>
40263         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40264         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40265         file.
40266         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40267         sysdep_routines.
40268         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40269         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40270         and bzero when HWCAP_SPARC_CRYPTO is present.
40272 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
40274         [BZ #14602]
40275         * string/test-strstr.c (check2): New function.
40276         (test_main): Call check2.
40278         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40279         and bug-strchr1.
40280         * string/bug-strcasestr1.c (do_test): Moved to ...
40281         * string/test-strcasestr.c (check1): Here.  New function.
40282         (do_one_test): Break out result checking code into ...
40283         (check_result): This.  New function.
40284         (do_one_test): Call check_result.
40285         (test_main): Call check1.
40286         * string/bug-strchr1.c (do_test): Moved to ...
40287         * string/test-strchr.c (check1): Here.  New function.
40288         (do_one_test): Break out result checking code into ...
40289         (check_result): This.  New function.
40290         (do_one_test): Call check_result.
40291         (test_main): Call check1.
40292         * string/bug-strstr1.c (main): Moved to ...
40293         * string/test-strstr.c (check1): Here.  New function.
40294         (do_one_test): Break out result checking code into ...
40295         (check_result): This.  New function.
40296         (do_one_test): Call check_result.
40297         (test_main): Call check1.
40298         * string/bug-strcasestr1.c: Removed.
40299         * string/bug-strchr1.c: Likewise.
40300         * string/bug-strstr1.c: Likewise.
40302         * elf/Makefile (dl-routines): Add hwcaps.
40303         * elf/dl-support.c (_dl_important_hwcaps): Removed.
40304         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40305         (_dl_important_hwcaps): Moved to ...
40306         * elf/dl-hwcaps.c: Here.  New file.
40307         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40309         [BZ #14557]
40310         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40311         if IS_IN_rtld isn't defined.
40313         * elf/dl-support.c (_dl_sysinfo_map): New.
40314         Include "get-dynamic-info.h" and "setup-vdso.h".
40315         (_dl_non_dynamic_init): Call setup_vdso.
40316         * elf/dynamic-link.h: Don't include <assert.h>.
40317         (elf_get_dynamic_info): Moved to ...
40318         * elf/get-dynamic-info.h: Here.  New file.
40319         * elf/dynamic-link.h: Include "get-dynamic-info.h".
40320         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40321         * elf/setup-vdso.h: Here.  New file.
40322         * elf/rtld.c: Include "setup-vdso.h".
40323         (dl_main): Call setup_vdso.
40325 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
40327         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40328         creal in comment listing functions tested.  List finite, isinf,
40329         isnan, isless, islessequal, isgreater, isgreaterequal,
40330         islessgreater, isunordered, lgamma_r and pow10 as functions and
40331         macros not tested.  Mention which functions not tested are aliases
40332         for other functions.  Fix typo.  Note that signs of NaNs are not
40333         tested.
40335         * scripts/config.guess: Update from config.git.
40336         * scripts/config.sub: Likewise.
40338 2012-10-04  Roland McGrath  <roland@hack.frob.com>
40340         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40341         * misc/madvise.c (madvise): Renamed to __madvise.
40342         Make madvise a weak alias.
40343         * include/sys/mman.h: Declare __madvise.
40344         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40345         * sysdeps/unix/syscalls.list
40346         (madvise): Make __madvise the strong name, and madvise a weak alias.
40347         * sysdeps/unix/sysv/linux/syscalls.list
40348         (madvise, mmap): Remove redundant entries.
40349         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40350         * malloc/malloc.c (mtrim): Likewise.
40351         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40353 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40355         * sysdeps/mach/hurd/dl-cache.c: File removed.
40356         * config.h.in (USE_LDCONFIG): New #undef.
40357         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40358         * configure: Regenerated.
40359         * elf/Makefile (dl-routines): Add dl-cache only under
40360         [$(use-ldconfig) = yes].
40361         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40362         cache on [USE_LDCONFIG].
40363         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40364         [USE_LDCONFIG].
40365         * elf/rtld.c (dl_main): Likewise.
40367 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
40369         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40370         _SC_LEVEL4_CACHE_LINESIZE.
40372 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40374         * sysdeps/unix/bsd/confstr.h: File removed.
40376 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
40378         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40379         sys/sdt-config.h.
40381 2012-10-02  Roland McGrath  <roland@hack.frob.com>
40383         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40384         Make 'mapoff' field ElfW(Off) rather than off_t.
40386 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
40388         * nscd/Makefile: Remove nscd-cflags and all its users.
40389         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40390         (CFLAGS-nonlib): Add compiler flags for nscd modules.
40392         [BZ #10631]
40393         * malloc.c (malloc_printerr): Clarify error message.
40395 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
40397         [BZ #14648]
40398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40399         Set bit_FMA_Usable if FMA is supported.
40400         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40401         macro.
40402         (bit_FMA4_Usable): Updated.
40403         (index_FMA_Usable): New macro.
40404         (CPUID_FMA): Likewise
40405         (HAS_FMA): Defined with bit_FMA_Usable.
40407 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40409         * bits/types.h (__swblk_t): Type removed.
40410         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40411         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40413         (__SWBLK_T_TYPE): Likewise.
40414         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40415         (__SWBLK_T_TYPE): Likewise.
40416         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40417         (__SWBLK_T_TYPE): Likewise.
40418         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40419         (__SWBLK_T_TYPE): Likewise.
40421 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
40422             Honza Horak <hhorak@redhat.com>
40424         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40425         (xdr_mapname): Use YPMAXMAP as maxsize.
40426         (xdr_peername): Use YPMAXPEER as maxsize.
40427         (xdr_keydat): Use YPAXRECORD as maxsize.
40428         (xdr_valdat): Use YPMAXRECORD as maxsize.
40430 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40432         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40434         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40435         * csu/init-first.c: ... here.
40436         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40437         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40438         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40439         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40440         * sysdeps/i386/init-first.c: File removed.
40441         * sysdeps/sh/init-first.c: File removed.
40443 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
40445         [BZ #14645]
40446         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40447         if x * y might underflow to zero and z is zero.
40448         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40449         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40450         * math/libm-test.inc (min_subnorm_value): New variable.
40451         (fma_test): Add more tests.
40452         (fma_test_towardzero): Likewise.
40453         (fma_test_downward): Likewise
40454         (fma_test_upward): Likewise.
40455         (initialize): Set min_subnorm_value.
40457 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
40459         [BZ #14638]
40460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40461         0 + 0.
40462         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40463         mode for addition resulting in exact zero.
40464         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40465         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40466         exact 0 + 0.
40467         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40468         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40469         * math/libm-test.inc (fma_test): Add more tests.
40470         (fma_test_towardzero): New function.
40471         (fma_test_downward): Likewise.
40472         (fma_test_upward): Likewise.
40473         (main): Call the new functions.
40475 2012-09-28  David S. Miller  <davem@davemloft.net>
40477         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40479 2012-09-28  Roland McGrath  <roland@hack.frob.com>
40481         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40482         instead of SIGALRM.
40484         * sysdeps/gnu/_G_config.h: Moved to ...
40485         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40486         * sysdeps/mach/hurd/_G_config.h: Moved to ...
40487         * sysdeps/generic/_G_config.h: ... here.
40489         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
40491         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40493         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40494         Conditionalize target on [libnss_test1.so-version].
40496         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40498         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40499         (elfobjdir): Move out of conditionals.
40501         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40502         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40503         (__nss_lookup_function): Conditionalize label remove_from_tree on
40504         [!DO_STATIC_NSS || SHARED], matching its only use.
40506 2012-09-28  David S. Miller  <davem@davemloft.net>
40508         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40509         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40510         file.
40511         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40512         sysdep_routines.
40513         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40514         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40515         when HWCAP_SPARC_CRYPTO is present.
40517 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40519         * io/tst-mknodat.c: Create a FIFO instead of a socket.
40521 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
40523         [BZ #6530]
40524         * stdio-common/vfprintf.c (process_string_arg): Revert
40525         2000-07-22 change.
40527 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
40529         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40530         for testcase.
40531         * stdio-common/tst-sprintf.c: Include <locale.h>
40532         (main): Test sprintf's handling of incomplete multibyte
40533         characters.
40535 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
40537         * elf/dl-runtime.c (VERSYMIDX): Removed.
40538         * elf/dl-version.c (VERSYMIDX): Likewise.
40539         * elf/do-rel.h (VERSYMIDX): Likewise.
40540         (VALIDX): Likewise.
40541         * elf/dynamic-link.h (VERSYMIDX): Likewise.
40542         * elf/rtld.c (VALIDX): Likewise.
40543         (ADDRIDX): Likewise.
40544         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40545         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40546         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40547         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40548         (VALIDX): Likewise.
40549         (ADDRIDX): Likewise.
40551 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40553         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40555 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
40557         [BZ #11438]
40558         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40559         to global scope.
40560         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40561         addresses are in the same scope as 192.0.2/24.
40562         * posix/gai.conf: Document new scope table defaults.
40564 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40566         [BZ #5298]
40567         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40568         for ftell.  Compute offsets from write pointers instead.
40569         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40571 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40573         [BZ #14543]
40574         * libio/Makefile (tests): New test case tst-fseek.
40575         * libio/tst-fseek.c: New test case to verify that fseek/ftell
40576         combination works in wide mode.
40577         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40578         state when the external buffer state changes.
40580 2012-09-27  David S. Miller  <davem@davemloft.net>
40582         [BZ #14376]
40583         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40584         pass reloc->r_addend in as the 'high' argument to
40585         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40589 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40591         * rt/tst-aio2.c: Include <pthread.h>.
40592         * rt/tst-aio3.c: Likewise.
40594 2012-09-27  Steve Ellcey  <sellcey@mips.com>
40596         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40598 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
40600         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40601         contents on [SHARED].
40603 2012-09-26  Marek Polacek  <polacek@redhat.com>
40605         [BZ #14530]
40606         [BZ #13741]
40607         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40608         for C++ and GCC <4.3 as well as for non GCC compilers.
40610 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40614 2012-09-25  Roland McGrath  <roland@hack.frob.com>
40616         * Makefile.in (all, install): Declare with .PHONY.
40617         Reported by Michael Hope <michael.hope@linaro.org>.
40619 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40621         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40622         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40623         system header.
40624         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40625         Likewise.
40626         (sydep_routines): Add the new and the internal functions.
40627         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40628         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40630         (GLIBC_2.17): Add the new function.
40631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40632         (GLIBC_2.17): Likewise.
40633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40634         (GLIBC_2.17): Likewise.
40635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40636         (GLIBC_2.17): Likewise.
40637         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40639 2012-09-25  Alan Modra  <amodra@gmail.com>
40641         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40642         Add release barrier before setting once_control to say
40643         initialisation is done.  Add hints on lwarx.  Use macro in
40644         place of isync.
40645         (clear_once_control): Add release barrier.
40647 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40649         [BZ #13629]
40650         * math/s_clog.c (__clog): Handle more values close to |z| = 1
40651         specially.
40652         * math/s_clog10.c (__clog10): Likewise.
40653         * math/s_clog10f.c (__clog10f): Likewise.
40654         * math/s_clog10l.c (__clog10l): Likewise.
40655         * math/s_clogf.c (__clogf): Likewise.
40656         * math/s_clogl.c (__clogl): Likewise.
40657         * math/Makefile (libm-calls): Add x2y2m1.
40658         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40659         (__x2y2m1): Likewise.
40660         (__x2y2m1l): Likewise.
40661         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40662         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40664         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40665         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40666         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40667         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40668         * sysdeps/i386/fpu/libm-test-ulps: Update.
40669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40671         [BZ #14621]
40672         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40673         int as type of variable DEPTH.
40674         (glob): Use size_t instead of int as type of variables NEWCOUNT
40675         and OLD_PATHC.
40677 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40679         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40680         Add s_sincosf-sse2.
40681         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40682         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40683         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40684         macros for using routine as __sincosf_ia32.
40685         Use macro for function declaration and weak_alias.
40686         * sysdeps/i386/fpu/libm-test-ulps: Update.
40688         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40691         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40692         subnormal argument.
40693         * math/s_cexpf.c (__cexpf): Likewise.
40694         * math/s_csinf.c (__csinf): Likewise.
40695         * math/s_csinhf.c (__csinhf): Likewise.
40696         * math/s_ctanf.c (__ctanf): Likewise.
40697         * math/s_ctanhf.c (__ctanhf): Likewise.
40698         * math/s_ccosh.c (__ccoshf): Likewise.
40699         * math/s_cexp.c (__cexpl): Likewise.
40700         * math/s_csin.c (__csin): Likewise.
40701         * math/s_csinh.c (__csinh): Likewise.
40702         * math/s_ctan.c (__ctan): Likewise.
40703         * math/s_ctanh.c (ctanh): Likewise.
40704         * math/s_ccoshl.c (__ccoshl): Likewise.
40705         * math/s_cexpl.c (__cexpl): Likewise.
40706         * math/s_csinl.c (__csinl): Likewise.
40707         * math/s_csinhl.c (__csinhl): Likewise.
40708         * math/s_ctanl.c (__ctanl): Likewise.
40709         * math/s_ctanhl.c (__ctanhl): Likewise.
40711 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40713         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40714         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40715         (_IO_off_t): Define to __off_t, not _G_off_t.
40716         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40717         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40718         (_IO_wint_t): Define to wint_t, not _G_wint_t.
40719         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40720         type of __dummy and __dummy2 fields.
40721         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40722         (_G_ssize_t): Likewise.
40723         (_G_off_t): Likewise.
40724         (_G_pid_t): Likewise.
40725         (_G_uid_t): Likewise.
40726         (_G_wchar_t): Likewise.
40727         (_G_wint_t): Likewise.
40728         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40729         (_G_ssize_t): Likewise.
40730         (_G_off_t): Likewise.
40731         (_G_pid_t): Likewise.
40732         (_G_uid_t): Likewise.
40733         (_G_wchar_t): Likewise.
40734         (_G_wint_t): Likewise.
40735         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40736         (_G_ssize_t): Likewise.
40737         (_G_off_t): Likewise.
40738         (_G_pid_t): Likewise.
40739         (_G_uid_t): Likewise.
40740         (_G_wchar_t): Likewise.
40741         (_G_wint_t): Likewise.
40743 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40745         * malloc/arena.c: Include malloc-sysdep.h.
40746         (shrink_heap): Use check_may_shrink_heap to decide if madvise
40747         is sufficient to shrink the heap or an unmap is needed.
40748         * sysdeps/generic/malloc-sysdep.h: New file.  Define
40749         new function check_may_shrink_heap.
40750         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
40751         new function check_may_shrink_heap.
40753 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40755         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40756         comments.
40758 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
40760         * catgets/test-gencat.sh: Add "set -e".
40761         * elf/tst-pathopt.sh: Likewise.
40762         * grp/tst_fgetgrent.sh: Likewise.
40763         * iconvdata/run-iconv-test.sh: Likewise.
40764         * intl/tst-gettext.sh: Likewise.
40765         * intl/tst-gettext2.sh: Likewise.
40766         * intl/tst-gettext4.sh: Likewise.
40767         * intl/tst-gettext6.sh: Likewise.
40768         * intl/tst-translit.sh: Likewise.
40769         * io/ftwtest-sh: Likewise.
40770         * libio/test-freopen.sh: Likewise.
40771         * malloc/tst-mtrace.sh: Likewise.
40772         * posix/globtest.sh: Likewise.
40773         * posix/tst-getconf.sh: Likewise.
40774         * posix/wordexp-tst.sh: Likewise.
40775         * stdio-common/tst-printf.sh: Likewise.
40776         * stdio-common/tst-unbputc.sh: Likewise.
40777         * stdlib/tst-fmtmsg.sh: Likewise.
40778         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40779         * catgets/Makefile: Do not specify -e option when running
40780         testsuite shell scripts.
40781         * elf/Makefile: Likewise.
40782         * grp/Makefile: Likewise.
40783         * iconvdata/Makefile: Likewise.
40784         * intl/Makefile: Likewise.
40785         * io/Makefile: Likewise.
40786         * libio/Makefile: Likewise.
40787         * malloc/Makefile: Likewise.
40788         * posix/Makefile: Likewise.
40789         * stdio-common/Makefile: Likewise.
40790         * stdlib/Makefile: Likewise.
40791         * sysdeps/x86_64/Makefile: Likewise.
40793         * io/ftwtest-sh: Add copyright header.
40794         * posix/globtest.sh: Likewise.
40795         * posix/tst-getconf.sh: Likewise.
40796         * posix/wordexp-tst.sh: Likewise.
40797         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40799 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
40801         [BZ #13679]
40802         * Makeconfig (+link): Defined as $(+link-static) if
40803         $(build-shared) isn't yes.
40804         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40805         isn't yes.
40806         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40808         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40810         [BZ #14562]
40811         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40812         new chunk size with MALLOC_ALIGN_MASK.
40814 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
40816         [BZ #5044]
40817         * stdio-common/printf_fphex.c: Include <stdbool.h> and
40818         <rounding-mode.h>.
40819         (__printf_fphex): Determine rounding using get_rounding_mode and
40820         round_away.
40821         * stdio-common/tst-printf-round.c (struct hex_test): New
40822         structure.
40823         (hex_tests): New variable.
40824         (test_hex_in_one_mode): New function.
40825         (do_test): Also run tests for hex float output.
40827 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
40829         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40830         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40831         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40832         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40833         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40834         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40835         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40836         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40838 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
40840         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40841         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40842         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40843         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40845 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
40847         [BZ #14579]
40848         * elf/rtld.c (dl_main): Limit the check for self loading to normal
40849         mode only.
40850         * elf/tst-rtld-load-self.sh: New test.
40851         * elf/Makefile: Run it.
40853 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
40855         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40856         (tst-writev-ENV): Remove.
40857         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40859 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
40861         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40863 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
40865         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40866         unconditional.
40867         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40868         Likewise.
40869         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40870         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40871         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40872         Likewise.
40874 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
40876         [BZ #14587]
40877         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40878         * config.make.in (have-cpp-asm-debuginfo): Removed.
40879         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40880         * configure: Regenerated.
40882 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
40884         [BZ #5044]
40885         * stdio-common/printf_fp.c: Include <stdbool.h> and
40886         <rounding-mode.h>.
40887         (___printf_fp): Determine rounding using get_rounding_mode and
40888         round_away.
40889         * stdio-common/tst-printf-round.c: New file.
40890         * stdio-common/Makefile (tests): Add tst-printf-round.
40891         (link-libm): New variable.
40892         ($(objpfx)tst-printf-round): Depend in $(link-libm).
40894 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
40896         [BZ #14576]
40897         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40898         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40899         Likewise.
40900         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40901         Likewise.
40903 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
40905         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40906         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40907         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40908         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40910 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
40912         [BZ #14518]
40913         * include/rounding-mode.h: New file.
40914         * sysdeps/generic/get-rounding-mode.h: Likewise.
40915         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40916         * stdlib/strtod_l.c: Include <rounding-mode.h>.
40917         (MAX_VALUE): New macro.
40918         (MIN_VALUE): Likewise.
40919         (overflow_value): New function.
40920         (underflow_value): Likewise.
40921         (round_and_return): Use overflow_value and underflow_value to
40922         determine return values in overflow and underflow cases.  Use
40923         round_away to determine rounding depending on rounding mode.
40924         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40925         determine return values in overflow and underflow cases.
40926         * stdlib/tst-strtod-round.c: Include <fenv.h>.
40927         (struct test_results): New structure.
40928         (struct test): Use struct test_results to store expected results
40929         for all rounding modes.
40930         (TEST): Include expected results for all rounding modes.
40931         (test_in_one_mode): New function.
40932         (do_test): Use test_in_one_mode to compute and check results.
40933         Check results for all rounding modes.
40934         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40935         $(link-libm).
40937 2012-12-09  Allan McRae  <allan@archlinux.org>
40939         * sysdeps/i386/fpu/libm-test-ulps: Update
40941 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
40943         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40944         (_G_int32_t): Likewise.
40945         (_G_uint16_t): Likewise.
40946         (_G_uint32_t): Likewise.
40947         (_G_HAVE_BOOL): Likewise.
40948         (_G_HAVE_ATEXIT): Likewise.
40949         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40950         (_G_HAVE_IO_FILE_OPEN): Likewise.
40951         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40952         (_G_int32_t): Likewise.
40953         (_G_uint16_t): Likewise.
40954         (_G_uint32_t): Likewise.
40955         (_G_HAVE_BOOL): Likewise.
40956         (_G_HAVE_ATEXIT): Likewise.
40957         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40958         (_G_HAVE_IO_FILE_OPEN): Likewise.
40959         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40960         (_G_int32_t): Likewise.
40961         (_G_uint16_t): Likewise.
40962         (_G_uint32_t): Likewise.
40963         (_G_HAVE_BOOL): Likewise.
40964         (_G_HAVE_ATEXIT): Likewise.
40965         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40966         (_G_HAVE_IO_FILE_OPEN): Likewise.
40968 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
40970         * csu/libc-tls.c: Update copyright years.
40972 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
40974         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40975         [!_G_USING_THUNKS]: Remove conditional code.
40976         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40977         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40979         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40980         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40981         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40982         (_G_VTABLE_LABEL_PREFIX): Likewise.
40983         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40984         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40985         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40986         (_G_VTABLE_LABEL_PREFIX): Likewise.
40987         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40988         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40989         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40990         (_G_VTABLE_LABEL_PREFIX): Likewise.
40991         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40993 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
40995         * libio/Makefile: Include ../Makeconfig before tests.
40996         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40997         only if $(build-shared) is yes.
40999         * iconv/gconv_db.c: Update copyright years.
41001 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41003         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41004         unwind info if defined PIC. Fix special cases description.
41005         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41007         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41008         DP_HI_MASK entry.
41009         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41011 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41013         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41015         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41016         is NULL.
41018         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41019         (LDLIBS-tst-chk4): This.
41020         (LDFLAGS-tst-chk5): Renamed to ...
41021         (LDLIBS-tst-chk5): This.
41022         (LDFLAGS-tst-chk6): Renamed to ...
41023         (LDLIBS-tst-chk6): This.
41024         (LDFLAGS-tst-lfschk4): Renamed to ...
41025         (LDLIBS-tst-lfschk4): This.
41026         (LDFLAGS-tst-lfschk5): Renamed to ...
41027         (LDLIBS-tst-lfschk5): This.
41028         (LDFLAGS-tst-lfschk6): Renamed to ...
41029         (LDLIBS-tst-lfschk6): This.
41031         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41032         on $(common-objpfx)soversions.mk.
41034 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41036         [BZ #10014]
41037         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41038         example host name.
41040 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41042         * malloc/arena.c (arena_get_retry): New function that gets
41043         another arena for the caller to try its request on.
41044         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41045         current arena cannot fulfill the request.
41046         (__libc_memalign): Likewise.
41047         (__libc_memalign): Likewise.
41048         (__libc_pvalloc): Likewise.
41049         (__libc_calloc): Likewise.
41051 2012-09-05  John Tobey  <john.tobey@gmail.com>
41053         [BZ #13542]
41054         * manual/arith.texi (Operations on Complex): Fix description
41055         of carg branch cut.
41057 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41059         [BZ #10014]
41060         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41061         host name.
41063         [BZ #10038]
41064         * manual/memory.texi (Memory): Make order of menu items match
41065         order of sections.
41067 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41069         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41070         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41071         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41073 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41075         * csu/libc-tls.c (static_dtv): Renamed to ...
41076         (_dl_static_dtv): This.  Make it global.
41077         (_dl_initial_dtv): Removed.
41078         (__libc_setup_tls): Updated.
41079         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41080         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41081         DL_INITIAL_DTV.
41083 2012-09-06  Petr Machata  <pmachata@redhat.com>
41085         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41086         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41087         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41088         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41090 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41092         [BZ #14545]
41093         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41094         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41095         freeing dtv[-1].
41097 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41099         [BZ #14544]
41100         * Makeconfig (link-static-before-libc): Replace $(+prector)
41101         with $(+prectorT).
41102         (link-static-after-libc): Replace $(+postctor) with
41103         $(+postctorT).
41104         (link-bounded): Replace $(+prector)/$(+postctor) with
41105         $(+prectorT)/$(+postctorT).
41106         (+prectorT): New macro.
41107         (+postctorT): Likewise.
41109 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41111         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41112         (round_str): Handle values above the maximum for IBM long double
41113         as inexact.
41114         * stdlib/tst-strtod-round.c (tests): Regenerated.
41116 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41118         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41119         assembler flag.
41120         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41121         zarch_nohighgprs around the zarch optimized routines.
41122         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41123         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41124         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41125         for zarch.
41127 2012-09-05  David S. Miller  <davem@davemloft.net>
41129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41131         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41132         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41133         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41134         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41135         entries.
41137 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41139         * malloc/arena.c: Fold copyright years.
41140         * malloc/mcheck.c, malloc/memusage.c: Likewise.
41142 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41144         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41146 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41148         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
41150 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41152         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41153         change internal state upon failure.
41155 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41157         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41158         * malloc/memusage.c (mmap): Likewise.
41159         (mmap64, mremap): Likewise.  Adjust name in comment.
41161 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41163         * libio/fileops.c: Fix typos in comments.
41164         * libio/oldfileops.c: Likewise.
41165         * libio/wfileops.c: Likewise.
41167 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41169         [BZ #1349]
41170         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41171         (tst-malloc-usable-ENV): Set environment for test case.
41172         * malloc/hooks.c (malloc_check_get_size): New function to get
41173         requested size.
41174         * malloc/malloc.c (musable): Use malloc_check_get_size.
41175         * malloc/tst-malloc-usable.c: New test case.
41177 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41179         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41181 2012-09-05  Allan McRae  <allan@archlinux.org>
41183         [BZ #13966]
41184         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41185         determine header location.
41186         * configure: Regenerated.
41188 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41190         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41191         float format.
41192         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41193         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41194         format.
41195         (test): Regenerate.
41197 2012-09-04  David S. Miller  <davem@davemloft.net>
41199         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41200         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41201         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41203 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41205         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41206         failures.
41208         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41210 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41212         [BZ #9914]
41213         * libio/iogetdelim.c: Include <limits.h>.
41214         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41215         + len + 1 would overflow.
41217 2012-09-03  Andreas Jaeger  <aj@suse.de>
41219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41220         * sysdeps/i386/fpu/libm-test-ulps: Update.
41222 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41224         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41225         Add s_sinf-sse2, s_conf-sse2.
41227         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41228         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41229         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41230         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41232         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41233         for using routine as __sinf_ia32.
41234         Use macro for function declaration and weak_alias.
41235         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41236         for using routine as __cosf_ia32.
41237         Use macro for function declaration and weak_alias.
41239         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41240         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41242         * sysdeps/x86_64/fpu/s_sinf.S: New file.
41243         * sysdeps/x86_64/fpu/s_cosf.S: New file.
41244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41246         * math/libm-test.inc (cos_test): Add more test cases.
41247         (sin_test): Likewise.
41248         (sincos_test): Likewise.
41250 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41252         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41253         (IFUNC_RESOLVE): Make pointers to the specialized implementations
41254         hidden.
41255         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41257 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
41259         [BZ #14538]
41260         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41261         first element of the GOT.
41262         (elf_machine_load_address): Return the difference between
41263         the runtime address of _DYNAMIC and elf_machine_dynamic ().
41265 2012-09-01  Allan McRae  <allan@archlinux.org>
41267         [BZ #13412]
41268         * configure.in (AWK): Require gawk version 3.0 or later.
41269         * configure: Regenerated.
41271 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
41273         * sysdeps/unix/sysv/linux/kernel-features.h
41274         (__ASSUME_POSIX_CPU_TIMERS): Remove.
41275         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41276         [__NR_clock_getres]: Make code unconditional.
41277         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41278         (clock_getcpuclockid): Remove code left unreachable by removal of
41279         conditionals.
41280         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41281         code unconditional.
41282         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41283         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41284         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41285         Make code unconditional.
41286         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41287         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41288         * sysdeps/unix/sysv/linux/clock_settime.c
41289         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41290         conditional code.
41291         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41292         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41294 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
41296         [BZ #14476]
41297         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41298         scripts/test-installation.pl.
41300         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41301         and $ld_so_version if it is set.
41303 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41305         [BZ #14516]
41306         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41307         failure if reading from procfs failed.
41308         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41310 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41312         * sysdeps/unix/sysv/linux/kernel-features.h
41313         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41314         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41315         Remove conditional code.
41316         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41317         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41318         Remove conditional code.
41319         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41320         * sysdeps/unix/sysv/linux/i386/fxstat.c
41321         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41322         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41323         * sysdeps/unix/sysv/linux/i386/fxstatat.c
41324         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41325         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41326         * sysdeps/unix/sysv/linux/i386/lxstat.c
41327         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41329         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41330         Remove conditional code.
41331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41332         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41333         Remove conditional code.
41334         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41335         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41336         <kernel-features.h>.
41337         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41338         Remove.
41339         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41340         Remove conditional code.
41341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41342         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41343         Remove conditional.
41345 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
41347         [BZ #5400]
41348         * NEWS: Add fixed bug number.
41350 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41352         [BZ #14519]
41353         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41354         underflowing exponent in case of negative sign.
41355         * stdlib/tst-strtod-round-data: Add more tests.
41356         * stdlib/tst-strtod-round.c (tests): Regenerated.
41358         [BZ #3479]
41359         * stdlib/strtod_l.c (NDIG): Remove.
41360         (HEXNDIG): Likewise.
41361         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41362         smallest representable value.
41363         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41364         lie within an exact representation of 1/2 ulp of the result.
41365         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41366         unconditionally.
41367         (TENS_P9_IDX): Define unconditionally.
41368         (TENS_P9_SIZE): Likewise.
41369         (TENS_P10_IDX): Likewise.
41370         (TENS_P10_SIZE): Likewise.
41371         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41372         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41373         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41374         entries for 10^2^13 and 10^2^14.
41375         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41376         (TENS_P13_IDX): Define.
41377         (TENS_P13_SIZE): Likewise.
41378         (TENS_P14_IDX): Likewise.
41379         (TENS_P14_SIZE): Likewise.
41380         (_fpioconst_pow10): Change array size to
41381         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
41382         unconditional.
41383         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41384         1024]: Add entries for 10^2^13 and 10^2^14.
41385         [LAST_POW10 > _LAST_POW10]: Remove #error.
41386         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41387         (_fpioconst_pow10): Change array size to
41388         FPIOCONST_POW10_ARRAY_SIZE.
41389         * stdlib/gen-fpioconst.c: New file.
41390         * stdlib/gen-tst-strtod-round.c: Likewise.
41391         * stdlib/tst-strtod-round-data: Likewise.
41392         * stdlib/tst-strtod-round.c: Likewise.
41393         * stdlib/Makefile (tests): Add tst-strtod-round.
41395         [BZ #14459]
41396         * stdlib/strtod_l.c: Include <stdint.h>.
41397         (NDEBUG): Do not define.
41398         (round_and_return): Change EXPONENT parameter to type intmax_t.
41399         Rearrange calculations to avoid internal overflow possibilities.
41400         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41401         Rearrange calculations to avoid internal overflow possibilities.
41402         Assert that number fits inside MPNSIZE limbs.
41403         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41404         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
41405         calculations and add assertions to avoid internal overflow
41406         possibilities.  Add casts to avoid signed/unsigned operations.
41407         * stdlib/tst-strtod-overflow.c: New file.
41408         * stdlib/Makefile (tests): Add tst-strtod-overflow.
41410 2012-08-25  Marek Polacek  <polacek@redhat.com>
41412         * time/time.h: Fix some typos in comments.
41414 2012-08-23  Roland McGrath  <roland@hack.frob.com>
41416         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41417         * posix/tst-rfc3484-2.c: Likewise.
41418         * posix/tst-rfc3484-3.c: Likewise.
41420 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
41422         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41423         (EF_ARM_ABI_FLOAT_HARD): Likewise.
41425 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
41427         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41428         #include of fxstatat64.c.
41430 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41432         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41433         * shadow/getspent_r.c: Likewise.
41434         * shadow/getspnam.c: Likewise.
41435         * shadow/getspnam_r.c: Likewise.
41436         * gshadow/getsgent.c: Likewise.
41437         * gshadow/getsgent_r.c: Likewise.
41438         * gshadow/getsgnam.c: Likewise.
41439         * gshadow/getsgnam_r.c: Likewise.
41440         * inet/getnetbyad.c: Likewise.
41441         * inet/getnetbyad_r.c: Likewise.
41442         * inet/getnetbynm.c: Likewise.
41443         * inet/getnetbynm_r.c: Likewise.
41444         * inet/getnetent.c: Likewise.
41445         * inet/getnetent_r.c: Likewise.
41446         * inet/getproto.c: Likewise.
41447         * inet/getproto_r.c: Likewise.
41448         * inet/getprtent.c: Likewise.
41449         * inet/getprtent_r.c: Likewise.
41450         * inet/getprtname.c: Likewise.
41451         * inet/getprtname_r.c: Likewise.
41452         * inet/getrpcbyname.c: Likewise.
41453         * inet/getrpcbyname_r.c: Likewise.
41454         * inet/getrpcbynumber.c: Likewise.
41455         * inet/getrpcbynumber_r.c: Likewise.
41456         * inet/getrpcent.c: Likewise.
41457         * inet/getrpcent_r.c: Likewise.
41458         * inet/getaliasent.c: Likewise.
41459         * inet/getaliasent_r.c: Likewise.
41460         * inet/getaliasname.c: Likewise.
41461         * inet/getaliasname_r.c: Likewise.
41462         * nscd/getgrgid_r.c: Likewise.
41463         * nscd/getgrnam_r.c: Likewise.
41464         * nscd/gethstbyad_r.c: Likewise.
41465         * nscd/gethstbynm3_r.c: Likewise.
41466         * nscd/getpwnam_r.c: Likewise.
41467         * nscd/getpwuid_r.c: Likewise.
41468         * nscd/getsrvbynm_r.c: Likewise.
41469         * nscd/getsrvbypt_r.c: Likewise.
41470         * nscd/gai.c: Likewise.
41472         * configure.in (build_nscd): New substituted variable, set
41473         by --disable-build-nscd and defaults to $use_nscd.
41474         * configure: Regenerated.
41475         * config.make.in (build-nscd): New substituted variable.
41476         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41477         Change conditional to require [$(build-nscd) = yes] as well.
41478         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41480         [BZ# 13696]
41481         * configure.in (use_nscd): New substituted variable, set by
41482         --disable-nscd.  If enabled, define USE_NSCD.
41483         * configure: Regenerated.
41484         * config.h.in: Add USE_NSCD.
41485         * config.make.in (use-nscd): New substituted variable.
41486         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41487         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41488         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41489         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41490         (CFLAGS-getgrnam_r.c): Likewise.
41491         (CFLAGS-initgroups.c): Likewise.
41492         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41493         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41494         Variables removed.
41495         * inet/getnetgrent_r.c
41496         (nscd_setnetgrent): New function, broken out of ...
41497         (setnetgrent): ... here.  Call it.
41498         (innetgr): Conditionalize nscd bits on [USE_NSCD].
41499         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41500         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41501         * nscd/Makefile (routines, aux): Move definitions after include of
41502         Makeconfig.  Conditionalize on [$(use-nscd) != no].
41503         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41504         Conditionalize on [USE_NSCD].
41505         (is_nscd, nscd_init_cb): Likewise.
41506         (nss_load_library): Conditionalize init callback on [USE_NSCD].
41507         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41508         * nss/nss_db/db-init.c: Likewise.
41509         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41510         [USE_NSCD].
41511         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41512         (make_request): Use it.
41513         (cache_valid_p): New function.
41514         (__check_pf): Use it.
41515         * NEWS: Add item for --disable-nscd.
41517 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
41519         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41520         to support sed >= 4.2.1-20-ga9bf076.
41521         * configure: Regenerated.
41523 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41525         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41526         Conditionalize whole body on [IREL].
41528 2012-08-22  Jeff Law <law@redhat.com>
41530         [BZ #14505]
41531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41532         if the family is PF_UNSPEC.
41534 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
41536         * Makerules (lib-version): Rename from V.
41537         (install-lib-nosubdir): Change V to lib-version.
41539 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
41541         [BZ #14252]
41542         * powerpc32/power6/wcschr.c: New file.
41543         * powerpc32/power6/wcscpy.c: New file.
41544         * powerpc32/power6/wcsrchr.c: New file.
41545         * powerpc64/power6/wcschr.c: New file.
41546         * powerpc64/power6/wcscpy.c: New file.
41547         * powerpc64/power6/wcsrchr.c: New file.
41549 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41551         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41552         (two_way_short_needle): Use it.
41553         * string/strstr.c (AVAILABLE1_USES_J): Define.
41554         * string/strcasestr.c: Likewise.
41556         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41557         array references.
41558         * string/strcasestr.c (TOLOWER): Make side-effect safe.
41560         [BZ #11607]
41561         * NEWS: Add an entry.
41562         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41563         define their defaults.
41564         (two_way_short_needle): Detect end-of-string on-the-fly.
41565         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41566         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41567         * string/bug-strcasestr1.c: New test.
41568         * string/Makefile: Run it.
41570 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41572         [BZ #11607]
41573         * string/str-two-way.h (two_way_short_needle): Optimize matching of
41574         the first character.
41576 2012-08-21  Roland McGrath  <roland@hack.frob.com>
41578         * csu/elf-init.c (__libc_csu_irel): Function removed.
41579         * csu/libc-start.c (apply_irel): New function.
41580         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41582 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
41584         * sysdeps/unix/sysv/linux/kernel-features.h
41585         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41586         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41587         <kernel-features.h>.
41588         [__NR_fadvise64_64]: Make code unconditional.
41589         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41590         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41591         !__NR_fadvise64_64)]: Likewise.
41592         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41593         !__NR_fadvise64_64))]: Likewise.
41594         [__NR_fadvise64]: Make code unconditional.
41595         [!__NR_fadvise64]: Remove conditional code.
41596         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41597         <kernel-features.h>.
41598         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41599         unconditional.
41600         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41601         conditional code.
41602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41603         not include <kernel-features.h>.
41604         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41605         unconditional.
41606         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41607         conditional code.
41608         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41609         include <kernel-features.h>.
41610         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41611         unconditional.
41612         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41613         conditional code.
41615 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41618         slight instruction rearrangements per scrollpipe analysis.
41619         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41621 2012-08-20  Roland McGrath  <roland@hack.frob.com>
41623         * manual/syslog.texi (syslog; vsyslog, closelog):
41624         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41625         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41627         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41628         DSOCAPS to match condition on defining it.
41630 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
41632         * sysdeps/unix/sysv/linux/kernel-features.h
41633         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41635         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41636         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41638         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41639         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41641         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41642         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41644         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41645         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41647         * sysdeps/unix/sysv/linux/kernel-features.h
41648         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41649         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41650         unconditional.
41651         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41652         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41653         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41654         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41655         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41656         Make code unconditional.
41657         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41658         (__mmap64) [!__NR_mmap2]: Likewise.
41659         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41660         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41661         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41662         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41663         [__NR_mmap2]: Make code unconditional.
41664         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41665         (__mmap64) [!__NR_mmap2]: Likewise.
41667 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41669         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41671 2012-08-18  Andreas Jaeger  <aj@suse.de>
41673         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41675 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41677         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41678         * include/unistd.h (__have_sock_cloexec): Likewise.
41679         (__have_pipe2): Likewise.
41680         (__have_dup3): Likewise.
41682 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41684         [BZ #9685]
41685         * include/unistd.h (__have_pipe2): Change define into an extern int.
41686         (__have_dup3): Likewise.
41687         * socket/have_sock_cloexec.c: Include fcntl.h.
41688         (__have_pipe2): New variable.
41689         (__have_dup3): Likewise.
41691 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
41693         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41695 2012-08-17  Marek Polacek  <polacek@redhat.com>
41697         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41698         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41700 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41702         * configure.in: Add AC_SUBST for sysheaders.
41703         * configure: Regenerated.
41704         * config.make.in (sysheaders): New substituted variable.
41706         * sysdeps/unix/mkfifo.c: Moved ...
41707         * sysdeps/posix/mkfifo.c: ... here.
41708         * sysdeps/unix/mkfifoat.c: Moved ...
41709         * sysdeps/posix/mkfifoat.c: ... here.
41711         * sysdeps/unix/utime.c: Moved ...
41712         * sysdeps/posix/utime.c: ... here.
41714         * sysdeps/unix/time.c: Moved ...
41715         * sysdeps/posix/time.c: ... here.
41716         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41717         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41719         * sysdeps/unix/nice.c: Moved ...
41720         * sysdeps/posix/nice.c: ... here.
41722         * sysdeps/unix/alarm.c: Moved ...
41723         * sysdeps/posix/alarm.c: ... here.
41725         * intl/Makefile ($(codeset_mo)): Depend on the input file.
41727 2012-08-17  Jeff Law <law@redhat.com>
41729         * intl/Makefile (codeset_mo): New variable.
41730         ($(codeset_mo)): New target.
41731         (tst-codeset.out): Depend on that.  Remove explicit rule.
41732         (tst-gettext3.out, tst-gettext5.out): Likewise.
41733         (LOCPATH-ENV, tst-codeset-ENV): New variables.
41734         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41735         * intl/tst-codeset.sh: Remove.
41736         * intl/tst-gettext3.sh: Likewise.
41737         * intl/tst-gettext5.sh: Likewise.
41739 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41741         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
41742         * sysdeps/unix/syscalls.list: ... here.
41744         * sysdeps/posix/getaddrinfo.c
41745         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41746         (gaiconf_init, gaiconf_reload): Use them.
41747         [!_STATBUF_ST_NSEC]
41748         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41749         Define using time_t rather than struct timespec.
41751         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41752         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41753         Macros removed.
41754         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41755         [!NO_THREADS].
41756         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41757         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41758         Likewise.
41760         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41761         __libc_cleanup_push argument.
41763         * bits/param.h: New file.
41764         * misc/sys/param.h: New file.
41765         * include/sys/param.h: New file.
41766         * misc/Makefile (headers): Add bits/param.h.
41767         * sysdeps/generic/sys/param.h: File removed.
41768         * sysdeps/unix/sysv/linux/bits/param.h: New file.
41769         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41770         * sysdeps/mach/hurd/bits/param.h: New file.
41771         * sysdeps/mach/hurd/sys/param.h: File removed.
41773         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41774         last change.
41776         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41777         [_IO_MTSAFE_IO].
41778         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41779         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41780         New macros.
41782         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41783         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41784         rather than -D_IO_MTSAFE_IO conditionally.
41785         * stdio-common/Makefile (CPPFLAGS): Likewise.
41786         * wcsmbs/Makefile (CPPFLAGS): Likewise.
41787         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41788         Use $(libio-mtsafe).
41789         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41790         of -D_IO_MTSAFE_IO.
41791         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41792         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41793         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41794         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41795         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41796         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41797         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41798         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41799         (CFLAGS-fread_u_chk.c): Likewise.
41800         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41801         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41802         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41803         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41804         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41805         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41806         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41807         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41808         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41810         * libio/Makefile: Test [$(libc-reentrant) = yes]
41811         instead of [$(filter %REENTRANT, $(defines)) nonempty].
41813         * Makeconfig
41814         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41815         * sysdeps/pthread/configure: File removed.
41816         * sysdeps/pthread/Makeconfig: New file.
41817         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41818         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41820 2012-08-16  Gary Benson  <gbenson@redhat.com>
41822         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41823         unmapping the first object in a namespace.
41825 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41827         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41828         (__internal_setnetgrent): ... this.  Add internal_function to
41829         definition.  Add libc_hidden_def.
41830         (setnetgrent): Update caller.
41831         (internal_endnetgrent): Renamed to ...
41832         (__internal_endnetgrent): ... this.  Add internal_function to
41833         definition.  Add libc_hidden_def.
41834         (endnetgrent): Update caller.
41835         (internal_getnetgrent_r): Renamed to ...
41836         (__internal_getnetgrent_r): ... this.  Add internal_function to
41837         definition.  Add libc_hidden_def.
41838         (__getnetgrent_r): Update caller.
41839         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
41841 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41843         * stdlib/longlong.h: Update from GCC.
41845 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41847         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41848         on _QL, which is set by umul_ppmm but never used.
41849         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41850         variables, which are set by GMP macros but never used.
41851         * stdio-common/_itowa.c (_itowa): Likewise.
41852         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41853         * stdlib/mod_1.c (mpn_mod_1): Likewise.
41855 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
41857         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41858         struct La_sh_regs is not constant.
41859         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41860         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41861         and struct La_sparc64_regs are not constant.
41863 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41865         * sysdeps/unix/sysv/linux/kernel-features.h
41866         (__ASSUME_POSIX_TIMERS): Remove.
41867         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41868         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41869         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41870         Make code unconditional.
41871         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41872         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41873         Make code unconditional.
41874         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41875         * sysdeps/unix/sysv/linux/clock_nanosleep.c
41876         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41877         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41878         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41879         Make code unconditional.
41880         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41881         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41882         (__libc_missing_posix_timers): Remove.
41884 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41886         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41887         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41889         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41891         * elf/dl-sym.c: Include <stdlib.h>.
41893         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41894         constants, which avoids warnings in 32-bit builds.
41896         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41897         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41899         * misc/lseek.c: File moved to ...
41900         * io/lseek.c: ... here.
41902         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41904         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41905         shifting LEN more than 31 bits at once.
41907 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41909         [BZ #14195]
41910         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41911         segmentation fault for a case of two empty input strings.
41912         * string/test-strncasecmp.c (check1): Renamed to...
41913         (bz12205): ...this.
41914         (bz14195): Add new testcase for two empty input strings and N > 0.
41915         (test_main): Call new testcase, adapt for renamed function.
41917 2012-08-15  Andreas Jaeger  <aj@suse.de>
41919         [BZ #14090]
41920         * crypt/md5test2.c: New test, based on test supplied by Serge
41921         Belyshev <belyshev@depni.sinp.msu.ru>.
41922         * crypt/Makefile (xtests): Add md5test-giant..
41923         * crypt/Makefile ($(objpfx)md5test-giant): Add.
41925 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
41927         [BZ #14090]
41928         * crypt/md5.c (md5_process_block): Don't assume the buffer
41929         length is less than 2**32.
41930         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41931         length is less than 2**64.
41933 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41935         * string/str-two-way.h: Include <sys/param.h>.
41936         (MAX): Macro removed.
41938         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41939         Move #define and #undef of memmove to just before and after
41940         including <string.h>.
41942         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41943         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41944         and after including <string.h>.  Move declarations of
41945         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41946         to before #include "string/memmove.c".
41948         * include/dirent.h: Declare __getdirentries.
41950         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41951         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41953 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
41955         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41956         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41957         * sysdeps/i386/configure: Regenerated.
41958         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41959         STABS_CURRENT_FILE, and STABS_FUN.
41960         (END): Remove call to STABS_FUN_END.
41961         (STABS_CURRENT_FILE1): Delete.
41962         (STABS_CURRENT_FILE): Likewise.
41963         (STABS_FUN): Likewise.
41964         (STABS_FUN_END): Likewise.
41965         (STABS_FUN2): Likewise.
41966         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41967         * sysdeps/x86_64/configure: Regenerated.
41969 2012-08-14  Roland McGrath  <roland@hack.frob.com>
41971         * elf/dl-open.c: Include <atomic.h>.
41972         * elf/dl-lookup.c: Likewise.
41974 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
41976         * sysdeps/unix/sysv/linux/kernel-features.h
41977         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41978         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41979         unconditionally.
41980         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41981         unconditionally.
41982         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41983         condition on __ASSUME_CLONE_THREAD_FLAGS.
41985 2012-08-14  Andreas Jaeger  <aj@suse.de>
41987         * sysdeps/i386/fpu/libm-test-ulps: Update.
41989 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
41991         * include/atomic.h (atomic_exchange_and_add): Split into ...
41992         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41993         New atomic macros.
41995 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
41997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41999 2012-08-13  Jeff Law <law@redhat.com>
42001         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42002         null byte in the output string.
42004 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42006         * sysdeps/unix/sysv/linux/kernel-features.h
42007         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42008         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42009         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42010         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42011         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42012         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42013         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42015 2012-08-09  Jeff Law <law@redhat.com>
42017         [BZ #13939]
42018         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42019         When avoid_arena is set, don't retry in the that arena.  Pick the
42020         next one, whatever it might be.
42021         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42022         (arena_lock): Pass in new parameter to arena_get2.
42023         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42024         arena_get2.
42025         (__libc_malloc): Unify retrying after main arena failure with
42026         __libc_memalign version.
42027         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42029 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42031         [BZ #14166]
42032         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42033         to __redirect_strstr.
42034         (__strstr_sse42): Use typeof __redirect_strstr.
42035         (__strstr_ia32): Likewise.
42036         (__libc_strstr): New prototype.
42037         (strstr): Renamed to ...
42038         (__libc_strstr): This.
42039         (strstr): New strong alias of __libc_strstr.
42040         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42041         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42042         __redirect_time.
42043         Include <time.h>.
42044         (__libc_time): New prototype.
42045         (time_ifunc): Replace time with __libc_time.
42046         (time): New strong alias and hidden definition of __libc_time.
42047         (__GI_time): Remove strong alias.
42048         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42049         Include <stddef.h>.
42050         (memmove): Redefined to __redirect_memmove.
42051         (__memmove_sse2): Use typeof __redirect_memmove.
42052         (__memmove_ssse3): Likewise.
42053         (__memmove_ssse3_back): Likewise.
42054         (__libc_memmove): New prototype.
42055         (memmove): Renamed to ...
42056         (__libc_memmove): This.
42057         (memmove): New strong alias of __libc_memmove.
42059 2012-08-08  Mark Salter  <msalter@redhat.com>
42061         * elf/elf.h
42062         (R_MN10300_TLS_GD): Define.
42063         (R_MN10300_TLS_LD): Likewise.
42064         (R_MN10300_TLS_LDO): Likewise.
42065         (R_MN10300_TLS_GOTIE): Likewise.
42066         (R_MN10300_TLS_IE): Likewise.
42067         (R_MN10300_TLS_LE): Likewise.
42068         (R_MN10300_TLS_DTPMOD): Likewise.
42069         (R_MN10300_TLS_DTPOFF): Likewise.
42070         (R_MN10300_TLS_TPOFF): Likewise.
42071         (R_MN10300_SYM_DIFF): Likewise.
42072         (R_MN10300_ALIGN): Likewise.
42073         (R_MN10300_NUM): Update.
42075 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42077         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42078         Remove.
42080 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42082         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42084         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42085         sysdeps/unix -> sysdeps/posix move.
42086         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42088 2012-08-07      Allan McRae     <allan@archlinux.org>
42090         [BZ #14303]
42091         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42092         (SUNOS_CPP): Likewise.
42093         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42094         not found.
42095         (open_input): Call CPP using execvp.
42097 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42099         * sysdeps/unix/sysv/linux/kernel-features.h
42100         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42101         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42102         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42103         (__ASSUME_WAITID_SYSCALL): Likewise.
42104         * sysdeps/unix/sysv/linux/dl-execstack.c
42105         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42106         code unconditional.
42107         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42108         conditional code.
42109         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42110         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42111         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42112         code.
42113         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42114         unconditional.
42115         [__ASSUME_WAITID_SYSCALL]: Likewise.
42116         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42118 2012-08-07  Roland McGrath  <roland@hack.frob.com>
42120         * sysdeps/unix/closedir.c: Renamed to ...
42121         * sysdeps/posix/closedir.c: ... here.
42122         * sysdeps/unix/dirfd.c: Renamed to ...
42123         * sysdeps/posix/dirfd.c: ... here.
42124         * sysdeps/unix/dirstream.h: Renamed to ...
42125         * sysdeps/posix/dirstream.h: ... here.
42126         * sysdeps/unix/fdopendir.c: Renamed to ...
42127         * sysdeps/posix/fdopendir.c: ... here.
42128         * sysdeps/unix/opendir.c: Renamed to ...
42129         * sysdeps/posix/opendir.c: ... here.
42130         * sysdeps/unix/readdir.c: Renamed to ...
42131         * sysdeps/posix/readdir.c: ... here.
42132         * sysdeps/unix/readdir_r.c: Renamed to ...
42133         * sysdeps/posix/readdir_r.c: ... here.
42134         * sysdeps/unix/rewinddir.c: Renamed to ...
42135         * sysdeps/posix/rewinddir.c: ... here.
42136         * sysdeps/unix/seekdir.c: Renamed to ...
42137         * sysdeps/posix/seekdir.c: ... here.
42138         * sysdeps/unix/telldir.c: Renamed to ...
42139         * sysdeps/posix/telldir.c: ... here.
42140         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42141         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42142         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42143         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42145         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42146         * bits/fcntl.h: ... here.
42148         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42149         not 0.
42150         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42151         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42152         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42153         (struct flock): Move l_start, l_len to the beginning.
42154         Use __pid_t for l_pid.
42155         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42156         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42157         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42158         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42159         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42160         [__USE_LARGEFILE64] (struct flock64): New type.
42161         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42163         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42164         * bits/dirent.h: ... here.
42166         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42167         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42169 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42171         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42172         Change from 2.6.0 to 2.6.16.
42173         * sysdeps/unix/sysv/linux/configure: Regenerated.
42174         * sysdeps/unix/sysv/linux/kernel-features.h
42175         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42176         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42177         version.
42178         (__ASSUME_UTIMES): Likewise.
42179         (__ASSUME_CLONE_STOPPED): Remove.
42180         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42181         architectures, not kernel version.
42182         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42183         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42184         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42185         (__ASSUME_WAITID_SYSCALL): Likewise.
42186         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42187         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42188         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42189         refer to older versions.
42191 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42193         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42194         Define alphasort64 as an alias.
42195         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42196         Define versionsort64 as an alias.
42197         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42198         Define scandir64 as an alias.
42199         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42200         Define scandirat64 as an alias.
42201         * dirent/alphasort64.c (alphasort64):
42202         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42203         * dirent/versionsort64.c: Likewise.
42204         * dirent/scandir64.c: Likewise.
42205         * dirent/scandirat64.c: Likewise.
42206         * sysdeps/wordsize-64/alphasort.c: File removed.
42207         * sysdeps/wordsize-64/alphasort64.c: File removed.
42208         * sysdeps/wordsize-64/scandir.c: File removed.
42209         * sysdeps/wordsize-64/scandir64.c: File removed.
42210         * sysdeps/wordsize-64/scandirat.c: File removed.
42211         * sysdeps/wordsize-64/scandirat64.c: File removed.
42212         * sysdeps/wordsize-64/versionsort.c: File removed.
42213         * sysdeps/wordsize-64/versionsort64.c: File removed.
42214         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42215         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42216         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42217         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42218         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42219         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42220         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42221         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42223         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42224         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42225         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42226         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42227         [defined __arch64__ || defined __sparcv9]
42228         (__INO_T_MATCHES_INO64_T): New macro.
42229         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42230         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42231         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42232         * sysdeps/unix/sysv/linux/bits/dirent.h
42233         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42234         (_DIRENT_MATCHES_DIRENT64): New macro.
42236         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42237         Define lockf64 as an alias.
42238         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42239         Define fseeko64 as an alias.
42240         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42241         Define ftello64 as an alias.
42242         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42243         Define _IO_fgetpos64 and fgetpos64 as aliases.
42244         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42245         Define _IO_fsetpos64 and fsetpos64 as aliases.
42246         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42247         Conditionalize body on this.
42248         * libio/fseeko64.c: Likewise.
42249         * libio/ftello64.c: Likewise.
42250         * libio/iofgetpos64.c: Likewise.
42251         * libio/iofsetpos64.c: Likewise.
42252         * sysdeps/wordsize-64/lockf.c: File removed.
42253         * sysdeps/wordsize-64/lockf64.c: File removed.
42254         * sysdeps/wordsize-64/fseeko.c: File removed.
42255         * sysdeps/wordsize-64/fseeko64.c: File removed.
42256         * sysdeps/wordsize-64/ftello.c: File removed.
42257         * sysdeps/wordsize-64/ftello64.c: File removed.
42258         * sysdeps/wordsize-64/iofgetpos.c: File removed.
42259         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42260         * sysdeps/wordsize-64/iofsetpos.c: File removed.
42261         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42262         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42263         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42264         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42265         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42266         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42267         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42268         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42269         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42270         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42271         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42273         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42274         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42275         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42276         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42277         [defined __arch64__ || defined __sparcv9]
42278         (__OFF_T_MATCHES_OFF64_T): New macro.
42279         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42280         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42281         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42282         (__OFF_T_MATCHES_OFF64_T): New macro.
42284 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42286         * stdlib/secure-getenv.c (__secure_getenv): Replace
42287         GLIBC_2_16 with GLIBC_2_17.
42289 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42291         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42292         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42294 2012-08-03  David S. Miller  <davem@davemloft.net>
42296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42298 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42301         Remove.
42302         (__ASSUME_CORRECT_SI_PID): Likewise.
42303         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42304         (__ASSUME_TMPFS_NAME): Likewise.
42305         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42306         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42307         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42308         (HAVE_AUX_SECURE): Make definition unconditional.
42309         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42310         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42312 2012-08-03  Roland McGrath  <roland@hack.frob.com>
42314         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42315         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42316         * sysdeps/mach/hurd/eloop-threshold.h: New file.
42317         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42318         __eloop_threshold instead of SYMLOOP_MAX.
42320         * sysdeps/generic/eloop-threshold.h: New file.
42321         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42322         of MAXSYMLINKS.
42323         * elf/chroot_canon.c (chroot_canon): Likewise.
42325 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42327         [BZ #13717]
42328         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42329         Change to 2.6.0 everywhere.
42330         * sysdeps/unix/sysv/linux/configure: Regenerated.
42331         * sysdeps/unix/sysv/linux/kernel-features.h
42332         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42333         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42334         kernel versions.
42335         (__ASSUME_POSIX_TIMERS): Define unconditionally.
42336         (__ASSUME_FUTEX_REQUEUE): Remove.
42337         (__ASSUME_STATFS64): Define unconditionally.
42338         (__ASSUME_AT_SECURE): Likewise.
42339         (__ASSUME_CORRECT_SI_PID): Likewise.
42340         (__ASSUME_TGKILL): Define without depending on kernel version for
42341         i386.
42342         (__ASSUME_UTIMES): Likewise.
42343         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42344         kernel version.
42345         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42346         (__ASSUME_TMPFS_NAME): Likewise.
42347         * README: Update reference to Linux kernel versions.
42349 2012-08-02  Marek Polacek  <polacek@redhat.com>
42351         [BZ# 14150]
42352         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
42353         libc_cv_asm_type_prefix with %.
42354         * configure: Regenerated.
42355         * include/libc-symbols.h: Remove comment about
42356         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42357         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42358         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42359         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42360         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42361         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42362         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42363         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42364         * elf/tst-unique2mod1.c: Likewise.
42365         * elf/tst-unique1mod2.c: Likewise.
42366         * elf/tst-unique1mod1.c: Likewise.
42367         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42368         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42369         Replace ASM_TYPE_DIRECTIVE with .type.
42370         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42371         * sysdeps/i386/sysdep.h: Likewise.
42372         * sysdeps/x86_64/sysdep.h: Likewise.
42373         * sysdeps/sh/sysdep.h: Likewise.
42374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42375         Do not define ASM_TYPE_DIRECTIVE.
42376         * sysdeps/powerpc/sysdep.h: Likewise.
42377         * sysdeps/powerpc/powerpc32/sysdep.h:
42378         Replace ASM_TYPE_DIRECTIVE with .type.
42379         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42380         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42381         * sysdeps/i386/fpu/e_powf.S: Likewise.
42382         * sysdeps/i386/fpu/e_expl.S: Likewise.
42383         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42384         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42385         * sysdeps/i386/fpu/e_pow.S: Likewise.
42386         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42387         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42388         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42389         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42390         * sysdeps/i386/fpu/e_log2.S: Likewise.
42391         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42392         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42393         * sysdeps/i386/fpu/e_powl.S: Likewise.
42394         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42395         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42396         * sysdeps/i386/fpu/e_logl.S: Likewise.
42397         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42398         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42399         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42400         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42401         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42402         * sysdeps/i386/fpu/e_log.S: Likewise.
42403         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42404         * sysdeps/i386/fpu/e_logf.S: Likewise.
42405         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42406         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42407         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42408         * sysdeps/i386/fpu/e_log10.S: Likewise.
42409         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42410         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42411         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42412         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42413         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42414         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42415         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42416         * sysdeps/i386/i686/strtok.S: Likewise.
42417         * sysdeps/i386/i386-mcount.S: Likewise.
42418         * sysdeps/i386/strtok.S: Likewise.
42419         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42420         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42421         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42422         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42423         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42424         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42425         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42426         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42427         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42428         * sysdeps/x86_64/_mcount.S: Likewise.
42429         * sysdeps/x86_64/strtok.S: Likewise.
42430         * sysdeps/sh/_mcount.S: Likewise.
42432 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42434         * libio/iofopen.c: Include <fcntl.h>.
42435         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42436         (_IO_fopen64, fopen64): Define as aliases.
42437         * libio/iofopen64.c: Include <fcntl.h>.
42438         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42439         Conditionalize body on this.
42440         * sysdeps/wordsize-64/iofopen.c: File removed.
42441         * sysdeps/wordsize-64/iofopen64.c: File removed.
42443 2012-08-01  Marek Polacek  <polacek@redhat.com>
42445         * libc/Makeconfig: Use elf in place of binfmt-subdir.
42446         Use dlfcn directly instead of a variable.
42447         (binfmt-subdir): Do not define.
42448         (dlfcn): Likewise.
42450 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
42452         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42453         Remove all definitions.
42454         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42455         <kernel-features.h>.
42456         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42457         (miss_F_GETOWN_EX): Remove all definitions.
42458         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42459         macro definition.
42460         [!__ASSUME_FCNTL64]: Remove conditional code.
42461         [__ASSUME_FCNTL64]: Make code unconditional.
42462         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42463         <kernel-features.h>.
42464         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42465         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42466         (lockf64) [__NR_fcntl64]: Make code unconditional.
42467         (lockf64) [__ASSUME_FCNTL64]: Likewise.
42469         * sysdeps/unix/sysv/linux/kernel-features.h
42470         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42471         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42472         Make code unconditional.
42473         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42474         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42476         [__NR_vfork]: Make code unconditional.
42477         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42478         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42480         [__NR_vfork]: Make code unconditional.
42481         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42482         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42484 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42486         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42487         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42489         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42490         Define mkstemp64 as an alias.
42491         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42492         Define mkstemps64 as an alias.
42493         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42494         Define mkostemp64 as an alias.
42495         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42496         Define mkostemps64 as an alias.
42497         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42498         Conditionalize body on this.
42499         * misc/mkostemp64.c: Likewise.
42500         * misc/mkostemps64.c: Likewise.
42501         * misc/mkstemps64.c: Likewise.
42502         * sysdeps/wordsize-64/mkstemp64.c: File removed.
42503         * sysdeps/wordsize-64/mkostemp64.c: File removed.
42504         * sysdeps/wordsize-64/mkostemp.c: File removed.
42505         * sysdeps/wordsize-64/mkstemp.c: File removed.
42506         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42507         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42508         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42509         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42511         [BZ #14138]
42512         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42513         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42514         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42515         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42517         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42518         compat_symbol macros from <shlib-compat.h> rather than the underlying
42519         default_symbol_version and symbol_version macros, so that DEFAULT
42520         lines in shlib-versions are respected.
42521         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42523 2012-08-01  Florian Weimer  <fweimer@redhat.com>
42525         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42526         Declare with warn_unused_result.
42527         (setgid, setregid, setegid, setresgid): Likewise.
42528         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42529         Likewise.
42530         * WUR-REPORT: Remove set*id functions.
42532 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
42534         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42536 2012-07-31  Roland McGrath  <roland@hack.frob.com>
42538         [BZ #10191]
42539         * include/sys/socket.h (__libc_accept, __libc_accept4):
42540         Add attribute_hidden.
42541         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42543         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42544         use of PTR_MANGLE.
42545         * inet/getnetgrent_r.c (setup): Likewise.
42547         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42549 2012-07-31  David S. Miller  <davem@davemloft.net>
42551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42553 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
42555         [BZ #13629]
42556         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42557         value between 1.0 and 2.0 and smaller part has absolute value less
42558         than 1.0.
42559         * math/s_clog10.c (__clog10): Likewise.
42560         * math/s_clog10f.c (__clog10f): Likewise.
42561         * math/s_clog10l.c (__clog10l): Likewise.
42562         * math/s_clogf.c (__clogf): Likewise.
42563         * math/s_clogl.c (__clogl): Likewise.
42564         * math/libm-test.inc (clog_test): Add more tests.
42565         (clog10_test): Likewise.
42566         * sysdeps/i386/fpu/libm-test-ulps: Update.
42567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42569 2012-07-31  Florian Weimer  <fweimer@redhat.com>
42571         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42572         Exit with zero in case no suitable GID is found, and write a
42573         message to standard error.
42575 2012-07-30  Roland McGrath  <roland@hack.frob.com>
42577         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42578         rather than to 1.
42579         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42580         (MAXPATHLEN): Removed.
42581         (NOGROUP, NODEV): New macros.
42582         (setbit, clrbit, isset, isclr): New macros.
42583         (howmany, roundup, powerof2): New macros.
42584         (DEV_BSIZE): New macro.
42586         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42587         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42589         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42590         definition on [!__NO_LONG_DOUBLE_MATH].
42592         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42593         PTR_MANGLE and PTR_DEMANGLE.
42595         * socket/accept4.c (accept4): Rename to __libc_accept4.
42596         Define accept4 as a weak alias.
42598         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42599         on [_DIRENT_HAVE_D_TYPE].
42600         * io/ftw.c (ftw_dir): Likewise.
42602         * io/xmknod.c (__xmknod): Don't check PATH for being null.
42604         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42606         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42607         Use the BSD numbers rather than the arbitrary ones we had.
42608         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42609         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42610         (SIGXCPU, SIGXFSZ): New macros.
42611         (_NSIG): Now 32.
42613         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42614         initializer on [_LIBC_REENTRANT].
42616         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42617         definitions inside [_POSIX_MAPPED_FILES].
42619         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42621         * dirent/opendir.c: Include <fcntl.h>.
42623         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42624         (__libc_getspecific): Likewise.
42625         (__libc_key_create): Likewise.
42627         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42628         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42629         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42630         (tmpfile64): Define as alias.
42631         * sysdeps/wordsize-64/tmpfile.c: File removed.
42632         * sysdeps/wordsize-64/tmpfile64.c: File removed.
42633         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42634         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42636         * stdio-common/vfscanf.c: Include <stdbool.h>.
42637         * nss/makedb.c: Likewise.
42638         * stdio-common/_i18n_number.h: Likewise.
42639         * argp/argp-help.c: Likewise.
42640         * posix/wordexp.c: Likewise.
42641         * sysdeps/posix/spawni.c: Likewise.
42642         * nss/nss_files/files-initgroups.c: Likewise.
42643         * stdio-common/reg-modifier.c: Include <stdlib.h>.
42644         * nss/nss_files/files-initgroups.c: Likewise.
42645         * nss/nss_db/db-netgrp.c: Likewise.
42646         * nss/nss_db/db-initgroups.c: Likewise.
42647         * io/fchmodat.c: Include <sys/stat.h>.
42649         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42650         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42652         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42653         [HAVE_MMAP].
42655         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42656         Add multiple inclusion protection.
42658 2012-07-27  David S. Miller  <davem@davemloft.net>
42660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42662 2012-07-27  Gary Benson  <gbenson@redhat.com>
42664         [BZ #14298]
42665         * elf/rtld.c: Include <stap-probe.h>.
42666         (dl_main): Added static probes "init_start" and "init_complete".
42667         * elf/dl-load.c: Include <stap-probe.h>.
42668         (lose): Take new parameter "nsid".
42669         Added static probe "map_failed".
42670         (_dl_map_object_from_fd): Pass namespace id to lose.
42671         Added static probe "map_start".
42672         (open_verify): Pass namespace id to lose.
42673         * elf/dl-open.c: Include <stap-probe.h>.
42674         (dl_open_worker) Added static probes "map_complete", "reloc_start"
42675         and "reloc_complete".
42676         * elf/dl-close.c: Include <stap-probe.h>.
42677         (_dl_close_worker): Added static probes "unmap_start" and
42678         "unmap_complete".
42679         * elf/rtld-debugger-interface.txt: New file documenting the above.
42681 2012-07-26  Roland McGrath  <roland@hack.frob.com>
42683         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42684         rather than a string variable.
42685         * sunrpc/rpc_main.c (h_output): Likewise.
42686         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42688 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
42690         * inet/check_native.c: New file.
42692 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
42694         [BZ #13629]
42695         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42696         if larger part has absolute value 1.0.
42697         * math/s_clog10.c (__clog10): Likewise.
42698         * math/s_clog10f.c (__clog10f): Likewise.
42699         * math/s_clog10l.c (__clog10l): Likewise.
42700         * math/s_clogf.c (__clogf): Likewise.
42701         * math/s_clogl.c (__clogl): Likewise.
42702         * math/libm-test.inc (clog_test): Add more tests.
42703         (clog10_test): Likewise.
42704         * sysdeps/i386/fpu/libm-test-ulps: Update.
42705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42707         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42708         (pltexit): Likewise.
42709         (La_regs): Likewise.
42710         (La_retval): Likewise.
42711         (int_retval): Likewise.
42712         Update #error for removed macros to refer only to definitions in
42713         tst-audit.h.
42714         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42715         macro.
42716         (pltexit): Likewise.
42717         (La_regs): Likewise.
42718         (La_retval): Likewise.
42719         (int_retval): Likewise.
42720         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42721         macro.
42722         (pltexit): Likewise.
42723         (La_regs): Likewise.
42724         (La_retval): Likewise.
42725         (int_retval): Likewise.
42726         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42727         macro.
42728         (pltexit): Likewise.
42729         (La_regs): Likewise.
42730         (La_retval): Likewise.
42731         (int_retval): Likewise.
42732         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42733         macro.
42734         (pltexit): Likewise.
42735         (La_regs): Likewise.
42736         (La_retval): Likewise.
42737         (int_retval): Likewise.
42738         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42739         macro.
42740         (pltexit): Likewise.
42741         (La_regs): Likewise.
42742         (La_retval): Likewise.
42743         (int_retval): Likewise.
42744         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42745         macro.
42746         (pltexit): Likewise.
42747         (La_regs): Likewise.
42748         (La_retval): Likewise.
42749         (int_retval): Likewise.
42750         * sysdeps/generic/tst-audit.h: Update comment to refer only to
42751         macro definitions in tst-audit.h.
42752         * sysdeps/i386/tst-audit.h: New file.
42753         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42754         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42755         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42756         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42757         * sysdeps/sh/tst-audit.h: Likewise.
42758         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42759         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42760         * sysdeps/x86_64/tst-audit.h: Likewise.
42762 2012-07-26  Andreas Jaeger  <aj@suse.de>
42764         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42765         ptrace.
42767         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42768         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42769         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42770         PTRACE_O_MASK.
42771         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42772         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42773         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42775         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42776         value.
42778         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42779         _sigsys.
42780         (si_call_addr, si_syscall, si_arch): Define new macro.
42781         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42782         _sigsys.
42783         (si_call_addr, si_syscall, si_arch): Define new marcro.
42784         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42785         _sigsys.
42786         (si_call_addr, si_syscall, si_arch): Define new macro.
42787         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42788         _sigsys.
42789         (si_call_addr, si_syscall, si_arch): Define new macro.
42791 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42793         [BZ #13717]
42794         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42795         Change to 2.4.21 where previously 2.4.1.
42796         * sysdeps/unix/sysv/linux/configure: Regenerated.
42797         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42798         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42799         Linux kernel version.
42800         (__ASSUME_STD_AUXV): Remove.
42801         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42802         kernel version.
42803         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42804         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42805         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42806         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42807         (__ASSUME_NETLINK_SUPPORT): Likewise.
42808         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42809         (__no_netlink_support): Remove conditional definition.
42810         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42811         Remove.
42812         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42813         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42814         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42815         (if_nameindex_ioctl): Remove.
42816         (if_nameindex_netlink): Do not handle __no_netlink_support.
42817         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42818         code.
42819         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42820         Remove conditional code.
42821         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42822         code.
42823         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42824         unconditional.
42825         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42826         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42827         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42828         Remove.
42829         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42830         [!__ASSUME_STD_AUXV]: Remove conditional code.
42831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42832         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42833         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42835         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42836         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42837         code.
42838         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42840         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42841         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42842         conditional code.
42843         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42845         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42846         code.
42847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42848         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42849         conditional code.
42850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42851         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42852         code unconditional.
42853         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42854         conditional code.
42855         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42856         unconditional.
42857         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42858         conditional code.
42859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42860         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42861         unconditional.
42862         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42863         conditional code.
42864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42865         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42866         code unconditional.
42867         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42868         conditional code.
42869         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42870         unconditional.
42871         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42872         conditional code.
42873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42874         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42875         code unconditional.
42876         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42877         conditional code.
42878         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42879         unconditional.
42880         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42881         conditional code.
42883 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
42885         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42886         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42887         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42888         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42889         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42890         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42891         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42892         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42893         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42894         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42895         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42896         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42897         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42898         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42899         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42900         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42901         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42902         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42903         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42904         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42905         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42906         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42907         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42909 2012-07-25  Florian Weimer  <fweimer@redhat.com>
42911         * Versions.def: Add GLIBC_2.17.
42912         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42913         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42914         Introduce __libc_secure_getenv.
42915         * stdlib/Versions (2.17): Add secure_getenv
42916         (GLIBC_PRIVATE): Add __libc_secure_getenv.
42917         * stdlib/secure-getenv.c: Rename __secure_getenv to
42918         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
42919         symbol __secure_getenv for GLIBC_2.0.
42920         * stdlib/tst-secure-getenv.c: New.
42921         * stdlib/Makefile (tests): Add testcase.
42922         * manual/startup.texi (Environment Access): Document
42923         secure_getenv.
42924         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42925         __libc_secure_getenv.
42926         * inet/ruserpass.c (ruserpass): Likewise.
42927         * malloc/mtrace.c (mtrace): Likewise.
42928         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42929         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42930         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42931         * sysdeps/posix/tempname.c: Likewise.  Evaluate
42932         HAVE_SECURE_GETENV.
42933         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42934         __secure_getenv to __libc_secure_getenv.
42935         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42937         Likewise.
42938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42939         Likewise.
42940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42942         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42948 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42950         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42951         (struct La_i86_retval): Likewise.
42952         (struct La_x86_64_regs): Likewise.
42953         (struct La_x86_64_retval): Likewise.
42954         (struct La_x32_regs): Likewise.
42955         (struct La_x32_retval): Likewise.
42956         (struct La_ppc32_regs): Likewise.
42957         (struct La_ppc32_retval): Likewise.
42958         (struct La_ppc64_regs): Likewise.
42959         (struct La_ppc64_retval): Likewise.
42960         (struct La_sh_regs): Likewise.
42961         (struct La_sh_retval): Likewise.
42962         (struct La_s390_32_regs): Likewise.
42963         (struct La_s390_32_retval): Likewise.
42964         (struct La_s390_64_regs): Likewise.
42965         (struct La_s390_64_retval): Likewise.
42966         (struct La_sparc32_regs): Likewise.
42967         (struct La_sparc32_retval): Likewise.
42968         (struct La_sparc64_regs): Likewise.
42969         (struct La_sparc64_retval): Likewise.
42970         (struct audit_ifaces): Remove architecture-specific pltenter and
42971         pltexit members.
42972         * sysdeps/i386/ldsodefs.h: New file.
42973         * sysdeps/powerpc/ldsodefs.h: Likewise.
42974         * sysdeps/s390/ldsodefs.h: Likewise.
42975         * sysdeps/sh/ldsodefs.h: Likewise.
42976         * sysdeps/sparc/ldsodefs.h: Likewise.
42977         * sysdeps/x86_64/ldsodefs.h: Likewise.
42979 2012-07-25  Marek Polacek  <polacek@redhat.com>
42981         [BZ #6808]
42982         * math/libm-test.inc (yn_test): Add another test.
42983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42984         to ERANGE when the result is +-Inf.
42985         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42986         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42987         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42988         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42990 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
42992         * conform/data/time.h-data (NULL): Use macro-constant.  Require
42993         equal to 0.
42994         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
42995         clock_t.
42996         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
42998 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43000         * configure.in <sysdeps resolving>: Correct printing
43001         Implies_before.
43002         * configure: Regenerate.
43004 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43006         * math/w_ilogb.c: Include <limits.h>.
43007         * math/w_ilogbl.c: Likewise.
43009 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43011         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43012         va_copy.  Document allowing for unavailable va_copy only as
43013         pre-C99 compatibility.
43014         * manual/string.texi (Copying and Concatenation): Use va_copy
43015         instead of __va_copy in concat example.
43017 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43019         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43020         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43021         it if not null.
43023         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43024         with O_NOLINK passed to __file_name_lookup.
43026         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43027         with O_NOLINK passed to __file_name_lookup.
43029         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43030         negative N or less than NGIDS.
43032         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43033         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43034         enough.  Use memcpy instead of strncpy.
43036 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43038         * elf/Makefile (check-data): Remove.
43039         (localplt.data): New vpath directive.
43040         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43041         instead of $(check-data).
43042         * scripts/data/localplt-generic.data: Move to ...
43043         * sysdeps/generic/localplt.data: ... here.
43044         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43045         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43046         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43048         ... here.
43049         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43051         ... here.
43052         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43054         ... here.
43055         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43057         ... here.
43058         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43060         ... here.
43061         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43063         ... here.
43065 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43067         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43068         PPC32 and PPC64 files.
43069         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43070         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43072 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43074         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43075         __makecontext_ret to ...
43076         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43077         ... here and call exit if uc_link is NULL.  New file.
43078         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43079         __makecontext_ret.S.
43080         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43081         __makecontext_ret to ...
43082         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43083         ... here and call exit if uc_link is NULL.  New file.
43084         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43085         __makecontext_ret.S.
43087 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43089         * elf/elf.h (R_390_IRELATIVE): New definition.
43090         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43091         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43092         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43093         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43094         (elf_machine_lazy_rel): Likewise.
43095         * sysdeps/s390/dl-irel.h: New file.
43096         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43097         * sysdeps/s390/s390-64/memset.S: New asm code.
43098         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43099         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43100         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43101         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43102         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43103         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43104         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43105         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43106         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43107         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43108         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43109         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43110         * sysdeps/s390/s390-32/memset.S: New asm code.
43111         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43113 2012-07-17  Marek Polacek  <polacek@redhat.com>
43115         [BZ #14349]
43116         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43117         * sysdeps/s390/s390-64/configure.in: Likewise.
43118         * sysdeps/sparc/configure.in: Likewise.
43119         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43120         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43121         * sysdeps/i386/configure.in: Likewise.
43122         * sysdeps/x86_64/configure.in: Likewise.
43123         * sysdeps/sh/configure.in: Likewise.
43124         * sysdeps/s390/s390-32/configure: Regenerated.
43125         * sysdeps/s390/s390-64/configure: Likewise.
43126         * sysdeps/x86_64/configure: Likewise.
43127         * sysdeps/sh/configure: Likewise.
43128         * sysdeps/powerpc/powerpc64/configure: Likewise.
43129         * sysdeps/powerpc/powerpc32/configure: Likewise.
43130         * sysdeps/sparc/configure: Likwise.
43131         * sysdeps/i386/configure: Likewise.
43133         * elf/dl-open.c: Comment fixes.
43135 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
43137         * Makefile [CXX] (check-data): Remove.
43138         [CXX] (c++-types.data): New vpath directive.
43139         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43140         vpath.  Do not allow for C++ type data being missing.
43141         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43142         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43143         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43144         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43145         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43146         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43147         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43149         ... here.
43150         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43152         ... here.
43153         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43155         ... here.
43156         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43158         ... here.
43159         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43161         ... here.
43162         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43164         ... here.
43165         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43167         ... here.
43168         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43171         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43172         definitions to architecture-specific files.
43173         (TLS_IE): Likewise.
43174         (TLS_LD): Likewise.
43175         (TLS_GD): Likewise.
43176         * sysdeps/i386/tls-macros.h: New file.
43177         * sysdeps/powerpc/tls-macros.h: Likewise.
43178         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43179         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43180         * sysdeps/sh/tls-macros.h: Likewise.
43181         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43182         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43183         * sysdeps/x86_64/tls-macros.h: Likewise.
43185 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43187         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43188         zero value for regular exit case.
43190         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43191         (__start_context): Preserve zero value for regular exit case.
43193 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43194             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43196         * manual/setjmp.texi (setcontext): Clarify normal process
43197         termination when uc_link is the null pointer.
43198         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43199         exit call.
43201 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43203         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43204         preprocessor.  Test for each exception mask separately.
43206 2012-07-16  Andreas Jaeger  <aj@suse.de>
43208         * po/ru.po: Update from translation team.
43210 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43212         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43213         equal to 0.
43214         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43215         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43216         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43217         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43218         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43220 2012-07-13  Andreas Jaeger  <aj@suse.de>
43222         * po/fr.po: Update from translation team.
43224 2012-07-12  Marek Polacek  <polacek@redhat.com>
43226         [BZ #14173]
43227         * math/libm-test.inc (yn_test): Add test for BZ #14173.
43228         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43229         loop condition.
43231 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
43233         [BZ #13717]
43234         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43235         Change to 2.4.1 where previously 2.4.0.
43236         * sysdeps/unix/sysv/linux/configure: Regenerated.
43237         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43238         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43239         version.
43240         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43241         (__ASSUME_AT_CLKTCK): Remove.
43242         (__ASSUME_AT_PAGESIZE): Likewise.
43243         (__ASSUME_AT_XID): Likewise.
43244         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43245         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43246         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43247         unconditionally.
43248         (HAVE_AUX_PAGESIZE): Likewise.
43249         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43250         [__ASSUME_AT_CLKTCK]: Make code unconditional.
43251         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43253 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
43255         [BZ #14307]
43256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43257         the temporary buffer used to invoke __gethostbyname2_r,
43258         __gethostbyaddr_r and gethostbyname4_r to make room for struct
43259         host_data / struct gaih_addrtuple.
43260         * resolv/nss_dns/dns-host.c (global scope): Move definition of
43261         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43262         header file nss/nsswitch.h.
43263         * nss/nsswitch.h (global scope): Add definition of implementation
43264         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43265         resolv/nss_dns/dns-host.c).
43267 2012-07-11  Andreas Jaeger  <aj@suse.de>
43269         * po/fr.po: Update from translation team.
43271         * po/sv.po: Update from translation team
43272         * po/fr.po: Another update from translation team.
43274 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43276         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43277         for subnormals or multiply small sinh result by itself.
43278         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43281 2012-07-11  David S. Miller  <davem@davemloft.net>
43283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43285 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
43287         [BZ #14347]
43288         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43289         (INTERNAL_MARK): Shift it here.
43291 2012-07-10  Marek Polacek  <polacek@redhat.com>
43293         [BZ #14151]
43294         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
43295         libc_cv_asm_global_directive with .globl.
43296         * configure: Regenerated.
43297         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43298         with .globl.
43299         * sysdeps/i386/configure: Regenerated.
43300         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43301         with .globl.
43302         * sysdeps/x86_64/configure: Regenerated.
43303         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43304         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43305         * elf/tst-unique2mod2.c: Likewise.
43306         * elf/tst-unique2mod1.c: Likewise.
43307         * elf/tst-unique1mod2.c: Likewise.
43308         * elf/tst-unique1mod1.c: Likewise.
43309         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43310         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43311         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43312         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43313         * sysdeps/mach/sysdep.h: Likewise.
43314         * sysdeps/i386/sysdep.h: Likewise.
43315         * sysdeps/i386/i386-mcount.S: Likewise.
43316         * sysdeps/x86_64/_mcount.S: Likewise.
43317         * sysdeps/x86_64/sysdep.h: Likewise.
43318         * sysdeps/sh/_mcount.S: Likewise.
43319         * sysdeps/sh/sysdep.h: Likewise.
43320         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43321         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43322         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43323         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43324         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43325         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43326         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43327         * locale/localeinfo.h: Likewise.
43328         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43329         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43331 2012-07-09  Roland McGrath  <roland@hack.frob.com>
43333         [BZ #14336]
43334         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43335         system".
43336         * manual/message.texi (The Uniforum approach): Likewise.
43337         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43338         (glibc iconv Implementation): Likewise.
43340 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
43342         [BZ #14337]
43343         * math/s_clog.c (__clog): Avoid scaling a value down where that
43344         could result in underflow.
43345         * math/s_clog10.c (__clog10): Likewise.
43346         * math/s_clog10f.c (__clog10f): Likewise.
43347         * math/s_clog10l.c (__clog10l): Likewise.
43348         * math/s_clogf.c (__clogf): Likewise.
43349         * math/s_clogl.c (__clogl): Likewise.
43350         * math/libm-test.inc (clog_test): Add more tests.
43351         (clog10_test): Likewise.
43352         * sysdeps/i386/fpu/libm-test-ulps: Update.
43353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43355 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
43357         [BZ #14283]
43358         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43359         by 7 not 8 to examine high bit of fractional part.
43361         [BZ #14042]
43362         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43363         for call to __mcount_internal.
43364         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43365         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43366         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43368 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
43370         [BZ #14154]
43371         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43372         approximation for values within 0x1p-13f of an odd multiple of
43373         pi/4.
43374         * math/libm-test.inc (tan_test): Do not allow spurious underflow
43375         exception.  Add more tests.
43376         * sysdeps/i386/fpu/libm-test-ulps: Update.
43378         [BZ #6778]
43379         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43380         inputs and return -1 for them.  Do not check for +Inf in case not
43381         reachable for +Inf.
43382         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43383         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43384         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43385         and return -1 for them.  Do not check for +Inf in case not
43386         reachable for +Inf.
43387         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43388         define.
43389         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43390         and return -1 for them.  Do not check for +Inf in case not
43391         reachable for +Inf.
43392         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
43393         spurious underflow.
43394         * sysdeps/i386/fpu/libm-test-ulps: Update.
43395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43397 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
43399         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43401 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
43403         [BZ #14157]
43404         [BZ #14331]
43405         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43406         could result in spurious underflow.  Scale down values above
43407         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43408         * math/s_csqrtf.c (__csqrtf): Likewise.
43409         * math/s_csqrtl.c (__csqrtl): Likewise.
43410         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
43411         spurious underflow.
43412         * sysdeps/i386/fpu/libm-test-ulps: Update.
43413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43415 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
43417         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43418         xopen-msg.sed.
43419         * catgets/xopen-msg.awk: New file.
43420         * catgets/xopen-msg.sed: Removed.
43422         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43423         po2text.sed.
43424         * intl/po2test.awk: New file.
43425         * intl/po2test.sed: Removed.
43427 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
43429         [BZ #14328]
43430         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43431         or multiply small sinh result by itself.
43432         * math/s_ctanf.c (__ctanf): Likewise.
43433         * math/s_ctanh.c (__ctanh): Likewise.
43434         * math/s_ctanhf.c (__ctanhf): Likewise.
43435         * math/s_ctanhl.c (__ctanhl): Likewise.
43436         * math/s_ctanl.c (__ctanl): Likewise.
43437         * math/libm-test.inc (ctan_test_tonearest): New function.
43438         (ctan_test_towardzero): Likewise.
43439         (ctan_test_downward): Likewise.
43440         (ctan_test_upward): Likewise.
43441         (ctanh_test_tonearest): Likewise.
43442         (ctanh_test_towardzero): Likewise.
43443         (ctanh_test_downward): Likewise.
43444         (ctanh_test_upward): Likewise.
43445         (main): Call these new functions.
43446         * sysdeps/i386/fpu/libm-test-ulps: Update.
43447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43449 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
43451         * .gitignore: Delete /ports entry.
43453 2012-07-03  Andreas Jaeger  <aj@suse.de>
43455         * po/bg.po: Update from translation team.
43456         * po/cs.po: Likewise.
43457         * po/de.po: Likewise.
43458         * po/hr.po: Likewise.
43459         * po/nl.pl: Likewise.
43460         * po/pl.po: Likewise.
43461         * po/vi.po: Likewise.
43463 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
43465         * Makeconfig [!+link] (+link-before-libc): New variable.
43466         [!+link] (+link-after-libc): Likewise.
43467         [!+link] (+link-tests): Likewise.
43468         [!+link] (+link): Define in terms of $(+link-before-libc) and
43469         $(+link-after-libc).
43470         [!+link-static] (+link-static-before-libc): New variable.
43471         [!+link-static] (+link-static-after-libc): Likewise.
43472         [!+link-static] (+link-static-tests): Likewise.
43473         [!+link-static] (+link-static): Define in terms of
43474         $(+link-static-before-libc) and $(+link-static-after-libc).
43475         [build-shared] (link-libc-before-gnulib): New variable.
43476         [build-shared] (link-libc-tests): Likewise.
43477         [build-shared] (link-libc): Define in terms of
43478         $(link-libc-before-gnulib).
43479         [!build-shared] (link-libc-tests): New variable.
43480         (link-libc-static-tests): New variable.
43481         [!gnulib] (gnulib-arch): New variable.
43482         [!gnulib] (gnulib-tests): Likewise.
43483         [!gnulib] (static-gnulib-arch): Likewise.
43484         [!gnulib] (static-gnulib-tests): Likewise.
43485         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
43486         Define with "=" instead of ":=".
43487         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
43488         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
43489         * Rules (binaries-all-notests): New variable.
43490         (binaries-all-tests): Likewise.
43491         (binaries-static-notests): Likewise.
43492         (binaries-static-tests): Likewise.
43493         (binaries-all): Define using $(binaries-all-notests) and
43494         $(binaries-all-tests).
43495         (binaries-static): Define using $(binaries-static-notests) and
43496         $(binaries-static-tests).
43497         (binaries-shared-tests): New variable.
43498         (binaries-shared-notests): Likewise.
43499         (binaries-shared): Remove variable.
43500         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43501         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43502         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43503         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43504         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43505         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43506         * elf/Makefile (sln-modules): New variable.
43507         (extra-objs): Add $(sln-modules:=.o).
43508         (ldconfig-modules): Add static-stubs.
43509         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43510         * elf/static-stubs.c: New file.
43512         [BZ #14283]
43513         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43514         by 7 not 8 to examine high bit of fractional part.  Use volatile
43515         variables when splitting into final array of floats if
43516         __FLT_EVAL_METHOD__ != 0.
43517         * math/libm-test.inc (cos_test): Add another test.
43518         (sin_test): Likewise.
43519         * sysdeps/i386/fpu/libm-test-ulps: Update.
43521         [BZ #14273]
43522         * math/libm-test.inc (cosh_test): Add more tests.
43524         * version.h (RELEASE): Set to "development".
43525         (VERSION): Set to "2.16.90".
43527 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
43529         * NEWS: Update copyright. Remove last-updated date.
43530         Mention math library bug fixes and timezone data changes.
43531         * README: Mention GNU/Hurd, x32, and HPPA support status.
43533 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
43535         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43537 2012-06-27  Andreas Jaeger  <aj@suse.de>
43539         * manual/contrib.texi (Contributors): Add Samuel Thibault.
43541 2012-06-25  Andreas Jaeger  <aj@suse.de>
43543         * sysdeps/s390/fpu/libm-test-ulps: Update.
43545 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
43546             Thomas Schwinge  <thomas@codesourcery.com>
43548         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43549         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43550         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43551         fanotify_mark.
43553 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
43555         * sysdeps/mach/start.c: Remove file.
43556         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43557         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43558         * sysdeps/sh/init-first.c: Likewise.
43560         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43561         registers for frame unwinding purposes, add CFI directives.
43562         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43563         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43564         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43565         Likewise.
43567         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43568         __fortify_fail returning.
43569         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43571         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43572         sysdeps/sh/____longjmp_chk.S.
43573         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43574         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43575         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43576         (gen-as-const-headers): Append sigaltstack-offsets.sym.
43578         * sysdeps/sh/abort-instr.h: New file.
43579         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43580         process in case exit returns.
43582         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43583         initialize the GOT register before use.
43585         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43586         calculation of ARGC > 4.
43588         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43589         meaningful names to some local labels.
43591 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43592             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43594         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43595         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43596         (__arch_compare_and_exchange_val_16_acq): Likewise.
43597         (__arch_compare_and_exchange_val_32_acq): Likewise.
43598         (atomic_exchange_and_add): Fix gUSA sequence.
43599         (atomic_add): Likewise.
43600         (atomic_add_negative): Likewise.
43601         (atomic_add_zero): Likewise.
43602         (atomic_bit_test_set): Likewise.
43604 2012-06-22  Andreas Schwab  <schwab@redhat.com>
43606         [BZ #13579]
43607         * include/link.h (struct link_map): Add l_free_initfini.
43608         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43609         l_initfini.
43610         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43611         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43612         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43613         set.
43615 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
43617         * configure.in: Use AC_LANG_SOURCE.
43618         * configure: Regenerate.
43620 2012-06-22  Roland McGrath  <roland@hack.frob.com>
43622         * configure.in (libc_cv_localstatedir): New substituted variable.
43623         * configure: Regenerated.
43624         * config.make.in (localstatedir): New variable, substituted from
43625         libc_cv_localstatedir.
43626         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43627         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43628         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43629         * sysdeps/gnu/configure: Regenerated.
43631 2012-06-21  Jeff Law  <law@redhat.com>
43633         [BZ #14277]
43634         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43635         free.  Simplify list management for _LIBC case.
43637 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
43639         [BZ #14273]
43640         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43641         Clear sign bit of 64-bit integer value before comparing against
43642         overflow value.
43644         * sysdeps/mach/configure: Regenerated.
43646 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
43648         [BZ #14278]
43649         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43651 2012-06-21  Jeff Law  <law@redhat.com>
43653         [BZ #13882]
43654         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
43655         uint16_t for elements in the "seen" array to avoid char overflows.
43656         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43657         * elf/dl-open.c (dl_open_worker): Likewise.
43659 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
43661         * scripts/list-sources.sh: Scan PORTS for translations.
43662         * po/libc.pot: Regenerated.
43664 2012-06-21  Andreas Jaeger  <aj@suse.de>
43666         [BZ #12194]
43667         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43668         warning.
43669         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43670         * bits/byteswap-16.h (__bswap_16): Likewise.
43671         * bits/byteswap.h (__bswap_constant_16): Likewise.
43673 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
43675         [BZ #14117]
43676         * sysdeps/i386/fpu_control.h: Removed.
43677         * sysdeps/x86_64/fpu_control.h: Moved to ...
43678         * sysdeps/x86/fpu_control.h: Here.
43680         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43681         (_FPU_SETCW): Likewise.
43683 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
43685         [BZ #14117]
43686         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43687         * sysdeps/x86/fpu/bits/mathinline.h: This.
43688         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43690         [BZ #14050]
43691         [BZ #14117]
43692         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43693         functions if __x86_64__ is defined.
43695 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
43697         * string/endian.h: Add !__ASSEMBLER__ condition for including
43698         conversion interfaces.
43700 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
43702         [BZ #14241]
43703         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43704         of ABS(x) in calculating zero to negative powers other than odd
43705         integers.
43706         * math/libm-test.inc (pow_test): Add more tests.
43708 2012-06-15  Andreas Jaeger  <aj@suse.de>
43710         * manual/contrib.texi (Contributors): Update entry of Liubov
43711         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43712         Machado Filho.
43714 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
43716         * string/string.h: Add __wur to GNU version of strerror_r.
43718 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
43720         [BZ #14229]
43721         * string/Makefile (tests): Add tst-strtok_r.
43722         * string/tst-strtok_r.c: New file.
43723         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43724         RAX_LP/RDX_LP on SAVE_PTR.
43726 2012-06-14  Roland McGrath  <roland@hack.frob.com>
43728         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43730 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
43732         * libm_test.inc (csqrt_test): Allow more spurious underflow
43733         exceptions.
43734         (j0_test): Likewise.
43735         (j1_test): Likewise.
43736         (y0_test): Likewise.
43737         (y1_test): Likewise.
43739 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
43741         * po/Makefile (libc.pot): Use UTF-8 charset.
43743 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
43745         [BZ #14210]
43746         Suppress sign-conversion warning from FD_SET.
43747         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43748         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43749         not unsigned long int.
43750         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43752 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
43754         [BZ #14050]
43755         [BZ #14117]
43756         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43757         __extern_always_inline instead of __extern_inline.
43758         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43759         (__signbit): Likewise.
43760         (__signbitl): Support C++ namespace.
43761         (lrintf): New inline function.
43762         (lrint): Likewise.
43763         (llrintf): Likewise.
43764         (llrint): Likewise.
43765         (fmaxf): Likewise.
43766         (fmax): Likewise.
43767         (fminf): Likewise.
43768         (fmin): Likewise.
43769         (rint): Likewise.
43770         (rintf): Likewise.
43771         (ceil): Likewise.
43772         (ceilf): Likewise.
43773         (floor): Likewise.
43774         (floorf): Likewise.
43775         (nearbyint): Likewise.
43776         (nearbyintf): Likewise.
43778 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
43780         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43781         non-default versions.
43783 2012-06-11  Roland McGrath  <roland@hack.frob.com>
43785         [BZ #14218]
43786         * manual/argp.texi (Argp): Reword argp_parse description slightly.
43788 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
43790         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43791         (FE_UPWARD, FE_DOWNWARD): Don't define.
43792         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43793         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43795         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43796         reading it.
43797         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43798         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43800 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43802         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43803         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43804         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43805         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43807 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
43809         [BZ #14117]
43810         * sysdeps/i386/fpu/bits/fenv.h: Removed.
43811         * sysdeps/i386/fpu/Implies: New file.
43812         * sysdeps/x86_64/fpu/Implies: Likewise.
43813         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43814         * sysdeps/x86/fpu/bits/fenv.h: This.
43816         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43817         __SSE_MATH__.
43819 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43821         [BZ #14134]
43822         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43823         character 0xffff that matches the last element of the
43824         conversion table.
43826 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43828         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43829         fmodl commit.
43831 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43833         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43834         values higher than 25.6283.
43836 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43838         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43839         subnormal exponent extraction and add some __builtin_expect.
43840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43841         Fix for subnormal mantissa calculation.
43843 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
43845         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43846         cpu2 is -1 and errno is not ENOSYS.
43848 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
43850         [BZ #14117]
43851         * sysdeps/i386/i486/bits/string.h: Renamed to ...
43852         * sysdeps/x86/bits/string.h: This.
43853         * sysdeps/x86_64/bits/string.h: Removed.
43855         * sysdeps/i386/i486/bits/string.h: Define inline functions only
43856         if not compiling for x86-64, but compiling for >= i486.
43858         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43859         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43861         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43862         New macro from Linux kernel 3.4.0.
43863         (FP_XSTATE_MAGIC2): Likewise.
43864         (FP_XSTATE_MAGIC2_SIZE): Likewise.
43865         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43866         (struct _fpx_sw_bytes): New struct.
43867         (struct _xsave_hdr): Likewise.
43868         (struct _ymmh_state): Likewise.
43869         (struct _xstate): Likewise.
43871         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43872         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43873         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43874         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43875         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43876         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43878         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43879         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43880         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43881         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43882         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43883         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43885 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43887         [BZ #13743]
43888         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43889         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43890         (sysdep_headers): Include sys/platform/ppc.h.
43891         * sysdeps/powerpc/test-gettimebase.c: Test for
43892         __ppc_get_timebase() to catch future ISA opcode/insn changes.
43893         * manual/Makefile (appendices): Include platform.texi.
43894         * manual/contrib.texi (Contributors): Update @node pointers.
43895         * manual/maint.texi (Maintenance): Likewise.
43896         (Platform): New node.
43897         * manual/platform.texi: New file.  Document the new features.
43899 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43900             Jakub Jelinek  <jakub@redhat.com>
43902         [BZ #14188]
43903         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43904         where __builtin_expect is unavailable.
43906 2012-06-03  David S. Miller  <davem@davemloft.net>
43908         * stdlib/longlong.h: Updated from GCC.
43910 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
43912         [BZ #14042]
43913         * sysdeps/powerpc/powerpc32/mcount.c: New file.
43914         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43915         __mcount_internal.
43916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43917         (GLIBC_2.16): Likewise.
43919 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43921         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43923 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43926         (default-abi): New variable.
43927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43928         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43929         variable.
43930         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43931         Likewise.
43932         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43933         Likewise.
43934         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43935         Likewise.
43937         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43938         definition.  Document in comment.
43940 2012-06-01  David S. Miller  <davem@davemloft.net>
43942         * stdlib/longlong.h: Updated from GCC.
43944 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43946         [BZ #14117]
43947         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43948         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43949         sys/debugreg.h sys/io.h here.
43950         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43951         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43952         sys/io.h.
43953         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43954         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43955         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43956         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43957         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43958         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43960         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43961         Define only if __x86_64__ is defined.
43963 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43965         [BZ #14048]
43966         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43967         Use int64_t for variable i.
43968         * math/libm-test.inc (fmod_test): Add more tests.
43970         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43971         z computation is not scheduled after fetestexcept.
43972         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43973         Use math_force_eval instead of asm to ensure calculation scheduled
43974         before exception test.
43975         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43976         Ensure a1 + u.d computation is not scheduled after fetestexcept.
43978 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
43980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43981         computation is not scheduled after fetestexcept.
43983 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43985         [BZ #14117]
43986         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43987         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43989 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43991         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43992         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43994 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
43996         [BZ #14117]
43997         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43998         <bits/wordsize.h>.
43999         (__WCHAR_MIN): Support __WORDSIZE == 64.
44000         (__WCHAR_MAX): Likewise.
44002         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44003         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44005         [BZ #14183]
44006         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44007         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44009         [BZ #14117]
44010         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44011         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44013         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44014         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44016         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44017         Defined to 1 if __x86_64__ isn't defined.
44018         (_STAT_VER_LINUX_OLD): New.
44019         (st_atime): Remove duplicate.
44020         (st_mtime): Likewise.
44021         (st_ctime): Likewise.
44023 2012-05-31  David S. Miller  <davem@davemloft.net>
44025         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44026         entries.
44028 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44030         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44031         gen-libm-test.pl.
44033         [BZ #14132]
44034         * elf/dl-reloc.c: Include <_itoa.h>.
44035         (_dl_reloc_bad_type): Remove use of INTUSE.
44036         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44037         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44038         * stdio-common/psiginfo.c (psiginfo): Likewise.
44039         * stdio-common/psignal.c (psignal): Likewise.
44040         * string/strsignal.c (strsignal): Likewise.
44041         * include/signal.h (_sys_siglist): Declare hidden proto.
44042         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44043         INTVARDEF with libc_hidden_data_def.
44044         * stdio-common/itoa-udigits.c: Likewise.
44045         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44046         (_itoa_lower_digits_internal): Remove declaration.
44047         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44048         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44049         (_sys_sigabbrev_internal): Remove aliases.
44050         (_sys_siglist): Define hidden alias.
44052 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44055         bits/sysctl.h.
44057 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44059         [BZ #14117]
44060         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44061         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44063         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44064         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44065         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44066         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44067         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44068         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44070         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44071         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44072         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44074         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44075         with __addr.
44076         (insw): Likewise.
44077         (insl): Likewise.
44078         (outsb): Likewise.
44079         (outsw): Likewise.
44080         (outsl): Likewise.
44082         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44083         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44084         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44086         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44087         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44088         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44089         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44090         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44091         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44093         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44094         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44096         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44097         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44099         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44100         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44101         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44103         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44104         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44105         to ...
44106         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44108         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44109         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44110         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44112         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44113         for x86-64.
44114         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44116 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
44118         * math/math.h (M_El): Use two more decimal places.
44119         (M_LOG2El): Likewise.
44120         (M_LOG10El): Likewise.
44121         (M_LN2l): Likewise.
44122         (M_LN10l): Likewise.
44123         (M_PIl): Likewise.
44124         (M_PI_2l): Likewise.
44125         (M_PI_4l): Likewise.
44126         (M_1_PIl): Likewise.
44127         (M_2_PIl): Likewise.
44128         (M_2_SQRTPIl): Likewise.
44129         (M_SQRT2l): Likewise.
44130         (M_SQRT1_2l): Likewise.
44132 2012-05-31  David S. Miller  <davem@davemloft.net>
44134         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44135         values between float registers.
44136         * sysdeps/sparc/sparc64/memset.S: Likewise.
44137         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44139 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
44141         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44142         -D_FORTIFY_SOURCE=1.
44143         (CPPFLAGS-tst-longjmp_chk.c): Define.
44144         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44145         (CPPFLAGS-tst-longjmp_chk2.c): Define.
44146         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44147         CFLAGS-tst-wchar-h.c.
44149 2012-05-31  Marek Polacek  <polacek@redhat.com>
44151         [BZ #14132]
44152         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44153         __endmntent_internal): Remove declaration.
44154         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44155         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44156         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44158 2012-05-30  David S. Miller  <davem@davemloft.net>
44160         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44161         (___Q_simulate_exceptions): Use real FP ops rather than writing
44162         into the %fsr.
44163         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44164         Likewise.
44166 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44168         [BZ #14117]
44169         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44170         * sysdeps/x86/bits/xtitypes.h: This.
44172         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44173         * sysdeps/x86/bits/wordsize.h: This.
44175         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44176         * sysdeps/x86/bits/huge_vall.h: This.
44178         * sysdeps/i386/bits/select.h: Removed.
44179         * sysdeps/x86_64/bits/select.h: Renamed to ...
44180         * sysdeps/x86/bits/select.h: This.
44182         * sysdeps/i386/bits/setjmp.h: Removed.
44183         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44184         * sysdeps/x86/bits/setjmp.h: This.
44186         * sysdeps/i386/bits/mathdef.h: Removed.
44187         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44188         * sysdeps/x86/bits/mathdef.h: This.
44190 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44192         [BZ #14132]
44193         * include/sys/socket.h (__connect_internal)
44194         (__libc_sa_len_internal): Remove declaration.
44195         (__connect, __libc_sa_len): Declare hidden_proto.
44196         (SA_LEN): Remove use of INTUSE.
44197         * socket/connect.c: Add libc_hidden_def.
44198         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44199         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44200         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44201         alias.
44202         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44203         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44204         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44205         of adding _internal alias.
44207 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44209         [BZ #14117]
44210         * sysdeps/i386/bits/link.h: Removed.
44211         * sysdeps/i386/bits/linkmap.h: Likewise.
44212         * sysdeps/x86_64/bits/link.h: Renamed to ...
44213         * sysdeps/x86/bits/link.h: This.
44214         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44215         * sysdeps/x86/bits/linkmap.h: This.
44217         * sysdeps/i386/bits/endian.h: Removed.
44218         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44219         * sysdeps/x86/bits/endian.h: This.
44221         * sysdeps/i386/bits/byteswap.h: Removed.
44222         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44223         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44224         * sysdeps/x86/bits/byteswap.h: This.
44225         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44226         * sysdeps/x86/bits/byteswap-16.h: This.
44227         * sysdeps/i386/Implies: Add x86.
44228         * sysdeps/x86_64/Implies: Likewise.
44230 2012-05-30  David S. Miller  <davem@davemloft.net>
44232         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44233         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44234         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44235         (FP_TRAPPING_EXCEPTIONS): Define.
44236         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44237         (FP_TRAPPING_EXCEPTIONS): Define.
44238         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44239         subnormals only when inexact has been signalled or underflow
44240         exceptions are enabled.
44241         (_FP_PACK_CANONICAL): Likewise.
44243 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44245         [BZ #14183]
44246         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44247         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44249 2012-05-30  Richard Henderson  <rth@twiddle.net>
44251         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44252         with #ifndef NOT_IN_libc.
44254         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
44255         marked to avoid plt entry.
44257 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44259         [BZ #14112]
44260         * Makeconfig (default-abi): New macro.
44261         (abi-includes): Likewise.
44262         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
44263         $(abi-$(default-abi)-lib-soname) for soname if defined.
44264         ($(common-objpfx)gnu/lib-names.stmp): Generate from
44265         abi-variants.
44266         * Makefile (installed-stubs): Likewise.
44267         * include/stubs-biarch.h: Removed.
44268         * scripts/lib-names.awk: Only handle one library at a time.
44269         * scripts/soversions.awk: Remove WORDSIZE support.
44270         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44271         entries.
44272         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44273         Removed.
44274         (syscall-list-default-condition): Likewise.
44275         (syscall-list-default-condition): Likewise.
44276         (syscall-list-includes): Likewise.
44277         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44278         syscall-list-* with abi-*.  Handle undefined abi-variants.
44279         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44280         * sysdeps/unix/sysv/linux/i386/Implies: New file.
44281         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44282         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44283         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44284         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44285         Removed.
44286         (syscall-list-32-options): Likewise.
44287         (syscall-list-32-condition): Likewise.
44288         (syscall-list-64-options): Likewise.
44289         (syscall-list-64-condition): Likewise.
44290         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44291         macro.
44292         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44293         Renamed to ...
44294         (abi-*): This.
44295         (abi-64-ld-soname): New macro.
44296         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44297         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44298         Renamed to ...
44299         (abi-*): This.
44300         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44301         * sysdeps/x86_64/x32/shlib-versions: Likewise.
44303 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
44305         * sysdeps/unix/sysv/linux/kernel-features.h
44306         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44307         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44308         include <kernel-features.h>.
44309         [!__NR_ftruncate64]: Remove conditional code.
44310         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44311         [__NR_ftruncate64]: Make code unconditional.
44312         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44313         * sysdeps/unix/sysv/linux/truncate64.c: Do not
44314         include <kernel-features.h>.
44315         [!__NR_ftruncate64]: Remove conditional code.
44316         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44317         [__NR_ftruncate64]: Make code unconditional.
44318         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44320         include <kernel-features.h>.
44321         [!__NR_ftruncate64]: Remove conditional code.
44322         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44323         [__NR_ftruncate64]: Make code unconditional.
44324         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44326         include <kernel-features.h>.
44327         [!__NR_ftruncate64]: Remove conditional code.
44328         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44329         [__NR_ftruncate64]: Make code unconditional.
44330         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44332         * configure.in (libc_cv_fpie): Weaken to a compile test using
44333         LIBC_TRY_CC_OPTION.
44334         * configure: Regenerated.
44336 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44342         Refreshed.
44343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44349         Refreshed.
44351 2012-05-27  David S. Miller  <davem@davemloft.net>
44353         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44354         (___Q_zero): New.
44355         (__Q_simulate_exceptions): Return void.  Change to simulate
44356         exceptions by writing into the %fsr.
44357         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44358         (__Qp_handle_exceptions): Likewise.
44359         (numbers): Delete.
44360         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44361         __Qp_handle_exceptions.
44362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44363         __Qp_handle_exceptions.
44364         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44365         as unused and give dummy FP_RND_NEAREST initializer.
44366         (FP_INHIBIT_RESULTS): Define.
44367         (___Q_simulate_exceptions): Update declaration.
44368         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44369         formatting.
44370         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44371         as unused and give dummy FP_RND_NEAREST initializer.
44372         (__Qp_handle_exceptions): Update declaration.
44373         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44374         formatting.
44376 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
44378         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44379         the temporary FPU control word.
44380         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44381         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44382         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44383         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44384         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44385         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44386         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44387         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44388         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44389         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44390         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44392 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44394         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44395         fields.
44397 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
44399         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44400         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44401         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44402         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44403         Likewise.
44404         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44405         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44406         Likewise.
44408 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
44410         * po/h.po: Update from translation team.
44412 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
44414         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44416         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44417         handling of denormals.
44418         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44419         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44420         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44421         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44422         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44425         Likewise.
44427 2012-05-26  Marek Polacek  <polacek@redhat.com>
44429         [BZ #14152]
44430         * math/libm-test.inc (fma_test): Don't always expect underflow
44431         exception.
44433 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44435         [BZ #12416]
44436         * elf/tst-execstack.c: Include stackinfo.h.
44437         (do_test): Adjust test case to ensure that pthread_getattr_np
44438         behaviour remains the same after marking stack executable.
44440 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44442         * sysdeps/unix/sysv/linux/kernel-features.h
44443         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44444         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44445         kernel-features.h.
44446         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44447         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44448         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44449         kernel-features.h.
44450         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44451         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44453 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
44455         * configure.in: Define the default includes to being none.
44456         * configure: Regenerated.
44458 2012-05-25  Roland McGrath  <roland@hack.frob.com>
44460         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44461         * sysdeps/x86_64/setjmp.S: Likewise.
44462         * sysdeps/i386/bsd-setjmp.S: Likewise.
44463         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44464         * sysdeps/i386/setjmp.S: Likewise.
44465         * sysdeps/i386/__longjmp.S: Likewise.
44466         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44467         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44469         * include/stap-probe.h: New file.
44470         * configure.in: Handle --enable-systemtap.
44471         * configure: Regenerated.
44472         * config.h.in (USE_STAP_PROBE): New #undef.
44473         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44474         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44475         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44477 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44479         [BZ #13717]
44480         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44481         to 2.4.0 where earlier.
44482         * sysdeps/unix/sysv/linux/configure: Regenerated.
44483         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44484         <kernel-features.h>.
44485         [__ASSUME_32BITUIDS]: Make code unconditional.
44486         [!__ASSUME_32BITUIDS]: Remove conditional code.
44487         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44488         <kernel-features.h>.
44489         [__ASSUME_32BITUIDS]: Make code unconditional.
44490         [!__ASSUME_32BITUIDS]: Remove conditional code.
44491         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44492         [__ASSUME_32BITUIDS]: Make code unconditional.
44493         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44494         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44495         <kernel-features.h>.
44496         [__ASSUME_32BITUIDS]: Make code unconditional.
44497         [!__ASSUME_32BITUIDS]: Remove conditional code.
44498         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44499         <kernel-features.h>.
44500         [__ASSUME_32BITUIDS]: Make code unconditional.
44501         [!__ASSUME_32BITUIDS]: Remove conditional code.
44502         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44503         <kernel-features.h>.
44504         [__ASSUME_32BITUIDS]: Make code unconditional.
44505         [!__ASSUME_32BITUIDS]: Remove conditional code.
44506         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44507         <kernel-features.h>.
44508         [__ASSUME_32BITUIDS]: Make code unconditional.
44509         [!__ASSUME_32BITUIDS]: Remove conditional code.
44510         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44511         <kernel-features.h>.
44512         [__ASSUME_32BITUIDS]: Make code unconditional.
44513         [!__ASSUME_32BITUIDS]: Remove conditional code.
44514         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44515         <kernel-features.h>.
44516         [__ASSUME_32BITUIDS]: Make code unconditional.
44517         [!__ASSUME_32BITUIDS]: Remove conditional code.
44518         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44519         <kernel-features.h>.
44520         [__ASSUME_32BITUIDS]: Make code unconditional.
44521         [!__ASSUME_32BITUIDS]: Remove conditional code.
44522         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44523         <kernel-features.h>.
44524         [__ASSUME_32BITUIDS]: Make code unconditional.
44525         [!__ASSUME_32BITUIDS]: Remove conditional code.
44526         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44527         <kernel-features.h>.
44528         [__ASSUME_32BITUIDS]: Make code unconditional.
44529         [!__ASSUME_32BITUIDS]: Remove conditional code.
44530         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44531         <kernel-features.h>.
44532         [__ASSUME_32BITUIDS]: Make code unconditional.
44533         [!__ASSUME_32BITUIDS]: Remove conditional code.
44534         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44535         <kernel-features.h>.
44536         [__NR_setresgid] (__setresgid): Do not declare.
44537         [__ASSUME_32BITUIDS]: Make code unconditional.
44538         [!__ASSUME_32BITUIDS]: Remove conditional code.
44539         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44540         <kernel-features.h>.
44541         [__NR_setresuid] (__setresuid): Do not declare.
44542         [__ASSUME_32BITUIDS]: Make code unconditional.
44543         [!__ASSUME_32BITUIDS]: Remove conditional code.
44544         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44545         <kernel-features.h>.
44546         [__ASSUME_32BITUIDS]: Make code unconditional.
44547         [!__ASSUME_32BITUIDS]: Remove conditional code.
44548         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44549         <kernel-features.h>.
44550         [__ASSUME_32BITUIDS]: Make code unconditional.
44551         [!__ASSUME_32BITUIDS]: Remove conditional code.
44552         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44553         <kernel-features.h>.
44554         [__ASSUME_32BITUIDS]: Make code unconditional.
44555         [!__ASSUME_32BITUIDS]: Remove conditional code.
44556         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44557         <kernel-features.h>.
44558         [__ASSUME_32BITUIDS]: Make code unconditional.
44559         [!__ASSUME_32BITUIDS]: Remove conditional code.
44560         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44561         <kernel-features.h>.
44562         [__ASSUME_32BITUIDS]: Make code unconditional.
44563         [!__ASSUME_32BITUIDS]: Remove conditional code.
44564         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44565         <kernel-features.h>.
44566         [__ASSUME_32BITUIDS]: Make code unconditional.
44567         [!__ASSUME_32BITUIDS]: Remove conditional code.
44568         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44569         <kernel-features.h>.
44570         [__ASSUME_32BITUIDS]: Make code unconditional.
44571         [!__ASSUME_32BITUIDS]: Remove conditional code.
44572         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44573         <kernel-features.h>.
44574         [__ASSUME_32BITUIDS]: Make code unconditional.
44575         [!__ASSUME_32BITUIDS]: Remove conditional code.
44576         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44577         <kernel-features.h>.
44578         [__ASSUME_32BITUIDS]: Make code unconditional.
44579         [!__ASSUME_32BITUIDS]: Remove conditional code.
44580         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44581         <kernel-features.h>.
44582         [__ASSUME_32BITUIDS]: Make code unconditional.
44583         [!__ASSUME_32BITUIDS]: Remove conditional code.
44584         * sysdeps/unix/sysv/linux/kernel-features.h
44585         (__ASSUME_SETRESUID_SYSCALL): Remove.
44586         (__ASSUME_SETRESGID_SYSCALL): Likewise.
44587         (__ASSUME_32BITUIDS): Likewise.
44588         (__ASSUME_LDT_WORKS): Likewise.
44589         (__ASSUME_O_DIRECTORY): Likewise.
44590         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44591         architecture but not kernel version.
44592         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44593         (__ASSUME_MMAP2_SYSCALL): Likewise.
44594         (__ASSUME_STAT64_SYSCALL): Likewise.
44595         (__ASSUME_IPC64): Likewise.
44596         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44597         <kernel-features.h>.
44598         [__ASSUME_32BITUIDS]: Make code unconditional.
44599         [!__ASSUME_32BITUIDS]: Remove conditional code.
44600         * sysdeps/unix/sysv/linux/opendir.c: Do not include
44601         <kernel-features.h>.
44602         [__ASSUME_O_DIRECTORY]: Make code unconditional.
44603         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44604         132096]: Remove conditional code.
44605         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44606         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44607         <kernel-features.h>.
44608         [__ASSUME_32BITUIDS]: Make code unconditional.
44609         [!__ASSUME_32BITUIDS]: Remove conditional code.
44610         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44611         <kernel-features.h>.
44612         [__ASSUME_32BITUIDS]: Make code unconditional.
44613         [!__ASSUME_32BITUIDS]: Remove conditional code.
44614         * sysdeps/unix/sysv/linux/setegid.c: Do not include
44615         <kernel-features.h>.
44616         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44617         unconditional.
44618         (__setresgid): Do not declare.
44619         [__ASSUME_32BITUIDS]: Make code unconditional.
44620         [!__ASSUME_32BITUIDS]: Remove conditional code.
44621         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44622         <kernel-features.h>.
44623         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44624         unconditional.
44625         (__setresuid): Do not declare.
44626         [__ASSUME_32BITUIDS]: Make code unconditional.
44627         [!__ASSUME_32BITUIDS]: Remove conditional code.
44628         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44629         <kernel-features.h>.
44630         [__ASSUME_32BITUIDS]: Make code unconditional.
44631         [!__ASSUME_32BITUIDS]: Remove conditional code.
44632         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44633         <kernel-features.h>.
44634         [__ASSUME_32BITUIDS]: Make code unconditional.
44635         [!__ASSUME_32BITUIDS]: Remove conditional code.
44637 2012-05-25  Richard Henderson  <rth@twiddle.net>
44639         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44640         dl_hwcap to ifunc resolver.
44641         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44642         elf_ifunc_invoke.
44643         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44644         dl_hwcap to ifunc resolver.
44645         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44647 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44649         [BZ #14153]
44650         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44651         for |x| <= 2**-26, not 2**-57.
44652         * math/libm-test.inc (acos_test): Do not allow spurious underflow
44653         exception.
44655 2012-05-24  Jeff Law  <law@redhat.com>
44657         * stdio-common/Makefile (tests): Add bug25.
44658         * stdio-common/bug25.c: New test.
44660 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44662         [BZ #13576]
44663         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44664         multiple of MALLOC_ALIGNMENT in size.
44665         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44667 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44669         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44670         Require >= 256.
44671         (FILENAME_MAX): Use macro-int-constant.
44672         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
44673         (_IOFBF): Use macro-int-constant.
44674         (_IOLBF): Likewise.
44675         (_IONBF): Likewise.
44676         (SEEK_CUR): Likewise.
44677         (SEEK_END): Likewise.
44678         (SEEK_SET): Likewise.
44679         (TMP_MAX): Likewise.
44680         (EOF): Use macro-int-constant.  Require < 0.
44681         (NULL): Use macro-constant.  Require == 0.
44682         (stdin): Require type to be FILE *.
44683         (stdout): Likewise.
44684         (stderr): Likewise.
44685         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44686         macro-int-constant.
44687         (EXIT_SUCCESS): Likewise.
44688         (NULL): Use macro-constant.  Require == 0.
44689         (RAND_MAX): Use macro-int-constant.
44690         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44691         [C99-based standards] (strtof): Require function.
44692         [C99-based standards] (strtold): Likewise.
44693         [C99-based standards] (strtoll): Likewise.
44694         [C99-based standards] (strtoull): Likewise.
44695         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44696         [ISO || ISO99 || ISO11] (limits.h): Likewise.
44697         [ISO || ISO99 || ISO11] (math.h): Likewise.
44698         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44699         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44700         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44702 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
44704         [BZ #14132]
44705         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44706         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44707         * intl/dgettext.c (DCGETTEXT): Likewise.
44708         * intl/gettext.c (DCGETTEXT): Likewise.
44709         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44710         * posix/regex_internal.h (gettext): Likewise.
44711         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44712         Remove declaration.
44713         * include/argz.h (__argz_count_internal)
44714         (__argz_stringify_internal): Remove declaration.
44715         (__argz_count, __argz_stringify): Declare hidden proto.
44716         * intl/dcgettext.c: Remove use of INTDEF.
44717         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44718         * string/argz-stringify.c: Likewise.
44719         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44720         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44721         Declare hidden proto.
44722         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44723         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44724         Declare hidden proto.
44725         * include/stdio.h (__asprintf_internal): Don't declare.
44726         (__asprintf): Don't define as macro.  Declare hidden proto.
44727         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44728         (__fsetlocking): Declare hidden proto.
44729         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44730         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44731         hidden proto.
44732         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44733         (_IO_setlinebuf): Remove use of INTUSE.
44734         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44735         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44736         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44737         Remove declaration.
44738         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44739         (_IO_do_flush): Remove use of INTUSE.
44740         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44741         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44742         (_IO_adjust_column, _IO_least_wmarker)
44743         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44744         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44745         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44746         (_IO_default_doallocate, _IO_wdefault_doallocate)
44747         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44748         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44749         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44750         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44751         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44752         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44753         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44754         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44755         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44756         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44757         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44758         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44759         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44760         proto.
44761         (_IO_flush_all_internal, _IO_adjust_column_internal)
44762         (_IO_default_uflow_internal, _IO_default_finish_internal)
44763         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44764         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44765         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44766         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44767         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44768         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44769         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44770         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44771         (_IO_file_close_internal, _IO_file_close_it_internal)
44772         (_IO_file_underflow_internal, _IO_file_overflow_internal)
44773         (_IO_file_init_internal, _IO_file_attach_internal)
44774         (_IO_file_fopen_internal, _IO_file_read_internal)
44775         (_IO_file_sync_internal, _IO_file_seek_internal)
44776         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44777         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44778         (_IO_str_underflow_internal, _IO_str_overflow_internal)
44779         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44780         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44781         (_IO_list_all_internal, _IO_link_in_internal)
44782         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44783         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44784         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44785         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44786         (_IO_do_write_internal, _IO_padn_internal)
44787         (_IO_getline_info_internal, _IO_getline_internal)
44788         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44789         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44790         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44791         (_IO_vfscanf_internal, _IO_vfprintf_internal)
44792         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44793         (_IO_init_internal, _IO_un_link_internal): Don't declare.
44794         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44795         with libc_hidden_ver, remove use of INTUSE.
44796         * libio/genops.c: Likewise.
44797         * libio/freopen.c: Likewise.
44798         * libio/freopen64.c: Likewise.
44799         * libio/iofclose.c: Likewise.
44800         * libio/iofdopen.c: Likewise.
44801         * libio/iofflush.c: Likewise.
44802         * libio/iofflush_u.c: Likewise.
44803         * libio/iofgets.c: Likewise.
44804         * libio/iofgets_u.c: Likewise.
44805         * libio/iofopen.c: Likewise.
44806         * libio/iofopncook.c: Likewise.
44807         * libio/iofread.c: Likewise.
44808         * libio/iofread_u.c: Likewise.
44809         * libio/ioftell.c: Likewise.
44810         * libio/iofwrite.c: Likewise.
44811         * libio/iogetline.c: Likewise.
44812         * libio/iogets.c: Likewise.
44813         * libio/iogetwline.c: Likewise.
44814         * libio/iopadn.c: Likewise.
44815         * libio/iopopen.c: Likewise.
44816         * libio/ioseekoff.c: Likewise.
44817         * libio/ioseekpos.c: Likewise.
44818         * libio/iosetbuffer.c: Likewise.
44819         * libio/iosetvbuf.c: Likewise.
44820         * libio/ioungetc.c: Likewise.
44821         * libio/ioungetwc.c: Likewise.
44822         * libio/iovdprintf.c: Likewise.
44823         * libio/iovsprintf.c: Likewise.
44824         * libio/iovsscanf.c: Likewise.
44825         * libio/memstream.c: Likewise.
44826         * libio/obprintf.c: Likewise.
44827         * libio/oldfileops.c: Likewise.
44828         * libio/oldiofclose.c: Likewise.
44829         * libio/oldiofdopen.c: Likewise.
44830         * libio/oldiofopen.c: Likewise.
44831         * libio/oldiopopen.c: Likewise.
44832         * libio/oldstdfiles.c: Likewise.
44833         * libio/putc.c: Likewise.
44834         * libio/setbuf.c: Likewise.
44835         * libio/setlinebuf.c: Likewise.
44836         * libio/stdfiles.c: Likewise.
44837         * libio/strops.c: Likewise.
44838         * libio/vasprintf.c: Likewise.
44839         * libio/vscanf.c: Likewise.
44840         * libio/vsnprintf.c: Likewise.
44841         * libio/vswprintf.c: Likewise.
44842         * libio/wfiledoalloc.c: Likewise.
44843         * libio/wfileops.c: Likewise.
44844         * libio/wgenops.c: Likewise.
44845         * libio/wmemstream.c: Likewise.
44846         * libio/wstrops.c: Likewise.
44847         * libio/__fpurge.c: Likewise.
44848         * libio/__fsetlocking.c: Likewise.
44849         * assert/assert.c: Likewise.
44850         * debug/fgets_chk.c: Likewise.
44851         * debug/fgets_u_chk.c: Likewise.
44852         * debug/fread_chk.c: Likewise.
44853         * debug/fread_u_chk.c: Likewise.
44854         * debug/gets_chk.c: Likewise.
44855         * debug/obprintf_chk.c: Likewise.
44856         * debug/vasprintf_chk.c: Likewise.
44857         * debug/vdprintf_chk.c: Likewise.
44858         * debug/vsnprintf_chk.c: Likewise.
44859         * debug/vsprintf_chk.c: Likewise.
44860         * malloc/mtrace.c: Likewise.
44861         * misc/error.c: Likewise.
44862         * misc/syslog.c: Likewise.
44863         * stdio-common/asprintf.c: Likewise.
44864         * stdio-common/fxprintf.c: Likewise.
44865         * stdio-common/getw.c: Likewise.
44866         * stdio-common/isoc99_fscanf.c: Likewise.
44867         * stdio-common/isoc99_scanf.c: Likewise.
44868         * stdio-common/isoc99_vfscanf.c: Likewise.
44869         * stdio-common/isoc99_vscanf.c: Likewise.
44870         * stdio-common/isoc99_vsscanf.c: Likewise.
44871         * stdio-common/printf-prs.c: Likewise.
44872         * stdio-common/printf_fp.c: Likewise.
44873         * stdio-common/printf_fphex.c: Likewise.
44874         * stdio-common/printf_size.c: Likewise.
44875         * stdio-common/putw.c: Likewise.
44876         * stdio-common/scanf.c: Likewise.
44877         * stdio-common/sprintf.c: Likewise.
44878         * stdio-common/tmpfile.c: Likewise.
44879         * stdio-common/vfprintf.c: Likewise.
44880         * stdio-common/vfscanf.c: Likewise.
44881         * stdlib/strfmon_l.c: Likewise.
44882         * sunrpc/openchild.c: Likewise.
44883         * sunrpc/xdr_stdio.c: Likewise.
44884         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44885         * sysdeps/mach/hurd/tmpfile.c: Likewise.
44887 2012-05-24  Roland McGrath  <roland@hack.frob.com>
44889         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44891         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44892         in the third column, to generate for the shared library an IFUNC
44893         that uses _dl_vdso_vsym.
44894         * Makerules (COMPILE.c, compile-stdin.c): New variables.
44895         * Makeconfig (object-suffixes-noshared): New variable.
44897         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44898         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44899         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44900         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44902         [BZ #14132]
44903         * include/sys/time.h (__gettimeofday): Remove macro.
44904         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44905         * time/gettimeofday.c (__gettimeofday): Remove #undef.
44906         Remove INTDEF.
44907         (__gettimeofday): Add libc_hidden_def.
44908         (gettimeofday): Add libc_hidden_weak.
44909         * sysdeps/mach/gettimeofday.c: Likewise.
44910         * sysdeps/posix/gettimeofday.c: Likewise.
44911         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44912         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44914         (__gettimeofday_internal): Remove strong_alias.
44915         (__gettimeofday): Add libc_hidden_def.
44916         (gettimeofday): Add libc_hidden_weak.
44917         * sysdeps/unix/syscalls.list (gettimeofday):
44918         Remove __gettimeofday_internal alias.
44920 2012-05-24  Daniel Jacobowitz  <drow@false.org>
44921             H.J. Lu  <hongjiu.lu@intel.com>
44923         [BZ #12495]
44924         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44925         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44926         (largebin_index_32_big): New.
44927         (largebin_index): Use it for 16-byte alignment.
44928         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
44929         correction with front_misalign.
44931 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44935         Likewise.
44936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44937         Likewise.
44938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44939         Likewise.
44940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44941         Likewise.
44942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44943         Likewise.
44944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44945         Likewise.
44946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44947         Likewise.
44948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44949         Likewise.
44950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44951         Likewise.
44952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44953         Likewise.
44954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44955         Likewise.
44956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44957         Likewise.
44959         * scripts/data/c++-types-x32-linux-gnu.data: New file.
44960         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44962 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44964         [BZ #10846]
44965         [BZ #14036]
44966         * math/libm-test.inc (exp_test): Add test from bug 14036.
44967         (pow_test): Add test from bug 10846.
44969         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44970         and other flags.
44971         (special_function): Do not include flags in test name.
44972         (parse_args): Likewise.
44973         * sysdeps/i386/fpu/libm-test-ulps: Update.
44974         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44975         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44976         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44979         * math/gen-libm-test.pl (%beautify): Add entries for underflow
44980         exceptions.
44981         * math/libm-test.inc ("Philosophy"): Update comment about
44982         exception testing.
44983         (UNDERFLOW_EXCEPTION): New macro.
44984         (UNDERFLOW_EXCEPTION_OK): Likewise.
44985         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44986         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44987         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44988         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44989         (INVALID_EXCEPTION_OK): Update value.
44990         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44991         (OVERFLOW_EXCEPTION_OK): Likewise.
44992         (IGNORE_ZERO_INF_SIGN): Likewise.
44993         (test_exceptions): Handle underflow exceptions.
44994         (acos_test): Update for underflow exception expectations.
44995         (cexp_test): Likewise.
44996         (clog_test): Likewise.
44997         (clog10_test): Likewise.
44998         (csqrt_test): Likewise.
44999         (ctan_test): Likewise.
45000         (ctanh_test): Likewise.
45001         (exp_test): Likewise.
45002         (exp10_test): Likewise.
45003         (exp2_test): Likewise.
45004         (expm1_test): Likewise.
45005         (fma_test): Likewise.
45006         (j0_test): Likewise.
45007         (jn_test): Likewise.
45008         (nexttoward_test): Likewise.
45009         (pow_test): Likewise.
45010         (scalbn_test): Likewise.
45011         (scalbln_test): Likewise.
45012         (tan_test): Likewise.
45013         (y1_test): Likewise.
45014         * sysdeps/i386/fpu/libm-test-ulps: Update.
45015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45017 2012-05-23  David S. Miller  <davem@davemloft.net>
45019         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45020         (__libc_sigaction): Remove unused local variables.
45022 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45024         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45026 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45028         mktime: avoid signed integer overflow
45029         * time/mktime.c (__mktime_internal): Do not mishandle the case
45030         where diff == INT_MIN.
45032         mktime: simplify computation of average
45033         * time/mktime.c (ranged_convert): Use new time_t_avg function
45034         instead of rolling our own (probably-slower) code.
45036         mktime: do not assume signed right shift propagates sign bit
45037         * time/mktime.c (isdst_differ): New static function.
45038         (__mktime_internal): No need to normalize tm_isdst now.
45039         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45040         tm_isdst values.
45042         mktime: merge another wrapv change from gnulib
45043         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45044         from some compilers.
45046         mktime: remove incorrect attempt at unusual arithmetics
45047         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45048         The code didn't really work on such machines anyway.
45049         (TYPE_MINIMUM): Assume two's complement.
45050         (twos_complement_arithmetic): Verify that long_int and time_t
45051         are two's complement (or unsigned, in the latter case).
45053         mktime: check signed shifts on long_int and time_t, too
45054         * time/mktime.c (SHR): Check that shifts work as desired
45055         on the types long_int and time_t too, as SHR is used on
45056         such types.
45058         mktime: do not assume 'long' is wide enough
45059         * time/mktime.c (verify): Move decl up.
45060         (long_int): New type.
45061         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45062         to remove assumption in the code that 'long' is wide enough to
45063         store year values.  This assumption is not true on x32 and on
45064         some non-glibc platforms.
45066         mktime: merge wrapv change from gnulib
45067         * time/mktime.c (WRAPV): New macro.
45068         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45069         (guess_time_tm, __mktime_internal): Do not assume that signed
45070         integer overflow wraps around; modern compilers generate code
45071         where this assumption is no longer valid.
45073 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45075         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45076         Replace "jmp L(pseudo_end)" with "ret".
45077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45078         Likewise.
45080 2012-05-23  Andreas Jaeger  <aj@suse.de>
45082         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45083         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45085 2012-05-23  Andreas Jaeger  <aj@suse.de>
45086             Maximilian Attems  <max@stro.at>
45088         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45089         New macros.
45091 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45093         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45094         code so that pseudo_end is just ret and the stack pointer is
45095         correct also for static library in error case.
45097 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45099         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45100         move to syscalls.list.
45101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45106         * manual/install.texi (Running make install): Do not mention Linux
45107         kernel version for which pt_chown is not needed.
45108         (Linux): Do not mention problems with nscd with 2.0 kernels.
45109         * INSTALL: Regenerated.
45111 2012-05-23  Andreas Jaeger  <aj@suse.de>
45113         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45114         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45115         macro.
45116         * sysdeps/unix/sysv/linux/s390/bits/mman.h
45117         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45118         * sysdeps/unix/sysv/linux/sh/bits/mman.h
45119         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45120         * sysdeps/unix/sysv/linux/i386/bits/mman.h
45121         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45122         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45123         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45124         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45125         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45126         * sysdeps/unix/sysv/linux/bits/in.h
45127         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45129 2012-05-22  Roland McGrath  <roland@hack.frob.com>
45131         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45132         (PREPARE_VERSION): Just use assert instead, it will be elided
45133         under [NDEBUG] anyway.
45135 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45137         * sysdeps/unix/sysv/linux/Makefile: Include
45138         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45139         (sysdep_routines): Remove sysctl.
45140         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45141         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45142         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45143         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45144         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45146 2012-05-22  Andreas Jaeger  <aj@suse.de>
45148         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45149         that pseudo_end is just ret and the stack pointer is correct also
45150         for static library in error case.
45152 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
45154         [BZ #14122]
45155         * nss/nsswitch.c (defconfig_entries): New variable.
45156         (__nss_database_lookup): Don't leak defconfig entries.
45157         (nss_parse_service_list): Don't leak on error paths.
45158         (free_database_entries): New function.
45159         (free_defconfig): New function.
45160         (free_mem): Move common code to free_database_entries.
45162 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45164         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45165         Add arch_prctl.
45166         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45168         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45169         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45170         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45171         New macro.
45172         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45173         (INTERNAL_SYSCALL_TYPES): Likewise.
45174         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45175         (LOAD_REGS_TYPES_[1-6]): Likewise.
45176         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45177         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45179 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45181         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45182         copysignl for GLIBC_2_0.
45183         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45184         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45185         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45186         logbl for GLIBC_2_0.
45187         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45188         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45190 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45192         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45193         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45195         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45196         Use "neg %eax".
45198         * time/mktime.c: Update copyright years.
45200 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45202         mktime: merge comment-quoting-style change from gnulib
45203         * time/mktime.c: Quote 'like this' in comments.
45204         The GNU coding standards suggest that we no longer quote `like this',
45205         as "`" and "'" are typically rendered asymmetrically nowadays.
45206         The typical gnulib style is to quote 'like this' when quoting
45207         code, and "like this" when quoting English.
45209         * time/mktime.c (compile-command): Add "-I.".
45211         mktime: merge mktime-internal.h change from gnulib
45212         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45214         mktime: merge time_r change from gnulib
45215         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45217         mktime: merge DEBUG change from gnulib
45218         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45219         case system <time.h> has a #define.
45221         mktime: merge <sys/types.h> change from gnulib
45222         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45223         since <time.t> is now guaranteed to define time_t.
45225         mktime: merge HAVE_CONFIG_H change from gnulib
45226         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45228 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45231         Use "neg %eax".
45233         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45234         __rlim_t cast.
45235         (struct rusage): Use anonymous union to pad each field to
45236         __syscall_slong_t.
45238 2012-05-21  David S. Miller  <davem@davemloft.net>
45240         * Makefules (o-iterator): Remove .s cases.
45241         (compile-command.s): Delete.
45242         (COMPILE.s): Delete.
45243         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45245 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
45247         * configure.in (libc_cv_predef_stack_protector): Only consider
45248         "foobar" and "__stack_chk_fail" lines in libc_undefs.
45249         * configure: Regenerated.
45251 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45254         New macro.  Use R*LP on int and pointer.
45255         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45256         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45257         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45258         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45260         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45261         [__WORDSIZE_TIME64_COMPAT32] instead of
45262         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45263         (struct utmp): Likewise.
45264         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45265         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45266         Renamed to ...
45267         (__WORDSIZE_TIME64_COMPAT32): This.
45268         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45269         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45270         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45271         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45272         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45273         (__WORDSIZE_TIME64_COMPAT32): New macro.
45275 2012-05-21  Andreas Jaeger  <aj@suse.de>
45277         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45278         only if [SHARED]. Add prototype for __wcschr_ia32.
45280 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45282         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45283         of %rbp unmolested in the jmp_buf while mangling the low bits.
45284         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45285         unmolested high bits of %rbp while demangling the low bits.
45286         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45288 2012-05-21  Andreas Jaeger  <aj@suse.de>
45290         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45291         * sunrpc/svc_simple.c: Use it for registerrpc.
45292         * sunrpc/xcrypt.c: Use it for passwd2des.
45294         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45296 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45298         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45299         Don't define if [__SYSCALL_WORDSIZE != 32].
45300         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45301         New macro.
45303 2012-05-21  Bruno Haible  <bruno@clisp.org>
45304             Andreas Jaeger  <aj@suse.de>
45306         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45307         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45308         inptr and inend for must_buffer_ch.
45309         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45310         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45311         * stdio-common/Makefile (tests): Remove bug15.
45312         (bug15-ENV): Remove macro.
45313         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45314         anymore.
45316 2012-05-19  Andreas Jaeger  <aj@suse.de>
45317             Roland McGrath  <roland@hack.frob.com>
45319         * manual/contrib.texi: Completely rewritten. It contains now an
45320         alphabetical list of contributors and their contributions.
45322 2012-05-21  Richard Henderson  <rth@twiddle.net>
45324         * misc/getauxval.c (__getauxval): Use unsigned long int.
45325         * misc/sys/auxv.h: Include <sys/cdefs.h>.
45326         (getauxval): Use unsigned long int.
45328 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45330         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45332 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45334         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45335         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45336         __alignof__ (long double).
45338 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45342 2012-05-20  Richard Henderson  <rth@twiddle.net>
45344         * misc/getauxval.c: New file.
45345         * misc/sys/auxv.h: New file.
45346         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45347         (routines): Add getauxval.
45348         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45349         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45350         * elf/dl-sysdep.c (_dl_auxv): Remove.
45351         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45352         * elf/dl-support.c (_dl_auxv): New variable.
45353         (_dl_aux_init): Initialize it.
45354         * manual/startup.texi (Auxiliary Vector): New node.
45355         * sysdeps/generic/bits/hwcap.h: New file.
45356         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45357         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
45358         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45359         * sysdeps/sparc/sysdep.h: ... here.  Include it.
45360         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45361         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45363         Update.
45364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45367         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45373 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45377 2012-05-19  David S. Miller  <davem@davemloft.net>
45379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45381 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45383         [BZ #14123]
45384         * math/s_ccosh.c: Include <float.h>
45385         (__ccosh): Avoid internal overflow calculating sinh and cosh
45386         values before multiplying by sin and cos values.
45387         * math/s_ccoshf.c: Likewise.
45388         * math/s_ccoshl.c: Likewise.
45389         * math/s_csin.c: Likewise.
45390         * math/s_csinf.c: Likewise.
45391         * math/s_csinl.c: Likewise.
45392         * math/s_csinh.c: Likewise.
45393         * math/s_csinhf.c: Likewise.
45394         * math/s_csinhl.c: Likewise.
45395         * math/libm-test.inc (ccos_test): Add more tests.
45396         (ccosh_test): Likewise.
45397         (csin_test): Likewise.
45398         (csinh_test): Likewise.
45399         * sysdeps/i386/fpu/libm-test-ulps: Update.
45400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45402 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
45404         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45405         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45407         * sysdeps/x86_64/x32/_itoa.h: Add comment.
45409 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45411         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45412         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45413         * sysdeps/powerpc/soft-fp/Versions: Likewise.
45414         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45415         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45416         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45417         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45418         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45419         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45420         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45421         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45422         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45423         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45424         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45425         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45426         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45427         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45428         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45429         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45430         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45431         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45432         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45433         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45434         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45435         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45436         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45437         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45438         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45439         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45440         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45441         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45443 2012-05-18  Andreas Jaeger  <aj@suse.de>
45445         * csu/.gitignore: Delete.
45447 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45449         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45450         (timex): Use __syscall_slong_t.
45452 2012-05-18  Andreas Jaeger  <aj@suse.de>
45453             Carlos O'Donell  <carlos_odonell@mentor.com>
45455         * manual/install.texi (Configuring and compiling): Update
45456         description about files modified in the source directory.
45457         * INSTALL: Regenerated.
45459 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45461         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45462         value.  Use "or" to set return value to -1.
45463         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45464         negate return value.
45466 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45468         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45469         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45470         failure if the compiler has Graphite support disabled.
45471         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45472         Likewise.
45473         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45474         (CFLAGS-memmove.c): Likewise.
45475         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45476         Likewise.
45478 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45480         * sysdeps/x86_64/x32/_itoa.h: New file.
45482         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45483         getdents system call only if kernel and user dirents have the
45484         same d_ino and d_off.
45486         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45487         LLONG_MAX != LONG_MAX.
45488         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45489         (_fitoa_word): Likewise.
45491         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45492         years.
45493         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45494         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45495         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45497         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45498         include <bits/wordsize.h>.  Check __x86_64__ instead of
45499         __WORDSIZE.
45500         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45501         if __x86_64__ is defined.  Use anonymous union on fpstate.
45503         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45504         anonymous union.
45506 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
45508         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45509         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45510         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45511         Refer to _rtld_local_ro instead of _rtld_global_ro.
45512         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45513         Likewise.
45514         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45515         Likewise.
45516         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45517         Likewise.
45518         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45519         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45520         of _rtld_global, and rtld_progname instead of _dl_argv[0].
45522         * sysdeps/powerpc/powerpc32/dl-machine.c
45523         (__elf_machine_runtime_setup) [PROF]: Don't reference
45524         _dl_prof_resolve.
45526 2012-05-18  Andreas Jaeger  <aj@suse.de>
45528         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45529         function only available for GCCs before 3.4 since GCC 3.4
45530         introduced a builtin.
45531         (lrint): Likewise.
45532         (llrintf): Likewise.
45533         (llrint): Likewise.
45534         (fmaxf): Likewise.
45535         (fmax): Likewise.
45536         (fminf): Likewise.
45537         (fmin): Likewise.
45538         (rint): Likewise.
45539         (rintf): Likewise.
45540         (nearbyint): Likewise.
45541         (nearbyintf): Likewise.
45542         (ceil): Likewise.
45543         (ceilf): Likewise.
45544         (floor): Likewise.
45545         (floorf): Likewise.
45547 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45549         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45550         on both fields and cast pointer to __syscall_ulong_t.
45552         * bits/types.h (__fsword_t): New type.
45553         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45554         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45555         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45556         (__FSWORD_T_TYPE): Likewise.
45557         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45558         (__FSWORD_T_TYPE): Likewise.
45559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45560         (__FSWORD_T_TYPE): Likewise.
45561         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45562         (__FSWORD_T_TYPE): Likewise.
45563         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45564         __SWORD_TYPE with __fsword_t.
45565         (statfs64): Likewise.
45567 2012-05-17  David S. Miller  <davem@davemloft.net>
45569         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45571 2012-05-17  Andreas Jaeger  <aj@suse.de>
45573         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45574         warning.
45576 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45578         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45580 2012-05-17  Andreas Jaeger  <aj@suse.de>
45582         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45583         when it is used.
45585 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45587         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45589 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45591         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45592         * sysdeps/x86_64/tst-mallocalign1.c: New file.
45594 2012-05-17  Andreas Jaeger  <aj@suse.de>
45595             Carlos O'Donell  <carlos_odonell@mentor.com>
45597         [BZ #14059]
45598         * sysdeps/x86_64/multiarch/init-arch.h
45599         (bit_YMM_Usable): Rename to...
45600         (bit_AVX_Usable): ... this.
45601         (bit_FMA4_Usable): New macro.
45602         (bit_XMM_state): New macro.
45603         (bit_YMM_state): New macro.
45604         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45605         [__ASSEMBLER__] (index_AVX_Usable): ... this.
45606         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45607         (CPUID_OSXSAVE): New macro.
45608         (CPUID_AVX): New macro.
45609         (CPUID_FMA4): New macro.
45610         (index_YMM_Usable): Rename to...
45611         (index_AVX_Usable): ... this.
45612         (HAS_AVX): Use HAS_ARCH_FEATURE.
45613         (HAS_FMA4): Likewise.
45614         (HAS_YMM_USABLE): Remove.
45615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45616         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45617         are present.
45618         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45619         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45620         * sysdeps/x86_64/multiarch/Makefile: Likewise.
45621         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45622         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45624 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45626         * math/libm-test.c: Support platforms without multiple rounding modes.
45627         * math/bug-nextafter.c: Support platforms without FP exceptions.
45628         * math/bug-nexttoward.c: Likewise.
45629         * math/test-fenv.c: Likewise.
45630         * math/test-misc.c: Likewise.
45631         * stdlib/bug-getcontext.c: Likewise.
45633 2012-05-17  Andreas Jaeger  <aj@suse.de>
45635         * manual/examples/search.c (critter_cmp): Change signature to
45636         avoid warnings.
45637         * manual/string.texi (Collation Functions): Likewise.
45639 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45641         * bits/types.h: Fold copyright years.
45642         * bits/typesizes.h: Likewise.
45643         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45645         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45646         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45647         * time/time.h: Likewise.
45649 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
45651         [BZ #208]
45652         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45653         in instead of returning them.  Return void.
45654         (__libc_mallinfo): Accumulate over all arenas.
45655         (__malloc_stats): Adjust for change in int_mallinfo interface.
45657 2012-05-16  Roland McGrath  <roland@hack.frob.com>
45659         [BZ #10375]
45660         * configure.in (NM): Add AC_CHECK_TOOL for it.
45661         (libc_extra_cflags): New substituted variable.
45662         Check for -fstack-protector being used implicitly.
45663         * configure: Regenerated.
45664         * config.make.in (config-extra-cflags): New variable,
45665         gets @libc_extra_cflags@.
45666         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45668         [BZ #10375]
45669         * configure.in: Check for _FORTIFY_SOURCE being predefined.
45670         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45671         * configure: Regenerated.
45672         * config.make.in (CPPUNDEFS): New substituted variable.
45673         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45674         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45675         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45677 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45679         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45680         (mq_attr): Use __syscall_slong_t.
45682 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45684         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45685         Check __x86_64__ instead of __WORDSIZE.
45686         (_STAT_VER_LINUX): Likewise.
45687         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
45688         __syscall_ulong_t and __syscall_slong_t.
45689         (stat64): Likewise.
45691 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45693         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45695 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45697         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45699 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45701         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45702         __syscall_ulong_t.
45704         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45705         include <bits/wordsize.h>.  Check __x86_64__ instead of
45706         __WORDSIZE.
45707         (greg_t): Use "__extension__ long long int" if __x86_64__ is
45708         defined.
45709         (mcontext_t): Replace "unsigned long" with "unsigned long long".
45711         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45712         include <bits/wordsize.h>.  Check __x86_64__ instead of
45713         __WORDSIZE.
45714         (user_regs_struct): Use "__extension__ unsigned long long"
45715         instead of "unsigned long" if __x86_64__ is defined.
45716         (user): Likewise.  Pad after pointer field if __ILP32__ is
45717         defined.
45719 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
45721         * configure.in (makeinfo): Require version 4.5 or later.  Allow
45722         versions 5 to 9.
45723         * configure: Regenerated.
45724         * manual/install.texi (texinfo): Increase version requirement to
45725         4.5 or later.
45726         * INSTALL: Regenerated.
45728         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45730 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45732         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45734         * sysdeps/x86_64/x32/ffs.c: New file.
45736         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45737         __syscall_ulong_t.
45738         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45739         defined.  Use __syscall_ulong_t.
45740         (shminfo): Use __syscall_ulong_t.
45741         (shm_info): Likewise.
45743         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45744         __syscall_ulong_t.
45746         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45747         <bits/wordsize.h>.
45748         (msgqnum_t): Use __syscall_ulong_t.
45749         (msglen_t): Likewise.
45750         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
45751         __syscall_ulong_t.
45753         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45754         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45756         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45758         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45759         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45761         * sysvipc/sys/msg.h (msgbuf): Replace long int with
45762         __syscall_slong_t.
45764         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45765         include <bits/wordsize.h>.  Check __x86_64__ instead of
45766         __WORDSIZE.
45768         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45769         "unsigned long long int" if __x86_64__ is defined.
45770         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45772         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45773         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45774         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45776         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45777         <stdint.h>.
45778         (GET_PC): Cast to uintptr_t first.
45779         (GET_FRAME): Likewise.
45780         (GET_STACK): Likewise.
45782         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45783         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45784         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45785         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45786         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45787         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45788         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45789         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45790         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45791         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45792         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45793         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45795         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45796         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45797         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45799         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45800         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45801         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45802         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45803         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45804         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45805         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45806         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45809         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45810         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45812 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
45814         * Makerules (+depfiles): Also collect depfiles from .oS in
45815         $(extra-objs).
45816         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45817         .oS, $(libnldbl-routines)).
45819         * Makerules (native-compile-mkdep-flags): Define.
45820         * sunrpc/Makefile (extra-objs): Add $(addprefix
45821         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45822         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45823         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
45824         calling $(make-target-directory).
45826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45828         * bits/types.h (__snseconds_t): Removed.
45829         * time/time.h (struct timespec): Replace __snseconds_t with
45830         __syscall_slong_t.
45831         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45832         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45833         Likewise.
45834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45835         (__SNSECONDS_T_TYPE): Likewise.
45836         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45837         (__SNSECONDS_T_TYPE): Likewise.
45838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45839         (__SNSECONDS_T_TYPE): Likewise.
45841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45843         * sysdeps/mach/hurd/bits/typesizes.h
45844         (__SYSCALL_SLONG_TYPE): New macro.
45845         (__SYSCALL_ULONG_TYPE): Likewise.
45847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45849         * bits/types.h (__syscall_slong_t): New type.
45850         (__syscall_ulong_t): Likewise.
45852         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45853         (__SYSCALL_ULONG_TYPE): Likewise.
45854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45855         (__SYSCALL_SLONG_TYPE): Likewise.
45856         (__SYSCALL_ULONG_TYPE): Likewise.
45857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45858         (__SYSCALL_SLONG_TYPE): Likewise.
45859         (__SYSCALL_ULONG_TYPE): Likewise.
45860         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45861         (__SYSCALL_SLONG_TYPE): Likewise.
45862         (__SYSCALL_ULONG_TYPE): Likewise.
45864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45866         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45867         Add sigaltstack-offsets.sym.
45868         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45869         <sigaltstack-offsets.h>.
45870         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
45871         longjmp_msg pointer.
45872         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
45873         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45874         signal stack.
45875         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45877 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
45879         * elf/stackguard-macros.h: Remove file.
45880         * sysdeps/generic/stackguard-macros.h: New file.
45881         * sysdeps/i386/stackguard-macros.h: Likewise.
45882         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45883         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45884         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45885         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45886         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45887         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45888         * sysdeps/x86_64/stackguard-macros.h: Likewise.
45889         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45890         <elf/stackguard-macros.h>.
45892         [BZ #14109]
45893         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45894         __aligned__ in attribute.
45895         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45896         (gregset_t): Likewise.
45898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45900         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45901         * sysdeps/x86_64/64/Implies-after: Here.  New file.
45902         * sysdeps/x86_64/x32/Implies-after: New file.
45904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45906         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45907         and access return value for _dl_profile_fixup.  Use R10_LP to
45908         load frame size.
45910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45912         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45916         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45917         * sysdeps/x86_64/x32/sysdep.h: New file.
45919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45921         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45922         * sysdeps/x86_64/setjmp.S: Likewise.
45924 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45926         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45927         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45928         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45929         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45930         remove unused global constant.
45932 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
45934         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45935         include of <not-cancel.h>.
45937 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45939         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45941 2012-05-15  Jeff Law  <law@redhat.com>
45942             Andreas Jaeger  <aj@suse.de>
45944         [BZ #13594]
45945         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45946         out from...
45947         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45948         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45949         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45950         code changing __hst_map_handle.map.
45952 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45954         * configure.in (sysnames): Look for Implies-before and Implies-after
45955         files.
45956         * configure: Regenerated.
45958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45960         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45961         8-byte data alignment with LP_SIZE alignment.
45963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45965         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45966         into R10_LP.
45968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45970         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45974         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45975         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45976         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45977         Likewise.
45978         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45982         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45983         (stackinfo_sub_sp): Likewise.
45985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45987         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45988         RAX_LP.
45990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45992         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45993         into R*_LP.
45995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45997         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45998         sizes into R*_LP.
46000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46002         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46006         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46007         into R11_LP and load __x86_64_shared_cache_size_half into
46008         R8_LP.
46010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46012         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46013         R8_LP.
46015 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46018         logb for POWER7.
46019         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46020         logbf for POWER7.
46021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46022         logbl for POWER7.
46023         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46024         powerpc32/power7/fpu/s_logb.c via #include.
46025         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46026         powerpc32/power7/fpu/s_logbf.c via #include.
46027         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46028         powerpc32/power7/fpu/s_logbl.c via #include.
46030 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46032         * README.libm: Remove file.
46034 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46036         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46037         count for x32.  Use R*_LP and omit operand-size suffix.
46039 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46041         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46042         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46043         * sysdeps/x86_64/x32/shlib-versions: New file.
46045 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46047         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46048         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46049         Use _dl_fatal_printf instead.
46051 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46053         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46054         set if not set by the user.  Do not allow for being unset.
46055         * sysdeps/unix/sysv/linux/configure: Regenerated.
46057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46059         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46060         the `q' suffix from lea and replace .quad with ASM_ADDR.
46062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46065         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46066         instead of $17.
46067         (PTR_DEMANGLE): Likewise.
46069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46071         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46072         (LP_OP): Likewise.
46073         (ASM_ADDR): Likewise.
46074         (RAX_LP): Likewise.
46075         (RBP_LP): Likewise.
46076         (RBX_LP): Likewise.
46077         (RCX_LP): Likewise.
46078         (RDI_LP): Likewise.
46079         (RSI_LP): Likewise.
46080         (RSP_LP): Likewise.
46081         (R8_LP): Likewise.
46082         (R9_LP): Likewise.
46083         (R10_LP): Likewise.
46084         (R10_LP): Likewise.
46085         (R11_LP): Likewise.
46086         (R12_LP): Likewise.
46087         (R13_LP): Likewise.
46088         (R14_LP): Likewise.
46089         (R15_LP): Likewise.
46091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46093         * sysdeps/x86_64/x32/dl-machine.h: New file.
46095 2012-05-14  Andreas Jaeger  <aj@suse.de>
46097         * manual/Makefile (subdir): Remove export of subdir.
46098         (all): Remove target.
46099         (.PHONY): Remove all from list.
46100         (mkinstalldirs): Remove.
46101         (.PHONY): Remove installdirs from list.
46102         ($(inst_infodir)/libc.info): Use make-target-directory.
46103         (installdirs): Remove.
46104         (subdir_%): Remove.
46105         (glibc-targets): Remove.
46106         (lib): Remove.
46107         (stubs): Remove.
46108         ($(objpfx)stubs ../po/manual.pot): Remove.
46109         ($(objpfx)stamp%): Remove.
46110         (make-target-directory): Remove.
46111         (subdir_install): Remove.
46112         (routines): Remove.
46113         (aux): Remove.
46114         (sources): Remove.
46115         (objects): Remove.
46116         (headers): Remove.
46118         [BZ #13750]
46119         * manual/.gitignore: Remove, it's not needed anymore.
46120         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46121         all files in it.
46122         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46123         directory.
46124         (texis): Renamed to $(objpfx)texis.
46125         (texis-path): New, contains path to generated files.
46126         (chapters.%): Use texis-path for complete path, add extra argument
46127         libc-texinfo.sh.
46128         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46129         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46130         (summary,texi, stamp-summary): Use complete path of
46131         files. Generate files in build dir.
46132         (dir-add.texi): Build in build dir.
46133         (libm-err.texi,stamp-libm-err): Likewise.
46134         (version.texi, stamp-version): Likewise.
46135         (.%c.texi): Likewise.
46136         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46137         (mostlyclean): Remove target.
46138         (realclean): Remove target.
46139         (generated): Add new variable with contents from mostlyclean and
46140         realclean, remove entries duplicated in common-mostlyclean, add
46141         stamp-libm-err and stamp-version.
46142         (generated-dirs): Add libc directory.
46143         ($(inst_infodir)/libc.info): Install files from build dir.
46145         * manual/install.texi (Configuring and compiling): Adjust since
46146         the info files are not part of the tar ball anymore.
46148 2012-05-14  Andreas Jaeger  <aj@suse.de>
46150         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46151         variable.
46153 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46155         [BZ #13717]
46156         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46157         to 2.2.0 where earlier.
46158         * sysdeps/unix/sysv/linux/configure: Regenerated.
46159         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46160         Remove conditional code.
46161         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46162         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46163         Remove conditional code.
46164         [!__NR_lchown]: Likewise.
46165         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46166         [__NR_lchown]: Likewise.
46167         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46168         comment referencing __ASSUME_LCHOWN_SYSCALL.
46169         * sysdeps/unix/sysv/linux/i386/sigaction.c
46170         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46171         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46172         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46173         Remove conditional code.
46174         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46175         (__protocol_available): Remove #if 0 code.
46176         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46177         conditional code.
46178         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46179         * sysdeps/unix/sysv/linux/kernel-features.h
46180         (__ASSUME_GETCWD_SYSCALL): Don't define.
46181         (__ASSUME_REALTIME_SIGNALS): Likewise.
46182         (__ASSUME_PREAD_SYSCALL): Likewise.
46183         (__ASSUME_PWRITE_SYSCALL): Likewise.
46184         (__ASSUME_POLL_SYSCALL): Likewise.
46185         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46186         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46187         non-SPARC.
46188         (__ASSUME_SIOCGIFNAME): Don't define.
46189         (__ASSUME_MSG_NOSIGNAL): Likewise.
46190         (__ASSUME_SENDFILE): Define unconditionally.
46191         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46192         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46193         conditional code.
46194         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46195         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46196         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46197         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46198         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46199         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46200         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46202         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46203         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46205         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46206         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46208         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46209         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46211         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46212         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46214         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46217         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46220         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46223         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46225         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46226         Remove conditional code.
46227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46228         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46229         Remove conditional code.
46230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46231         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46232         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46233         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46234         Remove conditional code.
46235         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46236         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46237         Remove conditional code.
46238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46239         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46240         Remove conditional code.
46241         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46242         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46243         Remove conditional code.
46244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46245         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46246         Remove conditional code.
46247         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46248         * sysdeps/unix/sysv/linux/sh/pwrite64.c
46249         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46251         * sysdeps/unix/sysv/linux/sigaction.c
46252         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46253         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46254         * sysdeps/unix/sysv/linux/sigpending.c
46255         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46256         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46257         * sysdeps/unix/sysv/linux/sigprocmask.c
46258         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46259         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46260         * sysdeps/unix/sysv/linux/sigsuspend.c
46261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46263         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46264         (__libc_missing_rt_sigs): Remove.
46265         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46266         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46267         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46268         Remove conditional code.
46269         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46270         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46271         return 1.
46272         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46273         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46274         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46275         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46277 2012-05-14  Andreas Jaeger  <aj@suse.de>
46279         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46280         it's not used in glibc.
46281         (__coshm1): Likewise.
46282         (__acosh1p): Likewise.
46283         (__sgn): Likewise.
46285         * manual/string.texi (Copying and Concatenation): Add missing
46286         variable in concat example.
46287         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46289 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46291         [BZ #14103]
46292         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46293         __builtin_clzl with __builtin_clzll.
46295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46297         [BZ #14104]
46298         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46299         libc_freeres_ptr.
46301 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46303         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46304         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46305         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46306         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46308 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
46310         * NEWS: Update ia64 info.
46312 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
46314         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46315         used as bcopy.
46317 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
46319         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46320         * sysdeps/unix/syscalls.list (dup3): Likewise.
46321         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46322         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46324 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46326         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46327         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46329 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46331         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46332         thread pointer.
46333         (TLS_IE): Use mov/add instead of movq/addq to load thread
46334         pointer.
46335         (TLS_GD_PREFIX): New.
46336         (TLS_GD): Use it.
46338 2012-05-11  David S. Miller  <davem@davemloft.net>
46340         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46341         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46342         (_FPU_SETCW): Likewise.
46344 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46346         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46347         is 32-byte aligned.
46349 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
46351         [BZ #11837]
46352         * iconvdata/gb18030.c: Update tables.
46353         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
46354         characters specially.
46355         (BODY for TO_LOOP): Add encoding of missing ranges.
46357 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
46359         [BZ #13673]
46360         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46361         * sysdeps/mach/hurd/dup3.c: Likewise.
46362         * sysdeps/mach/hurd/readlinkat.c: Likewise.
46363         * sysdeps/powerpc/memmove.c:: Likewise.
46365 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46367         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46368         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46370 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46372         * elf/elf.h (R_X86_64_RELATIVE64): New.
46373         (R_X86_64_NUM): Updated.
46374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46375         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
46376         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46377         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46378         tst-quad1pie tst-quad2pie
46379         (modules-names): Add tst-quadmod1 tst-quadmod2.
46380         ($(objpfx)tst-quad1): New dependency.
46381         ($(objpfx)tst-quad2): Likewise.
46382         ($(objpfx)tst-quad1pie): Likewise.
46383         ($(objpfx)tst-quad2pie): Likewise.
46384         * sysdeps/x86_64/tst-quad1.c: New file.
46385         * sysdeps/x86_64/tst-quad1pie.c: New file.
46386         * sysdeps/x86_64/tst-quad2.c: Likewise.
46387         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46388         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46389         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46390         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46391         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46395         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46396         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46397         * streams/stropts.h (t_scalar_t): Define type.
46399         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46400         (_PATH_PRESERVE): Set to "/var/lib".
46401         (_PATH_RWHODIR): Set to "/var/spool/rwho".
46403         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46404         instead of int.
46406         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46407         if __dir_mkfile succeeded.
46409         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46410         checking for _hurd_dtablesize.  Unlock it right after having
46411         finished _hurd_dtable allocation.
46413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46415         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46416         * sysdeps/mach/hurd/configure: Regenerated.
46417         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46418         special-casing to...
46419         * sysdeps/gnu/configure.in: ... this new file.
46420         * sysdeps/unix/sysv/linux/configure: Regenerated.
46421         * sysdeps/gnu/configure: New generated file.
46423         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46424         for Linux: use nsec instead of usec, as well as:
46425         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46426         members of type struct timespec.
46427         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46428         New macros.
46429         (struct stat64): Likewise.
46430         (_STATBUF_ST_NSEC): New macro.
46431         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46433         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46434         __strtoul_internal rather than strtoul.
46436 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46438         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46439         and reject them.
46441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46443         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46444         which preserves existing values.
46445         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46447 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46449         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46450         TIMEOUT values.  Return EINVAL for NFDS values either negative or
46451         greater than FD_SETSIZE.
46453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46455         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46456         allocated, call __vm_protect to finish enabling the existing space, and
46457         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46458         allocate the remainder.
46460 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46462         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46463         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
46465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46467         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46468         sysdeps/mach/hurd/readlink.c.
46470         * posix/tst-sysconf.c (posix_options): Only use
46471         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46472         _POSIX_SYNCHRONIZED_IO when they are defined
46473         * sysdeps/mach/hurd/bits/posix_opt.h:
46474         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46475         (_XOPEN_REALTIME): Undefine macro.
46476         (_XOPEN_REALTIME_THREADS): Undefine macro.
46477         (_XOPEN_SHM): Undefine macro.
46478         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46479         macro to -1.
46480         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46481         macro to -1.
46482         (_POSIX_ASYNC_IO): Undefine macro.
46483         (_POSIX_PRIORITIZED_IO): Undefine macro.
46484         (_POSIX_SPIN_LOCKS): Define macro to -1.
46486         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46487         SA_NODEFER, SA_RESETHAND.
46488         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46489         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46490         F_DUPFD_CLOEXEC.
46492 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46494         * elf/Makefile (pldd-modules): Define unconditionally.
46496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46498         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46502         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46503         Return ENOENT when name is empty.
46504         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46508         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46510         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46514         Fix mlock in all cases except non-readable pages.
46515         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46516         instead of VM_PROT_ALL as parameter to __vm_wire function.
46518         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46519         (__mkdir): When path is `/', just fail with EEXIST.
46520         * sysdeps/mach/hurd/mkdirat.c: Likewise.
46522 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46524         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46525         <sys/uio.h> (for writev).
46526         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46527         and <sys/param.h> (for MIN).
46529 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46531         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46532         REQUESTED_TIME.  Properly set the remaining time and return EINTR
46533         if interrupted.
46535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46537         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46538         Depend on against $(link-rpcuserlibs).
46540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46542         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46543         (__libc_stack_end): Do not use attribute_relro.
46544         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46545         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46546         to libthread-provided value.
46547         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46548         attribute_relro.
46550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46552         [BZ #3748]
46553         * bits/libc-lock.h (__libc_once_get): New macro.
46554         * sysdeps/mach/bits/libc-lock.h: Likewise.
46555         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46557         instead of using implementation details.
46559         * libio/fileops.c: Unconditionally include <kernel-features.h>.
46560         * libio/freopen.c: Likewise.
46561         * libio/freopen64.c: Likewise.
46562         * misc/syslog.c: Likewise.
46563         * nscd/connections.c: Likewise.
46564         * nscd/netgroupcache.c: Likewise.
46565         * sysdeps/posix/getcwd.c: Likewise.
46567 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46569         * math/w_ilogbf.c: Add #include <limits.h>.
46571 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46573         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46574         path instead of returning without unlocking.
46576         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46577         immediate-write ioctls.
46578         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46582         * sysdeps/mach/hurd/i386/init-first.c (init): Use
46583         __builtin_frame_address instead of making assumptions about the
46584         location of the return address relative to DATA.  Force early load of
46585         the return address.
46586         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46587         __builtin_frame_address.
46589         dup3 for GNU Hurd.
46590         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46591         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
46592         implement dup3 and do some further code clean-ups.
46593         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46594         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46598         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46600         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46601         HURD_CRITICAL_END around holding _hurd_dtable_lock.
46602         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46603         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46604         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46605         d->port.lock.
46607         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46608         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
46609         when handler == SIG_ERR, not when handler != SIG_ERR.
46611 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46613         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46614         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46615         definitions.
46617         accept4 for GNU Hurd.
46618         * include/sys/socket.h (__libc_accept4): New prototype.
46619         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
46620         to implement __libc_accept4.
46621         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46622         __libc_accept4.
46623         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46625         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46626         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46627         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46628         signal-defines.sym.
46630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46632         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46636         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46637         assertion on O_CLOEXEC flag.
46638         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46639         * hurd/intern-fd.c: Likewise.
46640         * hurd/port2fd.c: Likewise.
46642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46644         [BZ #3906]
46645         * bits/in.h (IPV6_PKTINFO): Define new macro.
46646         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46648 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46650         [BZ #13954]
46651         [BZ #13955]
46652         [BZ #13956]
46653         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46654         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46655         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46656         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46657         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46658         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46659         * math/libm-test.inc (logb_test) : Additional logb tests.
46661 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
46662             Andreas Jaeger  <aj@suse.de>
46664         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46665         * configure: Regenerated.
46666         * config.h.in (LINK_OBSOLETE_RPC): New macro.
46667         * config.make.in (link-obsolete-rpc): New substituted variable.
46668         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46669         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46670         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46671         (shared-only-routines): Don't set it under [link-obsolete-rpc],
46672         so that libc.a contains the symbols.
46673         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46674         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46675         * sunrpc/auth_none.c: Likewise.
46676         * sunrpc/auth_unix.c: Likewise.
46677         * sunrpc/authdes_prot.c: Likewise.
46678         * sunrpc/authuxprot.c: Likewise.
46679         * sunrpc/clnt_gen.c: Likewise.
46680         * sunrpc/clnt_perr.c: Likewise.
46681         * sunrpc/clnt_raw.c: Likewise.
46682         * sunrpc/clnt_simp.c: Likewise.
46683         * sunrpc/clnt_tcp.c: Likewise.
46684         * sunrpc/clnt_udp.c: Likewise.
46685         * sunrpc/clnt_unix.c: Likewise.
46686         * sunrpc/des_crypt.c: Likewise.
46687         * sunrpc/des_soft.c: Likewise.
46688         * sunrpc/get_myaddr.c: Likewise.
46689         * sunrpc/key_call.c: Likewise.
46690         * sunrpc/key_prot.c: Likewise.
46691         * sunrpc/netname.c: Likewise.
46692         * sunrpc/pm_getmaps.c: Likewise.
46693         * sunrpc/pm_getport.c: Likewise.
46694         * sunrpc/pmap_clnt.c: Likewise.
46695         * sunrpc/pmap_prot.c: Likewise.
46696         * sunrpc/pmap_prot2.c: Likewise.
46697         * sunrpc/pmap_rmt.c: Likewise.
46698         * sunrpc/publickey.c: Likewise.
46699         * sunrpc/rpc_cmsg.c: Likewise.
46700         * sunrpc/rpc_common.c: Likewise.
46701         * sunrpc/rpc_dtable.c: Likewise.
46702         * sunrpc/rpc_prot.c: Likewise.
46703         * sunrpc/rpc_thread.c: Likewise.
46704         * sunrpc/rtime.c: Likewise.
46705         * sunrpc/svc.c: Likewise.
46706         * sunrpc/svc_auth.c: Likewise.
46707         * sunrpc/svc_raw.c: Likewise.
46708         * sunrpc/svc_run.c: Likewise.
46709         * sunrpc/svc_tcp.c: Likewise.
46710         * sunrpc/svc_udp.c: Likewise.
46711         * sunrpc/svc_unix.c: Likewise.
46712         * sunrpc/svcauth_des.c: Likewise.
46713         * sunrpc/xcrypt.c: Likewise.
46714         * sunrpc/xdr.c: Likewise.
46715         * sunrpc/xdr_array.c: Likewise.
46716         * sunrpc/xdr_float.c: Likewise.
46717         * sunrpc/xdr_intXX_t.c: Likewise.
46718         * sunrpc/xdr_mem.c: Likewise.
46719         * sunrpc/xdr_rec.c: Likewise.
46720         * sunrpc/xdr_ref.c: Likewise.
46721         * sunrpc/xdr_sizeof.c: Likewise.
46722         * sunrpc/xdr_stdio.c: Likewise.
46724 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46726         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46727         change.  Update copyright years.
46729 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46731         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46733 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
46734             Joseph Myers  <joseph@codesourcery.com>
46735             Paul Pluzhnikov  <ppluzhnikov@google.com>
46737         [BZ #14012]
46738         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46739         requiring rpcgen.
46740         [cross-compiling] (extra-libs): Likewise.
46741         [cross-compiling] (extra-libs-others): Likewise.
46742         [cross-compiling] (librpcsvc-routines): Likewise.
46743         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46744         [cross-compiling] (omit-deps): Likewise.
46745         (sunrpc-CPPFLAGS): New variable.
46746         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46747         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46748         (cross-rpcgen-objs): New variable.
46749         (extra-objs): Append $(cross-rpcgen-objs).
46750         ($(cross-rpcgen-objs)): New rule.
46751         ($(objpfx)cross-rpcgen): Likewise.
46752         (rpcgen-cmd): Define to use $(built-program-file).  Expand
46753         comment.
46754         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46755         ($(objpfx)x%.stmp): Likewise.
46756         * sunrpc/proto.h [IS_IN_build] (_): Define.
46757         [IS_IN_build] (_libc_intl_domainname): Likewise.
46759 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46762         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46763         and R_X86_64_TPOFF64.
46765 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46767         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46768         sysdeps/unix/sysv/syscalls.list.
46769         (stime): Likewise.
46770         (utime): Likewise.
46771         * sysdeps/unix/sysv/syscalls.list: Remove file.
46773 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
46775         [BZ #3440]
46776         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46777         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46778         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46779         (__LC_IDENTIFICATION): Make these macros useful in #if
46780         expressions, as required by C99.
46782 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
46784         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46785         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
46786         after this.
46788 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
46790         * stdlib/longlong.h: Updated from GCC.
46792 2012-05-09  Andreas Jaeger  <aj@suse.de>
46794         * nscd/nscd.c (run_modes): Make named enum, reorder so that
46795         default is first entry.
46796         (run_mode): Set type.
46797         (main): Remove informal message about syslog.
46798         (options): Fix typo.
46800         [BZ #14053]
46801         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46802         to asm.
46803         (lrint): Likewise.
46804         (llrintf): Likewise.
46805         (llrint): Likewise.
46806         (rint): Likewise.
46807         (rintf): Likewise.
46808         (nearbyint): Likewise.
46809         (nearbyintf): Likewise.
46811 2012-05-09  Andreas Jaeger  <aj@suse.de>
46812             Pedro Alves  <palves@redhat.com>
46814         * nscd/nscd.c (run_mode): Use enum.
46815         (main): Cleanup coding style issue.
46817 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
46818             Andreas Jaeger  <aj@suse.de>
46820         * nscd/nscd.c (go_background): Replaced with...
46821         (run_mode): ... this.
46822         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46823         (options): Add -F --foreground.
46824         (main): Implement it.
46825         (parse_opt): Parse it.
46827 2012-05-09  Andreas Jaeger  <aj@suse.de>
46829         [BZ #14083]
46830         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46831         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46832         -Wconversion warning.
46833         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46834         Likewise.
46836 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
46838         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
46839         == 0.
46840         (LC_ALL): Use macro-int-constant.
46841         (LC_COLLATE): Likewise.
46842         (LC_CTYPE): Likewise.
46843         (LC_MESSAGES): Likewise.
46844         (LC_MONETARY): Likewise.
46845         (LC_NUMERIC): Likewise.
46846         (LC_TIME): Likewise.
46847         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46848         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46850         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46851         Specify type.
46852         [C99-based standards] (float_t): Expect type.
46853         [C99-based standards] (double_t): Expect type.
46854         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
46855         type.
46856         [C99-based standards] (HUGE_VALL): Likewise.
46857         [C99-based standards] (INFINITY): Likewise.
46858         [C99-based standards] (NAN): Likewise.
46859         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46860         [C99-based standards] (FP_NAN): Likewise.
46861         [C99-based standards] (FP_NORMAL): Likewise.
46862         [C99-based standards] (FP_SUBNORMAL): Likewise.
46863         [C99-based standards] (FP_ZERO): Likewise.
46864         [C99-based standards] (FP_FAST_FMA): Use
46865         optional-macro-int-constant.  Specify type.  Require == 1.
46866         [C99-based standards] (FP_FAST_FMAF): Likewise.
46867         [C99-based standards] (FP_FAST_FMAL): Likewise.
46868         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46869         [C99-based standards] (FP_ILOGBNAN): Likewise.
46870         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46871         Specify type.
46872         [C99-based standards] (MATH_ERREXCEPT): Likewise.
46873         [C99-based standards] (math_errhandling): Specify type.
46874         [ISO99 || ISO11] (signgam): Do not allow.
46875         [non-C99-based standards] (copysignf): Do not allow.
46876         [non-C99-based standards] (exp2f): Likewise.
46877         [non-C99-based standards] (log2f): Likewise.
46878         [non-C99-based standards] (modff): Allow.
46879         [non-C99-based standards] (erff): Do not allow.
46880         [non-C99-based standards] (erfcf): Likewise.
46881         [non-C99-based standards] (gammaf): Likewise.
46882         [non-C99-based standards] (hypotf): Likewise.
46883         [non-C99-based standards] (j0f): Likewise.
46884         [non-C99-based standards] (j1f): Likewise.
46885         [non-C99-based standards] (jnf): Likewise.
46886         [non-C99-based standards] (lgammaf): Likewise.
46887         [non-C99-based standards] (tgammaf): Likewise.
46888         [non-C99-based standards] (y0f): Likewise.
46889         [non-C99-based standards] (y1f): Likewise.
46890         [non-C99-based standards] (ynf): Likewise.
46891         [non-C99-based standards] (isnanf): Likewise.
46892         [non-C99-based standards] (acoshf): Likewise.
46893         [non-C99-based standards] (asinhf): Likewise.
46894         [non-C99-based standards] (atanhf): Likewise.
46895         [non-C99-based standards] (cbrtf): Likewise.
46896         [non-C99-based standards] (expm1f): Likewise.
46897         [non-C99-based standards] (ilogbf): Likewise.
46898         [non-C99-based standards] (log1pf): Likewise.
46899         [non-C99-based standards] (logbf): Likewise.
46900         [non-C99-based standards] (nextafterf): Likewise.
46901         [non-C99-based standards] (remainderf): Likewise.
46902         [non-C99-based standards] (rintf): Likewise.
46903         [non-C99-based standards] (scalbf): Likewise.
46904         [non-C99-based standards] (copysignl): Likewise.
46905         [non-C99-based standards] (exp2l): Likewise.
46906         [non-C99-based standards] (log2l): Likewise.
46907         [non-C99-based standards] (modfl): Allow.
46908         [non-C99-based standards] (erfl): Do not allow.
46909         [non-C99-based standards] (erfcl): Likewise.
46910         [non-C99-based standards] (gammal): Likewise.
46911         [non-C99-based standards] (hypotl): Likewise.
46912         [non-C99-based standards] (j0l): Likewise.
46913         [non-C99-based standards] (j1l): Likewise.
46914         [non-C99-based standards] (jnl): Likewise.
46915         [non-C99-based standards] (lgammal): Likewise.
46916         [non-C99-based standards] (tgammal): Likewise.
46917         [non-C99-based standards] (y0l): Likewise.
46918         [non-C99-based standards] (y1l): Likewise.
46919         [non-C99-based standards] (ynl): Likewise.
46920         [non-C99-based standards] (isnanl): Likewise.
46921         [non-C99-based standards] (acoshl): Likewise.
46922         [non-C99-based standards] (asinhl): Likewise.
46923         [non-C99-based standards] (atanhl): Likewise.
46924         [non-C99-based standards] (cbrtl): Likewise.
46925         [non-C99-based standards] (expm1l): Likewise.
46926         [non-C99-based standards] (ilogbl): Likewise.
46927         [non-C99-based standards] (log1pl): Likewise.
46928         [non-C99-based standards] (logbl): Likewise.
46929         [non-C99-based standards] (nextafterl): Likewise.
46930         [non-C99-based standards] (remainderl): Likewise.
46931         [non-C99-based standards] (rintl): Likewise.
46932         [non-C99-based standards] (scalbl): Likewise.
46933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46934         [non-C99-based standards] (FP_*): Do not allow.
46935         [C99-based standards] (FP_*): Change to
46936         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46937         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46938         allow.
46939         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46940         (SIG_ERR): Likewise.
46941         [X/Open-based standards] (SIG_HOLD): Likewise.
46942         (SIG_IGN): Likewise.
46943         (SIGABRT): Use macro-int-constant.  Specify type.  Require
46944         positive value.
46945         (SIGFPE): Likewise.
46946         (SIGILL): Likewise.
46947         (SIGINT): Likewise.
46948         (SIGSEGV): Likewise.
46949         (SIGTER): Likewise.
46950         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46951         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46952         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46953         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46954         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46955         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46956         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46957         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46958         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46959         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46960         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46961         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46962         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46963         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46964         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46965         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46966         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46967         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46968         [X/Open-based standards] (SIGTRAP): Likewise.
46969         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46970         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46971         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46972         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46973         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46974         allow.
46976 2012-05-08  Ian Wienand  <ianw@vmware.com>
46978         [BZ #14080]
46979         * time/tzset.c (__tzset_parse_tz): Update default rules for
46980         daylight time changes in the Energy Policy Act of 2005.
46982 2012-05-09  Andreas Jaeger  <aj@suse.de>
46984         [BZ #13983]
46985         * elf/ldconfig.c (parse_conf): Change string to make clear that
46986         ldconfig only issued a warning if ld.so.conf does not exist.
46988 2012-05-08  David S. Miller  <davem@davemloft.net>
46990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46991         movxtod instead of popping the value on the stack.
46993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46995 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
46997         * config.h.in: Add HAVE_ARM_PCS_VFP.
46999 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47001         [BZ #13979]
47002         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47003         checking but the checks are disabled for any reason.
47005 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47007         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47008         and ELF64_R_TYPE with ELFW(R_TYPE).
47010 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47012         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47013         (ulimit): Likewise.
47015         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47016         (settimeofday): Likewise.
47018 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47020         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47021         a struct th_u2 inside the union, and move tu_block/tu_code into
47022         a new th_u3 union of tu_block/tu_code inside of that.  Move
47023         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47024         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47025         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47026         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47027         (th_stuff): Change to th_u1.tu_stuff.
47028         (th_data): Define.
47029         (th_msg): Change to th_u1.th_u2.tu_data.
47031 2012-05-07  David S. Miller  <davem@davemloft.net>
47033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47035         [BZ #14074]
47036         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47037         (SETUP_PIC_REG): Use it.
47038         (SETUP_PIC_REG_LEAF): Use it.
47040 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47042         [BZ #13885]
47043         [BZ #13923]
47044         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47045         USE_AS_EXPM1L.
47046         (EXPL_FINITE): Likewise.
47047         (FLDLOG): Likewise.
47048         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47049         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47050         e_expl.S.
47051         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47052         USE_AS_EXPM1L.
47053         (EXPL_FINITE): Likewise.
47054         (FLDLOG): Likewise.
47055         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47056         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47057         e_expl.S.
47058         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47059         test of -max_value argument for long double.
47060         * sysdeps/i386/fpu/libm-test-ulps: Update.
47061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47063 2012-05-06  David S. Miller  <davem@davemloft.net>
47065         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47066         quad soft-float symbols whose references which are compiler
47067         generated.
47068         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47070 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47072         [BZ #13884]
47073         [BZ #13914]
47074         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47075         USE_AS_EXP10L.
47076         (EXPL_FINITE): Likewise.
47077         (FLDLOG): Likewise.
47078         (c0): Likewise.
47079         (c1): Likewise.
47080         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47081         Adjust comments for base varying.
47082         (__expl_finite): Change alias to EXPL_FINITE.
47083         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47084         e_expl.S.
47085         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47086         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47087         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47088         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47089         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47090         USE_AS_EXP10L.
47091         (EXPL_FINITE): Likewise.
47092         (FLDLOG): Likewise.
47093         (c0): Likewise.
47094         (c1): Likewise.
47095         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47096         Adjust comments for base varying.
47097         (__expl_finite): Change alias to EXPL_FINITE.
47098         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47099         tests for bugs.
47100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47102         [BZ #14064]
47103         * math/libm-test.inc (check_float_internal): Correct ulp
47104         calculation for subnormal expected results.
47106 2012-05-06  Andreas Jaeger  <aj@suse.de>
47108         * Makeconfig (+math-flags): New, set to -frounding-math.
47109         (+cflags): Add +math-flags so that all of glibc gets compiled with
47110         it.
47112         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47114 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
47116         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47117         Disable one test.
47119         [BZ #13787]
47120         [BZ #13922]
47121         [BZ #14036]
47122         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47123         (__ieee754_expl): Allow for and saturate large arguments.
47124         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47125         (u_threshold): Likewise.
47126         (__exp): Call __ieee754_exp before checking for overflow and
47127         underflow.
47128         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47129         (u_threshold): Likewise.
47130         (__expf): Call __ieee754_expf before checking for overflow and
47131         underflow.
47132         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47133         (u_threshold): Likewise.
47134         (__expl): Call __ieee754_expl before checking for overflow and
47135         underflow.
47136         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47137         (__ieee754_expl): Allow for and saturate large arguments.
47138         * math/libm-test.inc (exp_test): Add another test.  Do not allow
47139         missing overflow exception on overflow.
47140         (expm1_test): Do not allow missing overflow exception on overflow.
47142         * sysdeps/i386/fpu/e_expl.c: Move to ...
47143         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
47144         rather than using inline asm.
47145         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47146         * sysdeps/x86_64/fpu/e_expl.S: Copy from
47147         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47149         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47150         (nice): Likewise.
47151         (poll): Likewise.
47152         (signal): Likewise.
47153         (time): Likewise.
47154         (times): Likewise.
47156 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47158         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47159         sysdeps/unix/common/syscalls.list.
47160         (fchmod): Likewise.
47161         (fchown): Likewise.
47162         (ftruncate): Likewise.
47163         (getrusage): Likewise.
47164         (gettimeofday): Likewise.
47165         (setpgid): Likewise.
47166         (setregid): Likewise.
47167         (setreuid): Likewise.
47168         (sigaction): Likewise.
47169         (truncate): Likewise.
47170         (vhangup): Likewise.
47171         * sysdeps/unix/common/syscalls.list: Remove file.
47172         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47173         * sysdeps/unix/sysv/linux/Implies: Likewise.
47175 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47177         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47179         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47180         Moved to ...
47181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47182         Here.
47183         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47184         to ...
47185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47186         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47187         to ...
47188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47189         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47190         to ...
47191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47192         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47193         to ...
47194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47195         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47196         to ...
47197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47198         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47199         to ...
47200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47201         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47202         to ...
47203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47204         Here.
47205         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47206         to ...
47207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47208         Here.
47209         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47210         to ...
47211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47212         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47213         Moved to ...
47214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47215         Here.
47216         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47217         to ...
47218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47220 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47222         * sysdeps/unix/common/bits/dirent.h: Remove file.
47223         * sysdeps/unix/common/bits/fcntl.h: Likewise.
47225         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47226         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47227         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47228         * sysdeps/unix/bsd/isatty.c: Likewise.
47229         * sysdeps/unix/bsd/tcdrain.c: Likewise.
47230         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47231         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47233 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47235         [BZ #13563]
47236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47237         long double comparison inaccuracies.
47238         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47241 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
47243         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47244         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47246 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47248         [BZ #14049]
47249         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47250         nonzero digits before rounding a hex value.
47251         * stdlib/tst-strtod.c (tests): Add another test.
47253 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47255         * sysdeps/s390/fpu/libm-test-ulps: Update.
47257 2012-05-03  Andreas Jaeger  <aj@suse.de>
47259         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47260         does not get optimized out.
47261         (malloc_opt_barrier): New.
47263 2012-05-03  Andreas Jaeger  <aj@suse.de>
47264             Roland McGrath  <roland@hack.frob.com>
47266         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47267         intermediate file deletion.
47268         (generated): Add .symlist files.
47270 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
47272         [BZ #13775]
47273         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47274         Redirect under this condition.
47275         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47276         [__USE_GNU] (__dprintf_chk): Not under this condition.
47277         [__USE_GNU] (__vdprintf_chk): Likewise.
47278         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47279         under this condition.
47280         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47281         [__USE_XOPEN2K8] (dprintf): Define under this condition.
47282         [__USE_XOPEN2K8] (vdprintf): Likewise.
47283         [__USE_GNU] (__dprintf_chk): Not under this condition.
47284         [__USE_GNU] (__vdprintf_chk): Likewise.
47285         [__USE_GNU] (dprintf): Likewise.
47286         [__USE_GNU] (vdprintf): Likewise.
47288 2012-05-03  Roland McGrath  <roland@hack.frob.com>
47290         * elf/Makefile (common-generated): Set this instead of generated for
47291         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
47292         $(all-built-dso)-derived lists.
47294 2012-05-03  Andreas Jaeger  <aj@suse.de>
47296         * sysdeps/i386/fpu/libm-test-ulps: Update.
47298         * FAQ: Removed.
47299         * FAQ.in: Likewise.
47300         * scripts/gen-FAQ.pl: Likewise.
47301         * manual/install.texi (Installation): Point to online location of
47302         FAQ.
47303         * Makefile (files-for-dist): Remove FAQ.
47304         (FAQ): Remove.
47306 2012-05-02  Allan McRae  <allan@archlinux.org>
47308         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47309         (LDFLAGS-reldepmod5.so): Likewise.
47310         (LDFLAGS-reldep6mod1.so): Likewise.
47311         (LDFLAGS-reldep6mod4.so): Likewise.
47312         (LDFLAGS-reldep8mod3.so): Likewise.
47313         (LDFLAGS-unload4mod1.so): Likewise.
47314         (LDFLAGS-unload4mod2.so): Likewise.
47315         (LDFLAGS-tst-initorder): Likewise.
47316         (LDFLAGS-tst-initordera2.so): Likewise.
47317         (LDFLAGS-tst-initordera3.so): Likewise.
47318         (LDFLAGS-tst-initordera4.so): Likewise.
47319         (LDFLAGS-tst-initorderb2.so): Likewise.
47320         (LDFLAGS-noload): Likewise.
47321         (LDFLAGS-next): Likewise.
47322         (LDFLAGS-order2mod1.so): Likewise.
47323         (LDFLAGS-order2mod2.so): Likewise.
47324         (LDFLAGS-tst-initorder2): Likewise.
47325         (LDFLAGS-tst-initorder2a.so): Likewise.
47326         (LDFLAGS-tst-initorder2b.so): Likewise.
47327         (LDFLAGS-tst-initorder2c.so): Likewise.
47328         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47330 2012-05-02  David S. Miller  <davem@davemloft.net>
47332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47334 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
47336         [BZ #14055]
47337         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47339 2012-05-02  Andreas Jaeger  <aj@suse.de>
47341         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47342         since we manipulate rounding mode.
47343         (CPPFLAGS-test-idouble.c): Likewise.
47344         (CPPFLAGS-test-ifloat.c): Likewise.
47345         (CFLAGS-test-ldouble.c): Likewise.
47346         (CFLAGS-test-double.c): Likewise.
47347         (CFLAGS-test-float.c): Likewise.
47348         (CFLAGS-test-misc.c): Likewise.
47349         (CFLAGS-test-test-fenv.c): Likewise.
47351 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47353         [BZ #2550]
47354         [BZ #2570]
47355         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47356         comparisons to determine direction to adjust input.
47358 2012-05-01  Roland McGrath  <roland@hack.frob.com>
47360         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47361         output to the target.
47363         * scripts/localplt.awk: New file.
47364         * elf/Makefile ($(objpfx)check-localplt): Target removed.
47365         (check-localplt-CFLAGS): Variable removed.
47366         ($(all-built-dso:=.jmprel)): New static pattern rule.
47367         (generated): Add those targets.
47368         (localplt-built-dso): New variable.
47369         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47371         * elf/check-localplt.c: File removed.
47373         * scripts/check-execstack.awk: New file.
47374         * elf/Makefile ($(objpfx)check-execstack): Target removed.
47375         (check-execstack-CFLAGS): Variable removed.
47376         ($(objpfx)check-execstack.h): Target removed.
47377         ($(objpfx)execstack-default): New target.
47378         (generated): Add that instead of check-execstack.h.
47379         ($(all-built-dso:=.phdr)): New static pattern rule.
47380         (generated): Add those targets.
47381         * elf/check-execstack.c: File removed.
47383         * scripts/check-textrel.awk: New file.
47384         * elf/Makefile ($(objpfx)check-textrel): Target removed.
47385         (check-textrel-CFLAGS): Variable removed.
47386         (all-built-dso): Use := to define.o
47387         ($(all-built-dso:=.dyn)): New static pattern rule.
47388         (generated): Add those targets.
47389         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47390         * config.make.in (READELF): New substituted variable.
47391         * elf/check-textrel.c: File removed.
47393 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47395         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47396         allow.
47397         * conform/data/ctype.h-data [C99-based standards] (isblank):
47398         Expect function.
47399         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47400         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47402         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47403         Specify type.  Require positive value.
47404         (EILSEQ): Likewise.
47405         (ERANGE): Likewise.
47406         [ISO || POSIX] (EILSEQ): Do not expect.
47407         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47408         Specify type.  Require positive value.
47409         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47410         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47411         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47412         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47413         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47414         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47415         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47416         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47417         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47418         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47419         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47420         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47421         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47422         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47423         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47424         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47425         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47426         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47427         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47428         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47429         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47430         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47431         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47432         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47433         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47434         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47435         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47436         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47437         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47438         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47439         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47440         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47441         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47442         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47443         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47444         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47445         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47446         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47447         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47448         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47449         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47450         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47451         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47452         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47453         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47454         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47455         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47456         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47457         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47458         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47459         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47460         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47461         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47462         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47463         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47464         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47465         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47466         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47467         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47468         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47469         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47470         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47471         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47472         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47473         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47474         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47475         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47476         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47477         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47478         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47479         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47480         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47481         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47482         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47483         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47484         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47485         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47486         Require >= 2.
47487         (FLT_ROUNDS): Expect as macro, not constant.
47488         (FLT_MANT_DIG): Use macro-int-constant.
47489         (DBL_MANT_DIG): Likewise.
47490         (LDBL_MANT_DIG): Likewise.
47491         (FLT_DIG): Likewise.
47492         (DBL_DIG): Likewise.
47493         (LDBL_DIG): Likewise.
47494         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
47495         (DBL_MIN_EXP): Likewise.
47496         (LDBL_MIN_EXP): Likewise.
47497         (FLT_MAX_EXP): Use macro-int-constant.
47498         (DBL_MAX_EXP): Likewise.
47499         (LDBL_MAX_EXP): Likewise.
47500         (FLT_MAX_10_EXP): Likewise.
47501         (DBL_MAX_10_EXP): Likewise.
47502         (LDBL_MAX_10_EXP): Likewise.
47503         (FLT_MAX): Use macro-constant.
47504         (DBL_MAX): Likewise.
47505         (LDBL_MAX): Likewise.
47506         (FLT_EPSILON): Use macro-constant.  Give upper bound.
47507         (DBL_EPSILON): Likewise.
47508         (LDBL_EPSILON): Likewise.
47509         (FLT_MIN): Likewise.
47510         (DBL_MIN): Likewise.
47511         (LDBL_MIN): Likewise.
47512         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47513         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47514         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47515         [ISO11] (FLT_HAS_SUBNORM): Likewise.
47516         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47517         [ISO11] (DBL_DECIMAL_DIG): Likewise.
47518         [ISO11] (FLT_DECIMAL_DIG): Likewise.
47519         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47520         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47521         [ISO11] (FLT_TRUE_MIN): Likewise.
47522         [ISO11] (LDBL_TRUE_MIN): Likewise.
47523         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47524         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47525         (SCHAR_MIN): Use macro-int-constant.  Specify type.
47526         (SCHAR_MAX): Likewise.
47527         (UCHAR_MAX): Likewise.
47528         (CHAR_MIN): Likewise.
47529         (CHAR_MAX): Likewise.
47530         (MB_LEN_MAX): Use macro-int-constant.
47531         (SHRT_MIN): Use macro-int-constant.  Specify type.
47532         (SHRT_MAX): Likewise.
47533         (USHRT_MAX): Likewise.
47534         (INT_MAX): Likewise.
47535         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
47536         bound negative.
47537         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47538         bound with "U".
47539         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47540         bound with "L".
47541         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
47542         bound negative.  Suffix upper bound with "L".
47543         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47544         bound with "UL".
47545         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47546         Specify type.
47547         [C99-based standards] (LLONG_MAX): Likewise.
47548         [C99-based standards] (ULLONG_MAX): Likewise.
47549         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
47550         == 0.
47551         [ISO11] (max_align_t): Require type.
47552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47554         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47555         from $CFLAGS, without defining away __attribute__ calls.
47556         (checknamespace): Use $CFLAGS_namespace.
47558         * conform/conformtest.pl (@keywords): Only include C99 keywords
47559         for standards based on C99 or C11.
47561         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47562         Disable tests.
47563         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47564         UNIX98]: Likewise.
47566         * conform/conformtest.pl: Handle "macro-int-constant" and test for
47567         usability of symbols in #if.
47569         * conform/conformtest.pl: If macro or constant types start
47570         "promoted:", expect the symbol to be of the following type
47571         promoted by the integer promotions.
47573         * conform/conformtest.pl: Parse all "constant" and "macro" lines
47574         in one place.  Also handle "macro-constant".
47576         * conform/conformtest.pl: Only accept expected macro values with
47577         "==".  Parse all "macro" lines in one place.
47578         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47580         * conform/conformtest.pl: Handle braced types on "constant" lines
47581         instead of handling "typed-constant".
47582         * conform/data/signal.h-data: Use "constant" instead of
47583         "typed-constant".
47585         * conform/conformtest.pl: Handle "optional-" at start of lines in
47586         one place rather than duplicating several cases.  Handle each
47587         format of "macro" line with initial "optional-".
47589         * conform/conformtest.pl: Only accept expected constant or
47590         optional-constant values with "==".  Parse all "constant" lines in
47591         one place.  Parse all "optional-constant" lines in one place.
47592         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47593         * conform/data/fmtmsg.h-data: Likewise.
47594         * conform/data/netinet/in.h-data: Likewise.
47595         * conform/data/tar.h-data: Likewise.
47596         * conform/data/limits.h-data: Use "==" form on "constant" and
47597         "optional-constant" lines.
47599         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47600         Use -std=c99 for XOPEN2K.
47601         (@knownproblems): Remove.
47602         (newtoken): Don't check %isknown.
47604         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47605         Do not expect macro.
47606         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47607         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47608         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47609         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47610         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47611         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47612         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47613         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47614         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47615         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47616         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47617         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47618         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47619         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47620         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47621         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47622         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47623         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47624         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47625         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47626         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47627         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47628         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47629         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47630         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47631         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47632         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47633         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47634         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47635         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47636         [XPG3] (acosh): Likewise.
47637         [XPG3] (asinh): Likewise.
47638         [XPG3] (atanh): Likewise.
47639         [XPG3] (cbrt): Likewise.
47640         [XPG3] (expm1): Likewise.
47641         [XPG3] (ilogb): Likewise.
47642         [XPG3] (log1p): Likewise.
47643         [XPG3] (logb): Likewise.
47644         [XPG3] (nextafter): Likewise.
47645         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47646         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47647         [XPG3] (remainder): Likewise.
47648         [XPG3] (rint): Likewise.
47649         [XPG3 || XPG4 || UNIX98] (round): Likewise.
47650         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47651         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47652         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47653         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47654         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47655         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47656         [UNIX98 || XOPEN2K] (scalb): Expect.
47657         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47658         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47659         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47660         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47661         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47662         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47663         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47664         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47665         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47666         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47667         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47668         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47669         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47670         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47671         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47672         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47673         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47674         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47675         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47676         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47677         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47678         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47679         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47680         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47681         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47682         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47683         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47684         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47685         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47686         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47687         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47688         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47689         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47690         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47691         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47692         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47693         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47694         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47695         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47696         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47697         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47698         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47699         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47700         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47701         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47702         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47703         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47704         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47705         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47706         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47707         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47708         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47709         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47710         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47711         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47712         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47713         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47714         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47715         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47716         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47717         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47718         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47719         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47720         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47721         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47722         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47723         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47724         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47725         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47726         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47727         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47728         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47729         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47730         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47731         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47732         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47733         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47734         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47735         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47736         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47737         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47738         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47739         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47740         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47741         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47742         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47743         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47744         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47745         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47746         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47747         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47748         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47749         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47750         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47751         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47752         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47753         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47754         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47755         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47756         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47757         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47758         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47759         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47760         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47761         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47762         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47763         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47764         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47765         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47766         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47767         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47768         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47769         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47770         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47771         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47772         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47773         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47774         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47775         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47776         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47777         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47778         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47779         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47780         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47781         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47782         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47783         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47784         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47785         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47786         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47787         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47788         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47789         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47790         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47791         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47792         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47793         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47795         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47796         _XOPEN_SOURCE_EXTENDED for XPG4.
47798         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47800         * Makeconfig (localtime): Remove variable.
47801         (inst_localtime-file): Likewise.
47803 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47806         Update.
47807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47808         Update.
47809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47810         Update.
47811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47812         Update.
47813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47814         Update.
47815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47816         Update.
47817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47818         Update.
47819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47820         Update.
47821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47822         Update.
47824 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47826         [BZ #2550]
47827         [BZ #2570]
47828         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47829         comparisons to determine direction to adjust input.
47830         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47831         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47832         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47833         Likewise.
47834         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47835         Likewise.
47836         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47837         Likewise.
47838         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47839         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47840         Likewise.
47841         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47842         Likewise.
47843         * math/libm-test.inc (nexttoward_test): Add more tests.
47845 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47847         [BZ #14040]
47848         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47849         in version GLIBC_2.1, not GLIBC_2.0.
47850         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47851         Likewise.
47853 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
47855         [BZ #13942]
47856         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47857         (1 - x) * (1 + x).
47858         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47859         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47860         * math/libm-test.inc (acos_test): Add more tests.
47861         (asin_test): Likewise.
47862         * sysdeps/i386/fpu/libm-test-ulps: Update.
47863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47865         [BZ #14034]
47866         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47867         of square root.
47868         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47869         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47870         * math/libm-test.inc (acos_test_tonearest): New function.
47871         (acos_test_towardzero): Likewise.
47872         (acos_test_downward): Likewise.
47873         (acos_test_upward): Likewise.
47874         (asin_test_tonearest): Likewise.
47875         (asin_test_towardzero): Likewise.
47876         (asin_test_downward): Likewise.
47877         (asin_test_upward): Likewise.
47878         (main): Call the new functions.
47879         * sysdeps/i386/fpu/libm-test-ulps: Update.
47880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47882         [BZ #13884]
47883         [BZ #13924]
47884         * math/e_exp10.c: Include <float.h>.
47885         (__ieee754_exp10): Handle underflow here rather than multiplying
47886         large negative argument by M_LN10.
47887         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47888         of __ieee754_expf.
47889         * math/e_exp10l.c: Include <float.h>.
47890         (__ieee754_exp10l): Handle underflow here rather than multiplying
47891         large negative argument by M_LN10l.
47892         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
47893         spurious overflow exception on underflow.
47895 2012-04-29  Marek Polacek  <polacek@redhat.com>
47897         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47898         (__fortify_function): New macro.
47899         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47900         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47901         __extern_always_inline.
47902         * libio/bits/stdio2.h: Likewise.
47903         * libio/bits/stdio.h: Likewise.
47904         * string/string.h: Likewise.
47905         * string/bits/string3.h: Likewise.
47906         * include/stdio.h: Likewise.
47907         * stdlib/bits/stdlib.h: Likewise.
47908         * stdlib/stdlib.h: Likewise.
47909         * rt/bits/mqueue2.h: Likewise.
47910         * rt/mqueue.h: Likewise.
47911         * posix/bits/unistd.h: Likewise.
47912         * posix/unistd.h: Likewise.
47913         * io/bits/poll2.h: Likewise.
47914         * io/bits/fcntl2.h: Likewise.
47915         * io/fcntl.h: Likewise.
47916         * io/sys/poll.h: Likewise.
47917         * misc/bits/syslog.h: Likewise.
47918         * misc/bits/syslog-ldbl.h: Likewise.
47919         * misc/sys/syslog.h: Likewise.
47920         * socket/bits/socket2.h: Likewise.
47921         * socket/sys/socket.h: Likewise.
47922         * debug/tst-chk1.c: Likewise.
47923         * wcsmbs/bits/wchar2.h: Likewise.
47924         * wcsmbs/bits/wchar-ldbl.h: Likewise.
47925         * wcsmbs/wchar.h: Likewise.
47927 2012-04-29  Andreas Jaeger  <aj@suse.de>
47929         * Makerules (tests): Remove enable-check-abi protection.
47930         (check-abi-warn): Remove.
47931         (check-abi-%): Remove check-abi-warn usage.
47933         * configure.in: Remove check-abi configure option.
47934         * configure: Regenerated.
47935         * config.make.in (enable-check-abi): Remove.
47937 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
47939         [BZ #14033]
47940         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47941         double functions to double *_finite functions.
47943         [BZ #13941]
47944         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47945         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47946         LDBL_MIN_EXP.
47947         * stdio-common/Makefile (tests): Add tst-sprintf3.
47948         * stdio-common/tst-sprintf3.c: New file.
47950         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47951         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47953 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47955         * conform/conformtest.pl: Remove duplicate typed-constant
47956         handling.
47958 2012-04-28  David S. Miller  <davem@davemloft.net>
47960         * Makerules (%.abilist): Add vpath on sysdep_dirs.
47961         (check-abi-%): Remove AWK script prerequisite and explicit
47962         abilist directory.
47963         (check-abi): Rewrite to just diff the symlist with the abilist.
47964         (config-tls, config-abi-config): Delete, no longer used.
47965         (update-abi-%): Remove AWK script and explicit abilist directory.
47966         (update-abi): Rewrite to simply compare and conditionally copy the
47967         symlist and the sysdep abilist file.  Remove update-abi-config
47968         checks.
47969         * abilist/ld.abilist: Remove.
47970         * abilist/libBrokenLocale.abilist: Remove.
47971         * abilist/libanl.abilist: Remove.
47972         * abilist/libcrypt.abilist: Remove.
47973         * abilist/libdl.abilist: Remove.
47974         * abilist/librt.abilist: Remove.
47975         * abilist/libthread_db.abilist: Remove.
47976         * abilist/libutil.abilist: Remove.
47977         * scripts/extract-abilist.awk: Remove.
47978         * scripts/merge-abilist.awk: Remove.
47979         * sysdeps/generic/libcidn.abilist: New file.
47980         * sysdeps/generic/libnss_compat.abilist: New file.
47981         * sysdeps/generic/libnss_db.abilist: New file.
47982         * sysdeps/generic/libnss_dns.abilist: New file.
47983         * sysdeps/generic/libnss_files.abilist: New file.
47984         * sysdeps/generic/libnss_hesiod.abilist: New file.
47985         * sysdeps/generic/libnss_nis.abilist: New file.
47986         * sysdeps/generic/libnss_nisplus.abilist: New file.
47987         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47988         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47989         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47990         file.
47991         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47992         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47993         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47994         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47995         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47996         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47997         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47998         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47999         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48000         file.
48001         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48002         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48003         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48004         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48005         file.
48006         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48007         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48008         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48009         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48010         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48011         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48012         file.
48013         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48014         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48015         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48016         file.
48017         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48019         New file.
48020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48021         New file.
48022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48023         New file.
48024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48025         New file.
48026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48027         New file.
48028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48029         New file.
48030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48031         New file.
48032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48033         New file.
48034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48035         New file.
48036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48037         New file.
48038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48039         New file.
48040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48041         New file.
48042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48043         New file.
48044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48045         file.
48046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48047         New file.
48048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48049         New file.
48050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48051         file.
48052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48053         New file.
48054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48055         New file.
48056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48057         file.
48058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48059         New file.
48060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48061         New file.
48062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48063         New file.
48064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48065         New file.
48066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48067         New file.
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48069         New file.
48070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48072         file.
48073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48074         New file.
48075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48076         file.
48077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48078         file.
48079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48080         file.
48081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48082         file.
48083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48084         file.
48085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48086         New file.
48087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48088         file.
48089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48090         file.
48091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48092         New file.
48093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48094         file.
48095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48097         file.
48098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48099         New file.
48100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48101         file.
48102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48103         file.
48104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48105         file.
48106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48107         file.
48108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48109         file.
48110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48111         New file.
48112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48113         file.
48114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48115         file.
48116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48117         New file.
48118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48119         file.
48120         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48121         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48122         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48123         file.
48124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48125         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48126         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48127         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48128         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48129         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48130         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48131         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48132         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48133         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48136         file.
48137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48138         New file.
48139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48140         file.
48141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48142         file.
48143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48144         file.
48145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48146         file.
48147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48148         file.
48149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48150         New file.
48151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48152         New file.
48153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48154         file.
48155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48156         New file.
48157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48158         file.
48159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48161         file.
48162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48163         New file.
48164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48165         file.
48166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48167         file.
48168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48169         file.
48170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48171         file.
48172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48173         file.
48174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48175         New file.
48176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48177         New file.
48178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48179         file.
48180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48181         New file.
48182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48183         file.
48185 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48187         * conform/conformtest.pl: Fix typo in handling typed-constant from
48188         allow-header.
48190 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48192         * README: Cut down references to pre-2.6 Linux kernels and
48193         Linuxthreads.  Update lists of configurations in libc and ports
48194         and sort alphabetically.  Say "or newer" with Linux kernel version
48195         requirements.
48197         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48199 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48201         [BZ #887]
48202         * math/libm-test.inc (logb_test_downward): New test to expose
48203         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48204         rounding mode.
48206 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48208         [BZ #14027]
48209         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48210         to be done.
48211         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48212         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48214 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48216         * sysdeps/unix/i386/brk.S: Remove file.
48217         * sysdeps/unix/i386/dl-brk.S: Likewise.
48218         * sysdeps/unix/i386/pipe.S: Likewise.
48219         * sysdeps/unix/i386/sigreturn.S: Likewise.
48220         * sysdeps/unix/i386/syscall.S: Likewise.
48221         * sysdeps/unix/i386/vfork.S: Likewise.
48222         * sysdeps/unix/i386/wait.S: Likewise.
48224         * sysdeps/unix/common/tcsendbrk.c: Move to ...
48225         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48227         * configure.in (arm*-none*): Do not allow without
48228         --enable-hacker-mode.
48229         (netbsd*): Remove case setting base_os.
48230         (386bsd*): Likewise.
48231         (freebsd*): Likewise.
48232         (bsdi*): Likewise.
48233         (osf*): Likewise.
48234         (sunos*): Likewise.
48235         (ultrix*): Likewise.
48236         (newsos*): Likewise.
48237         (dynix*): Likewise.
48238         (*bsd*): Likewise.
48239         (sysv*): Likewise.
48240         (isc*): Likewise.
48241         (esix*): Likewise.
48242         (sco*): Likewise.
48243         (minix*): Likewise.
48244         (irix4*): Likewise.
48245         (irix6*): Likewise.
48246         (solaris[2-9]*): Likewise.
48247         (none): Likewise.
48248         * configure: Regenerated.
48250 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48252         [BZ #11521]
48253         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48254         overflow or cancellation in calculating denominator.
48255         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48256         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48257         down expression to avoid unexpected rounding in newer GCCs.
48258         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48260 2012-04-26  David S. Miller  <davem@davemloft.net>
48262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48263         long-double compat symbols.
48264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48278 2012-04-25  David S. Miller  <davem@davemloft.net>
48280         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48281         HWCAP_* values only after the memory barriers have been defined.
48282         (atomic_full_barrier): Define.
48283         (atomic_read_barrier): Define.
48284         (atomic_write_barrier): Define.
48286 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48288         * shlib-versions: Add libgcc_s version information.
48289         * sysdeps/generic/libgcc_s.h: Remove.
48290         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48291         libgcc_s.h.
48292         * sysdeps/gnu/unwind-resume.c: Likewise.
48293         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48295 2012-04-25  David S. Miller  <davem@davemloft.net>
48297         * sysdeps/unix/sparc/brk.S: Delete.
48298         * sysdeps/unix/sparc/dl-brk.S: Delete.
48299         * sysdeps/unix/sparc/pipe.S: Delete.
48300         * sysdeps/unix/sparc/sysdep.S: Delete.
48301         * sysdeps/unix/sparc/sysdep.h: Delete.
48302         * sysdeps/unix/sparc/vfork.S: Delete.
48303         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48304         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48305         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48306         (ret_ERRVAL, r0, r1, MOVE): Define.
48307         (JUMPTARGET): Remove.
48308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48309         sysdeps/unix/sparc/sysdep.h
48310         (ENTRY, END): Remove.
48311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48313 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
48315         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48316         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48317         -DIS_IN_build.
48319         * timezone/README: Update upstream location and email address for
48320         tzcode and tzdata.
48321         * timezone/zdump.c: Update from tzcode 2012b.
48322         * timezone/zic.c: Likewise.
48324         * configure.in (libc_cv_as_needed): Remove test.
48325         * configure: Regenerated.
48326         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48327         conditional definition.
48328         [$(have-as-needed) != yes] (no-as-needed): Likewise.
48329         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48330         * config.make.in (have-as-needed): Remove variable.
48332 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48333             Paul Pluzhnikov  <ppluzhnikov@google.com>
48335         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48336         strings correctly.
48338 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
48340         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48341         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48342         * sysdeps/sh/strlen.S: Likewise.
48344 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48346         * sysdeps/unix/fork.S: Remove file.
48347         * sysdeps/unix/i386/fork.S: Likewise.
48348         * sysdeps/unix/sparc/fork.S: Likewise.
48350         * sysdeps/unix/system.c: Remove file.
48351         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48353         * sysdeps/unix/getegid.S: Remove file.
48354         * sysdeps/unix/geteuid.S: Likewise.
48356 2012-04-24  Roland McGrath  <roland@hack.frob.com>
48358         * scripts/check-localplt.awk: New file.
48359         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48360         of diff.
48361         * scripts/data/localplt-generic.data: Add a comment.
48363         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48364         NODE when __dir_mkfile failed.
48365         * sysdeps/mach/hurd/symlinkat.c: Likewise.
48366         Reported by Ludovic Courtès <ludo@gnu.org>.
48368 2012-04-24  Andreas Jaeger  <aj@suse.de>
48370         * Makerules (common-clean): Also remove gen-as-const-headers
48371         files.
48373 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48375         * Makerules (native-compile): Do not change working directory for
48376         build.  Use $(OUTPUT_OPTION) in command.
48377         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48379 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48381         [BZ #13886]
48382         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48383         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48384         * math/libm-test.inc (floor_test): Add more tests.
48385         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48387 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48389         * sysdeps/unix/getdents.c: Remove file.
48390         * sysdeps/unix/sysv/getdents.c: Likewise.
48391         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48393         * sysdeps/unix/syscalls.list (madvise): Add syscall from
48394         sysdeps/unix/mman/syscalls.list.
48395         (mmap): Likewise.
48396         (mprotect): Likewise.
48397         (msync): Likewise.
48398         (munmap): Likewise.
48399         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48400         * sysdeps/unix/mman/syscalls.list: Remove.
48401         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48403         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48404         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48405         * configure: Regenerated.
48406         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48407         $(libgcc_s_suffix).
48408         * config.make.in (libgcc_s_suffix): Remove variable.
48410 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
48412         * sysdeps/unix/sysv/gethostname.c: Move to ...
48413         * sysdeps/posix/gethostname.c: ... here.
48415         * sysdeps/unix/execve.S: Remove file.
48417         * sysdeps/unix/_exit.S: Remove file.
48419 2012-04-23  Andreas Jaeger  <aj@suse.de>
48421         [BZ #13739]
48422         * manual/Makefile: Remove make dist support, there's no
48423         need for a stand-alone documentation tar ball.
48424         (TEXI2DVI): Define always, it's not in Makeconfig.
48425         (dist): Removed.
48426         (tar-it): Removed.
48427         (edition): Removed.
48428         (glibc-doc-$(edition).tar): Removed
48429         (%.Z): Removed.
48430         (%.gz): Removed.
48431         (%.uu): Removed.
48432         (ETAGS): Remove, it's in Makeconfig.
48433         (move-if-change): Remove, it's in Makeconfig.
48435 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
48437         [BZ #13970]
48438         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48439         (strtod, strtof, strtold, strtol, strtoul, strtoq)
48440         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48441         (strtod_l, strtof_l, strtold_l): Remove __wur.
48442         It is not necessarily an error to ignore strtol's return value.
48443         One can reliably look at the stored endptr to decide whether
48444         the number had valid syntax.
48446 2012-04-21  Andreas Jaeger  <aj@suse.de>
48448         [BZ #13739]
48449         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48451 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
48453         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48454         * sysdeps/unix/sysv/Versions: Remove file.
48456 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
48458         [BZ #13927]
48459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48461 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
48463         [BZ #7064]
48464         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48465         version from __vm86.
48467 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
48469         * sysdeps/unix/common/lxstat.c: Remove file.
48470         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48472         * sysdeps/unix/sysv/Makefile: Remove file.
48474         * sysdeps/unix/sysv/direct.h: Remove file.
48476         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48477         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48478         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48479         * sysdeps/unix/sysv/bits/signum.h: Likewise.
48480         * sysdeps/unix/sysv/bits/stat.h: Likewise.
48481         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48482         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48484         * sysdeps/unix/sysv/setrlimit.c: Remove file.
48486         * sysdeps/unix/xmknod.c: Remove file.
48487         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48489         * sysdeps/unix/sysv/settimeofday.c: Remove file.
48491         * sysdeps/unix/sysv/i386/time.S: Remove file.
48493         * sysdeps/unix/fxstat.c: Remove file.
48494         * sysdeps/unix/xstat.c: Likewise.
48495         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48497         * sysdeps/unix/sysv/sigaction.c: Remove file.
48499         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48500         (sysdep_headers): Remove variable.
48501         [termio.h not in sysdep_headers] (generated): Likewise.
48502         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48503         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48504         * sysdeps/unix/sysv/tcdrain.c: Likewise.
48505         * sysdeps/unix/sysv/tcflow.c: Likewise.
48506         * sysdeps/unix/sysv/tcflush.c: Likewise.
48507         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48508         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48509         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48510         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48511         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48513         * sysdeps/unix/siglist.c: Remove file.
48515         * sysdeps/unix/getppid.S: Remove file.
48517         * sysdeps/unix/mkdir.c: Remove file.
48518         * sysdeps/unix/rmdir.c: Likewise.
48520 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
48522         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48523         ERR_MAX value.
48524         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48525         errlist-compat value.
48527 2012-04-18  David S. Miller  <davem@davemloft.net>
48529         * sysdeps/generic/memcopy.h (reg_char): Delete.
48530         * debug/strcat_chk.c: Use char, not reg_char.
48531         * debug/strcpy_chk.c: Likewise.
48532         * debug/strncat_chk.c: Likewise.
48533         * debug/strncpy_chk.c: Likewise.
48534         * string/memchr.c: Likewise.
48535         * string/memrchr.c: Likewise.
48536         * string/rawmemchr.c: Likewise.
48537         * string/strcat.c: Likewise.
48538         * string/strchr.c: Likewise.
48539         * string/strchrnul.c: Likewise.
48540         * string/strcmp.c: Likewise.
48541         * string/strcpy.c: Likewise.
48542         * string/strncat.c: Likewise.
48543         * string/strncmp.c: Likewise.
48544         * string/strncpy.c: Likewise.
48546 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48548         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48549         __builtin_memcopy is called when src and dest ranges are known to not
48550         overlap.
48552 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48554         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48555         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48556         fwd_align_merge macro call.
48557         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48558         bwd_align_merge macro call.
48559         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48561 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48563         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48564         bwd_align_merge macros.
48565         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48566         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48567         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48569 2012-04-18  David S. Miller  <davem@davemloft.net>
48571         * sysdeps/sparc/sparc64/memcopy.h: Delete.
48573 2012-04-18  Andreas Jaeger  <aj@suse.de>
48575         [BZ# 6794]
48576         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48577         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48578         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48580         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48581         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48582         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48584         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48585         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48586         Adjust for changed ldbl-128 files.
48588         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48589         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48590         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48592 2012-04-17  David S. Miller  <davem@davemloft.net>
48594         * sysdeps/sparc/sparc32/memcopy.h: Delete.
48596 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
48598         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48599         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48600         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48601         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48602         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48603         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48605 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48607         [BZ #6794]
48608         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48609         * math/libm-test.inc: Add ilogb errno and exception tests.
48610         * math/w_ilogb.c: New file: ilogb wrapper.
48611         * math/w_ilogbf.c: New file: ilogbf wrapper.
48612         * math/w_ilogbl.c: New file: ilogbl wrapper.
48613         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48614         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48615         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48616         exception being thrown with 0.0 as argument.
48617         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48618         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48619         exception being thrown with 0.0 as argument.
48620         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48621         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48622         exception being thrown with 0.0 as argument.
48623         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48624         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48625         exception being thrown with 0.0 as argument.
48626         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48627         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48628         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48629         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48630         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48631         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48632         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48633         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48634         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48636 2012-04-17  Petr Baudis  <pasky@ucw.cz>
48638         * include/sys/uio.h: Change __vector to __iovec to avoid clash
48639         with altivec.
48641 2012-04-16  Marek Polacek  <polacek@redhat.com>
48643         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48645 2012-04-16  Marek Polacek  <polacek@redhat.com>
48647         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48648         operands of fdivp instruction.
48650 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48652         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48653         * elf/tst-auditmod3b.c: Likewise.
48654         * elf/tst-auditmod4b.c: Likewise.
48655         * elf/tst-auditmod5b.c: Likewise.
48656         * elf/tst-auditmod6b.c: Likewise.
48657         * elf/tst-auditmod6c.c: Likewise.
48658         * elf/tst-auditmod7b.c: Likewise.
48659         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48660         * sysdeps/x86_64/preconfigure.in: Likewise.
48661         * sysdeps/x86_64/preconfigure: Regenerated.
48663 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48665         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48666         __ILP32__.
48668 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
48670         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48671         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48673 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
48675         [BZ #13973]
48676         * locale/iso-639.def: Fix gl language name. Spotted by
48677         Yaron Shahrabani.
48679 2012-04-12  Roland McGrath  <roland@hack.frob.com>
48681         [BZ #2074]
48682         * libio/libio.h (__io_write_fn): Update comment.
48684 2012-04-12  Petr Baudis  <pasky@ucw.cz>
48686         [BZ #2074]
48687         * stdio.texi (Hook Functions): The user provided writer function
48688         is not allowed to return -1.
48690 2012-04-11  David S. Miller  <davem@davemloft.net>
48692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48694 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
48696         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48697         Add a leading slash to rtkaio.
48699 2012-04-11  Jim Meyering  <meyering@redhat.com>
48701         [BZ #11959]
48702         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48703         It is not necessarily an error to ignore fwrite's return
48704         value.  One can reliably use ferror to test for errors after
48705         the fact.
48707 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48709         * bits/types.h (__snseconds_t): New type.
48710         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48712         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48713         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48714         (__SNSECONDS_T_TYPE): Likewise.
48715         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48716         (__SNSECONDS_T_TYPE): Likewise.
48717         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48718         (__SNSECONDS_T_TYPE): Likewise.
48720 2012-04-10  Andreas Jaeger  <aj@suse.de>
48722         [BZ #2636]
48723         * manual/time.texi (Processor Time): Return type of times is
48724         elapsed real time since an arbitrary point in the past.
48725         (CPU Time): Move CLK_TCK from here...
48726         (Processor Time): ...to here.  Correct description.
48727         * manual/conf.texi (Constants for Sysconf): Correct description of
48728         _SC_CLK_TCK.
48730 2012-04-10  David S. Miller  <davem@davemloft.net>
48732         [BZ #13967]
48733         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48734         where the is a gap between DT_REL(A) and DT_JMPREL.
48736 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48738         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48739         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48740         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48742 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48744         * elf/dl-support.c (_dl_inhibit_cache): New variable.
48745         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48746         (dl_main): Handle --inhibit-cache.
48747         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48748         _dl_inhibit_cache.
48749         * elf/dl-load.c (_dl_map_object): Use it.
48750         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48752 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48754         [BZ #13872]
48755         * sysdeps/i386/fpu/e_powl.S (p78): New object.
48756         (__ieee754_powl): Saturate large exponents rather than testing for
48757         overflow of y*log2(x).
48758         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48759         * math/libm-test.inc (pow_test): Do not permit spurious overflow
48760         exceptions.
48762         [BZ #11521]
48763         * math/s_ctan.c: Include <float.h>.
48764         (__ctan): Avoid internal overflow or cancellation in calculating
48765         denominator.
48766         * math/s_ctanf.c: Likewise.
48767         * math/s_ctanl.c: Likewise.
48768         * math/s_ctanh.c: Likewise.
48769         * math/s_ctanhf.c: Likewise.
48770         * math/s_ctanhl.c: Likewise.
48771         * math/libm-test.inc (ctan_test): Add more tests.
48772         (ctanh_test): Likewise.
48773         * sysdeps/i386/fpu/libm-test-ulps: Update.
48774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48776 2012-04-09  Andreas Jaeger  <aj@suse.de>
48778         [BZ #6894]
48779         * manual/filesys.texi (Directory Entries): Mention that d_namlen
48780         is an optional BSD extension.
48782         [BZ #10254]
48783         * manual/stdio.texi (Opening Streams): Document additional fopen
48784         parameters.
48786 2012-04-09  Roland McGrath  <roland@hack.frob.com>
48788         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48789         %eax without telling the compiler.
48791 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
48793         [BZ # 13963]
48794         * manual/install.texi: Use sourceware.org.
48796 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48798         [BZ #13873]
48799         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48800         (__ieee754_pow): Generate overflow and underflow using huge*huge
48801         and tiny*tiny rather than just returning constant infinity or zero
48802         for large exponents.
48803         * math/libm-test.inc (pow_test): Require overflow exceptions for
48804         applicable cases of large exponents.
48806         [BZ #706]
48807         * sysdeps/i386/fpu/e_pow.S (p10): New object.
48808         (__ieee754_pow): Use iterative multiplication algorithm only for
48809         integer exponents with absolute value below 1024.  Check for odd
48810         integer exponents when using algorithm for real exponents.
48811         * math/libm-test.inc (pow_test): Add more tests.
48812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48814 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
48816         [BZ #13705]
48817         * math/libm-test.inc (exp_test): Do not allow overflow exception
48818         on underflow test.
48820 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
48822         [BZ #13705]
48823         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48824         instead of __kernel_standard_f.
48826 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
48828         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48829         * sysdeps/x86_64/memset_chk.S: Likewise.
48831 2012-04-08  Andreas Jaeger  <aj@suse.de>
48833         [BZ #10153]
48834         * manual/startup.texi (Environment Access): Describe return value
48835         for putenv and setenv.
48837         [BZ #6895]
48838         * manual/filesys.texi (Directory Entries): Add description for
48839         DT_LNK.
48841         [BZ #6890]
48842         * manual/filesys.texi (Directory Entries): Clarify that it's file
48843         system not operating system in the description of DT_UNKNOWN.
48845         [BZ #6578]
48846         * manual/syslog.texi (closelog): Fix reference, it's openlog.
48848 2012-04-08  Stephen Compall  <s11@member.fsf.org>
48850         [BZ #6649]
48851         * manual/llio.texi (Opening and Closing Files): Add cross
48852         reference to explain mode argument.
48854 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
48856         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48857         * sysdeps/x86_64/memset_chk.S: Likewise.
48859 2012-04-07  David S. Miller  <davem@davemloft.net>
48861         * elf/elf.h (R_SPARC_WDISP10): Define.
48862         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48863         R_SPARC_SIZE32.
48864         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48865         R_SPARC_SIZE64 and R_SPARC_H34.
48867 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
48869         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48870         conditions and remove no longer applicable assertion.
48872 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48874         * bits/byteswap.h: Include <features.h>.
48875         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48876         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48878 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48880         * bits/byteswap.h (__bswap_16): Removed.
48881         Include <bits/byteswap-16.h> to get __bswap_16.
48882         * sysdeps/i386/bits/byteswap.h: Likewise.
48883         * sysdeps/s390/bits/byteswap.h: Likewise.
48884         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48885         * bits/byteswap-16.h: New file.
48886         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48887         * sysdeps/s390/bits/byteswap-16.h: Likewise.
48888         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48889         * string/Makefile (headers): Add bits/byteswap-16.h.
48891 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48893         [BZ #13895]
48894         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48895         extra indirection.
48896         * nss/Makefile (tests-static, tests): Add tst-nss-static.
48897         * nss/tst-nss-static.c: New.
48899 2012-04-06  Robert Millan  <rmh@gnu.org>
48901         [BZ #6486]
48902         * manual/llio.texi (File Position Primitive): lseek
48903         refers to WHENCE when it really means OFFSET.
48905 2012-04-06  Andreas Jaeger  <aj@suse.de>
48907         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48908         strncmp declarations.
48910         * abilist/libc.abilist: Add __poll and __ppoll.
48912 2012-04-05  David S. Miller  <davem@davemloft.net>
48914         * scripts/check-local-headers.sh: Accept a host triplet in the
48915         path matched by the exclude regexp.
48917         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48918         definition.
48919         * sysdeps/powerpc/powerpc32/dl-machine.h
48920         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48921         * sysdeps/s390/s390-32/dl-machine.h
48922         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48923         * sysdeps/sparc/sparc32/dl-machine.h
48924         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48925         * sysdeps/sparc/sparc64/dl-machine.h
48926         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48928         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48929         lazy binding.
48930         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48931         undefined symbol errors.
48933         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48934         DT_NEEDED entries.
48936 2012-04-05  Michael Matz  <matz@suse.de>
48938         [BZ #13592]
48939         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48941 2012-04-05  Andreas Jaeger  <aj@suse.de>
48943         [BZ #13908]
48944         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48945         comment.
48947 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48949         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48950         which ROUND is no valid rounding mode.
48952 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48954         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48955         read again.
48956         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48958 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48960         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48961         an exception using FPU order intentionally.
48963 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48965         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48966         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48967         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48968         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48970 2012-04-05  Simon Josefsson  <simon@josefsson.org>
48972         [BZ #12340]
48973         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48974         EINVAL when BUFLEN is too smal.
48976 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48978         [BZ #13553]
48979         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48980         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48982 2012-04-03  Andreas Jaeger  <aj@suse.de>
48984         [BZ #13938]
48985         * manual/setjmp.texi (System V contexts): Fix sentence.
48987         [BZ #13926]
48988         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48989         New macro for this case.
48990         [!__GNUC__] (__bswap_64): New inline function for this case.
48991         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48992         * bits/byteswap.h: Likewise.
48993         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48994         ull, guard with __GLIBC_HAVE_LONG_LONG.
48996         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48997         __GLIBC_HAVE_LONG_LONG.
48999         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49000         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49002 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49004         [BZ #13691]
49005         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49006         inptr and inend, rather than using last_ch.
49008 2012-04-02  David S. Miller  <davem@davemloft.net>
49010         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49011         * stdio-common/printf-parse.h (read_int): Change return type to
49012         'int', return -1 on INT_MAX overflow.
49013         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49014         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49015         overflows INT_MAX.  Check for overflow of in-format-string precision
49016         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49017         SIZE_MAX not INT_MAX for integer overflow test.
49018         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49019         skip the construct in the format string but do not record anything.
49020         * stdio-common/bug22.c: Adjust to test both width/prevision
49021         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49022         explicitly for proper errno values.
49024 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49026         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49027         CHAR_MAX.
49028         * string/test-strcmp.c [! WIDE]: Likewise.
49029         * time/tst-mktime2.c: Likewise for INT_MAX.
49030         * string/test-string.h: #include <sys/param.h> for MIN.
49032         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49033         * sysdeps/i386/init-first.c (init): Likewise.
49034         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49035         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49036         * sysdeps/sh/init-first.c (init): Likewise.
49038 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49040         * po/ru.po: Update from translation team.
49041         * po/vi.po: Likewise.
49043 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49045         * resolv/nss_dns/dns-host.c: Merge copyright years.
49047 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49050         Optimize memcpy with prefetch if
49051         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49052         src, dst pointers have unequal 16 byte alignments.
49054 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49056         [BZ #13928]
49057         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49058         from a CNAME entry and return the minimum ttl for the query.
49059         (gaih_getanswer_slice): Likewise.
49061 2012-03-30  Jeff Law  <law@redhat.com>
49063         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49064         due to long keys.
49065         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49066         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49068         * resolv/nss_dns/dns-host.c: Update copyright year.
49070 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49072         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49073         requests to save a system call.  Fix check that all bytes are sent.
49075         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49076         comments for sendmmsg.
49078 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49080         [BZ #13691]
49081         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49082         with only 1 character between 0x0041 and 0x01b0.
49083         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49084         * wcsmbs/tst-mbsnrtowcs.c: New file.
49086 2012-03-29  David S. Miller  <davem@davemloft.net>
49088         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49089         small copies by hand.
49091 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49093         [BZ #13761]
49094         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49095         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49096         group memberships.
49098 2012-03-28  David S. Miller  <davem@davemloft.net>
49100         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49101         that branches into memcpy.
49102         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49105         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49106         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49107         bits.
49108         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49109         implementation too.
49110         * sysdeps/sparc/mempcpy.S: New file.
49112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49113         the IFUNC routine in the libc case.
49114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49116         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49117         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49118         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49119         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49120         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49121         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49122         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49123         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49125         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49126         loop to 256 bytes instead of 64 bytes and fix test signedness.
49128         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49129         * sysdeps/sparc/sparc32/Makefile: rather than here...
49130         * sysdeps/sparc/sparc64/Makefile: and here.
49132 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
49134         * malloc/mallocbug.c: Avoid warnings about unused variables.
49136 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49138         [BZ #13760]
49139         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49140         in the right place. Discard and retry query if response is
49141         larger than input buffer size.
49143 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
49145         [BZ #369]
49146         [BZ #2678]
49147         [BZ #3866]
49148         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49149         x for large integer exponent.
49150         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49151         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
49152         sign of result as needed afterwards.
49153         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49154         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49155         result for underflowing pow the same as for overflow.
49156         (__kernel_standard_l): Handle powl overflow and underflow here
49157         rather than calling __kernel_standard.
49158         * math/libm-test.inc (pow_test): Add more tests.
49160         [BZ #3868]
49161         [BZ #13879]
49162         [BZ #13910]
49163         [BZ #13911]
49164         [BZ #13912]
49165         [BZ #13913]
49166         [BZ #13915]
49167         [BZ #13916]
49168         [BZ #13917]
49169         [BZ #13918]
49170         [BZ #13919]
49171         [BZ #13920]
49172         [BZ #13921]
49173         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49174         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49175         (__kernel_standard_l): New function.
49176         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49177         __kernel_standard.
49178         * math/w_acosl.c (__acosl): Likewise.
49179         * math/w_asinl.c (__asinl): Likewise.
49180         * math/w_atan2l.c (__atan2l): Likewise.
49181         * math/w_atanhl.c (__atanhl): Likewise.
49182         * math/w_coshl.c (__coshl): Likewise.
49183         * math/w_exp10l.c (__exp10l): Likewise.
49184         * math/w_exp2l.c (__exp2l): Likewise.
49185         * math/w_fmodl.c (__fmodl): Likewise.
49186         * math/w_hypotl.c (__hypotl): Likewise.
49187         * math/w_j0l.c (__j0l, __y0l): Likewise.
49188         * math/w_j1l.c (__j1l, __y1l): Likewise.
49189         * math/w_jnl.c (__jnl, __ynl): Likewise.
49190         * math/w_lgammal.c (__lgammal): Likewise.
49191         * math/w_log10l.c (__log10l): Likewise.
49192         * math/w_log2l.c (__log2l): Likewise.
49193         * math/w_logl.c (__logl): Likewise.
49194         * math/w_powl.c (__powl): Likewise.
49195         * math/w_remainderl.c (__remainderl): Likewise.
49196         * math/w_scalbl.c (sysv_scalbl): Likewise.
49197         * math/w_sinhl.c (__sinhl): Likewise.
49198         * math/w_sqrtl.c (__sqrtl): Likewise.
49199         * math/w_tgammal.c (__tgammal): Likewise.
49200         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49201         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49202         * math/libm-test.inc (acos_test): Add more tests.
49203         (acosh_test): Likewise.
49204         (asin_test): Likewise.
49205         (atanh_test): Likewise.
49206         (exp_test): Likewise.
49207         (exp10_test): Likewise.
49208         (exp2_test): Likewise.
49209         (expm1_test): Likewise.
49210         (lgamma_test): Likewise.
49211         (log_test): Likewise.
49212         (log10_test): Likewise.
49213         (log1p_test): Likewise.
49214         (log2_test): Likewise.
49215         (pow_test): Do not allow some spurious overflow exceptions.
49216         (sqrt_test): Add more tests.
49217         (tgamma_test): Likewise.
49218         (y0_test): Likewise.
49219         (y1_test): Likewise.
49220         (yn_test): Likewise.
49222 2012-03-27  Anton Blanchard  <anton@samba.org>
49224         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49225         MAP_HUGETLB.
49226         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49227         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49228         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49230 2012-03-27  David S. Miller  <davem@davemloft.net>
49232         * conform/Makefile: Run run-conformtest.sh using $(BASH).
49234         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49235         have-as-vis3 check.
49237 2012-03-27  Andreas Jaeger  <aj@suse.de>
49239         * sysdeps/x86_64/elf/configure.in: Moved to ...
49240         * sysdeps/x86_64/configure.in: ... here.
49241         * sysdeps/x86_64/elf/start.S: Moved to ...
49242         * sysdeps/x86_64/start.S: ... here.
49243         * sysdeps/x86_64/elf/configure: Delete.
49245         * sysdeps/x86_64/configure.in: Merge contents from
49246         sysdeps/i386/configure.in (without i686 check).
49248         * sysdeps/i386/elf/Versions: Merge into ...
49249         * sysdeps/i386/Versions: ... this.
49250         * sysdeps/i386/elf/Versions: Delete file.
49251         * sysdeps/i386/elf/start.S: Moved to ...
49252         * sysdeps/i386/start.S: ...here.
49253         * sysdeps/i386/elf/configure.in: Merge into...
49254         * sysdeps/i386/configure.in: ...here.
49255         * sysdeps/i386/elf/configure.in: Delete file.
49256         * sysdeps/i386/elf/configure: Delete file.
49258         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49259         * debug/backtracesyms.c: ... here.
49260         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49261         * debug/backtracesymsfd.c: ... here.
49262         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49263         * sysdeps/generic/ifunc-sel.h: ... here.
49265         * sysdeps/unix/i386/start.c: Delete file.
49266         * sysdeps/unix/sparc/start.c: Delete file.
49267         * sysdeps/unix/start.c: Delete file.
49269         * sysdeps/sh/elf/configure.in: Moved to ...
49270         * sysdeps/sh/configure.in: ... here.
49271         * sysdeps/sh/elf/start.S: Moved to ...
49272         * sysdeps/sh/start.S: ... here.
49273         * sysdeps/sh/elf/configure: Delete file.
49275         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49276         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49277         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49278         * sysdeps/powerpc/powerpc64/entry.h: ... here.
49279         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49280         * sysdeps/powerpc/powerpc64/start.S: here.
49281         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49282         * sysdeps/powerpc/powerpc64/Makefile: ... this.
49283         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49284         * sysdeps/powerpc/powerpc64/configure.in: ... this.
49285         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49287         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49288         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49289         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49290         * sysdeps/powerpc/powerpc32/start.S: ... here.
49291         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49292         * sysdeps/powerpc/powerpc32/configure.in: ... this.
49293         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49295         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49296         * sysdeps/powerpc/ifunc-sel.h: ... here.
49297         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49298         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49300         * sysdeps/sparc/elf/configure.in: Moved to ...
49301         * sysdeps/sparc/configure.in: ... here.
49302         * sysdeps/sparc/elf/configure: Delete file.
49303         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49304         * sysdeps/sparc/sparc32/start.S: ... here.
49305         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49306         * sysdeps/sparc/sparc64/start.S: ... here.
49307         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49308         * sysdeps/sparc/sparc32/Makefile: ... this.
49309         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49310         * sysdeps/sparc/sparc64/Makefile: ... this.
49312         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49313         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49314         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49315         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49316         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49317         * sysdeps/s390/s390-32/setjmp.S: ... here.
49318         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49319         * sysdeps/s390/s390-32/configure.in: ... here.
49320         * sysdeps/s390/s390-32/elf/configure: Delete file.
49321         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49322         * sysdeps/s390/s390-32/start.S: ... here.
49324         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49325         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49326         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49327         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49328         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49329         * sysdeps/s390/s390-64/setjmp.S: ... here.
49330         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49331         * sysdeps/s390/s390-64/configure.in: ... here
49332         * sysdeps/s390/s390-64/elf/configure: Delete file.
49333         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49334         * sysdeps/s390/s390-64/start.S: ... here.
49335         * sysdeps/s390/s390-64/elf/configure: Delete.
49337         * configure.in: Remove support for elf directories in sysdeps.
49339         * configure: Regenerated.
49340         * sysdeps/i386/configure: Regenerated.
49341         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49342         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49343         * sysdeps/s390/s390-32/configure: Regenerated.
49344         * sysdeps/s390/s390-64/configure: Regenerated.
49345         * sysdeps/sh/configure: Regenerated.
49346         * sysdeps/sparc/configure: Regenerated.
49347         * sysdeps/x86_64/configure: Regenerated.
49349 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
49351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49353         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49354         denormal result into account.
49356 2012-03-25  Roland McGrath  <roland@hack.frob.com>
49358         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49359         Reported by Allan McRae <allan@archlinux.org>.
49361 2012-03-23  Jeff Law  <law@redhat.com>
49363         * nss/getnssent.c (__nss_getent): Fix typo.
49365 2012-03-23  David S. Miller  <davem@davemloft.net>
49367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49369 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
49371         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49372         to pad to uint64_t for each field.
49373         (dl_tls_index): Replace unsigned long with uint64_t.
49375 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
49376         Paul Pluzhnikov  <ppluzhnikov@google.com>
49378         [BZ #6528]
49379         * grp/Makefile (otherlibs): Don't set it.
49380         * inet/Makefile (otherlibs): Likewise.
49381         * login/Makefile (otherlibs): Likewise.
49382         * nscd/Makefile (otherlibs): Likewise.
49383         * posix/Makefile (otherlibs): Likewise.
49384         * pwd/Makefile (otherlibs): Likewise.
49385         * rt/Makefile (otherlibs): Likewise.
49386         * sunrpc/Makefile (otherlibs): Likewise.
49387         * nss/Makefile (otherlibs): Likewise.
49388         Add libnss_files to routines and static-only-routines.
49389         ($(objpfx)getent): Remove rule.
49390         * resolv/Makefile: Add libnss_dns and libresolv to routines and
49391         static-only-routines.
49393 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49395         [BZ #13892]
49396         * math/s_cexp.c: Include <float.h>.
49397         (__cexp): Handle exp result overflowing not necessarily
49398         overflowing both real and imaginary parts of result.
49399         * math/s_cexpf.c: Likewise.
49400         * math/s_cexpl.c: Likewise.
49401         * math/libm-test.inc (cexp_test): Add more tests.
49402         * sysdeps/i386/fpu/libm-test-ulps: Update.
49403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49405 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49407         * include/link.h (ELFW): New macro.
49408         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49409         Replace ELF64_R_TYPE with ELFW(R_TYPE).
49411 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49413         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49414         with uint64_t.
49416 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49418         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49419         declaration.
49420         (struct La_x32_retval): Likewise.
49422 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49424         * sysdeps/x86_64/preconfigure.in: New file.
49425         * sysdeps/x86_64/preconfigure: New generated file.
49427 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49429         [BZ #13824]
49430         * math/e_exp2l.c: Include <float.h>.
49431         (__ieee754_exp2l): Handle overflow and underflow cases
49432         separately.  Only pass fractional part of argument to
49433         __ieee754_expl.
49434         * math/libm-test.inc (exp2_test): Add more tests.
49436         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49437         negating x to take absolute value.
49438         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49439         Likewise.
49440         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49442         Likewise.
49443         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49444         computing low part if x was negated.
49445         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49447 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49449         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49450         la_x32_gnu_pltexit.
49451         (pltexit): Cast int_retval to ptrdiff_t.
49452         * elf/tst-auditmod3b.c: Likewise.
49453         * elf/tst-auditmod4b.c: Likewise.
49454         * elf/tst-auditmod5b.c: Likewise.
49455         * elf/tst-auditmod6b.c: Likewise.
49456         * elf/tst-auditmod6c.c: Likewise.
49457         * elf/tst-auditmod7b.c: Likewise.
49459         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49460         and x32_gnu_pltexit.
49462         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49463         __ELF_NATIVE_CLASS.
49464         (La_x32_regs): New macro.
49465         (La_x32_retval): Likewise.
49466         (la_x32_gnu_pltenter): New function prototype.
49467         (la_x32_gnu_pltexit): Likewise.
49469 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
49471         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49472         exponent.
49474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49476         * configure.in (libc_cv_cc_nofma): Check for option to disable
49477         generation of FMA instructions.
49478         * configure: Regenerate.
49479         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49480         * sysdeps/ieee754/dbl-64/Makefile: New file.
49481         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49482         Remove brandred-fma4.
49483         (CFLAGS-brandred-fma4.c): Remove.
49484         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49485         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49486         define.
49487         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49488         define.
49490 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49492         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49493         LLONG_MAX != LONG_MAX.
49494         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49495         (_fitoa_word): Likewise.
49496         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49497         LLONG_MAX != LONG_MAX.
49498         * stdio-common/_itowa.h: Include <_itoa.h>.
49499         (_itowa_word): Use _ITOA_WORD_TYPE on value.
49500         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
49501         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
49502         only if not defined.
49503         (_ITOA_WORD_TYPE): Likewise.
49504         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49505         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49507 2012-03-21  David S. Miller  <davem@davemloft.net>
49509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49511 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49513         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49514         of x86_64 when setting libc_cv_slibdir, libdir and
49515         libc_cv_localedir.
49516         * sysdeps/unix/sysv/linux/configure: Regenerated.
49518 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49520         * manual/lang.texi (Old Varargs): Remove section.
49521         (How Variadic): Update menu.
49522         (va_start): Do not mention varargs.h.
49524 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49525             Joseph Myers  <joseph@codesourcery.com>
49527         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49528         link test.
49529         * configure: Regenerated.
49531 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49533         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49534         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49535         conformtest.pl
49537 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49539         * NOTES: Remove.
49540         * Makefile (files-for-dist): Remove NOTES.
49541         (NOTES): Remove rule.
49542         * README: Don't refer to NOTES.
49543         * manual/creature.texi: Don't include macros.texi.
49544         * manual/intro.texi (creature.texi): Remove comment referring to
49545         NOTES.
49547         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49548         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49549         * configure: Regenerated.
49550         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49551         LIBC_TRY_CC_OPTION.
49552         (libc_cv_as_i686): Likewise.
49553         (libc_cv_cc_avx): Likewise.
49554         (libc_cv_cc_sse2avx): Likewise.
49555         (libc_cv_cc_fma4): Likewise.
49556         (libc_cv_cc_novzeroupper): Likewise.
49557         * sysdeps/i386/configure: Regenerated.
49559         [BZ #13883]
49560         * sysdeps/i386/fpu/s_cexp.S: Remove.
49561         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49562         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49563         * math/libm-test.inc (cexp_test): Add more tests.
49564         * sysdeps/i386/fpu/libm-test-ulps: Update.
49565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49567 2012-03-21  Allan McRae  <allan@archlinux.org>
49569         * timezone/Makefile: Do not install iso3166.tab and zone.tab
49571 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49573         [BZ #13871]
49574         * math/w_exp2.c: Do not include <float.h>.
49575         (o_threshold, u_threshold): Remove.
49576         (__exp2): Calculate result before checking finiteness and calling
49577         __kernel_standard.
49578         * math/w_exp2f.c: Likewise.
49579         * math/w_exp2l.c: Likewise.
49580         * math/libm-test.inc (exp2_test): Require overflow exception for
49581         1e6 input.
49583         [BZ #3866]
49584         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49585         range of signed 64-bit integers before using fistpll.  Remove
49586         checks for whether integers fit in mantissa bits.
49587         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49588         the range of signed 32-bit integers before using fistpl.  Remove
49589         checks for whether integers fit in mantissa bits.
49590         * sysdeps/i386/fpu/e_powl.S (p64): New object.
49591         (__ieee754_powl): Test for y outside the range of signed 64-bit
49592         integers before using fistpll.  Reduce 64-bit values to 63-bit
49593         ones as needed.
49594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49595         divide-by-zero is raised for zero to large negative powers.
49596         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49597         (__ieee754_powl): Test for y outside the range of signed 64-bit
49598         integers before using fistpll.  Reduce 64-bit values to 63-bit
49599         ones as needed.
49600         * math/libm-test.inc (pow_test): Add more tests.
49602 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49604         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49605         <stdio-common/_itoa.h>.
49606         * debug/segfault.c: Likewise.
49607         * elf/dl-cache.c: Likewise.
49608         * elf/dl-minimal.c: Likewise.
49609         * elf/dl-misc.c: Likewise.
49610         * elf/dl-sysdep.c: Likewise.
49611         * elf/dl-version.c: Likewise.
49612         * elf/rtld.c: Likewise.
49613         * hurd/hurdsock.c: Likewise.
49614         * hurd/lookup-retry.c: Likewise.
49615         * malloc/malloc.c: Likewise.
49616         * malloc/mtrace.c: Likewise.
49617         * nscd/nscd_getgr_r.c: Likewise.
49618         * nscd/nscd_getpw_r.c: Likewise.
49619         * nscd/nscd_getserv_r.c: Likewise.
49620         * posix/getopt_init.c: Likewise.
49621         * posix/wordexp.c: Likewise.
49622         * stdio-common/_itoa.c: Likewise.
49623         * stdio-common/printf_fphex.c: Likewise.
49624         * stdio-common/vfprintf.c: Likewise.
49625         * string/_strerror.c: Likewise.
49626         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49627         * sysdeps/i386/i686/hp-timing.h: Likewise.
49628         * sysdeps/mach/_strerror.c: Likewise.
49629         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49630         * sysdeps/mach/hurd/sethostid.c: Likewise.
49631         * sysdeps/mach/hurd/xmknodat.c: Likewise.
49632         * sysdeps/mach/xpg-strerror.c: Likewise.
49633         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49634         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49635         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49636         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49637         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49638         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49639         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49640         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49641         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49642         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49643         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49644         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49645         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49646         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49647         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49648         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49649         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49650         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49651         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49652         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49653         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49655         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49657         * stdio-common/_itoa.h: Moved to ...
49658         * sysdeps/generic/_itoa.h: Here.
49660         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49662         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49663         instead of "_itoa.h" and "_itowa.h".
49664         * stdio-common/vfprintf.: Likewise.
49666 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49668         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49669         <bits/wordsize.h>.
49670         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49671         (__signbit): Likwise.
49672         (llrintf): Likwise.
49673         (llrint): Likwise.
49675 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49677         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49678         __WORDSIZE != 64.
49680 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
49682         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49683         OVERFLOW_EXCEPTION_OK.
49684         * math/libm-test.inc ("Philosophy"): Update comment about
49685         exception testing.
49686         (OVERFLOW_EXCEPTION): Define.
49687         (OVERFLOW_EXCEPTION_OK): Likewise.
49688         (INVALID_EXCEPTION_OK): Renumber.
49689         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49690         (IGNORE_ZERO_INF_SIGN): Likewise.
49691         (test_exceptions): Handle FE_OVERFLOW.
49692         (exp10_test): Expect overflow exceptions.
49693         (exp2_test): Likewise.
49694         (expm1_test): Likewise.
49695         (nextafter_test): Likewise.
49696         (pow_test): Likewise.
49697         (scalbn_test): Likewise.
49698         (scalbln_test): Likewise.
49700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49702         * sysdeps/x86_64/bits/atomic.h
49703         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49704         64bit integer.
49705         (atomic_exchange_acq): Likewise.
49706         (__arch_exchange_and_add_body): Likewise.
49707         (__arch_add_body): Likewise.
49708         (atomic_add_negative): Likewise.
49709         (atomic_add_zero): Likewise.
49711 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49713         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49714         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49716 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49718         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49719         Check __x86_64__ instead of __WORDSIZE.
49721 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49723         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49725 2012-03-19  David S. Miller  <davem@davemloft.net>
49727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49729         * sysdeps/sparc/fpu/fenv_private.h: New file.
49730         * sysdeps/sparc/fpu/math_private.h: Use it.
49731         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49732         Remove.
49733         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49734         (libc_feholdexcept_setroundl): Remove.
49735         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49736         Remove.
49737         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49738         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49740 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49742         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49743         int64_t instead of long int.
49744         (INSERT_WORDS64): Likwise.
49746 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49748         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49749         _Unwind_GetCFA return to _Unwind_Ptr first.
49751 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
49753         [BZ #13629]
49754         * math/s_clog.c: Include <float.h>.
49755         (__clog): Scale large or subnormal inputs.
49756         * math/s_clogf.c: Likewise.
49757         * math/s_clogl.c: Likewise.
49758         * math/s_clog10.c: Include <float.h>.
49759         (M_LOG10_2): Define.
49760         (__clog10): Scale large or subnormal inputs.
49761         * math/s_clog10f.c: Likewise.
49762         * math/s_clog10l.c: Likewise.
49763         * math/libm-test.inc (clog_test): Add more tests.
49764         (clog10_test): Likewise.
49765         * sysdeps/i386/fpu/libm-test-ulps: Update.
49766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49768         [BZ #11451]
49769         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49770         x and y.
49771         * math/libm-test.inc (atan2_test): Add another test.
49773         * Makerules (common-objdir-compile): Remove.
49774         * sysdeps/unix/Makefile (config-generated): Do not add
49775         $(unix-generated) to variable.
49776         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49777         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49778         Remove rule.
49779         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49780         Likewise.
49781         [generic bits/local_lim.h] (before-compile): Do not append to
49782         variable.
49783         [generic bits/local_lim.h] (common-generated): Likewise.
49784         [generic sys/param.h] (before-compile): Do not append to variable.
49785         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49786         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49787         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49788         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49789         include.
49790         [generic sys/param.h] (sys/param.h-includes): Remove variable.
49791         [generic sys/param.h] (sys/param.h-includes): Remove rule.
49792         [generic sys/param.h] ($(addprefix
49793         $(common-objpfx),$(sys/param.h-includes))): Likewise.
49794         [generic sys/param.h] (common-generated): Do not append to
49795         variable.
49796         [generic sys/param.h] (sysdep_headers): Likewise.
49797         [generic bits/errno.h] (before-compile): Do not append to
49798         variable.
49799         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49800         rule.
49801         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49802         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49803         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49804         [generic bits/errno.h] (common-generated): Do not append to
49805         variable.
49806         [generic bits/ioctls.h] (before-compile): Do not append to
49807         variable.
49808         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49809         rule.
49810         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49811         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49812         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49813         rule.
49814         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49815         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49816         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49817         [generic bits/ioctls.h] (common-generated): Do not append to
49818         variable.
49819         [generic sys/syscall.h] (syscall.h): Remove variable.
49820         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49821         rule.
49822         [generic sys/syscall.h] (before-compile): Do not append to
49823         variable.
49824         [generic sys/syscall.h] (common-generated): Likewise.
49825         * sysdeps/unix/errnos-tmpl.c: Remove file.
49826         * sysdeps/unix/errnos.awk: Likewise.
49827         * sysdeps/unix/ioctls-tmpl.c: Likewise.
49828         * sysdeps/unix/ioctls.awk: Likewise.
49829         * sysdeps/unix/mk-local_lim.c: Likewise.
49830         * sysdeps/unix/snarf-ioctls: Likewise.
49832 2012-03-19  Richard Henderson  <rth@twiddle.net>
49834         * sysdeps/i386/fpu/fenv_private.h: New file.
49835         * sysdeps/i386/fpu/math_private.h: Use it.
49836         (math_opt_barrier, math_force_eval): Remove.
49837         (libc_feholdexcept_setround_53bit): Remove.
49838         (libc_feupdateenv_53bit): Remove.
49839         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49840         (math_opt_barrier, math_force_eval): Remove.
49841         (libc_feholdexcept): Remove.
49842         (libc_feholdexcept_setround): Remove.
49843         (libc_fetestexcept, libc_fesetenv): Remove.
49844         (libc_feupdateenv_test): Remove.
49845         (libc_feupdateenv, libc_feholdsetround): Remove.
49846         (libc_feresetround): Remove.
49848         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49849         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49851         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49852         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49853         (libc_feupdateenv_testl): New.
49854         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49855         (libc_feupdateenv_testf): New.
49856         (libc_feupdateenv): Use libc_feupdateenv_test.
49857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49858         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49860         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49861         (libc_feholdsetroundf, libc_feholdsetroundl): New.
49862         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49863         (libc_feresetround_noex): New.
49864         (libc_feresetround_noexf): New.
49865         (libc_feresetround_noexl): New.
49866         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49867         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49868         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49869         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49870         SET_RESTORE_ROUND.
49871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49873         (__cos): Likewise.
49874         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49875         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49876         SET_RESTORE_ROUND_NOEX.
49877         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49878         SET_RESTORE_ROUND_NOEXF.
49879         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49880         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49881         (libc_feholdsetroundf): New.
49882         (libc_feresetround, libc_feresetroundf): New.
49884         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49885         (libc_feholdexcept_setround_53bit): Convert from macro to function.
49886         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
49888         * sysdeps/generic/math_private.h: Include <fenv.h>.
49889         (default_libc_feholdexcept): New.
49890         (default_libc_feholdexcept_setround): New.
49891         (default_libc_fesetenv, default_libc_feupdateenv): New.
49892         (libc_feholdexcept): Only define if undefined.
49893         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49894         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49895         (libc_feholdexcept_setroundl): Likewise.
49896         (libc_feholdexcept_setround_53bit): Likewise.
49897         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49898         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49899         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49900         (libc_feupdateenv_53bit): Likewise.
49901         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49902         (libc_feholdexcept): Convert from macro to inline function.
49903         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49904         (libc_fesetenv, libc_feupdateenv): Likewise.
49906         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49907         not previously defined.
49908         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49909         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49910         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49911         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49912         * sysdeps/ieee754/flt-32/math_private.h: New file.
49913         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49914         math_private.h below SET_FLOAT_WORD.
49915         (__isnan, __isinf_ns, __finite): Remove.
49916         (__isnanf, __isinf_nsf, __finitef): Remove.
49918 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
49920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49922 2012-03-17  David S. Miller  <davem@davemloft.net>
49924         [BZ #6471]
49925         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49926         for 2.16.
49928 2012-03-16  David S. Miller  <davem@davemloft.net>
49930         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49931         warnings.
49933         [BZ #6471]
49934         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49935         properly.
49936         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49937         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49938         sysdep_routines when subdir is sysvipc.
49939         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49940         __getshmlba helper.
49942         * sysdeps/sparc/fpu/libm-test/ulps: Update.
49944 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49946         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49947         [__LP64__].
49949 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49951         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49952         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49953         (__lround): Renamed to ...
49954         (__llround): This.  Replace long int with long long int.
49955         Define lround functions as aliases of llround functions.
49956         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49960         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49961         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
49962         adresses to uintptr_t.  Replace "long int" and "unsigned long
49963         int" with "greg_t" on va_arg.
49965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49967         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49968         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49970         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49971         Move e_machine check before EI_CLASS check.  Handle x32
49972         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49973         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49974         SKIP_EM_IA_64 and include
49975         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49977         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49978         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49979         (add_system_dir): New macro.
49981         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49982         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49984 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
49986         [BZ #2551]
49987         [BZ #2552]
49988         [BZ #2553]
49989         [BZ #2554]
49990         [BZ #2562]
49991         [BZ #2563]
49992         [BZ #2565]
49993         [BZ #2566]
49994         [BZ #2576]
49995         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49996         (y0): Likewise.
49997         * math/w_j0f.c (j0f): Likewise.
49998         (y0f): Likewise.
49999         * math/w_j0l.c (__j0l): Likewise.
50000         (__y0l): Likewise.
50001         * math/w_j1.c (j1): Likewise.
50002         (y1): Likewise.
50003         * math/w_j1f.c (j1f): Likewise.
50004         (y1f): Likewise.
50005         * math/w_j1l.c (__j1l): Likewise.
50006         (__y1l): Likewise.
50007         * math/w_jn.c (jn): Likewise.
50008         (yn): Likewise.
50009         * math/w_jnf.c (jnf): Likewise.
50010         (ynf): Likewise.
50011         * math/w_jnl.c (__jnl): Likewise.
50012         (__ynl): Likewise.
50013         * math/libm-test.inc (j0_test): Add more tests.
50014         (j1_test): Likewise.
50015         (jn_test): Likewise.  Add trailing semicolon to existing test.
50016         (y0_test): Likewise.
50017         (y1_test): Likewise.
50018         * sysdeps/i386/fpu/libm-test-ulps: Update.
50019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50021         [BZ #13851]
50022         [BZ #13854]
50023         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50024         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50025         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50026         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50027         (__tanl): Set errno for infinite argument.
50028         * sysdeps/i386/fpu/mptan.c: Remove.
50029         * sysdeps/i386/fpu/s_tan.S: Likewise.
50030         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50031         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50032         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50033         * math/libm-test.inc (tan_test): Add more tests and enable more
50034         tests for double and long double.
50035         * sysdeps/i386/fpu/libm-test-ulps: Update.
50036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50038 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50040         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50041         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50043 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50045         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50046         * configure.in: Use it for both main tree and add-ons.
50047         * configure: Regenerated.
50049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50051         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50053 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50055         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50056         in comment.
50058         [BZ #13851]
50059         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50060         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50061         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50062         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50063         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50064         infinite argument.
50065         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50066         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50067         != 0 for prec == 2.
50068         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50069         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50070         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50071         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50072         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50073         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50074         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50075         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50076         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50077         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50078         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50079         * math/libm-test.inc (cos_test): Add more tests and enable more
50080         tests for long double.
50081         (sin_test): Likewise.
50082         (sincos_test): Likewise.
50083         * sysdeps/i386/fpu/libm-test-ulps: Update.
50084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50086 2012-03-16  David S. Miller  <davem@davemloft.net>
50088         * sysdeps/sparc/fpu/math_private.h: New file.
50090 2012-03-15  David S. Miller  <davem@davemloft.net>
50092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50093         file.
50094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50096         file.
50097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50102         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50103         sysdep routines.
50104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50106         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50107         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50109         * sysdeps/sparc/sparc-ifunc.h: New file.
50110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50111         sparc-ifunc.h
50112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50114         Likewise.
50115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50116         Likewise.
50117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50121         Likewise.
50122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50127         Likewise.
50128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50129         Likewise.
50130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50136         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50144         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50148         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50149         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50150         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50151         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50152         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50153         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50155 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50157         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50158         scaling.
50159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50161 2012-03-15  Andreas Jaeger  <aj@suse.de>
50163         [BZ #13852]
50164         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50165         ieee754/flt-32 implementation for sin, cos and sincos.
50166         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50167         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50168         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50169         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50170         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50171         ieee754/flt-32 implementation for tan.
50173         * math/libm-test.inc (cos_test): Enable some large input tests for
50174         float as well
50175         (sin_test): Likewise.
50176         (sincos_test): Likewise.
50177         (tan_test): Add tests for large input.
50179         * sysdeps/i386/fpu/libm-test-ulps: Update.
50181 2012-03-15  Andreas Jaeger  <aj@suse.de>
50183         [BZ #13658]
50184         * math/libm-test.inc (cos_test): Add more test cases.
50185         (sin_test): Likewise.
50186         (sincos_test): Likewise.
50188 2012-03-15  Andreas Jaeger  <aj@suse.de>
50190         [BZ #13837]
50191         * math/libm-test.inc (cos_test): Add a test case for large input
50192         value.
50193         (sin_test): Likewise.
50194         (sincos_test): Likewise.
50196 2012-03-15  Andreas Jaeger  <aj@suse.de>
50197             Joseph Myers  <joseph@codesourcery.com>
50199         [BZ #13658]
50200         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50201         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50202         * sysdeps/i386/fpu/branred.c: Likewise.
50203         * sysdeps/i386/fpu/dosincos.c: Likewise.
50204         * sysdeps/i386/fpu/mpa.c: Likewise.
50205         * sysdeps/i386/fpu/s_cos.S: Likewise.
50206         * sysdeps/i386/fpu/s_sin.S: Likewise.
50207         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50208         * sysdeps/i386/fpu/sincos32.c: Likewise.
50210         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50211         Define.
50212         (libc_feupdateenv_53bit): Define.
50213         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50214         Define.
50215         (libc_feupdateenv_53bit): Define.
50217         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50218         53 bit (without extend i386 double precision).
50220         * math/libm-test.inc (sincos_test): Add tests for large input.
50221         (sin): Likewise.
50222         (cos): Likewise.
50224         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50226 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50230 2012-03-15  David S. Miller  <davem@davemloft.net>
50232         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50233         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50234         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50235         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50248         file.
50249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50251         file.
50252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50254         file.
50255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50257         file.
50258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50260         fmin/fmax sysdep routines.
50261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50263 2012-03-14  David S. Miller  <davem@davemloft.net>
50265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50269         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50272         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50285         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50286         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50287         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50288         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50289         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50290         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50293         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50294         routines.
50295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50296         file.
50297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50299         file.
50300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50302         file.
50303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50305         file.
50306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50308         file.
50309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50311         file.
50312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50313         file.
50314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50315         file.
50316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50317         file.
50318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50319         New file.
50320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50321         file.
50322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50323         file.
50324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50326         file.
50327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50329         file.
50330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50332         file.
50333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50335         VIS3 routines.
50337         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50338         New file.
50340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50342         * sysdeps/sparc/configure.in: New file.
50343         * sysdeps/sparc/configure: Generate.
50344         * configure.in (libc_cv_sparc_as_vis3): Substitute.
50345         * configure: Regenerate.
50346         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50347         * config.make.in (have-as-vis3): New.
50348         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50349         available use -Av9d instead of -Av9a.
50350         * sysdeps/sparc/sparc64/Makefile: Likewise.
50351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50353         New file.
50354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50355         file.
50356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50357         New file.
50358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50359         file.
50360         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50361         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50362         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50363         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50366         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50367         fzeros/fnegs to load 0x80000000 into a float register instead of
50368         using the stack.
50369         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50371 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50374         bits/syscall.h.
50375         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50376         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50377         ($(inst_includedir)/bits/syscall.h): Remove rule.
50378         ($(objpfx)bits/syscall.d): Include instead of
50379         $(objpfx)syscall-list.d.
50380         (generated): Change syscall-list.h and syscall-list.d to
50381         bits/syscall.h and bits/syscall.d.
50383 2012-03-14  Roland McGrath  <roland@hack.frob.com>
50385         [BZ #13846]
50386         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50388 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50390         [BZ #13841]
50391         * math/s_csqrt.c: Include <float.h>.
50392         (__csqrt): Scale large or subnormal inputs.
50393         * math/s_csqrtf.c: Likewise.
50394         * math/s_csqrtl.c: Likewise.
50395         * math/libm-test.inc (csqrt_test): Add more tests.
50396         * sysdeps/i386/fpu/libm-test-ulps: Update.
50397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50399         [BZ #13840]
50400         * math/libm-test.inc (hypot_test): Add more tests.
50402 2012-03-13  David S. Miller  <davem@davemloft.net>
50404         [BZ #13840]
50405         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50406         double-precision for the calculation instead of scaling.
50408 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
50410         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50411         manipulate bits before adding and subtracting TWO52[sx].
50412         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50413         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50414         Likewise.
50415         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50417 2012-03-13  David S. Miller  <davem@davemloft.net>
50419         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50420         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50422         rtld-global-offsets.h
50423         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50425         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50426         large parameters.
50428         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50430         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50431         'err' in the ifdef scope in which it is actually used.
50433         * nss/nss_db/db-init.c: Include string.h
50435 2012-03-12  David S. Miller  <davem@davemloft.net>
50437         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50438         masking out of the most significant byte of random value used.
50439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50440         Fix coding style in previous change.
50442         * sysdeps/unix/sysv/linux/kernel-features.h
50443         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50444         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50445         expression.
50446         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50447         later.
50449 2012-03-11  David S. Miller  <davem@davemloft.net>
50451         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50452         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50453         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50454         for 'resultvar' otherwise things get truncated on 64-bit.
50456         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50457         Fix masking out of the most significant byte of random value used.
50459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50461 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
50463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50465 2012-03-09  David S. Miller  <davem@davemloft.net>
50467         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50468         variables with appropriate CPP guards.
50469         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50470         from the frame pointer, not the stack pointer.  Correct layout
50471         comments.  Fix test on resulting framesize and the management of
50472         the outregs buffer for pltexit.  Preserve floating point return
50473         values across _dl_call_pltexit call.
50474         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50475         framesize and the management of the outregs buffer for pltexit.
50476         Preserve floating point return values across _dl_call_pltexit
50477         call.
50478         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50479         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50480         (la_sparc64_gnu_pltexit): New functions.
50481         (print_exit): Fix format string for return register value.
50483 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
50485         * sunrpc/Makefile (others): Add rpcgen.
50486         ($(objpfx)rpcgen): Remove special build rule and dependency on
50487         libc.
50488         * sunrpc/rpcgen.c: New file.
50490 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
50492         [BZ #13673]
50493         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50494         * stdio-common/bug-vfprintf-nargs.c: Likewise.
50495         * sysdeps/i386/crti.S: Likewise.
50496         * sysdeps/i386/crtn.S: Likewise.
50497         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50498         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50499         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50500         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50501         * sysdeps/sh/crti.S: Likewise.
50502         * sysdeps/sh/crtn.S: Likewise.
50503         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50505         [BZ #13673]
50506         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50507         with URL.
50508         * locale/programs/locfile-kw.gperf: Likewise.
50509         * locale/programs/charmap-kw.h: Regenerated.
50510         * locale/programs/locfile-kw.h: Likewise.
50512         [BZ #13673]
50513         * intl/plural.y: Replace FSF snail mail address with URL.
50514         * intl/plural.c: Regenerated.
50516 2012-03-09  Richard Henderson  <rth@twiddle.net>
50518         * include/math_private.h: Remove file.
50519         * math/math_private.h: Move file ...
50520         * sysdeps/generic/math_private.h: ... here.
50522         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50523         * sysdeps/powerpc/fpu/math_private.h: Likewise.
50524         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50526         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50527         and <math_private.h>.
50528         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50529         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50530         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50531         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50532         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50533         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50534         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50535         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50536         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50537         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50539         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50540         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50541         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50542         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50543         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50544         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50545         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50546         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50547         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50549         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50550         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50552         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50553         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50554         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50555         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50557         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50558         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50559         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50560         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50561         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50562         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50563         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50564         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50565         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50566         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50567         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50568         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50569         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50570         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50571         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50572         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50573         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50574         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50575         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50576         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50577         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50578         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50579         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50580         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50581         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50582         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50583         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50584         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50585         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50586         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50587         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50588         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50589         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50591         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50592         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50593         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50594         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50595         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50596         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50597         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50598         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50599         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50600         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50601         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50602         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50604         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50606         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50607         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50608         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50609         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50610         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50611         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50612         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50614         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50615         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50616         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50617         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50618         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50619         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50620         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50621         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50622         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50623         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50624         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50625         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50626         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50627         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50628         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50629         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50630         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50631         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50632         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50633         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50634         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50635         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50636         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50637         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50638         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50639         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50640         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50641         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50642         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50643         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50644         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50645         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50646         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50647         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50648         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50649         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50650         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50651         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50652         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50653         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50654         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50655         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50656         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50657         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50658         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50659         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50660         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50661         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50662         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50663         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50664         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50665         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50666         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50667         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50668         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50669         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50670         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50671         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50672         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50673         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50674         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50675         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50676         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50677         * sysdeps/ieee754/k_standard.c: Likewise.
50678         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50679         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50680         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50681         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50682         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50683         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50684         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50685         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50686         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50687         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50688         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50689         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50690         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50691         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50692         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50693         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50694         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50695         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50696         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50697         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50698         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50699         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50700         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50701         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50702         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50703         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50704         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50705         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50706         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50707         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50708         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50709         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50710         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50711         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50712         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50713         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50714         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50715         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50716         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50717         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50718         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50719         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50720         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50721         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50722         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50723         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50724         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50725         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50726         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50727         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50728         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50729         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50730         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50731         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50732         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50733         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50734         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50735         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50736         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50737         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50738         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50739         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50740         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50741         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50742         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50744         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50745         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50746         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50747         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50748         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50749         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50750         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50752         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50753         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50755         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50757         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50758         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50759         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50760         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50761         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50762         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50763         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50764         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50765         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50766         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50768         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50769         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50770         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50771         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50773         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50774         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50775         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50776         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50777         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50778         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50779         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50780         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50781         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50782         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50783         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50784         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50785         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50786         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50787         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50788         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50789         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50790         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50791         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50792         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50793         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50794         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50795         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50796         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50797         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50798         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50799         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50800         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50801         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50802         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50803         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50804         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50805         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50806         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50807         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50808         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50809         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50810         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50811         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50812         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50813         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50814         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50815         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50816         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50817         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50818         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50819         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50820         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50821         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50822         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50823         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50824         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50825         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50826         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50827         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50828         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50829         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50830         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50831         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50832         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50833         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50834         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50835         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50836         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50837         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50838         * sysdeps/ieee754/s_lib_version.c: Likewise.
50839         * sysdeps/ieee754/s_matherr.c: Likewise.
50840         * sysdeps/ieee754/s_signgam.c: Likewise.
50841         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50843         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50844         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50845         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50846         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50847         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50848         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50849         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50850         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50851         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50852         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50853         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50854         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50855         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50856         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50857         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50858         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50859         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50860         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50861         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50863 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50865         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50866         * sunrpc/rpc_main.c: Likewise.
50867         * sunrpc/rpc_svcout.c: Likewise.
50869 2012-03-09  David S. Miller  <davem@davemloft.net>
50871         * include/math_private.h: New file.
50873 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50875         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50876         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50877         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50878         from <bits/socket_type.h>.
50879         (enum __socket_type): Don't define here.
50880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50881         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50882         bits/socket_type.h.
50884         [BZ #13566]
50885         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50886         checking __USE_GNU.
50888         * Makerules ($(inst_includedir)/%.h): New rule.
50889         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50890         (install-others): Remove variable setting.
50891         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50893 2012-03-08  Richard Henderson  <rth@twiddle.net>
50895         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50896         from macro to inline function; merge with the
50897         !__LIBC_INTERNAL_MATH_INLINES version.
50898         (__ieee754_sqrtf): Likewise.
50900         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50901         to inline function.
50902         (__rintf, __floor, __floorf): Likewise.
50904         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50905         macro to inline function.
50906         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50908         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50909         not <math/math_private.h>.
50911 2012-03-08  David S. Miller  <davem@davemloft.net>
50913         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50914         copyright year.
50915         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50917 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
50919         * resolv/gai_misc.c (handle_requests): Fix struct timespec
50920         normalization.
50921         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50922         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50924 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
50926         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
50927         be defined individually, they must be defined as a block.  Define
50928         S for printing a string instead of hidint the different by using a
50929         macro for adding the 'l'.
50930         * stdio-common/tst-fphex-wide.c: Adjust.
50932 2012-03-07  Marek Polacek  <polacek@redhat.com>
50934         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50936 2012-03-08  Marek Polacek  <polacek@redhat.com>
50938         [BZ #13806]
50939         * stdio-common/Makefile (tests): Add tst-fphex-wide.
50940         * stdio-common/tst-fphex.c: Define a few macros to make the
50941         test reusable.  Use them.
50942         * stdio-common/tst-fphex-wide.c: New file.
50944 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
50946         [BZ #6911]
50947         * manual/macros.texi (gnusystems): New macro.
50948         (nongnusystems): Likewise.
50949         (gnulinuxhurdsystems): Likewise.
50950         (gnuhurdsystems): Likewise..
50951         (gnulinuxsystems): Likewise.
50952         * manual/charset.texi: Use new macros or @theglibc{} to refer to
50953         variants of the GNU system, not "GNU system".
50954         * manual/conf.texi: Likewise.
50955         * manual/errno.texi: Likewise.  Update example of errno macro
50956         expansion.
50957         * manual/filesys.texi: Likewise.
50958         (getumask): Document as specific to GNU/Hurd.
50959         * manual/install.texi: Likewise.  Reword some references to
50960         GNU/Linux.
50961         * manual/intro.texi: Likewise.
50962         * manual/io.texi: Likewise.
50963         (File Name Portability): Detail which constraints are inapplicable
50964         to all GNU systems and which are only inapplicable to GNU/Hurd.
50965         * manual/job.texi: Likewise.
50966         * manual/llio.texi: Likewise.
50967         (O_NOCTTY): Document as present on GNU/Linux.
50968         * manual/maint.texi: Likewise.
50969         * manual/memory.texi: Likewise.
50970         * manual/pattern.texi: Likewise.
50971         * manual/pipe.texi: Likewise.
50972         * manual/process.texi: Likewise.
50973         * manual/resource.texi: Likewise.
50974         (RUSAGE_CHILDREN): Remove statement about specifying a particular
50975         child on GNU/Hurd.
50976         * manual/setjmp.texi: Likewise.
50977         * manual/signal.texi: Likewise.
50978         * manual/startup.texi: Likewise.
50979         * manual/stdio.texi: Likewise.
50980         * manual/terminal.texi: Likewise.
50981         (ONLCR): Document as POSIX.
50982         (OXTABS): Document availability on GNU/Linux as XTABS.
50983         (ONOEOT): Document availability separately from other bits.
50984         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50985         * manual/time.texi: Likewise.
50986         * manual/users.texi: Likewise.
50987         * INSTALL: Regenerated.
50988         * sysdeps/gnu/errlist.c: Regenerated.
50990         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50991         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50992         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
50993         puts.
50994         * configure: Regenerated.
50996 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
50998         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50999         default includes instead of AC_HEADER_CHECK.
51000         * sysdeps/i386/configure: Regenerated.
51002         [BZ #10716]
51003         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51004         * math/s_cacoshf.c (__cacoshf): Likewise.
51005         * math/s_cacoshl.c (__cacoshl): Likewise.
51006         * math/s_casinh.c (__casinh): Set signs of result from argument.
51007         * math/s_casinhf.c (__casinhf): Likewise.
51008         * math/s_casinhl.c (__casinhl): Likewise.
51009         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51010         (casinh_test): Add more tests.
51011         * sysdeps/i386/fpu/libm-test-ulps: Update.
51012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51014 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51016         * po/zh_TW.po: Update from translation team.
51018         * login/Makefile (distribute): Remove variable.
51019         * catgets/Makefile: Likewise.
51020         * mach/Makefile: Likewise.
51021         * malloc/Makefile: Likewise.
51022         * misc/Makefile: Likewise.
51023         * iconv/Makefile: Likewise.
51024         * nscd/Makefile: Likewise.
51025         * hurd/Makefile: Likewise.
51026         * manual/Makefile: Likewise.
51027         * locale/Makefile: Likewise.
51028         * intl/Makefile: Likewise.
51029         * conform/Makefile: Likewise.
51030         * nss/Makefile: Likewise.
51031         * time/Makefile: Likewise.
51032         * soft-fp/Makefile: Likewise.
51033         * dirent/Makefile: Likewise.
51034         * gmon/Makefile: Likewise.
51035         * po/Makefile: Likewise.
51036         * rt/Makefile: Likewise.
51037         * socket/Makefile: Likewise.
51038         * math/Makefile: Likewise.
51039         * signal/Makefile: Likewise.
51040         * debug/Makefile: Likewise.
51041         * elf/Makefile: Likewise.
51042         * timezone/Makefile: Likewise.
51043         * stdlib/Makefile: Likewise.
51044         * iconvdata/Makefile: Likewise.
51045         * sunrpc/Makefile: Likewise.
51046         * io/Makefile: Likewise.
51047         * argp/Makefile: Likewise.
51048         * inet/Makefile: Likewise.
51049         * hesiod/Makefile: Likewise.
51050         * grp/Makefile: Likewise.
51051         * csu/Makefile: Likewise.
51052         * wctype/Makefile: Likewise.
51053         * crypt/Makefile: Likewise.
51054         * libio/Makefile: Likewise.
51055         * string/Makefile: Likewise.
51056         * nis/Makefile: Likewise.
51057         * resolv/Makefile: Likewise.
51058         * stdio-common/Makefile: Likewise.
51059         * wcsmbs/Makefile: Likewise.
51060         * dlfcn/Makefile: Likewise.
51061         * posix/Makefile: Likewise.
51063         [BZ #6959]
51064         * timezone/Makefile: Don't install timezone files, just the programs
51065         and scripts.
51067 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51069         * nss/databases.def: Add missing gshadow entry.
51071         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51073 2012-03-06  Marek Polacek  <polacek@redhat.com>
51075         [BZ #13726]
51076         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51077         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51078         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51079         * stdio-common/tst-long-dbl-fphex.c: New file.
51081 2012-03-06  David S. Miller  <davem@davemloft.net>
51083         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51084         (set_obp_int): New function.
51085         (get_obp_int): New function.
51086         (__get_clockfreq_via_dev_openprom): Likewise.
51087         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51088         Avoid unused variable warnings on 'val' and use builtin_expect.
51089         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51090         __builtin_expect.
51091         (INLINE_CLONE_SYSCALL): Likewise.
51093 2012-03-05  David S. Miller  <davem@davemloft.net>
51095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51097 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51101         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51102         only for |x| >= 40.
51103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51105 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51107         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51108         Replace gettimeofday with __vdso_gettimeofday.
51110         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51111         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51112         __vdso_clock_gettime and __vdso_getcpu.
51114         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51115         time with __vdso_time.
51117 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51119         * manual/lang.texi (size_t): Note types to which size_t may be
51120         equivalent with the GNU C Library, but do not describe when
51121         differences between them are significant.
51123 2012-03-05  Andreas Jaeger  <aj@suse.de>
51125         * sysdeps/i386/fpu/libm-test-ulps: Update.
51127 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51129         [BZ #3976]
51130         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51131         (__ieee754_pow): Save and restore rounding mode and use
51132         round-to-nearest for main computations.
51133         * math/libm-test.inc (pow_test_tonearest): New function.
51134         (pow_test_towardzero): Likewise.
51135         (pow_test_downward): Likewise.
51136         (pow_test_upward): Likewise.
51137         (main): Call the new functions.
51138         * sysdeps/i386/fpu/libm-test-ulps: Update.
51139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51141         [BZ #3976]
51142         * math/libm-test.inc (cosh_test_tonearest): New function.
51143         (cosh_test_towardzero): Likewise.
51144         (cosh_test_downward): Likewise.
51145         (cosh_test_upward): Likewise.
51146         (sinh_test_tonearest): Likewise.
51147         (sinh_test_towardzero): Likewise.
51148         (sinh_test_downward): Likewise.
51149         (sinh_test_upward): Likewise.
51150         (main): Call the new functions.
51151         * sysdeps/i386/fpu/libm-test-ulps: Update.
51152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51154 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51156         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51157         default stack guard is set in last bytes.
51158         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51160 2012-03-05  Kees Cook  <keescook@chromium.org>
51162         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51164         [BZ #13656]
51165         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51166         possibly allocate from heap instead of stack.
51167         * stdio-common/bug-vfprintf-nargs.c: New file.
51168         * stdio-common/Makefile (tests): Add nargs overflow test.
51170 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51174 2012-03-03  Marek Polacek  <polacek@redhat.com>
51176         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51177         * math/math_private.h: Likewise.
51178         * stdlib/tst-strtod.c: Likewise.
51179         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51180         * sysdeps/x86_64/bits/atomic.h: Likewise.
51182 2012-03-02  David S. Miller  <davem@davemloft.net>
51184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51188         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51189         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51190         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51191         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51193 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51195         [BZ #13792]
51196         * manual/examples/README: New file, says the example source files
51197         can be used under GPL>=2.
51198         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51199         line containing just "*/".
51200         * manual/examples/add.c: Add copyright header (GPL>=2).
51201         * manual/examples/argp-ex1.c: Likewise.
51202         * manual/examples/argp-ex2.c: Likewise.
51203         * manual/examples/argp-ex3.c: Likewise.
51204         * manual/examples/argp-ex4.c: Likewise.
51205         * manual/examples/atexit.c: Likewise.
51206         * manual/examples/db.c: Likewise.
51207         * manual/examples/dir.c: Likewise.
51208         * manual/examples/dir2.c: Likewise.
51209         * manual/examples/execinfo.c: Likewise.
51210         * manual/examples/filecli.c: Likewise.
51211         * manual/examples/filesrv.c: Likewise.
51212         * manual/examples/fmtmsgexpl.c: Likewise.
51213         * manual/examples/genpass.c: Likewise.
51214         * manual/examples/inetcli.c: Likewise.
51215         * manual/examples/inetsrv.c: Likewise.
51216         * manual/examples/isockad.c: Likewise.
51217         * manual/examples/longopt.c: Likewise.
51218         * manual/examples/memopen.c: Likewise.
51219         * manual/examples/memstrm.c: Likewise.
51220         * manual/examples/mkfsock.c: Likewise.
51221         * manual/examples/mkisock.c: Likewise.
51222         * manual/examples/mygetpass.c: Likewise.
51223         * manual/examples/pipe.c: Likewise.
51224         * manual/examples/popen.c: Likewise.
51225         * manual/examples/rprintf.c: Likewise.
51226         * manual/examples/search.c: Likewise.
51227         * manual/examples/select.c: Likewise.
51228         * manual/examples/setjmp.c: Likewise.
51229         * manual/examples/sigh1.c: Likewise.
51230         * manual/examples/sigusr.c: Likewise.
51231         * manual/examples/stpcpy.c: Likewise.
51232         * manual/examples/strdupa.c: Likewise.
51233         * manual/examples/strftim.c: Likewise.
51234         * manual/examples/strncat.c: Likewise.
51235         * manual/examples/subopt.c: Likewise.
51236         * manual/examples/swapcontext.c: Likewise.
51237         * manual/examples/termios.c: Likewise.
51238         * manual/examples/testopt.c: Likewise.
51239         * manual/examples/testpass.c: Likewise.
51240         * manual/examples/timeval_subtract.c: Likewise.
51242         [BZ #13792]
51243         * manual/time.texi (Elapsed Time): Move timeval_subtract example
51244         function to ...
51245         * manual/timeval_subtract.c.texi: ... here, new file.
51247 2012-03-02  David S. Miller  <davem@davemloft.net>
51249         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51251 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
51253         [BZ #3976]
51254         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51255         (__sin): Save and restore rounding mode and use round-to-nearest
51256         for all computations.
51257         (__cos): Save and restore rounding mode and use round-to-nearest
51258         for all computations.
51259         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51260         <fenv.h>.
51261         (tan): Save and restore rounding mode and use round-to-nearest for
51262         all computations.
51263         * math/libm-test.inc (cos_test_tonearest): New function.
51264         (cos_test_towardzero): Likewise.
51265         (cos_test_downward): Likewise.
51266         (cos_test_upward): Likewise.
51267         (sin_test_tonearest): Likewise.
51268         (sin_test_towardzero): Likewise.
51269         (sin_test_downward): Likewise.
51270         (sin_test_upward): Likewise.
51271         (tan_test_tonearest): Likewise.
51272         (tan_test_towardzero): Likewise.
51273         (tan_test_downward): Likewise.
51274         (tan_test_upward): Likewise.
51275         (main): Call the new functions.
51276         * sysdeps/i386/fpu/libm-test-ulps: Update.
51277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51279         [BZ #10135]
51280         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51281         small n, then large n, before computing and testing k+n.
51282         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51283         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51284         Likewise.
51285         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51286         Likewise.
51287         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51288         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51289         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51290         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51293         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51294         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51295         * math/libm-test.inc (scalbn_test): Add more tests.
51296         (scalbln_test): Likewise.
51298         * manual/filesys.texi (mode_t): Describe constraints on size and
51299         signedness, not exact equivalence to a particular type.
51300         (ino_t): Likewise.
51301         (ino64_t): Likewise.
51302         (dev_t): Likewise.
51303         (nlink_t): Likewise.
51304         (blkcnt_t): Likewise.
51305         (blkcnt64_t): Likewise.
51306         * manual/llio.texi (off_t): Likewise.
51308         [BZ #3976]
51309         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51310         (__ieee754_exp): Save and restore rounding mode and use
51311         round-to-nearest for all computations.
51312         * math/libm-test.inc (exp_test_tonearest): New function.
51313         (exp_test_towardzero): Likewise.
51314         (exp_test_downward): Likewise.
51315         (exp_test_upward): Likewise.
51316         (main): Call the new functions.
51317         * sysdeps/i386/fpu/libm-test-ulps: Update.
51318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51320 2012-03-01  Chris Demetriou  <cgd@google.com>
51322         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51323         have predictable order.
51325 2012-03-01  David S. Miller  <davem@davemloft.net>
51327         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51329         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51330         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51331         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51332         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51334         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51335         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51336         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51338         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51339         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51340         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51341         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51342         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51346         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51347         * sysdeps/sparc/fpu/libm-test-ulps: to here.
51348         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51350         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51351         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51352         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51353         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51354         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51355         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51356         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51357         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51358         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51359         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51360         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51361         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51363         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51364         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51366         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51367         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51368         * sysdeps/sparc/elf/configure: Regenerated.
51370 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
51372         * configure.in (AS, LD): Require binutils 2.20 or later.
51373         * configure: Regenerated.
51374         * manual/install.texi (Tools for Compilation): Give binutils 2.20
51375         as required minimum version.
51376         * INSTALL: Regenerated.
51378         [BZ #2541]
51379         [BZ #4108]
51380         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51381         before squaring exponent.
51382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51383         bottom long double and 27 bits of top long double before squaring
51384         exponent.
51385         * math/libm-test.inc (erfc_test): Add more tests.
51386         * sysdeps/i386/fpu/libm-test-ulps: Update.
51387         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51390 2012-03-01  Kai Tietz  <ktietz@redhat.com>
51392         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51393         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51394         containing bit-fields.
51395         * soft-fp/extended.h (_FP_UNION_E): Likewise.
51396         * soft-fp/single.h (_FP_UNION_S): Likewise.
51397         * soft-fp/double.h (_FP_UNION_D): Likewise.
51399 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51401         [BZ #13786]
51402         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51403         not include ../strcmp.S.
51404         [USE_AS_STRNCASECMP_L]: Likewise.
51405         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51406         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51407         * sysdeps/i386/i686/multiarch/strncase_l-c.c
51408         (__strncasecmp_l_ia32): Define as alias to
51409         __strncasecmp_l_nonascii.
51411         [BZ #5794]
51412         * math/libm-test.inc (expm1_test): Add test for bug 5794.
51413         * sysdeps/i386/fpu/libm-test-ulps: Update.
51414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51416         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51419 2012-02-29  Jeff Law  <law@redhat.com>
51421         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51422         out of bounds read.
51424 2012-02-29  Marek Polacek  <polacek@redhat.com>
51426         [BZ #13706]
51427         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51428         * elf/Makefile: Add rules to run tst-unused-dep.out.
51430 2012-02-28  David S. Miller  <davem@davemloft.net>
51432         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51433         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51434         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51435         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51436         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51437         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51439 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51441         * math/libm-test.inc (llround_test): Move one test from
51442         lround_test.  Use TEST_f_L in moved test.
51443         (lround_test): Move misplaced test to llround_test.  Add testcase
51444         from bug 2561.
51446 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
51448         * sysdeps/x86_64/fpu/e_expf.S: New file.
51449         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51451 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
51453         [BZ #13637]
51454         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51455         of remain_len that may cause incomplete multi-byte character and
51456         false match.
51457         * posix/bug-regex33.c: New file.
51458         * posix/Makefile (tests): Add bug-regex33.
51460 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
51462         * manual/macros.texi: New file.
51463         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51464         * manual/libc.texinfo: Include macros.texi.
51465         * manual/creatute.texi: Likewise.
51466         * manual/install.texi: Likewise.
51467         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51468         @glibcadj{} in references to the GNU C Library.
51469         * manual/charset.texi: Likewise.
51470         * manual/conf.texi: Likewise.
51471         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
51472         when not using those macros.
51473         * manual/creature.texi: Likewise.
51474         * manual/crypt.texi: Likewise.
51475         * manual/errno.texi: Likewise.
51476         * manual/filesys.texi: Likewise.
51477         * manual/header.texi: Likewise.
51478         * manual/install.texi: Likewise.
51479         * manual/intro.texi: Likewise.
51480         * manual/io.texi: Likewise.
51481         * manual/job.texi: Likewise.
51482         * manual/lang.texi: Likewise.
51483         * manual/libc.texiinfo: Likewise.
51484         * manual/llio.texi: Likewise.
51485         * manual/locale.texi: Likewise.
51486         * manual/maint.texi: Likewise.
51487         * manual/math.texi: Likewise.
51488         * manual/memory.texi: Likewise.
51489         * manual/message.texi: Likewise.
51490         * manual/nss.texi: Likewise.
51491         * manual/pattern.texi: Likewise.
51492         * manual/process.texi: Likewise.
51493         * manual/resource.texi: Likewise.
51494         * manual/search.texi: Likewise.
51495         * manual/setjmp.texi: Likewise.
51496         * manual/signal.texi: Likewise.
51497         * manual/socket.texi: Likewise.
51498         * manual/startup.texi: Likewise.
51499         * manual/stdio.texi: Likewise.
51500         * manual/string.texi: Likewise.
51501         * manual/sysinfo.texi: Likewise.
51502         * manual/syslog.texi: Likewise.
51503         * manual/terminal.texi: Likewise.
51504         * manual/time.texi: Likewise.
51505         * manual/users.texi: Likewise.
51506         * INSTALL: Regenerated.
51507         * NOTES: Regenerated.
51508         * sysdeps/gnu/errlist.c: Regenerated.
51510 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
51512         * include/dirent.h: Include <dirstream.h> before
51513         <dirent/dirent.h>.
51515 2012-02-28  David S. Miller  <davem@davemloft.net>
51517         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51518         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51519         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51520         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51522 2012-02-27  David S. Miller  <davem@davemloft.net>
51524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51526         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51527         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51530         frame pointer instead of stack pointer relative arg slot.
51531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51532         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51533         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51535 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
51537         [BZ #3992]
51538         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51540 2012-02-27  David S. Miller  <davem@davemloft.net>
51542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51546         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51547         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51548         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51549         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51551 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51553         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51554         later.  Allow versions 5-9.
51555         * configure: Regenerated.
51556         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51557         required minimum version and 4.6 as recommended version.  Do not
51558         mention bugs in GCC 2.7 and 2.8.
51559         * INSTALL: Regenerated.
51561 2012-02-27  David S. Miller  <davem@davemloft.net>
51563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51567         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51568         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51569         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51570         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51572         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51573         manipulate bits before adding and subtracting TWO112[sx].
51574         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51576 2012-02-27  Roland McGrath  <roland@hack.frob.com>
51578         [BZ #13775]
51579         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51580         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51581         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51582         being in POSIX, because they are in 1003.1-2008.
51584         * rt/tst-aio.c: Include <fcntl.h>.
51585         * rt/tst-aio7.c: Likewise.
51586         * rt/tst-aio64.c: Likewise.
51588         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51590 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51592         * manual/install.texi (--with-headers): Describe headers as
51593         interface headers, not private headers.
51594         (Specific advice for GNU/Linux systems): Describe use of headers
51595         from "make headers_install", not private headers from older
51596         kernels.
51597         * INSTALL: Regenerated.
51598         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51599         Change to 2.6.19.
51600         * sysdeps/unix/sysv/linux/configure: Regenerated.
51602         * manual/llio.texi (fclean): Remove documentation.
51604         * manual/Makefile (libc-texi-generated): New variable.  Include
51605         version.texi.
51606         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51607         $(libc-texi-generated), not duplicated list of files.
51608         (version.texi, stamp-version): New rules.
51609         (realclean): Remove $(libc-texi-generated), not individual files
51610         from that list.  Do not remove dir-add.texinfo.
51611         * manual/libc.texinfo: Comment out uses of edition numbers and
51612         references to printed manual.  Remove last-updated dates.
51613         (EDITION): Comment out.
51614         (ISBN): Likewise.
51615         (VERSION, UPDATED): Remove.
51616         (version.texi): Include.
51618 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
51620         * sysdeps/posix/spawni.c: Include <signal.h>.
51621         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51622         * sysdeps/pthread/aio_fsync.c: Likewise.
51624 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
51626         * conform/Makefile (tests): Run only when not cross-compiling and
51627         when fast-check is not defined.
51629         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51630         * conform/data/limits.h-data: Fixes for POSIX2008.
51631         * conform/run-conformtest.sh: Run all tests.
51632         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51633         headers.
51634         * include/bits/dlfcn.h: Likewise.
51635         * include/langinfo.h: Likewise.
51636         * include/monetary.h: Likewise.
51637         * include/sys/poll.h: Likewise.
51639         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51640         for __USE_GNU.
51641         * posix/spawn.h: Define __need_sigset_t.
51642         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51643         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51644         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
51645         to get sigevent_t only.
51646         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51647         only for __USE_GNU.
51648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51649         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51650         process_vm_writev only for __USE_GNU.
51651         * termios/termios.h: Declare tcgetsid also for POSIX2008.
51653         * conform/Makefile: For now ignore errors from run-conformtest.
51654         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
51655         POSIX to avoid namespace pollution.  Don't prepend headers.
51656         * conform/data/aio.h-data: Fixes for POSIX testing.
51657         * conform/data/fcntl.h-data: Likewise.
51658         * conform/data/glob.h-data: Likewise.
51659         * conform/data/grp.h-data: Likewise.
51660         * conform/data/pthread.h-data: Likewise.
51661         * conform/data/pwd.h-data: Likewise.
51662         * conform/data/signal.h-data: Likewise.
51663         * conform/data/spawn.h-data: Likewise.
51664         * conform/data/stdio.h-data: Likewise.
51665         * conform/data/stdlib.h-data: Likewise.
51666         * conform/data/stropts.h-data: Likewise.
51667         * conform/data/sys/mman.h-data: Likewise.
51668         * conform/data/sys/stat.h-data: Likewise.
51669         * conform/data/sys/types.h-data: Likewise.
51670         * conform/data/sys/wait.h-data: Likewise.
51671         * conform/data/time.h-data: Likewise.
51672         * conform/data/unistd.h-data: Likewise.
51673         * conform/data/utime.h-data: Likewise.
51675         * io/sys/stat.h: fchmod was always in POSIX.
51676         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51677         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51678         * rt/aio.h: Define __need_timespec before including <time.h>.
51679         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51680         struct.  Add forward declaration of pthread_attr_t and use it in
51681         sigevent.
51682         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51683         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51684         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51685         always remove CLK_TCK definition.
51687 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
51689         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51691 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
51693         * conform/run-conformtest.sh: New file.
51694         * conform/Makefile: Run run-conformtest for tests.
51695         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
51696         support.
51698         * conform/data/uchar.h-data: New file.
51699         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51700         * conform/data/arpa/inet.h-data: Likewise.
51701         * conform/data/assert.h-data: Likewise.
51702         * conform/data/complex.h-data: Likewise.
51703         * conform/data/cpio.h-data: Likewise.
51704         * conform/data/ctype.h-data: Likewise.
51705         * conform/data/dirent.h-data: Likewise.
51706         * conform/data/dlfcn.h-data: Likewise.
51707         * conform/data/errno.h-data: Likewise.
51708         * conform/data/fcntl.h-data: Likewise.
51709         * conform/data/float.h-data: Likewise.
51710         * conform/data/fmtmsg.h-data: Likewise.
51711         * conform/data/fnmatch.h-data: Likewise.
51712         * conform/data/ftw.h-data: Likewise.
51713         * conform/data/glob.h-data: Likewise.
51714         * conform/data/grp.h-data: Likewise.
51715         * conform/data/iconv.h-data: Likewise.
51716         * conform/data/inttypes.h-data: Likewise.
51717         * conform/data/langinfo.h-data: Likewise.
51718         * conform/data/libgen.h-data: Likewise.
51719         * conform/data/limits.h-data: Likewise.
51720         * conform/data/locale.h-data: Likewise.
51721         * conform/data/math.h-data: Likewise.
51722         * conform/data/monetary.h-data: Likewise.
51723         * conform/data/mqueue.h-data: Likewise.
51724         * conform/data/ndbm.h-data: Likewise.
51725         * conform/data/net/if.h-data: Likewise.
51726         * conform/data/netdb.h-data: Likewise.
51727         * conform/data/netinet/in.h-data: Likewise.
51728         * conform/data/nl_types.h-data: Likewise.
51729         * conform/data/poll.h-data: Likewise.
51730         * conform/data/pthread.h-data: Likewise.
51731         * conform/data/pwd.h-data: Likewise.
51732         * conform/data/regex.h-data: Likewise.
51733         * conform/data/sched.h-data: Likewise.
51734         * conform/data/search.h-data: Likewise.
51735         * conform/data/semaphore.h-data: Likewise.
51736         * conform/data/setjmp.h-data: Likewise.
51737         * conform/data/signal.h-data: Likewise.
51738         * conform/data/spawn.h-data: Likewise.
51739         * conform/data/stdarg.h-data: Likewise.
51740         * conform/data/stdio.h-data: Likewise.
51741         * conform/data/stdlib.h-data: Likewise.
51742         * conform/data/string.h-data: Likewise.
51743         * conform/data/strings.h-data: Likewise.
51744         * conform/data/stropts.h-data: Likewise.
51745         * conform/data/sys/ipc.h-data: Likewise.
51746         * conform/data/sys/mman.h-data: Likewise.
51747         * conform/data/sys/msg.h-data: Likewise.
51748         * conform/data/sys/resource.h-data: Likewise.
51749         * conform/data/sys/select.h-data: Likewise.
51750         * conform/data/sys/sem.h-data: Likewise.
51751         * conform/data/sys/shm.h-data: Likewise.
51752         * conform/data/sys/socket.h-data: Likewise.
51753         * conform/data/sys/stat.h-data: Likewise.
51754         * conform/data/sys/statvfs.h-data: Likewise.
51755         * conform/data/sys/time.h-data: Likewise.
51756         * conform/data/sys/timeb.h-data: Likewise.
51757         * conform/data/sys/times.h-data: Likewise.
51758         * conform/data/sys/types.h-data: Likewise.
51759         * conform/data/sys/uio.h-data: Likewise.
51760         * conform/data/sys/un.h-data: Likewise.
51761         * conform/data/sys/utsname.h-data: Likewise.
51762         * conform/data/sys/wait.h-data: Likewise.
51763         * conform/data/syslog.h-data: Likewise.
51764         * conform/data/tar.h-data: Likewise.
51765         * conform/data/termios.h-data: Likewise.
51766         * conform/data/utime.h-data: Likewise.
51767         * conform/data/utmpx.h-data: Likewise.
51768         * conform/data/varargs.h-data: Likewise.
51769         * conform/data/wchar.h-data: Likewise.
51770         * conform/data/wctype.h-data: Likewise.
51771         * conform/data/wordexp.h-data: Likewise.
51773         * include/stropts.h: New file.
51774         * include/uchar.h: New file.
51775         * include/aio.h: Changes to allow conformtest.pl to use the headers.
51776         * include/assert.h: Likewise.
51777         * include/ctype.h: Likewise.
51778         * include/dirent.h: Likewise.
51779         * include/dlfcn.h: Likewise.
51780         * include/fcntl.h: Likewise.
51781         * include/fnmatch.h: Likewise.
51782         * include/glob.h: Likewise.
51783         * include/grp.h: Likewise.
51784         * include/libio.h: Likewise.
51785         * include/locale.h: Likewise.
51786         * include/math.h: Likewise.
51787         * include/net/if.h: Likewise.
51788         * include/netdb.h: Likewise.
51789         * include/netinet/in.h: Likewise.
51790         * include/pthread.h: Likewise.
51791         * include/pwd.h: Likewise.
51792         * include/regex.h: Likewise.
51793         * include/sched.h: Likewise.
51794         * include/search.h: Likewise.
51795         * include/setjmp.h: Likewise.
51796         * include/signal.h: Likewise.
51797         * include/stdio.h: Likewise.
51798         * include/stdlib.h: Likewise.
51799         * include/string.h: Likewise.
51800         * include/sys/cdefs.h: Likewise.
51801         * include/sys/mman.h: Likewise.
51802         * include/sys/msg.h: Likewise.
51803         * include/sys/resource.h: Likewise.
51804         * include/sys/select.h: Likewise.
51805         * include/sys/socket.h: Likewise.
51806         * include/sys/stat.h: Likewise.
51807         * include/sys/statvfs.h: Likewise.
51808         * include/sys/time.h: Likewise.
51809         * include/sys/times.h: Likewise.
51810         * include/sys/uio.h: Likewise.
51811         * include/sys/utsname.h: Likewise.
51812         * include/sys/wait.h: Likewise.
51813         * include/termios.h: Likewise.
51814         * include/time.h: Likewise.
51815         * include/ulimit.h: Likewise.
51816         * include/unistd.h: Likewise.
51817         * include/utime.h: Likewise.
51818         * include/wchar.h: Likewise.
51819         * include/wctype.h: Likewise.
51820         * include/wordexp.h: Likewise.
51822         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51824         * time/time.h: TIME_UTC must be a macro.
51825         Make timespec_get available for ISO C11 only as well.
51827 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
51829         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51830         Reported by Peng Haitao <penght@cn.fujitsu.com>.
51832 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51834         * configure.in: Use -o not -a in test for unsupported multi-arch.
51836 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51838         * manual/texinfo.tex: Update to version 2012-01-19.16.
51840 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51842         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51844 2012-02-24  Roland McGrath  <roland@hack.frob.com>
51846         [BZ #13738]
51847         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51848         * manual/fdl-1.3.texi: New file.
51849         * manual/fdl-1.1.texi: File removed.
51851         [BZ #13738]
51852         * manual/libc.texinfo (FDL_VERSION): New @set.
51853         Use it for mention of FDL in cover text.
51854         (Documentation License): Use it in @include file name.
51856 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51857             Roland McGrath  <roland@hack.frob.com>
51859         [BZ #5461]
51860         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51861         (not LONG_LONG_MAX and LONG_LONG_MIN.
51862         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51863         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
51864         name.
51865         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51867 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51869         [BZ #2547]
51870         [BZ #11365]
51871         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51872         manipulate bits before adding and subtracting TWO23[sx].
51873         * math/libm-test.inc (nearbyint_test): Add more tests.
51875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51877         [BZ #2548]
51878         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51879         bits before adding and subtracting TWO23[sx].
51880         * math/libm-test.inc (rint_test): Add more tests.
51881         (rint_test_tonearest): Likewise.
51882         (rint_test_towardzero): Likewise.
51883         (rint_test_downward): Likewise.
51884         (rint_test_upward: Likewise.
51886 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51888         [BZ #10110]
51889         * include/stdc-predef.h: New file.  Extracted from features.h.
51890         * include/features.h: Include stdc-predef.h.
51891         * Makefile (headers): Add stdc-predef.h.
51892         * CONFORMANCE (Compiler limitations): Update.
51894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51896         * manual/libc.texinfo (VERSION, UPDATED): Revert.
51898 2012-02-21  David S. Miller  <davem@davemloft.net>
51900         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51901         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51903 2012-02-20  David S. Miller  <davem@davemloft.net>
51905         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51906         using a normal save/restore sequence, rather than allocating a
51907         dummy stack frame just to store a frame pointer and restore.
51908         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51910 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51912         * manual/install.texi: Fix stray word in line-wrapped comment.
51914 2012-02-20  David S. Miller  <davem@davemloft.net>
51916         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51917         both binutils and gcc support GOTDATA.
51919         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51920         "rd %pc" in the PIC register setup sequences.
51922         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51923         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51924         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51925         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51926         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51927         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51929         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51930         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51931         (SYSCALL_ERROR_HANDLER): Likewise.
51932         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51933         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51934         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51935         (SYSCALL_ERROR_HANDLER): Likewise.
51937         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51938         (HAVE_GCC_GOTDATA): New.
51939         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51940         relocation support in both binutils and gcc.
51941         * sysdeps/sparc/elf/configure: Regenerate.
51943         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51944         * sysdeps/sparc/sparc32/elf/configure: Delete.
51945         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51946         * sysdeps/sparc/sparc64/elf/configure: Delete.
51947         * sysdeps/sparc/elf/configure.in: New file.
51948         * sysdeps/sparc/elf/configure: Generate.
51950         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51951         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51952         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51953         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51954         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51956 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51958         * manual/install.texi: Do not mention specific glibc version
51959         numbers.
51960         * manual/libc.texinfo (VERSION, UPDATED): Update.
51961         (@copying): Use @copyright{} and range of years.
51963 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51965         [BZ #13695]
51966         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51967         [crti.S not in sysdirs] (generated): Do not append.
51968         [crti.S not in sysdirs] (omit-deps): Likewise.
51969         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51970         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51971         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51972         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51973         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51974         Likewise.
51975         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51976         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51977         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51978         * csu/defs.awk: Remove file.
51979         * sysdeps/generic/initfini.c: Likewise.
51980         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51981         variable.
51982         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51983         Likewise.
51985 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51987         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51988         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51989         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51990         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51991         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51992         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51993         <bits/epoll.h>.
51994         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51995         (__EPOLL_PACKED): Define to empty if not defined by
51996         <bits/epoll.h>.
51997         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51999         bits/epoll.h.
52001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52003         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52004         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52005         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52006         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52007         <bits/timerfd.h>.
52008         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52009         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52010         bits/timerfd.h.
52012 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52014         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52015         in C locale.
52016         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52017         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52018         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52021 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52023         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52024         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52026 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52028         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52029         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52030         defined.
52031         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52032         Likewise.
52033         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52034         entry for 2.16.
52036 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52038         * math/w_acos.c: Use non-signaling floating-point comparisons.
52039         * math/w_acosf.c: Likewise.
52040         * math/w_acosh.c: Likewise.
52041         * math/w_acoshf.c: Likewise.
52042         * math/w_acoshl.c: Likewise.
52043         * math/w_acosl.c: Likewise.
52044         * math/w_asin.c: Likewise.
52045         * math/w_asinf.c: Likewise.
52046         * math/w_asinl.c: Likewise.
52047         * math/w_atanh.c: Likewise.
52048         * math/w_atanhf.c: Likewise.
52049         * math/w_atanhl.c: Likewise.
52050         * math/w_exp2.c: Likewise.
52051         * math/w_exp2f.c: Likewise.
52052         * math/w_exp2l.c: Likewise.
52053         * math/w_j0.c: Likewise.
52054         * math/w_j0f.c: Likewise.
52055         * math/w_j0l.c: Likewise.
52056         * math/w_j1.c: Likewise.
52057         * math/w_j1f.c: Likewise.
52058         * math/w_j1l.c: Likewise.
52059         * math/w_jn.c: Likewise.
52060         * math/w_jnf.c: Likewise.
52061         * math/w_log.c: Likewise.
52062         * math/w_log10.c: Likewise.
52063         * math/w_log10f.c: Likewise.
52064         * math/w_log10l.c: Likewise.
52065         * math/w_log2.c: Likewise.
52066         * math/w_log2f.c: Likewise.
52067         * math/w_log2l.c: Likewise.
52068         * math/w_logf.c: Likewise.
52069         * math/w_logl.c: Likewise.
52070         * math/w_sqrt.c: Likewise.
52071         * math/w_sqrtf.c: Likewise.
52072         * math/w_sqrtl.c: Likewise.
52073         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52074         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52075         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52076         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52077         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52079 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52081         [BZ #9739]
52082         * manual/string.texi (strnlen): Use correct parameter name in
52083         equivalent expression.
52085 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52087         [BZ #11174]
52088         * manual/users.texi (seteuid): Consistently use neweuid for
52089         argument name.
52091 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52093         [BZ #13704]
52094         * manual/nss.texi (Services in the NSS configuration): Correct
52095         list of services in example configuration file.
52097 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52099         [BZ #11322]
52100         * manual/arith.texi: Remove statements about negative zero
52101         behaving identically to zero.
52103 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52105         [BZ #5993]
52106         * manual/install.texi: Do not document upgrading from libc5.
52108 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52110         [BZ #4596]
52111         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52113 2012-02-18  David S. Miller  <davem@davemloft.net>
52115         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52116         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52117         %o7 across the call.
52118         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52119         instead.
52120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52121         SETUP_PIC_REG_LEAF.
52122         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52123         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52124         * sysdeps/sparc/crtn.S: Likewise.
52126 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
52128         * aout/Makefile: Remove.
52130 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
52132         [BZ #13058]
52133         * manual/examples/argp-ex1.c (main): Format definition in GNU
52134         style.
52135         * manual/examples/argp-ex2.c (main): Likewise.
52136         * manual/examples/argp-ex3.c (main): Likewise.
52137         * manual/examples/argp-ex4.c (main): Likewise.
52138         * manual/examples/longopt.c (main): Use new-style prototype
52139         definition.
52140         * manual/examples/strncat.c (main): Specify return type and use
52141         (void) for arguments.
52142         * manual/examples/subopt.c (main): Use char **argv argument.
52144 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52146         [BZ #5077]
52147         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52148         rounding modes.
52150 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
52152         [BZ #6907]
52153         * manual/string.texi (strchr): Change when strchrnul is
52154         recommended.
52156 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52158         [BZ #174]
52159         * manual/locale.texi (setlocale): Document LOCPATH.
52161 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52163         [BZ #10210]
52164         * manual/process.texi (execle): Move @dots{} before last argument.
52166 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52168         [BZ #12047]
52169         * manual/charset.texi (Generic Charset Conversion): Fix typo
52170         (LC_TYPE -> LC_CTYPE).
52172 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52174         [BZ #5805]
52175         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52176         (scalbnf): Likewise.
52177         (scalbnl): Likewise.
52178         (scalbln): Likewise.
52179         (scalblnf): Likewise.
52180         (scalblnl): Likewise.
52181         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52182         (vwarnx): Likewise.
52183         (verr): Likewise.
52184         (verrx): Likewise.
52185         * manual/filesys.texi (telldir): Use braces around return type.
52186         * manual/llio.texi (mmap): Add space after comma.
52187         (mmap64): Likewise.
52188         * manual/math.texi (jn): Use @var{} on parameter names.
52189         (jnf): Likewise.
52190         (jnl): Likewise.
52191         (yn): Likewise.
52192         (ynf): Likewise.
52193         (ynl): Likewise.
52194         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52195         line.
52196         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52197         "...".
52198         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52199         (sched_get_priority_max): Likewise.
52200         * manual/signal.texi (sigvec): Add space after comma.
52201         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52202         names.
52203         (if_indextoname): Likewise.
52204         (if_freenameindex): Likewise.
52205         (sendto): Use ',' instead of '.' in prototype.
52206         * manual/startup.texi (syscall): Use @dots{} instead of literal
52207         "...".
52208         * manual/stdio.texi (__fpending): Separate initial words of
52209         paragraph from @deftypefun line.
52210         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52211         "...".
52212         (vsyslog): Use @var{} on parameter names.
52213         * manual/terminal.texi (stty): Use @var{} on parameter names.
52214         * manual/users.texi (getutmp): Use @var{} on parameter names.
52215         (getutmpx): Likewise.
52217 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52219         [BZ #6884]
52220         * manual/stdio.texi (fopen): Fix typos in description of
52221         ",ccs=STRING".
52223 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
52225         [BZ #4026]
52226         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52227         get clock_id definition.
52229 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
52231         [BZ #4822]
52232         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52233         (madvise): Cast every argument to void on its own.
52235 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52237         [BZ #9902]
52238         * manual/startup.texi (Exit Status): Fix typo.
52240 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52242         [BZ #10140]
52243         * manual/examples/argp-ex1.c: Include <stdlib.h>.
52244         * manual/examples/argp-ex2.c: Likewise.
52245         * manual/examples/argp-ex3.c: Likewise.
52247 2012-02-16  Richard Henderson  <rth@redhat.com>
52249         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52250         * sysdeps/s390/s390-32/initfini.c: Remove.
52251         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52252         * sysdeps/s390/s390-64/initfini.c: Remove.
52254 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52256         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52257         compiler output for sysdeps/generic/initfini.c.
52258         * sysdeps/sh/elf/initfini.c: Remove file.
52260 2012-02-16  David S. Miller  <davem@davemloft.net>
52262         [BZ #11494]
52263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52265         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52266         * sysdeps/sparc/crti.S: New file.
52267         * sysdeps/sparc/crtn.S: New file.
52268         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52269         * sysdeps/sparc/sparc64/Makefile: Likewise.
52271 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
52273         [BZ #3335]
52274         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52276 2012-02-15  Roland McGrath  <roland@hack.frob.com>
52278         [BZ #4822]
52279         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52281         * mach/devstream.c (cookie_io_functions_t): Macro removed.
52282         (write, read, close): Likewise.
52283         Patch by Aurelien Jarno <aurelien@aurel32.net>.
52285 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
52287         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52288         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52289         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52290         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52291         <bits/signalfd.h>.
52292         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52294         bits/signalfd.h.
52296 2012-02-14  Marek Polacek  <polacek@redhat.com>
52298         * sysdeps/x86_64/crti.S: New file.
52299         * sysdeps/x86_64/crtn.S: New file.
52300         * sysdeps/x86_64/elf/initfini.c: Remove file.
52302 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52304         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52305         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52306         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52307         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52308         <bits/inotify.h>.
52309         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52311         bits/inotify.h.
52313 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52315         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52316         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52317         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52318         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52319         <bits/eventfd.h>.
52320         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52322         bits/eventfd.h.
52324 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
52326         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52327         __feraiseexcept instead of feraiseexcept.
52329         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52330         nanosleep invocations.
52331         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52332         strings, and add error checking for a nanosleep invocations.
52334 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
52336         Replace FSF snail mail address with URLs, as per GNU coding standards.
52337         Most of the snail mail addresses were wrong anyway, and omitting
52338         them makes the source code easier to maintain.  Almost all of the
52339         changes are to license notices and to locale LC_IDENTIFICATION
52340         addresses, except for this one:
52341         * manual/libc.texinfo: In "Published by", give the FSF's URL,
52342         not its snail mail address.
52344 2012-02-09  Richard Henderson  <rth@twiddle.net>
52346         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52347         of kernel-features.h.
52349         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52351 2012-02-08  Marek Polacek  <polacek@redhat.com>
52353         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52354         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52355         * sysdeps/gnu/_G_config.h: Likewise.
52356         * sysdeps/generic/_G_config.h: Likewise.
52358 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
52360         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52361         tests.
52362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52364         * sysdeps/powerpc/powerpc32/crti.S: New file.
52365         * sysdeps/powerpc/powerpc32/crtn.S: New file.
52366         * sysdeps/powerpc/powerpc64/crti.S: New file.
52367         * sysdeps/powerpc/powerpc64/crtn.S: New file.
52369         * Makeconfig (have-initfini): Don't set.
52370         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52371         * configure.in (nopic_initfini): Don't substitute.
52372         * config.h.in (HAVE_INITFINI): Don't #undef.
52373         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52374         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52376 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
52378         Support crti.S and crtn.S provided directly by architectures.
52379         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52380         [crti.S in sysdirs] (omit-deps): Likewise.
52381         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52382         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52383         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52384         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52385         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52386         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52387         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52388         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52389         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52390         compiler output for sysdeps/generic/initfini.c.
52391         * sysdeps/i386/elf/Makefile: Remove file.
52392         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52394 2012-02-07  Marek Polacek  <polacek@redhat.com>
52396         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52397         * sysdeps/gnu/_G_config.h: Likewise.
52398         * sysdeps/mach/hurd/_G_config.h: Likewise.
52400 2012-02-07  Marek Polacek  <polacek@redhat.com>
52402         * math/Makefile (tests): Add tst-CMPLX2.
52403         * math/tst-CMPLX2.c: New file.
52405 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
52407         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52409         * math/libm-test.inc (jn_test): Add missing L suffix.
52411 2012-02-06  Marek Polacek  <polacek@redhat.com>
52413         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52414         * sysdeps/i386/fpu/e_powf.S: Likewise.
52415         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52416         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52417         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52418         * sysdeps/i386/fpu/e_pow.S: Likewise.
52419         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52420         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52421         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52422         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52423         * sysdeps/i386/fpu/e_log2.S: Likewise.
52424         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52425         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52426         * sysdeps/i386/fpu/e_powl.S: Likewise.
52427         * sysdeps/i386/fpu/s_log1p.S: Likewise.
52428         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52429         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52430         * sysdeps/i386/fpu/e_logl.S: Likewise.
52431         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52432         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52433         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52434         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52435         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52436         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52437         * sysdeps/i386/fpu/e_log.S: Likewise.
52438         * sysdeps/i386/fpu/s_cexp.S: Likewise.
52439         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52440         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52441         * sysdeps/i386/fpu/e_logf.S: Likewise.
52442         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52443         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52444         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52445         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52446         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52447         * sysdeps/i386/fpu/e_log10.S: Likewise.
52448         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52449         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52450         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52451         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52452         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52453         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52454         * sysdeps/i386/asm-syntax.h: Likewise.
52455         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52456         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52457         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52458         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52459         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52460         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52461         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52462         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52463         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52464         * sysdeps/powerpc/sysdep.h: Likewise.
52465         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52466         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52468 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52470         [BZ #411]
52471         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52473 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52475         * sysdeps/i386/sysdep.h: Include <features.h>.
52476         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52477         version.
52479 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
52481         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52482         Define.
52483         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52484         LOAD_PIC_REG_STR.
52486 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52488         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52489         (SETUP_PIC_REG): Use GET_PC_THUNK.
52490         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52491         macro.
52493 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52495         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52496         for non-PIC compilation.
52497         (SETUP_PIC_REG): Add .p2align directive.
52498         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52499         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52500         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52501         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52502         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52504         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52505         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52506         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52507         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52508         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52509         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52510         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52512         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52513         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52514         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52515         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52516         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52517         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52518         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52519         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52520         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52521         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52524         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52525         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52526         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52527         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52528         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52529         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52530         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52531         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52532         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52533         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52534         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52535         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52536         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52537         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52538         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52540 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52542         * math/tst-CMPLX.c: Include <stdio.h>.
52544 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
52546         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52547         float.
52548         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52549         * sysdeps/sparc/bits/mathdef.h: Likewise.
52551 2012-01-31  Marek Polacek  <polacek@redhat.com>
52553         * libio/libio.h: Don't define _PARAMS.
52554         * locale/programs/config.h: Don't define PARAMS.
52555         * stdlib/strtol_l.c: Likewise.
52556         (__strtol_l): Remove PARAMS from the prototype.
52558 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
52560         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
52561         names.  Just use the correct names.  Remove unnecessary wrapper
52562         functions.
52563         * malloc/arena.c: Likewise.
52564         * malloc/hooks.c: Likewise.
52566         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52567         ARENA_TEST says not to.  Simplify test for creation of a new arena.
52568         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52570 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
52572         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52573         into tail calls.
52574         (update_get_addr): New function.
52575         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52576         GET_ADDR_MODULE parameter.
52578 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52580         * crypt/cert.c: Remove __STDC__ conditionals.
52581         * crypt/crypt-entry.c: Likewise.
52582         * crypt/crypt_util.c: Likewise.
52583         * libio/filedoalloc.c: Likewise.
52584         * libio/fileops.c: Likewise.
52585         * libio/genops.c: Likewise.
52586         * libio/iofclose.c: Likewise.
52587         * libio/iofdopen.c: Likewise.
52588         * libio/iofopen.c: Likewise.
52589         * libio/iofopen64.c: Likewise.
52590         * libio/iogetdelim.c: Likewise.
52591         * libio/iopopen.c: Likewise.
52592         * libio/obprintf.c: Likewise.
52593         * libio/oldfileops.c: Likewise.
52594         * libio/oldiofclose.c: Likewise.
52595         * libio/oldiofdopen.c: Likewise.
52596         * libio/oldiofopen.c: Likewise.
52597         * libio/oldiopopen.c: Likewise.
52598         * libio/wfiledoalloc.c: Likewise.
52599         * libio/wgenops.c: Likewise.
52600         * locale/programs/xmalloc.c: Likewise.
52601         * misc/syslog.c: Likewise.
52602         * stdio-common/xbug.c: Likewise.
52603         * string/memchr.c: Likewise.
52604         * string/memcmp.c: Likewise.
52605         * string/memrchr.c: Likewise.
52606         * string/rawmemchr.c: Likewise.
52607         * sysdeps/posix/getcwd.c: Likewise.
52608         * time/strftime_l.c: Likewise.
52610 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52612         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52613         * config.make.in (config-cflags-sse2avx): Define.
52614         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52615         Fix typo.
52617 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
52619         * scripts/config.guess: Update from upstream config git repository.
52620         * scripts/config.sub: Likewise.
52622 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
52624         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52625         (EM_NUM): Update.
52626         (R_TILEPRO_*, R_TILEGX_*): New macros.
52628         * scripts/firstversions.awk: Fix bug in version range handling.
52630         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52632         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52634         * include/sys/epoll.h: New file.
52635         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52636         libc_hidden_def.
52638 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
52640         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52641         Avoid unnecessary __WORDSIZE == 64 test.
52642         (fmaxf): Use VEX format if possible.
52643         (fmax): Likewise.
52644         (fminf): Likewise.
52645         (fmin): Likewise.
52647         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52648         * math/math_private.h: Remove libc_fegetround* and
52649         libc_fesetround*.
52650         * sysdeps/i386/configure.in: Check for -msse2avx.
52651         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52652         also if SSE2AVX is defined.
52653         Remove libc_fegetround* and libc_fesetround*.
52654         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52655         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
52656         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52657         of HAS_YMM_USABLE.
52658         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52659         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52660         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52661         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52662         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52664         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52666 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52668         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52669         size is not set.
52670         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52672 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
52674         [BZ #13618]
52675         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52676         relocation.
52677         * Makeconfig (libm): Define.
52678         * elf/Makefile: Add rules to build and run tst-relsort1.
52679         * elf/tst-relsort1.c: New file.
52680         * elf/tst-relsort1mod1.c: New file.
52681         * elf/tst-relsort1mod2.c: New file.
52683 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
52685         * math/s_ldexp.c: Remove __STDC__ conditionals.
52686         * math/s_ldexpf.c: Likewise.
52687         * math/s_ldexpl.c: Likewise.
52688         * math/s_nextafter.c: Likewise.
52689         * math/s_nexttowardf.c: Likewise.
52690         * math/s_significand.c: Likewise.
52691         * math/s_significandf.c: Likewise.
52692         * math/s_significandl.c: Likewise.
52693         * math/w_jnl.c: Likewise.
52694         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52695         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52696         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52697         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52698         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52699         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52700         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52701         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52702         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52703         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52704         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52705         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52706         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52707         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52708         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52709         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52710         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52711         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52712         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52713         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52714         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52715         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52716         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52717         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52718         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52719         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52720         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52721         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52722         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52723         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52724         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52725         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52726         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52727         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52728         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52729         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52730         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52731         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52732         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52733         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52734         * sysdeps/ieee754/k_standard.c: Likewise.
52735         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52736         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52737         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52738         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52739         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52740         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52741         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52742         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52743         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52744         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52745         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52746         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52747         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52748         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52749         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52750         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52751         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52752         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52753         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52754         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52755         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52756         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52757         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52758         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52759         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52760         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52761         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52762         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52765         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52766         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52767         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52768         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52769         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52770         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52771         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52773         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52774         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52775         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52776         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52777         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52778         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52779         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52780         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52781         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52782         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52784         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52785         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52788         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52789         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52790         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52791         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52792         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52793         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52794         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52795         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52796         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52797         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52798         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52799         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52800         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52801         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52802         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52803         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52804         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52805         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52806         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52807         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52808         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52809         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52810         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52811         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52812         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52813         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52814         * sysdeps/ieee754/s_matherr.c: Likewise.
52815         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52816         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52818         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52820 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52822         * crypt/md5.h: Remove __STDC__ conditionals.
52823         * libio/libioP.h: Likewise.
52824         * locale/programs/config.h: Likewise.
52825         * sysdeps/generic/sysdep.h: Likewise.
52826         * sysdeps/i386/asm-syntax.h: Likewise.
52827         * sysdeps/s390/asm-syntax.h: Likewise.
52828         * sysdeps/unix/sysdep.h: Likewise.
52829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52832 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52834         * libio/libio.h: Remove __STDC__ conditionals.
52835         * malloc/obstack.h: Likewise.
52836         * math/complex.h: Likewise.
52837         * math/math.h: Likewise.
52838         * sysdeps/generic/_G_config.h: Likewise.
52839         * sysdeps/gnu/_G_config.h: Likewise.
52840         * sysdeps/mach/hurd/_G_config.h: Likewise.
52841         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52842         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52843         * sysdeps/sparc/bits/mathdef.h: Likewise.
52845 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
52847         [BZ #13583]
52848         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52849         Clean up HAS_* macros.
52850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52851         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52852         possible.
52853         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52854         HAS_AVX.
52855         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52856         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52857         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52858         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52859         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52861 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
52863         * elf/tst-unique3.cc (gets): Remove declaration.
52864         * elf/tst-unique3lib.cc (gets): Likewise.
52865         * elf/tst-unique3lib2.cc (gets): Likewise.
52866         * elf/tst-unique4.cc (gets): Likewise.
52868 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
52870         * include/stdio.h: Add C++ protection.  Add gets declarations and
52871         definitions.
52872         * debug/tst-chk1.c: Don't declare gets here.
52873         * stdio-common/tst-gets.c: Likewise.
52875 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52877         * posix/glob: Remove directory.
52879 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52881         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52883 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
52885         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52886         of the non-standard EPFNOSUPPORT.
52888 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52890         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52891         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52892         ANYWHERE set to 1 only on KERN_NO_SPACE error.
52894 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
52896         * wcsmbs/uchar.h: Test __STDC_VERSION__.
52898 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
52900         * nscd/aicache.c (addhstaiX): Do not cache negative results of
52901         transient errors.
52902         * nscd/grpcache.c (cache_addgr): Likewise.
52903         * nscd/hstcache.c (cache_addhst): Likewise.
52904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52905         * nscd/pwdcache.c (cache_addpw): Likewise.
52906         * nscd/servicescache.c (cache_addserv): Likewise.
52908 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
52910         * malloc/malloc.c: Various cleanups.
52911         * malloc/hooks.c: Likewise.
52913         * stdlib/Makefile (tests): Add bug-fmtmsg1.
52914         * stdlib/bug-fmtmsg1.c: New file.
52916         * stdlib/fmtmsg.c (init): Add missing unlock.
52917         Patch by Peng Haitao <penght@cn.fujitsu.com>.
52919 2012-01-12  Marek Polacek  <polacek@redhat.com>
52921         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52922         and _GNU_SOURCE.
52924 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52926         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52927         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52928         macro to ensure uniqueness of label name.
52929         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52930         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52932 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
52934         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52936         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52937         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52938         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52939         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52941 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
52943         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52945         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52946         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52947         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52949         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52951         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52952         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52953         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52956         * math/bits/math-finite.h: Add ldexp support.
52958 2012-01-10  Marek Polacek  <polacek@redhat.com>
52960         * locale/programs/localedef.h (show_archive_content): Add noreturn
52961         attribute.
52963 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
52965         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52967 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52969         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52971         * io/Makefile (headers): Add bits/poll2.h.
52973 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
52975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52976         typo #include statement.
52978 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52980         * include/sys/cdefs.h: Define __attribute_alloc_size.
52981         * catgets/gencat.c: Add alloc_size attribute and apply consistently
52982         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52983         * elf/pldd.c: Likewise.
52984         * iconv/iconv_charmap.c: Likewise.
52985         * iconv/iconvconfig.c: Likewise.
52986         * iconv/strtab.c: Likewise.
52987         * locale/programs/locale.c: Likewise.
52988         * locale/programs/localedef.h: Likewise.
52989         * locale/programs/simple-hash.c: Likewise.
52990         * nscd/nscd.h: Likewise.
52991         * nss/makedb.c: Likewise.
52992         * sysdeps/generic/ldconfig.h: Likewise.
52993         * locale/programs/localedef.c: Remove xmalloc prototype.
52994         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52996 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52998         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52999         appropriate.
53001 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53003         * math/Makefile (tests): Add tst-CMPLX.
53004         * math/tst-CMPLX.c: New file.
53006         * math/complex.h (CMPLXL): Fix typo.
53008         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53009         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53010         GLIBC_2.16.
53011         * debug/tst-chk1.c: Add poll and ppoll tests.
53012         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53013         * include/sys/poll.h: Add hidden proto for ppoll.
53014         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53015         * sysdeps/mach/hurd/ppoll.c: Likewise.
53016         * io/ppoll.c: Likewise.
53017         * debug/poll_chk.c: New file.
53018         * debug/ppoll_chk.c: New file.
53019         * include/bits/poll2.h: New file.
53020         * io/bits/poll2.h: New file.
53022         [BZ #1350]
53023         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53025         * configure.in: static is always set to yes.  Remove.
53026         * config.make.in: Don't set build-static.
53027         * Makeconfig: Remove use of build-static.
53028         * dlfcn/Makefile: Likewise.
53029         * elf/Makefile: Likewise.
53030         * math/Makefile: Likewise.
53031         * misc/Makefile: Likewise.
53032         * nptl/Makefile: Likewise.
53033         * sysdeps/mach/hurd/Makefile: Likewise.
53035         * configure.in: PWD_P is not used anymore.
53036         * config.make.in: Remove PWD_P entry.
53038         * configure.in: Remove last remnants of RANLIB.
53039         No need to check for signed size_t anymore.
53040         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53041         and IA-64.
53042         Remove __builtin_expect test because we require at least gcc 3.4.
53043         * aclocal.m4: Likewise.
53045         * wcsmbs/mbrtoc16.c: Implement using towc function.
53046         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53047         * wcsmbs/wcsmbsload.c: Likewise.
53048         * iconv/gconv_simple.c: Likewise.
53049         * iconv/gconv_int.h: Likewise.
53050         * iconv/gconv_builtin.h: Likewise.
53051         * iconv/iconv_prog.c: Remove CHAR16 handling.
53053         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53055         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53057         * configure.in: Remove --with-elf and --enable-bounded options.
53058         Dont set base_machine for ia64.  More non-ELF conditions removed.
53059         Remove testing and setting of leading underscore information.
53060         * config.make.in (build-bounded): Set to no.
53061         * config.h.in: Remove NO_UNDERSCORES entry.
53062         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53063         them.
53064         * csu/start.c: Remove !NO_UNDERSCORE code.
53065         * locale/localeinfo.h: Likewise.
53066         * sysdeps/generic/machine-gmon.h: Likewise.
53067         * sysdeps/generic/sysdep.h: Likewise.
53068         * sysdeps/i386/sysdep.h: Likewise.
53069         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53070         * sysdeps/mach/sysdep.h: Likewise.
53071         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53072         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53073         * sysdeps/sh/sysdep.h: Likewise.
53074         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53075         * sysdeps/unix/i386/sysdep.S: Likewise.
53076         * sysdeps/unix/sparc/start.c: Likewise.
53077         * sysdeps/unix/sparc/sysdep.S: Likewise.
53078         * sysdeps/unix/sparc/sysdep.h: Likewise.
53079         * sysdeps/unix/start.c: Likewise.
53080         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53081         * sysdeps/x86_64/sysdep.h: Likewise.
53083 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53085         [BZ #13553]
53086         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53087         for non-gcc.
53088         * argp/argp-fmtstream.h: Use const instead __const.
53089         * argp/argp.h: Likewise.
53090         * assert/assert.h: Likewise.
53091         * bits/fenv.h: Likewise.
53092         * bits/sched.h: Likewise.
53093         * bits/sigset.h: Likewise.
53094         * bits/sigthread.h: Likewise.
53095         * catgets/nl_types.h: Likewise.
53096         * conform/data/pthread.h-data: Likewise.
53097         * crypt/crypt-private.h: Likewise.
53098         * crypt/crypt.h: Likewise.
53099         * crypt/crypt_util.c: Likewise.
53100         * ctype/ctype.h: Likewise.
53101         * debug/execinfo.h: Likewise.
53102         * debug/mbsnrtowcs_chk.c: Likewise.
53103         * debug/mbsrtowcs_chk.c: Likewise.
53104         * debug/wcsnrtombs_chk.c: Likewise.
53105         * debug/wcsrtombs_chk.c: Likewise.
53106         * debug/wcstombs_chk.c: Likewise.
53107         * dirent/dirent.h: Likewise.
53108         * dlfcn/dlfcn.h: Likewise.
53109         * elf/neededtest4.c: Likewise.
53110         * grp/grp.h: Likewise.
53111         * gshadow/gshadow.h: Likewise.
53112         * iconv/gconv.h: Likewise.
53113         * iconv/gconv_int.h: Likewise.
53114         * iconv/gconv_simple.c: Likewise.
53115         * iconv/iconv.h: Likewise.
53116         * iconv/loop.c: Likewise.
53117         * iconv/skeleton.c: Likewise.
53118         * include/aio.h: Likewise.
53119         * include/aliases.h: Likewise.
53120         * include/argz.h: Likewise.
53121         * include/arpa/inet.h: Likewise.
53122         * include/assert.h: Likewise.
53123         * include/dirent.h: Likewise.
53124         * include/dlfcn.h: Likewise.
53125         * include/execinfo.h: Likewise.
53126         * include/fcntl.h: Likewise.
53127         * include/fenv.h: Likewise.
53128         * include/glob.h: Likewise.
53129         * include/grp.h: Likewise.
53130         * include/libintl.h: Likewise.
53131         * include/mntent.h: Likewise.
53132         * include/netdb.h: Likewise.
53133         * include/pwd.h: Likewise.
53134         * include/rpc/netdb.h: Likewise.
53135         * include/sched.h: Likewise.
53136         * include/search.h: Likewise.
53137         * include/shadow.h: Likewise.
53138         * include/signal.h: Likewise.
53139         * include/stdio.h: Likewise.
53140         * include/stdlib.h: Likewise.
53141         * include/string.h: Likewise.
53142         * include/sys/socket.h: Likewise.
53143         * include/sys/stat.h: Likewise.
53144         * include/sys/statfs.h: Likewise.
53145         * include/sys/statvfs.h: Likewise.
53146         * include/sys/syslog.h: Likewise.
53147         * include/sys/time.h: Likewise.
53148         * include/sys/uio.h: Likewise.
53149         * include/time.h: Likewise.
53150         * include/unistd.h: Likewise.
53151         * include/utmp.h: Likewise.
53152         * include/wchar.h: Likewise.
53153         * include/wctype.h: Likewise.
53154         * inet/aliases.h: Likewise.
53155         * inet/arpa/inet.h: Likewise.
53156         * inet/netinet/ether.h: Likewise.
53157         * inet/netinet/in.h: Likewise.
53158         * intl/libintl.h: Likewise.
53159         * io/bits/fcntl2.h: Likewise.
53160         * io/fcntl.h: Likewise.
53161         * io/ftw.h: Likewise.
53162         * io/sys/poll.h: Likewise.
53163         * io/sys/stat.h: Likewise.
53164         * io/sys/statfs.h: Likewise.
53165         * io/sys/statvfs.h: Likewise.
53166         * io/utime.h: Likewise.
53167         * libio/bits/stdio.h: Likewise.
53168         * libio/bits/stdio2.h: Likewise.
53169         * libio/libio.h: Likewise.
53170         * libio/libioP.h: Likewise.
53171         * libio/stdio.h: Likewise.
53172         * locale/lc-ctype.c: Likewise.
53173         * locale/locale.h: Likewise.
53174         * login/utmp.h: Likewise.
53175         * malloc/arena.c: Likewise.
53176         * malloc/malloc.c: Likewise.
53177         * malloc/malloc.h: Likewise.
53178         * malloc/mcheck.c: Likewise.
53179         * malloc/mtrace.c: Likewise.
53180         * math/bits/mathcalls.h: Likewise.
53181         * math/fenv.h: Likewise.
53182         * math/math_private.h: Likewise.
53183         * misc/bits/error.h: Likewise.
53184         * misc/bits/syslog.h: Likewise.
53185         * misc/err.h: Likewise.
53186         * misc/error.h: Likewise.
53187         * misc/fstab.h: Likewise.
53188         * misc/mntent.h: Likewise.
53189         * misc/regexp.h: Likewise.
53190         * misc/search.h: Likewise.
53191         * misc/sgtty.h: Likewise.
53192         * misc/sys/mman.h: Likewise.
53193         * misc/sys/syslog.h: Likewise.
53194         * misc/sys/uio.h: Likewise.
53195         * misc/sys/xattr.h: Likewise.
53196         * misc/ttyent.h: Likewise.
53197         * nis/rpcsvc/ypclnt.h: Likewise.
53198         * nss/nss.h: Likewise.
53199         * posix/bits/unistd.h: Likewise.
53200         * posix/fnmatch.h: Likewise.
53201         * posix/glob.h: Likewise.
53202         * posix/sched.h: Likewise.
53203         * posix/spawn.h: Likewise.
53204         * posix/sys/wait.h: Likewise.
53205         * posix/unistd.h: Likewise.
53206         * posix/wordexp.h: Likewise.
53207         * pwd/pwd.h: Likewise.
53208         * resolv/netdb.h: Likewise.
53209         * resource/sys/resource.h: Likewise.
53210         * rt/aio.h: Likewise.
53211         * rt/bits/mqueue2.h: Likewise.
53212         * rt/mqueue.h: Likewise.
53213         * shadow/shadow.h: Likewise.
53214         * signal/signal.h: Likewise.
53215         * socket/send.c: Likewise.
53216         * socket/sendto.c: Likewise.
53217         * socket/sys/socket.h: Likewise.
53218         * stdio-common/printf.h: Likewise.
53219         * stdlib/bits/stdlib.h: Likewise.
53220         * stdlib/fmtmsg.h: Likewise.
53221         * stdlib/monetary.h: Likewise.
53222         * stdlib/stdlib.h: Likewise.
53223         * stdlib/ucontext.h: Likewise.
53224         * streams/stropts.h: Likewise.
53225         * string/argz.h: Likewise.
53226         * string/bits/string2.h: Likewise.
53227         * string/string.h: Likewise.
53228         * string/strings.h: Likewise.
53229         * sunrpc/rpc/auth.h: Likewise.
53230         * sunrpc/rpc/auth_des.h: Likewise.
53231         * sunrpc/rpc/clnt.h: Likewise.
53232         * sunrpc/rpc/netdb.h: Likewise.
53233         * sunrpc/rpc/pmap_clnt.h: Likewise.
53234         * sunrpc/rpc/xdr.h: Likewise.
53235         * sysdeps/generic/inttypes.h: Likewise.
53236         * sysdeps/generic/net/if.h: Likewise.
53237         * sysdeps/generic/sys/swap.h: Likewise.
53238         * sysdeps/gnu/net/if.h: Likewise.
53239         * sysdeps/gnu/utmpx.h: Likewise.
53240         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53241         * sysdeps/i386/i486/bits/string.h: Likewise.
53242         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53243         * sysdeps/s390/bits/string.h: Likewise.
53244         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53245         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53246         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53247         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53248         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53249         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53250         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53251         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53252         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53253         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53254         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53255         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53256         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53257         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53258         * sysdeps/unix/sysv/linux/readv.c: Likewise.
53259         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53260         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53261         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53262         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53263         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53264         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53265         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53266         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53267         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53268         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53269         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53270         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53271         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53272         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53273         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53274         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53275         * sysvipc/sys/ipc.h: Likewise.
53276         * sysvipc/sys/msg.h: Likewise.
53277         * sysvipc/sys/sem.h: Likewise.
53278         * sysvipc/sys/shm.h: Likewise.
53279         * termios/termios.h: Likewise.
53280         * time/sys/time.h: Likewise.
53281         * time/time.h: Likewise.
53282         * wcsmbs/bits/wchar2.h: Likewise.
53283         * wcsmbs/uchar.h: Likewise.
53284         * wcsmbs/wchar.h: Likewise.
53285         * wctype/wctype.h: Likewise.
53287         [BZ #13551]
53288         * Makeconfig: Remove all but ELF support including AIX support.
53289         * Makerules: Likewise.
53290         * config.h.in: Likewise.
53291         * config.make.in: Likewise.
53292         * configure: Likewise.
53293         * configure.in: Likewise.
53294         * csu/Makefile: Likewise.
53295         * csu/version.c: Likewise.
53296         * debug/Makefile: Likewise.
53297         * dlfcn/Makefile: Likewise.
53298         * elf/Makefile: Likewise.
53299         * extra-lib.mk: Likewise.
53300         * iconv/Makefile: Likewise.
53301         * include/libc-symbols.h: Likewise.
53302         * include/shlib-compat.h: Likewise.
53303         * resolv/Makefile: Likewise.
53304         * resolv/res_libc.c: Likewise.
53305         * rt/Makefile: Likewise.
53306         * sysdeps/i386/asm-syntax.h: Likewise.
53307         * sysdeps/i386/sysdep.h: Likewise.
53308         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53309         * sysdeps/mach/sysdep.h: Likewise.
53310         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53311         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53312         * sysdeps/s390/asm-syntax.h: Likewise.
53313         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53314         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53315         * sysdeps/sh/sysdep.h: Likewise.
53316         * sysdeps/unix/sparc/sysdep.h: Likewise.
53317         * sysdeps/wordsize-32/divdi3.c: Likewise.
53318         * sysdeps/x86_64/sysdep.h: Likewise.
53320         * argp/Versions: Remove _argp_unlock_xxx.
53322         [BZ #13559]
53323         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
53324         * abilist/libBrokenLocale.abilist: Likewise.
53325         * abilist/libanl.abilist: Likewise.
53326         * abilist/libc.abilist: Likewise.
53327         * abilist/libcrypt.abilist: Likewise.
53328         * abilist/libdl.abilist: Likewise.
53329         * abilist/libm.abilist: Likewise.
53330         * abilist/libnsl.abilist: Likewise.
53331         * abilist/libpthread.abilist: Likewise.
53332         * abilist/libresolv.abilist: Likewise.
53333         * abilist/librt.abilist: Likewise.
53334         * abilist/libthread_db.abilist: Likewise.
53335         * abilist/libutil.abilist: Likewise.
53336         * abilist/libnss_db.abilist: New file.
53338         * scripts/abilist.awk: Add support for indirect functions.
53340         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53342         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53344         * shlib-versions: Remove entries for ports architectures.
53346         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
53347         files in ports.
53348         * elf/stackguard-macros.h: Remove support for IA-64.
53349         * elf/tst-auditmod1.c: Likewise.
53350         * sysdeps/generic/ldsodefs.h: Likewise.
53352         * sysdeps/unix/sysv/linux/configure.in: Ports should define
53353         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53354         configure files.
53356         [BZ #13552]
53357         * configure.in: Remove --enable-omitfp support.
53358         * FAQ.in: Adjust.
53359         * config.make.in: Likewise.
53360         * Makeconfig: Likewise.
53361         * manual/install.texi: Likewise.
53363         In case anyone cares, the IA-64 architecture could move to ports.
53364         * sysdeps/ia64/*: Removed.
53365         * sysdeps/unix/sysv/linux/ia64/*: Removed.
53366         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53368         [BZ #13555]
53369         * configure.in: Remove entries for unsupported architectures.
53371         [BZ #13533]
53372         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53373         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
53374         routines.
53375         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53376         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53377         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
53378         fall back to using wcrtomb.
53379         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53380         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
53381         renaming.
53382         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53383         * wcsmbs/tst-c16c32-1.c: New file.
53385         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53386         local variable.
53388         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53390         * elf/tst-unique3.cc: Add explicit declaration of gets.
53391         * elf/tst-unique3lib.cc: Likewise.
53392         * elf/tst-unique3lib2.cc: Likewise.
53393         * elf/tst-unique4.cc: Likewise.
53395         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53397 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
53399         [BZ #13566]
53400         * assert/assert.h (static_assert): Don't define for C++.
53401         * libio/stdio.h (gets): Do declare for C++ <= C++11.
53402         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53404 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
53406         * iconv/loop.c (single loop): Fix assertion in storing of
53407         remaining bytes.
53409         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53411 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
53413         * posix/getconf.c: Update copyright year.
53414         * nss/getent.c: Likewise.
53415         * nss/makedb.c: Likewise.
53416         * iconv/iconvconfig.c: Likewise.
53417         * iconv/iconv_prog.c: Likewise.
53418         * elf/ldconfig.c: Likewise.
53419         * elf/pldd.c: Likewise.
53420         * elf/sotruss.ksh: Likewise.
53421         * catgets/gencat.c: Likewise.
53422         * csu/version.c: Likewise.
53423         * elf/ldd.bash.in: Likewise.
53424         * elf/sprof.c (print_version): Likewise.
53425         * locale/programs/locale.c: Likewise.
53426         * locale/programs/localedef.c: Likewise.
53427         * login/programs/pt_chown.c: Likewise.
53428         * nscd/nscd.c (print_version): Likewise.
53429         * debug/xtrace.sh: Likewise.
53430         * malloc/memusage.sh: Likewise.
53431         * malloc/mtrace.pl: Likewise.
53432         * debug/catchsegv.sh: Likewise.
53434 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
53436         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53437         pure attribute.
53439 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
53441         [BZ #13533]
53442         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53443         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53444         transformations.
53445         * iconv/gconv_int.h: Likewise.
53446         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53447         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53448         from libc for GLIBC_2.16.
53449         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53450         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53451         * wcsmbs/uchar.h: Really define mbstate_t.
53452         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53453         * wcsmbs/c16rtomb.c: New file.
53454         * wcsmbs/mbrtoc16.c: New file.
53455         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53456         for C/POSIX locale.
53457         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53458         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53460         * wcsmbs/wchar.h: Add missing __restrict.
53462 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53464         [BZ #13532]
53465         * time/Makefile (routines): Add timespec_get.
53466         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53467         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
53468         timespec for ISO C11.
53469         * time/timespec_get.c: New file.
53470         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53471         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53473         [BZ #13531]
53474         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53475         * stdlib/stdlib.h: Declare aligned_alloc.
53476         * Versions.def: Add GLIBC_2.16 for libc.
53477         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53479         [BZ 13527]
53480         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53481         ISO C11.
53483         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53484         code.
53486         [BZ #13528]
53487         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53489         [BZ #13529]
53490         * assert/assert.h (static_assert): Define.
53492         * version.h: Update for 2.16 development version.
53494         [BZ #13526]
53495         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53496         _ISOC11_SOURCE.
53498         * version.h (RELEASE): Bump for 2.15 release.
53499         * include/features.h (__GLIBC_MINOR__): Bump to 15.
53501         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53502         Patch by Marek Polacek <mpolacek@redhat.com>.
53504         * bits/byteswap.h: Protect long long constants with __extension__.
53505         * sysdeps/i386/bits/byteswap.h: Likewise.
53506         * sysdeps/ia64/bits/byteswap.h: Likewise.
53507         * sysdeps/s390/bits/byteswap.h: Likewise.
53508         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53510 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53512         [BZ #13540]
53513         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53514         destination buffer.
53515         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53517 2011-12-23  Marek Polacek  <polacek@redhat.com>
53519         * elf/dl-addr.c (determine_info): Add inline keyword.
53520         * elf/tst-auditmod4b.c (check_avx): Likewise.
53521         * elf/tst-auditmod6b.c (check_avx): Likewise.
53522         * elf/tst-auditmod6c.c (check_avx): Likewise.
53523         * elf/tst-auditmod7b.c (check_avx): Likewise.
53525 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53527         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53528         !__SSE_MATH__.
53530 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53532         [BZ #13540]
53533         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53534         processing for last bytes.
53536 2011-08-06  Bruno Haible  <bruno@clisp.org>
53538         [BZ #13061]
53539         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53540         U+0385, not to U+1FEE.
53542         [BZ #13062]
53543         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53544         entry for U+00A5 U+0301.
53546 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53548         [BZ #13166]
53549         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53550         buffer for the output is too small.
53552         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53553         optimization.
53555         [BZ #13185]
53556         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53557         SSE flags if possible.
53559 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53561         [BZ #13540]
53562         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53563         processing for last bytes.
53565 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
53567         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53568         (syscall-list-default-options, syscall-list-default-condition)
53569         (syscall-list-includes): Define.
53570         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53571         list of ABIs and options and #if conditions for each ABI.  Do not
53572         handle common syscalls between ABIs specially.
53573         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53574         Remove.
53575         (syscall-list-variants, syscall-list-32bit-options)
53576         (syscall-list-32bit-condition, syscall-list-64bit-options)
53577         (syscall-list-64bit-condition): Define.
53578         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53579         (syscall-list-variants, syscall-list-32bit-options)
53580         (syscall-list-32bit-condition, syscall-list-64bit-options)
53581         (syscall-list-64bit-condition): Define.
53582         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53583         Remove.
53584         (syscall-list-variants, syscall-list-32bit-options)
53585         (syscall-list-32bit-condition, syscall-list-64bit-options)
53586         (syscall-list-64bit-condition): Define.
53587         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53588         Remove.
53589         (syscall-list-variants, syscall-list-32bit-options)
53590         (syscall-list-32bit-condition, syscall-list-64bit-options)
53591         (syscall-list-64bit-condition): Define.
53593 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53595         * locale/iso-639.def: Add brx entry.
53597         [BZ #13328]
53598         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53599         Proposed by Mariusz_Cukr <marcukr@op.pl>.
53601         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53602         __feraiseexcept_renamed.
53604 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53606         [BZ #13538]
53607         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53608         EPOLLET with unsigned values.
53609         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53610         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53612         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53613         to large cancellation.
53614         * math/s_cacoshf.c: Likewise.
53615         * math/s_cacoshl.c: Likewise.
53617 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
53619         [BZ #13305]
53620         [BZ #12786]
53621         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53622         * math/s_cacoshf.c: Likewise.
53623         * math/s_cacoshl.c: Likewise.
53625 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53627         [BZ #13439]
53628         * iconv/gconv.h: Define __GCONV_SWAP.
53629         * iconvdata/unicode.c: The swap bit must be stored in __flags.
53630         * iconvdata/utf-16.c: Likewise.
53631         * iconvdata/utf-32.c: Likewise.
53633 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
53635         [BZ #13524]
53636         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53637         numerator after shifting it by one limb.
53639 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
53641         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53642         under [__USE_EXTERN_INLINES].
53644 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53646         [BZ #13446]
53647         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53649 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53651         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53652         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53653         optimized code.
53654         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53655         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53656         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53657         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53658         for strncasecmp/strncasecmp_l compilation.
53659         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53660         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53662 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
53664         [BZ #13484]
53665         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53666         of __asm__.
53668 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53670         [BZ #13506]
53671         * time/tzfile.c (__tzfile_read): Check values from file header.
53673 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53675         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53676         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53677         * powerpc/powerpc32/dl-start.S: Likewise.
53678         * powerpc/powerpc32/elf/start.S: Likewise.
53679         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53680         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53681         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53682         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53683         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53684         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53685         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53686         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53687         * powerpc/powerpc32/fpu/s_round.S: Likewise.
53688         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53689         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53690         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53691         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53692         * powerpc/powerpc32/memset.S: Likewise.
53693         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53694         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53695         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53696         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53697         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53698         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53699         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53700         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53701         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53702         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53703         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53704         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53705         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53707 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53709         * math/libm-test.inc: Added more nearbyint tests.
53710         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53711         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53712         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53713         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53715 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
53717         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53718         FD_CLOEXEC.
53720 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53722         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53723         Add wcscpy-ssse3 wcscpy-c.
53724         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53725         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53726         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53727         * sysdeps/x86_64/wcschr.S: New file.
53728         * sysdeps/x86_64/wcsrchr.S: New file.
53729         * string/test-strcmp.c: Remove checking of wcscmp function for
53730         wrong alignments.
53731         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53732         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53733         wcsrchr-sse2 wcsrchr-c.
53734         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53735         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53736         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53737         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53738         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53739         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53740         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53741         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53742         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53743         * wcsmbc/wcschr.c (WCSCHR): New macro.
53745 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53747         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53748         * wcsmbs/test-wcsrchr.c: New file.
53749         * string/test-strrchr.c: Add wcsrchr support.
53750         (WIDE): New macro.
53751         * wcsmbs/test-wcscpy.c: New file.
53752         * string/test-strcpy.c: Add wcscpy support.
53753         (WIDE): New macro.
53755 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
53757         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53758         the inner loop.
53760 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
53762         [BZ #13472]
53763         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53765 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
53767         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53768         Minor optimizations.
53770         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53771         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53772         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53774 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
53776         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53777         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53778         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53779         for gcc to avoid warnings.
53780         * inet/Makefile (tests): Add tst-checks.
53781         * inet/tst-checks.c: New file.
53783         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53784         warning.
53786         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53787         __wmemcmp_sse2.
53789         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53790         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53792         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53794 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
53796         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53797         problem.
53799         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53801 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
53803         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53804         conditional on GCC version.
53805         (__arch_compare_and_exchange_val_8_acq)
53806         (__arch_compare_and_exchange_val_16_acq)
53807         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53808         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53809         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53811 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
53813         * sysdeps/sh/backtrace.c: New file.
53815 2011-12-02  Andreas Schwab  <schwab@redhat.com>
53817         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
53818         parenthesis.
53820 2011-12-01  Andreas Schwab  <schwab@redhat.com>
53822         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53823         falling back to utime.
53825 2011-11-30  Andreas Schwab  <schwab@redhat.com>
53827         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53828         expectations for float.
53830 2011-11-29  Andreas Schwab  <schwab@redhat.com>
53832         * locale/weight.h (findidx): Add parameter len.
53833         * locale/weightwc.h (findidx): Likewise.
53834         * posix/fnmatch_loop.c (FCT): Adjust caller.
53835         * posix/regcomp.c (build_equiv_class): Likewise.
53836         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53837         * posix/regexec.c (check_node_accept_bytes): Likewise.
53838         * string/strcoll_l.c (STRCOLL): Likewise.
53839         * string/strxfrm_l.c (STRXFRM): Likewise.
53841 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
53843         * Makefile.in: Remove CVSOPT handling.
53844         * configure.in: Remove use of AC_REVISION.
53845         * iconvdata/Makefile (distribute): No need to filter out CVS.
53846         * scripts/list-sources.sh: Remove CVS, subversion and monotone
53847         handling.
53849 2011-11-16  Andreas Schwab  <schwab@redhat.com>
53851         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53852         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53853         [USE_AS_STRNCASECMP_L]: Likewise.
53854         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53855         NO_TLS_DIRECT_SEG_REFS.
53856         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53857         Fix argument offsets for non-PIC.
53858         [USE_AS_STRNCASECMP_L]: Likewise.
53859         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53860         NO_TLS_DIRECT_SEG_REFS.
53862 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53864         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53865         O_CLOEXEC.
53866         * locale/loadlocale.c (_nl_load_locale): Likewise.
53868 2011-11-15  Andreas Schwab  <schwab@redhat.com>
53870         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53871         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53872         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53873         (SYSCALL_GETTIME): Set errno on error.
53875         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53876         count references to noai6ai_cached.
53878 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53880         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53882         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53883         FD_CLOEXEC for /proc/self/maps.
53885         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53886         FD_CLOEXEC for /proc/meminfo.
53888         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53889         gai.conf.
53891         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
53892         FD_CLOEXEC for given file.
53894         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53896         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53897         FD_CLOEXEC for /etc/hosts.
53898         (_gethtent): Likewise.
53900         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53902         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53903         cancellation and set FD_CLOEXEC for /etc/netgroup.
53905         * nss/nss_files/files-key.c (search): Don't allow cancellation when
53906         reading /etc/publickey.
53908         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53909         allow cancellation when reading /etc/group.
53911         * nss/nss_files/files-alias.c (internal_setent): Don't allow
53912         cancellation.
53913         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
53915         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53916         when using data file.
53918         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53920         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53921         (write_nis_obj): Use "c" and "e" in fopen.
53923         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53925         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53927         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53929         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53931         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53932         locale.alias.
53934         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53936         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53938         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53940         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53941         file parsing and set FD_CLOEXEC.
53943 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53945         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53947 2011-11-14  Andreas Schwab  <schwab@redhat.com>
53949         * malloc/arena.c (arena_get2): Don't call reused_arena when
53950         _int_new_arena failed.
53952 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53954         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53955         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53956         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53957         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53958         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53959         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53960         to compile strcasecmp and strncasecmp.
53961         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53962         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53964         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53966 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
53968         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53969         locale-defines.sym to gen-as-const-headers.
53970         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53971         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53973         to compile strcasecmp and strncasecmp.
53974         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53975         strcasecmp_l and strncasecmp_l.
53976         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53977         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53978         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53979         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53980         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53981         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53982         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53983         * sysdeps/i386/i686/multiarch/strncase.S: New file.
53984         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53985         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53986         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53988 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
53990         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53991         result of SYSDEP_GETTIME_CPU to retval.
53992         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53993         parameter list to macro.  Remove trailing semicolon.  Adjust users.
53995         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53996         variable.
53998         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53999         mantissa words.
54000         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54002         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54003         from unused variable.
54005         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54006         DWARF definitions.
54007         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54008         for assembling.
54010         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54011         over namespaces.
54013         * sunrpc/rpc_prot.c (rejected): Fix case value.
54015         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54016         unsigned long long int to avoid warnings in shift.
54018         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54019         of use of trans.
54020         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54021         variable tmp.
54023         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54024         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54025         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54027         * nis/nis_table.c (nis_list): Use variable of correct type for
54028         result of __follow_path call.
54030 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54032         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54033         of math functions ceil, trunc, floor, round, and sqrt, when
54034         avaliable on the platform.
54035         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54036         name clash.
54037         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54038         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54039         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54041 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54043         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54044         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54046 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54048         * include/unistd.h: Fix __readlink return type.
54049         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54051 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54053         * stdlib/ucontext.h: Undo last change for makecontext.
54055 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54057         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54059         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54060         * setjmp/setjmp.h: Mark functions as non-leaf.
54061         * setjmp/bits/setjmp2.h: Likewise.
54062         * stdlib/ucontext.h: Likewise.
54064 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54066         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54067         (reused_arena): Don't check arena limit.
54068         (arena_get2): Atomically check arena limit.
54070 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54072         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54073         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54076         instructions.
54078 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54080         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54081         handler when locking.
54083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54084         Fix size of allocated buffer.
54086 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54088         [BZ #10103]
54089         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54090         declarations for long double functions.
54091         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54093         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54095 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54097         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54098         installed.
54100         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54101         is disabled.
54103 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54105         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54107 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54109         * include/alloca.h (stackinfo_alloca_round): Define.
54110         (extend_alloca): Use it.
54111         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54112         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54113         here.
54115         * scripts/check-local-headers.sh: Ignore libaudit.h.
54117         * nscd/Makefile (extra-objs): Make recursively expanded.
54119 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
54121         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54122         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54124         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54125         * posix/tst-rfc3484-2.c: Likewise.
54126         * posix/tst-rfc3484-3.c: Likewise.
54128         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54129         process_vm_writev.
54130         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54131         process_vm_writev.
54132         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54133         process_vm_writev from libc using GLIBC_2.15 version.
54135         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54137 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
54139         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54140         stack usage.
54142 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
54144         [BZ #13367]
54145         * nss/getent.c (initgroups_keys): Show error message in case no group
54146         names are given.
54148         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54149         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54150         __bump_nl_timestamp.
54151         * nscd/connections (nscd_init): When host database is served open
54152         netlink socket and request notification about configuration changes.
54153         (main_loop_poll): Track netlink file descriptor and bump timestamp
54154         in case data becomes available.
54155         (main_loop_epoll): Likewise.
54156         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54157         (database_pers_head): Add extra_data fileds.
54158         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54159         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54160         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54161         Adjust caller.
54162         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54163         in6ai data, call __free_in6ai.
54164         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54165         Add -DHAVE_NETLINK.
54166         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54167         interface information.  Reuse previous data if netlink timestamp
54168         is not changed.
54169         (__bump_nl_timestamp): New function.
54170         (__free_in6ai): New function.
54172 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54174         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54175         close_not_cancel_no_status here.
54176         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54178 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54180         [BZ #13276]
54181         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54182         return value.
54184         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54185         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54186         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54188 2011-07-03  Andreas Jaeger  <aj@suse.de>
54190         [BZ #10709]
54191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54192         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54193         * math/libm-test.inc (sin_test): Add test case.
54195 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54197         [BZ #13337]
54198         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54199         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54201         * elf/chroot_canon.c (chroot_canon): Cleanups.
54203         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54205         [BZ #13335]
54206         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54207         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54209         * string/test-strchr.c: Make usable for strchrnul testing.
54210         * string/test-strchrnul.c: New file.
54211         * string/Makefile (strop-tests): Add strchrnul.
54213         * po/it.po: Update from translation team.
54214         * po/es.po: Likewise.
54216 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54218         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54219         the three constants needed as parameters.  Drop the others.
54220         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54221         __m128i_strloadu_tolower.
54222         Create and initialize variable zero and use it in all the places
54223         where _mm_setzero_si128 was used.
54225         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54226         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54227         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54228         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54229         anymore.
54230         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54231         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54232         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54233         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54234         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54235         __mpranred, __mptan.
54236         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54237         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54238         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54239         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54240         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54241         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54242         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54243         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54244         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54246 2011-10-28  Andreas Schwab  <schwab@redhat.com>
54248         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54249         redefine if SHARED.
54250         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54252         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54253         wide char related routines to wcsmbs subdir.
54255 2011-10-27  Andreas Schwab  <schwab@redhat.com>
54257         [BZ #13344]
54258         * misc/sys/cdefs.h (__THROWNL): Define.
54259         * posix/unistd.h: Use __THREADNL instead of __THREAD
54260         for memory synchronization functions.
54262 2011-10-26  Roland McGrath  <roland@hack.frob.com>
54264         [BZ #13349]
54265         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54266         doesn't exist.
54267         * manual/stdio.texi (Obstack Streams): Node removed.
54269 2011-10-26  Andreas Schwab  <schwab@redhat.com>
54271         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54272         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54273         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54275         * math/math_private.h (math_force_eval): Allow non-addressable
54276         arguments.
54277         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54279 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54281         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54282         file is not needed.
54284         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54286         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54287         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54288         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54289         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54290         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54291         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54292         Add AVX variants.
54293         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54294         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54295         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54296         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54297         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54298         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54299         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54300         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54301         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54302         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54303         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54304         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54305         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54306         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54307         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54308         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54309         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54310         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54311         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54313         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54314         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
54316         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54317         place.  Use VEX encoding when compiling for AVX.
54319 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54321         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54322         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54324         * string/test-strchr.c (do_test): Don't generate NUL bytes.
54326 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54328         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54329         useless if() expression.
54330         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54331         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54332         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54333         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54334         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54335         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54336         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54337         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54338         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54339         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54340         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54341         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54342         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54343         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54344         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54345         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54346         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54347         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54348         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54350         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54352 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54354         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54355         condition.
54356         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54358 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54360         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54361         .text section.  Avoid duplicate constants.
54362         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54363         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54364         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54365         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54366         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54369         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54370         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54371         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54372         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54373         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54374         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54375         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54376         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54377         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54378         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54379         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54380         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54381         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54382         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54383         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54384         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54385         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54386         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54387         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54388         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54389         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54390         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54391         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54392         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54393         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54394         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54395         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54396         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54397         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54398         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54399         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54400         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54401         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54402         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54403         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54404         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54405         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54406         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54408 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
54410         * sysdeps/x86_64/dla.h: Move to ...
54411         * sysdeps/x86_64/fpu/dla.h: ...here.
54412         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54413         situations.  Use __builtin_fma only for gcc 4.6 and up.
54415         * config.make.in: Add have-mfma4 entry.
54416         * configure.in: Substitute libc_cv_cc_fma4.
54417         * math/Makefile (dbl-only-routines): Add sincostab.
54418         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54419         Use __sincostab not sincos.
54420         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54421         name is a macro.
54422         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54423         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
54426         using __copysign.
54427         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
54428         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
54429         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54430         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54431         and __inv.
54432         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54433         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54434         __copysign.
54435         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
54436         define aliases when function name is a macro.
54437         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54438         sysdeps/ieee754/dbl-64/sincos.tbl.
54439         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54440         fma4-enabled routines.
54441         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54442         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54443         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54444         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54445         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54446         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54447         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54448         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54449         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54450         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54451         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54452         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54453         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54454         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54455         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54456         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54457         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54458         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54459         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54460         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54461         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54462         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54464         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54465         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54466         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54467         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54468         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54469         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54470         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54472         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54473         rename.
54474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54475         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54476         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54479         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54480         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54483 2011-10-24  Andreas Schwab  <schwab@redhat.com>
54485         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54487 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54489         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54491         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54492         prediction.
54493         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54495         * string/strnlen.c: Don't define STRNLEN, reverse logic.
54496         Remove unused variable magic_bits.
54497         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54499         * string/strnlen.c: Define and use STRNLEN macro.
54500         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54501         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54502         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54503         * wcsmbs/wcslen.c: Define and use WCSLEN.
54504         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54505         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54506         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54507         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54508         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54509         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54510         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54512 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54515         strnlen-sse2-no-bsf.
54516         Rename strlen-no-bsf to strlen-sse2-no-bsf.
54517         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54518         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54519         Add strnlen support.
54520         (USE_AS_STRNLEN): New macro.
54521         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54522         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54523         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54524         * sysdeps/x86_64/wcslen.S: New file.
54526 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
54528         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54529         XMM-moves are used for copying on small sizes.
54531 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54533         * wcsmbs/Makefile (strop-tests): Add wcschr.
54534         * wcsmbs/test-wcschr.c: New file.
54535         * string/test-strchr.c: Update.
54536         Add wcschr support.
54537         (WIDE): New macro.
54539 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54541         * wcsmbs/Makefile (strop-tests): Add wcslen.
54542         * wcsmbs/test-wcslen.c: New file.
54543         * string/test-strlen.c: Update.
54544         Add wcslen support.
54545         (WIDE): New macro.
54547 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54549         * po/it.po: Update from translation team.
54551 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54553         * sysdeps/x86_64/wcscmp.S: Update.
54554         Fix wrong comparison semantics.
54555         wcscmp shall use signed comparison not unsigned.
54556         Don't use substraction to avoid overflow bug.
54557         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54558         * wcsmbc/wcscmp.c: Likewise.
54559         * string/test-strcmp.c: Likewise.
54560         Add new tests to check cases with negative values.
54562 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54564         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54565         * sysdeps/x86_64/dla.h: ...here.  New file.
54566         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54567         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54576 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
54578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54579         __ynl_finite aliases.
54581 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54585         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54586         define DLA_FMA.
54587         [DLA_FMA] (EMULV): Use DLA_FMA.
54588         [DLA_FMA] (MUL12): Use EMULV.
54589         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54590         that are not needed.
54591         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54593         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54594         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54595         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54596         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54599 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
54601         * math/s_nan.c: Undef __nan.
54602         * math/s_nanf.c: Undef __nanf.
54603         * math/s_nanl.c: Undef __nanl.
54604         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54605         "math_private.h".
54607 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54609         * math/s_catan.c: Add branch predictions.
54610         * math/s_catanf.c: Likewise.
54611         * math/s_catanh.c: Likewise.
54612         * math/s_catanhf.c: Likewise.
54613         * math/s_catanhl.c: Likewise.
54614         * math/s_catanl.c: Likewise.
54615         * math/s_cexp.c: Likewise.
54616         * math/s_cexpf.c: Likewise.
54617         * math/s_cexpl.c: Likewise.
54618         * math/s_clog.c: Likewise.
54619         * math/s_clog10.c: Likewise.
54620         * math/s_clog10f.c: Likewise.
54621         * math/s_clog10l.c: Likewise.
54622         * math/s_clogf.c: Likewise.
54623         * math/s_clogl.c: Likewise.
54624         * math/s_csqrt.c: Likewise.
54625         * math/s_csqrtf.c: Likewise.
54626         * math/s_csqrtl.c: Likewise.
54627         * math/s_ctanf.c: Likewise.
54628         * math/s_ctanh.c: Likewise.
54629         * math/s_ctanhf.c: Likewise.
54630         * math/s_ctanhl.c: Likewise.
54631         * math/s_ctanl.c: Likewise.
54633         * math/math_private.h: Define __nan, __nanf, __nanl.
54634         * math/s_cacosh.c: Include <math_private.h>.
54635         * math/s_cacoshl.c: Likewise.
54636         * math/s_casinh.c: Likewise.
54637         * math/s_casinhf.c: Likewise.
54638         * math/s_casinhl.c: Likewise.
54639         * math/s_ccos.c: Rely entire on ccosh.
54640         * math/s_ccosf.c: Rely entire on ccoshf.
54641         * math/s_ccosl.c: Rely entirely on ccoshl.
54642         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
54643         Remove tests for FE_INVALID.
54644         * math/s_ccoshf.c: Likewise.
54645         * math/s_ccoshl.c: Likewise.
54646         * math/s_csin.c: Likewise.
54647         * math/s_csinf.c: Likewise.
54648         * math/s_csinh.c Likewise.
54649         * math/s_csinhf.c: Likewise.
54650         * math/s_csinhl.c: Likewise.
54651         * math/s_csinl.c: Likewise.
54652         * math/s_ctan.c: Likewise.
54653         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54654         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54655         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54657 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
54659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54660         compilation problems.
54662         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54663         __builtin_expect.
54665 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
54667         * sysdeps/i386/configure.in: Test for -mfma4 option.
54668         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54669         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54670         COMMON_CPUID_INDEX_80000001.
54671         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54672         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54673         use it if FMA3 is not supported.
54674         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54676         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54677         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54679 2011-10-20  Andreas Schwab  <schwab@redhat.com>
54681         [BZ #12892]
54682         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54683         it would create a cycle with a link time dependency.
54685 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
54687         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54688         instruction.
54689         * string/Makefile (strop-tests): Add rawmemchr.
54690         * string/test-rawmemchr.c: New file.
54692         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54693         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
54694         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
54695         when compiling str{,n}casecmp and when AVX is available.  Hook up
54696         new optimized code in initializers.
54698 2011-10-19  Andreas Schwab  <schwab@redhat.com>
54700         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54701         __feraiseexcept instead of feraiseexcept.
54703 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
54705         * math/math_private.h: Define defaults for libc_fetestexcept and
54706         libc_feupdateenv.
54707         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54708         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54709         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54710         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54711         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54712         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54713         libc_fetestexcept and libc_feupdateenv.
54715         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54716         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54717         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54718         * sysdeps/x86_64/fpu/math_private.h: Define special version of
54719         libc_feholdexcept_setround.
54721         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54722         Add s_nearbyint-c and s_nearbyintf-c.
54723         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54724         nearbyintf inlines.
54725         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54726         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54727         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54728         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54730         * math/math_private.h: Define defaults for libc_fegetround,
54731         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54732         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54733         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54735         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54736         standard functions.
54737         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54738         Remove comments and hacks for old compiler versions.
54739         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54740         libc_fegetround, libc_fesetround, libc_feholdexcept, and
54741         libc_feholdexceptl.
54743 2011-10-18  Andreas Schwab  <schwab@redhat.com>
54745         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54746         (__feraiseexcept_renamed): Add __NTH.
54747         (feraiseexcept): Add __NTH.  Rename local variables to fix
54748         namespace violations.
54750 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
54752         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54754         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54756         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54757         recently added interfaces.
54758         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54760         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54761         about macro parameter expansion.
54763         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54764         __NO_MATH_INLINES is defined.  Cleanups.
54766         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54767         and __floorf is target has SSE4.1.
54768         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54769         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54770         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54771         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54773         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54774         name.
54775         (floorf): Likewise.
54777         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54779 2011-10-17  Andreas Schwab  <schwab@redhat.com>
54781         * misc/sys/cdefs.h: Fix last change.
54783         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54784         database lookup.
54786 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
54788         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54790         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54791         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54792         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54793         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54794         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54795         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54796         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54797         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54798         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54799         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54800         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54801         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54802         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54803         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54804         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54805         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54806         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54807         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54808         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54809         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54810         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54811         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54813         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54814         ceil, ceilf, floor, floorf.
54816         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54817         Perform IRELATIVE relocations last.
54819         * elf/do-rel.h: Add another parameter nrelative, replacing the
54820         local variable with the same name.  Change name of the function
54821         to end in Rel or Rela (uppercase).
54822         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54823         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
54824         elf_dynamic_do_##reloc function.
54826 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54828         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54829         is sufficient, at least on modern CPUs.
54831         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54833         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54834         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54836         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54837         __expl_finite.
54838         * math/bits/math-finite.h: Add entries for exp.
54839         * math/e_expl.c: Add __*_finite alias.
54840         * sysdeps/i386/fpu/e_exp.S: Likewise.
54841         * sysdeps/i386/fpu/e_expf.S: Likewise.
54842         * sysdeps/i386/fpu/e_expl.c: Likewise.
54843         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54844         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54845         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54846         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54847         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54848         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54849         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54851         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54852         is sufficient, at least on modern CPUs.
54854         * ctype/ctype-info.c (__ctype_init): Define.
54855         * include/ctype.h (__ctype_init): Declare.
54856         (__ctype_b_loc): The variable is always initialized.
54857         (__ctype_toupper_loc): Likewise.
54858         (__ctype_tolower_loc): Likewise.
54859         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54860         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54862 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
54864         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54866         * configure.in: Also look in $cxxmachine/include for C++ system
54867         headers.
54869 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54871         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54872         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54873         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54874         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
54875         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54876         (USE_AS_WMEMCMP): New macro.
54877         Fixing indents.
54878         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54879         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54880         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54881         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54883         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54884         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54885         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54886         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54887         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54888         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54889         (USE_AS_WMEMCMP): New macro.
54890         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54891         * sysdeps/string/test-memcmp.c: Update.
54892         Fix simple_wmemcmp.
54893         Add new tests.
54894         * wcsmbs/wmemcmp.c: Update.
54895         (WMEMCMP): New macro.
54896         Fix overflow bug.
54898 2011-10-12  Andreas Jaeger  <aj@suse.de>
54900         [BZ #13268]
54901         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54903 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54905         * libio/iofwide.c (do_length): Avoid warning.
54907         * ctype/ctype.h (__isctype_f): Add missing __THROW.
54909 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
54911         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54913         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54914         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54915         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54916         * sysdeps/i386/i686/fpu/e_log.S: New file.
54917         * sysdeps/i386/i686/fpu/e_logf.S: New file.
54918         * sysdeps/i386/i686/fpu/e_logl.S: New file.
54920         * ctype/ctype.h: Add support for inlined isXXX functions when
54921         compiling C++ code.
54923 2011-10-14  Andreas Schwab  <schwab@redhat.com>
54925         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54927         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54929 2011-10-13  Roland McGrath  <roland@hack.frob.com>
54931         [BZ #13291]
54932         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54934 2011-10-13  Andreas Schwab  <schwab@redhat.com>
54936         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54937         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54938         feraiseexcept.
54940         * sysdeps/x86_64/memrchr.S: Check for zero size.
54942         * string/stratcliff.c: Add memrchr tests.
54944 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54946         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54947         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54948         rawmemchr-sse2 rawmemchr-sse2-bsf.
54949         * sysdeps/i386/i686/multiarch/memchr.S: New file.
54950         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54951         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54952         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54953         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54954         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54955         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54956         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54957         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54958         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54959         * string/memrchr.c (MEMRCHR): New macro.
54961 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
54963         Add integration with gcc's -ffinite-math-only and optimize wrapper
54964         functions in libm.
54965         * Versions.def: Define GLIBC_2.15 version for libm.
54966         * math/Makefile (headers): Add bits/math-finite.h.
54967         * math/bits/math-finite.h: New file.
54968         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54969         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54970         * math/e_acoshl.c: Add __*_finite alias.
54971         * math/e_acosl.c: Likewise.
54972         * math/e_asinl.c: Likewise.
54973         * math/e_atan2l.c: Likewise.
54974         * math/e_atanhl.c: Likewise.
54975         * math/e_coshl.c: Likewise.
54976         * math/e_exp10.c: Likewise.
54977         * math/e_exp10f.c: Likewise.
54978         * math/e_exp10l.c: Likewise.
54979         * math/e_exp2l.c: Likewise.
54980         * math/e_fmodl.c: Likewise.
54981         * math/e_gammal_r.c: Likewise.
54982         * math/e_hypotl.c: Likewise.
54983         * math/e_j0l.c: Likewise.
54984         * math/e_j1l.c: Likewise.
54985         * math/e_jnl.c: Likewise.
54986         * math/e_lgammal_r.c: Likewise.
54987         * math/e_log10l.c: Likewise.
54988         * math/e_log2l.c: Likewise.
54989         * math/e_logl.c: Likewise.
54990         * math/e_powl.c: Likewise.
54991         * math/e_sinhl.c: Likewise.
54992         * math/e_sqrtl.c: Likewise.
54993         * math/e_scalb.c: Completely rewritten and optimized.
54994         * math/e_scalbf.c: Likewise.
54995         * math/e_scalbl.c: Likewise.
54996         * math/w_acos.c: Likewise.
54997         * math/w_acosf.c: Likewise.
54998         * math/w_acosl.c: Likewise.
54999         * math/w_acosh.c: Likewise.
55000         * math/w_acoshf.c: Likewise.
55001         * math/w_acoshl.c: Likewise.
55002         * math/w_asin.c: Likewise.
55003         * math/w_asinf.c: Likewise.
55004         * math/w_asinl.c: Likewise.
55005         * math/w_atan2.c: Likewise.
55006         * math/w_atan2f.c: Likewise.
55007         * math/w_atan2l.c: Likewise.
55008         * math/w_atanh.c: Likewise.
55009         * math/w_atanhf.c: Likewise.
55010         * math/w_atanhl.c: Likewise.
55011         * math/w_exp10.c: Likewise.
55012         * math/w_exp10f.c: Likewise.
55013         * math/w_exp10l.c: Likewise.
55014         * math/w_fmod.c: Likewise.
55015         * math/w_fmodf.c: Likewise.
55016         * math/w_fmodl.c: Likewise.
55017         * math/w_j0.c: Likewise.
55018         * math/w_j0f.c: Likewise.
55019         * math/w_j0l.c: Likewise.
55020         * math/w_j1.c: Likewise.
55021         * math/w_j1f.c: Likewise.
55022         * math/w_j1l.c: Likewise.
55023         * math/w_jn.c: Likewise.
55024         * math/w_jnf.c: Likewise.
55025         * math/w_log.c: Likewise.
55026         * math/w_logf.c: Likewise.
55027         * math/w_logl.c: Likewise.
55028         * math/w_log10.c: Likewise.
55029         * math/w_log10f.c: Likewise.
55030         * math/w_log10l.c: Likewise.
55031         * math/w_log2.c: Likewise.
55032         * math/w_log2f.c: Likewise.
55033         * math/w_log2l.c: Likewise.
55034         * math/w_pow.c: Likewise.
55035         * math/w_powf.c: Likewise.
55036         * math/w_powl.c: Likewise.
55037         * math/w_remainder.c: Likewise.
55038         * math/w_remainderf.c: Likewise.
55039         * math/w_remainderl.c: Likewise.
55040         * math/w_scalb.c: Likewise.
55041         * math/w_scalbf.c: Likewise.
55042         * math/w_scalbl.c: Likewise.
55043         * math/w_sqrt.c: Likewise.
55044         * math/w_sqrtf.c: Likewise.
55045         * math/w_sqrtl.c: Likewise.
55046         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55047         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55048         used.
55049         * math/math_private.h: Declare __kernel_standard_f.
55050         * math/w_cosh.c: Remove cruft and optimize a bit.
55051         * math/w_coshf.c: Likewise.
55052         * math/w_coshl.c: Likewise.
55053         * math/w_exp2.c: Likewise.
55054         * math/w_exp2f.c: Likewise.
55055         * math/w_exp2l.c: Likewise.
55056         * math/w_hypot.c: Likewise.
55057         * math/w_hypotf.c: Likewise.
55058         * math/w_hypotl.c: Likewise.
55059         * math/w_lgamma.c: Likewise.
55060         * math/w_lgamma_r.c: Likewise.
55061         * math/w_lgammaf.c: Likewise.
55062         * math/w_lgammaf_r.c: Likewise.
55063         * math/w_lgammal.c: Likewise.
55064         * math/w_lgammal_r.c: Likewise.
55065         * math/w_sinh.c: Likewise.
55066         * math/w_sinhf.c: Likewise.
55067         * math/w_sinhl.c: Likewise.
55068         * math/w_tgamma.c: Likewise.
55069         * math/w_tgammaf.c: Likewise.
55070         * math/w_tgammal.c: Likewise.
55071         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55072         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55073         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55074         Minor optimizations.  Pretty printing.  Remove cruft.
55075         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55076         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55077         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55078         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55079         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55080         * sysdeps/i386/fpu/e_asin.S: Likewise.
55081         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55082         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55083         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55084         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55085         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55086         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55087         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55088         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55089         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55090         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55091         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55092         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55093         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55094         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55095         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55096         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55097         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55098         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55099         * sysdeps/i386/fpu/e_log.S: Likewise.
55100         * sysdeps/i386/fpu/e_log10.S: Likewise.
55101         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55102         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55103         * sysdeps/i386/fpu/e_log2.S: Likewise.
55104         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55105         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55106         * sysdeps/i386/fpu/e_logf.S: Likewise.
55107         * sysdeps/i386/fpu/e_logl.S: Likewise.
55108         * sysdeps/i386/fpu/e_pow.S: Likewise.
55109         * sysdeps/i386/fpu/e_powf.S: Likewise.
55110         * sysdeps/i386/fpu/e_powl.S: Likewise.
55111         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55112         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55113         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55114         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55115         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55116         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55117         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55118         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55119         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55120         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55121         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55122         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55123         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55124         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55125         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55126         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55127         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55128         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55129         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55130         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55131         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55133         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55134         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55135         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55136         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55137         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55138         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55140         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55141         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55142         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55143         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55144         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55145         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55146         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55147         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55148         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55149         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55150         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55151         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55152         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55153         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55154         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55155         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55156         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55157         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55158         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55159         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55160         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55161         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55162         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55163         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55164         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55165         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55166         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55167         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55168         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55169         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55170         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55171         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55172         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55173         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55174         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55175         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55176         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55177         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55178         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55179         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55180         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55181         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55182         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55183         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55184         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55185         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55186         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55188         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55189         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55190         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55191         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55192         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55193         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55194         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55195         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55196         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55197         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55198         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55199         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55200         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55201         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55202         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55203         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55204         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55205         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55206         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55207         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55208         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55209         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55210         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55211         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55212         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55213         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55214         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55215         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55216         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55217         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55218         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55219         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55220         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55221         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55222         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55223         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55224         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55225         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55226         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55227         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55228         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55229         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55230         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
55231         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55232         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55233         (__isnanf): Likewise.
55234         (__isinf_ns): Likewise.
55235         (__isinf_nsf): Likewise.
55236         (__finite): Likewise.
55237         (__finitef): Likewise.
55238         (__ieee754_sqrt): Define as macro.
55239         (__ieee754_sqrtf): Define as macro.
55240         (__ieee754_sqrtl): Define as macro.
55241         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55242         inlined copy.
55243         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55244         __FINITE_MATH_ONLY__ consistent.
55245         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55247 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
55249         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55250         of rawmemchr.
55252         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55254 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
55256         * po/ja.po: Update from translation team.
55258 2011-10-08  Roland McGrath  <roland@hack.frob.com>
55260         * locale/programs/locarchive.c (prepare_address_space): New function.
55261         (create_archive, enlarge_archive, open_archive): Use it.
55263         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55264         inside [SHARED], where it is used.
55266         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55268         * nss/getent.c (netgroup_keys): Remove unused variable.
55269         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55271 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
55273         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55274         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55275         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55276         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55277         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55278         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55279         * math/Makefile (libm-calls): Add s_isinf_ns.
55280         * math/divtc3.c: Use __isinf_nsl instead of isinf.
55281         * math/multc3.c: Likewise.
55282         * math/s_casin.c: Likewise.
55283         * math/s_casinf.c: Likewise.
55284         * math/s_casinl.c: Likewise.
55285         * math/s_ccos.c: Likewise.
55286         * math/s_ccosf.c: Likewise.
55287         * math/s_ccosl.c: Likewise.
55288         * math/s_ctan.c: Likewise.
55289         * math/s_ctanf.c: Likewise.
55290         * math/s_ctanh.c: Likewise.
55291         * math/s_ctanhf.c: Likewise.
55292         * math/s_ctanhl.c: Likewise.
55293         * math/s_ctanl.c: Likewise.
55294         * math/w_fmod.c: Likewise.
55295         * math/w_fmodf.c: Likewise.
55296         * math/w_fmodl.c: Likewise.
55297         * math/w_remainder.c: Likewise.
55298         * math/w_remainderf.c: Likewise.
55299         * math/w_remainderl.c: Likewise.
55300         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55301         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55302         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55303         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55304         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55305         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55306         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55307         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55309         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55310         of the number.
55311         * stdio-common/printf_fphex.c: Likewise.
55312         * stdio-common/printf_size.c: Likewise.
55314         * math/e_exp10.c: Include math_private.h using <...> not "...".
55315         * math/e_exp10f.c: Likewise.
55316         * math/e_exp10l.c: Likewise.
55317         * math/e_exp2l.c: Likewise.
55318         * math/e_j0l.c: Likewise.
55319         * math/e_j1l.c: Likewise.
55320         * math/e_jnl.c: Likewise.
55321         * math/e_lgammal_r.c: Likewise.
55322         * math/e_rem_pio2l.c: Likewise.
55323         * math/e_scalb.c: Likewise.
55324         * math/e_scalbf.c: Likewise.
55325         * math/e_scalbl.c: Likewise.
55326         * math/k_cosl.c: Likewise.
55327         * math/k_sinl.c: Likewise.
55328         * math/k_tanl.c: Likewise.
55329         * math/s_cacoshf.c: Likewise.
55330         * math/s_catan.c: Likewise.
55331         * math/s_catanf.c: Likewise.
55332         * math/s_catanh.c: Likewise.
55333         * math/s_catanhf.c: Likewise.
55334         * math/s_catanhl.c: Likewise.
55335         * math/s_catanl.c: Likewise.
55336         * math/s_ccosh.c: Likewise.
55337         * math/s_ccoshf.c: Likewise.
55338         * math/s_ccoshl.c: Likewise.
55339         * math/s_cexp.c: Likewise.
55340         * math/s_cexpf.c: Likewise.
55341         * math/s_cexpl.c: Likewise.
55342         * math/s_clog.c: Likewise.
55343         * math/s_clog10.c: Likewise.
55344         * math/s_clog10f.c: Likewise.
55345         * math/s_clog10l.c: Likewise.
55346         * math/s_clogf.c: Likewise.
55347         * math/s_clogl.c: Likewise.
55348         * math/s_csin.c: Likewise.
55349         * math/s_csinf.c: Likewise.
55350         * math/s_csinh.c: Likewise.
55351         * math/s_csinhf.c: Likewise.
55352         * math/s_csinhl.c: Likewise.
55353         * math/s_csinl.c: Likewise.
55354         * math/s_csqrt.c: Likewise.
55355         * math/s_csqrtf.c: Likewise.
55356         * math/s_csqrtl.c: Likewise.
55357         * math/s_ctan.c: Likewise.
55358         * math/s_ctanf.c: Likewise.
55359         * math/s_ctanh.c: Likewise.
55360         * math/s_ctanhf.c: Likewise.
55361         * math/s_ctanhl.c: Likewise.
55362         * math/s_ctanl.c: Likewise.
55363         * math/s_ldexp.c: Likewise.
55364         * math/s_ldexpf.c: Likewise.
55365         * math/s_ldexpl.c: Likewise.
55366         * math/s_significand.c: Likewise.
55367         * math/s_significandf.c: Likewise.
55368         * math/s_significandl.c: Likewise.
55369         * math/w_acos.c: Likewise.
55370         * math/w_acosf.c: Likewise.
55371         * math/w_acosh.c: Likewise.
55372         * math/w_acoshf.c: Likewise.
55373         * math/w_acoshl.c: Likewise.
55374         * math/w_acosl.c: Likewise.
55375         * math/w_asin.c: Likewise.
55376         * math/w_asinf.c: Likewise.
55377         * math/w_asinl.c: Likewise.
55378         * math/w_atan2.c: Likewise.
55379         * math/w_atan2f.c: Likewise.
55380         * math/w_atan2l.c: Likewise.
55381         * math/w_atanh.c: Likewise.
55382         * math/w_atanhf.c: Likewise.
55383         * math/w_atanhl.c: Likewise.
55384         * math/w_cosh.c: Likewise.
55385         * math/w_coshf.c: Likewise.
55386         * math/w_coshl.c: Likewise.
55387         * math/w_dremf.c: Likewise.
55388         * math/w_exp10.c: Likewise.
55389         * math/w_exp10f.c: Likewise.
55390         * math/w_exp10l.c: Likewise.
55391         * math/w_exp2.c: Likewise.
55392         * math/w_exp2f.c: Likewise.
55393         * math/w_fmod.c: Likewise.
55394         * math/w_fmodf.c: Likewise.
55395         * math/w_fmodl.c: Likewise.
55396         * math/w_hypot.c: Likewise.
55397         * math/w_hypotf.c: Likewise.
55398         * math/w_hypotl.c: Likewise.
55399         * math/w_j0.c: Likewise.
55400         * math/w_j0f.c: Likewise.
55401         * math/w_j0l.c: Likewise.
55402         * math/w_j1.c: Likewise.
55403         * math/w_j1f.c: Likewise.
55404         * math/w_j1l.c: Likewise.
55405         * math/w_jn.c: Likewise.
55406         * math/w_jnf.c: Likewise.
55407         * math/w_jnl.c: Likewise.
55408         * math/w_lgamma.c: Likewise.
55409         * math/w_lgamma_r.c: Likewise.
55410         * math/w_lgammaf.c: Likewise.
55411         * math/w_lgammaf_r.c: Likewise.
55412         * math/w_lgammal.c: Likewise.
55413         * math/w_lgammal_r.c: Likewise.
55414         * math/w_log.c: Likewise.
55415         * math/w_log10.c: Likewise.
55416         * math/w_log10f.c: Likewise.
55417         * math/w_log10l.c: Likewise.
55418         * math/w_log2.c: Likewise.
55419         * math/w_log2f.c: Likewise.
55420         * math/w_log2l.c: Likewise.
55421         * math/w_logf.c: Likewise.
55422         * math/w_logl.c: Likewise.
55423         * math/w_pow.c: Likewise.
55424         * math/w_powf.c: Likewise.
55425         * math/w_powl.c: Likewise.
55426         * math/w_remainder.c: Likewise.
55427         * math/w_remainderf.c: Likewise.
55428         * math/w_remainderl.c: Likewise.
55429         * math/w_scalb.c: Likewise.
55430         * math/w_scalbf.c: Likewise.
55431         * math/w_scalbl.c: Likewise.
55432         * math/w_sinh.c: Likewise.
55433         * math/w_sinhf.c: Likewise.
55434         * math/w_sinhl.c: Likewise.
55435         * math/w_sqrt.c: Likewise.
55436         * math/w_sqrtf.c: Likewise.
55437         * math/w_sqrtl.c: Likewise.
55438         * math/w_tgamma.c: Likewise.
55439         * math/w_tgammaf.c: Likewise.
55440         * math/w_tgammal.c: Likewise.
55442         * po/ja.po: Update from translation team.
55444 2011-09-29  Andreas Jaeger  <aj@suse.de>
55446         [BZ #13179]
55447         * sunrpc/netname.c (netname2host): Fix logic.
55449         [BZ #6779]
55450         [BZ #6783]
55451         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55452         correctly.
55453         * math/w_remainder.c (__remainder): Likewise.
55454         * math/w_remainderf.c (__remainderf): Likewise.
55455         * math/libm-test.inc (remainder_test): Add test cases.
55457 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55459         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
55460         sdiv_qrnnd.
55462 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55464         * string/test-memcmp.c: Avoid unncessary #defines.
55465         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55467 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55469         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55470         Use new sse2 version for core i3 - i7 as it's faster
55471         than sse42 version.
55472         (bit_Prefer_PMINUB_for_stringop): New.
55473         * sysdeps/x86_64/rawmemchr.S: Update.
55474         Replace with faster SSE2 version.
55475         * sysdeps/x86_64/memrchr.S: New file.
55476         * sysdeps/x86_64/memchr.S: Update.
55477         Replace with faster SSE2 version.
55479 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
55481         * elf/dl-load.c (lose): Add cast to avoid warning.
55483 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55485         * po/ca.po: Update from translation team.
55487         * inet/getnetgrent_r.c: Hook up nscd.
55488         * nscd/Makefile (routines): Add nscd_netgroup.
55489         (nscd-modules): Add netgroupcache.
55490         (CFLAGS-netgroupcache.c): Define.
55491         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55492         (cache_search): Add const to second parameter.
55493         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55494         INNETGR.
55495         (dbs): Add netgrdb entry.
55496         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55497         (verify_persistent_db): Handle netgrdb.
55498         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55499         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55500         GETFDNETGR.
55501         (netgroup_response_header): Define.
55502         (innetgroup_response_header): Define.
55503         (datahead): Add netgroup_response_header and innetgroup_response_header
55504         elements.
55505         * nscd/nscd.conf: Add entries for netgroup cache.
55506         * nscd/nscd.h (dbtype): Add netgrdb.
55507         (_PATH_NSCD_NETGROUP_DB): Define.
55508         (netgroup_iov_disabled): Declare.
55509         (xmalloc, xcalloc, xrealloc): Move declarations here.
55510         (cache_search): Adjust prototype.
55511         Add netgroup-related prototypes.
55512         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55513         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55514         (__nscd_innetgr): Declare.
55515         * nscd/selinux.c (perms): Use access_vector_t as element type and
55516         add netgroup-related initializers.
55517         * nscd/netgroupcache.c: New file.
55518         * nscd/nscd_netgroup.c: New file.
55519         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55520         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55521         For four parameters use innetgr.
55522         * nss/nss_files/files-init.c: Add definition and callback for netgr.
55523         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55524         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55525         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55527         * nscd/connections.c (register_traced_file): Don't register file
55528         for disabled databases.
55530 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
55532         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55534         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55535         from tree and freeing node.
55537 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
55539         * nss/nsswitch.c (__nss_database_lookup): Handle
55540         nss_parse_service_list out of memory case.
55542 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
55544         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55545         out of memory case.
55547 2011-10-04  Andreas Schwab  <schwab@redhat.com>
55549         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55550         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55551         pass it down.
55552         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55553         elf_machine_rela, elf_machine_lazy_rel.
55554         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55555         (ELF_DYNAMIC_DO_REL): Likewise.
55556         (ELF_DYNAMIC_DO_RELA): Likewise.
55557         (ELF_DYNAMIC_RELOCATE): Likewise.
55558         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55559         to ELF_DYNAMIC_DO_REL.
55560         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55561         (dl_main): In trace mode always set __RTLD_NOIFUNC.
55562         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55563         elf_machine_rela.
55564         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55565         skip_ifunc, don't call ifunc function if non-zero.
55566         (elf_machine_rela): Likewise.
55567         (elf_machine_lazy_rel): Likewise.
55568         (elf_machine_lazy_rela): Likewise.
55569         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55570         (elf_machine_lazy_rel): Likewise.
55571         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55572         Likewise.
55573         (elf_machine_lazy_rel): Likewise.
55574         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55575         Likewise.
55576         (elf_machine_lazy_rel): Likewise.
55577         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55578         (elf_machine_lazy_rel): Likewise.
55579         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55580         (elf_machine_lazy_rel): Likewise.
55581         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55582         (elf_machine_lazy_rel): Likewise.
55583         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55584         (elf_machine_lazy_rel): Likewise.
55585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55586         (elf_machine_lazy_rel): Likewise.
55587         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55588         (elf_machine_lazy_rel): Likewise.
55590 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
55592         * nss/nss_files/files-init.c (_nss_files_init): Use static
55593         initialization for all the *_traced_file variables.
55595 2011-09-28  Andreas Schwab  <schwab@redhat.com>
55597         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55599 2011-09-27  Roland McGrath  <roland@hack.frob.com>
55601         [BZ #13226]
55602         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55604 2011-09-27  Andreas Schwab  <schwab@redhat.com>
55606         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55607         Reread the line before reparsing it.
55609 2011-09-26  Andreas Schwab  <schwab@redhat.com>
55611         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55613 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
55614             Maxim Kuvyrkov  <maxim@codesourcery.com>
55615             Joseph Myers  <joseph@codesourcery.com>
55617         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55618         if needed for __stack_chk_guard.
55620 2011-09-19  Roland McGrath  <roland@hack.frob.com>
55622         * sysdeps/posix/spawni.c (script_execute): Always define it.
55623         It will be optimized away if unused.
55624         (maybe_script_execute): New function.
55625         (__spawni): Call it.
55627         * Makerules: Don't include tls.make.
55628         (config-tls): Always set to thread.
55629         * tls.make.c: File removed.
55631 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
55633         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55634         * config.make.in (CPPFLAGS-config): New substituted variable.
55636 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55638         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55640         [BZ #13192]
55641         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55642         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55644 2011-09-15  Roland McGrath  <roland@hack.frob.com>
55646         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55647         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55648         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55649         (CALL_FAIL): Likewise.
55650         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55651         (CALL_FAIL): Macro removed.
55652         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55654 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55656         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55657         for __FINITE_MATH_ONLY__ == 1.
55659 2011-09-15  Andreas Schwab  <schwab@redhat.com>
55661         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55662         __ieee754_sqrt instead of sqrt.
55663         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55664         __ieee754_sqrtf instead of sqrtf.
55665         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55666         __floorf instead of floorf.
55667         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55668         __floorf, __truncf instead of floorf, truncf.
55670 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
55672         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55674         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55675         __extern_always_inline.
55676         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55677         32-bit.
55679 2011-09-14  Andreas Schwab  <schwab@redhat.com>
55681         * elf/rtld.c (dl_main): Also relocate in dependency order when
55682         doing symbol dependency testing.
55684 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
55686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55687         Always define `refsym'.
55689 2011-09-13  Andreas Schwab  <schwab@redhat.com>
55691         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55692         (__FD_ELT): Renamed from __FDELT.
55693         * misc/bits/select2.h (__FD_ELT): Likewise.
55694         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55695         __FD_MASK instead of __FDELT, __FDMASK.
55696         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55697         Likewise.
55698         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55699         Likewise.
55701         * elf/Makefile (gen-ldd): Fix pattern.
55703         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55704         (init_tls): Likewise.
55706 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
55708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55710 2011-09-12  Andreas Schwab  <schwab@redhat.com>
55712         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55713         `struct cmsghdr *' instead of `void *'.
55714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55715         Likewise.
55717 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
55719         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55720         if non-absolute.
55721         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55722         ldd_rewrite_script.
55724 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
55726         * configure.in: Remove --with-tls option.
55727         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55728         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55729         out in case it is missing.
55730         * sysdeps/ia64/elf/configure.in: Likewise.
55731         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55732         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55733         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55734         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55735         * sysdeps/sh/elf/configure.in: Likewise.
55736         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55737         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55738         * sysdeps/x86_64/elf/configure.in: Likewise.
55739         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55740         * sysdeps/mach/hurd/tls.h: Likewise.
55742         [BZ #13067]
55743         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55745         [BZ #13090]
55746         * configure.in: Fix use of AC_INIT.
55748         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55750 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
55752         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55753         __set_errno.
55754         * malloc/hooks.c: Likewise.
55756         [BZ #11929]
55757         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
55758         variables statically.
55759         (narenas): Initialize.
55760         (list_lock): Initialize.
55761         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
55762         initializtion of main_arena and list_lock.  Small cleanups.
55763         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55764         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
55765         Add initializers to main_arena and mp_.
55766         (malloc_state): Remove pagesize member.  Change all users to use
55767         GLRO(dl_pagesize).
55769         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55770         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
55771         is always initialized.
55773         * malloc/malloc.c: Removed unused configurations and dead code.
55774         * malloc/arena.c: Likewise.
55775         * malloc/hooks.c: Likewise.
55776         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55778         * include/tls.h: Removed.  USE___THREAD must always be defined.
55779         * bits/libc-tsd.h: Don't handle !USE___THREAD.
55780         * elf/dl-libc.c: Likewise.
55781         * elf/dl-tsd.c: Likewise.
55782         * include/errno.h: Likewise.
55783         * include/netdb.h: Likewise.
55784         * include/resolv.h: Likewise.
55785         * inet/herrno-loc.c: Likewise.
55786         * inet/herrno.c: Likewise.
55787         * malloc/arena.c: Likewise.
55788         * malloc/hooks.c: Likewise.
55789         * malloc/malloc.c: Likewise.
55790         * resolv/res-state.c: Likewise.
55791         * resolv/res_libc.c: Likewise.
55792         * sysdeps/i386/dl-machine.h: Likewise.
55793         * sysdeps/ia64/dl-machine.h: Likewise.
55794         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55795         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55796         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55797         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55798         * sysdeps/sh/dl-machine.h: Likewise.
55799         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55800         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55801         * sysdeps/unix/i386/sysdep.S: Likewise.
55802         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55803         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55805         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55807         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55808         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55812         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55813         * sysdeps/x86_64/dl-machine.h: Likewise.
55814         * tls.make.c: Likewise.
55816         * configure.in: Remove --with-__thread option.  Make tests for
55817         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55818         tls_model attribute fail if no support is available.  Remove
55819         USE_IN_LIBIO.
55820         * Makeconfig: Adjust for dropped configure option.  All features are
55821         now mandatory.
55822         * Makerules: Likewise.
55823         * Versions.def: Likewise.
55824         * argp/argp-fmtstream.c: Likewise.
55825         * argp/argp-fmtstream.h: Likewise.
55826         * argp/argp-help.c: Likewise.
55827         * assert/assert.c: Likewise.
55828         * config.h.in: Likewise.
55829         * config.make.in: Likewise.
55830         * configure: Likewise.
55831         * configure.in: Likewise.
55832         * csu/Versions: Likewise.
55833         * csu/init.c: Likewise.
55834         * elf/tst-audit2.c: Likewise.
55835         * elf/tst-tls10.c: Likewise.
55836         * elf/tst-tls10.h: Likewise.
55837         * elf/tst-tls11.c: Likewise.
55838         * elf/tst-tls12.c: Likewise.
55839         * elf/tst-tls14.c: Likewise.
55840         * elf/tst-tlsmod11.c: Likewise.
55841         * elf/tst-tlsmod12.c: Likewise.
55842         * elf/tst-tlsmod13.c: Likewise.
55843         * elf/tst-tlsmod13a.c: Likewise.
55844         * elf/tst-tlsmod14a.c: Likewise.
55845         * elf/tst-tlsmod15b.c: Likewise.
55846         * elf/tst-tlsmod16a.c: Likewise.
55847         * elf/tst-tlsmod16b.c: Likewise.
55848         * elf/tst-tlsmod7.c: Likewise.
55849         * elf/tst-tlsmod8.c: Likewise.
55850         * elf/tst-tlsmod9.c: Likewise.
55851         * gmon/gmon.c: Likewise.
55852         * grp/fgetgrent_r.c: Likewise.
55853         * grp/putgrent.c: Likewise.
55854         * hurd/fopenport.c: Likewise.
55855         * include/libc-symbols.h: Likewise.
55856         * include/tls.h: Likewise.
55857         * intl/gettextP.h: Likewise.
55858         * intl/loadinfo.h: Likewise.
55859         * locale/global-locale.c: Likewise.
55860         * locale/localeinfo.h: Likewise.
55861         * mach/devstream.c: Likewise.
55862         * malloc/arena.c: Likewise.
55863         * malloc/set-freeres.c: Likewise.
55864         * misc/err.c: Likewise.
55865         * misc/getttyent.c: Likewise.
55866         * misc/mntent_r.c: Likewise.
55867         * posix/getopt.c: Likewise.
55868         * posix/wordexp.c: Likewise.
55869         * pwd/fgetpwent_r.c: Likewise.
55870         * resolv/Versions: Likewise.
55871         * resolv/res_hconf.c: Likewise.
55872         * shadow/fgetspent_r.c: Likewise.
55873         * shadow/putspent.c: Likewise.
55874         * stdio-common/printf_fphex.c: Likewise.
55875         * stdio-common/tmpfile.c: Likewise.
55876         * stdlib/abort.c: Likewise.
55877         * stdlib/fmtmsg.c: Likewise.
55878         * sunrpc/auth_unix.c: Likewise.
55879         * sunrpc/clnt_perr.c: Likewise.
55880         * sunrpc/clnt_tcp.c: Likewise.
55881         * sunrpc/clnt_udp.c: Likewise.
55882         * sunrpc/clnt_unix.c: Likewise.
55883         * sunrpc/openchild.c: Likewise.
55884         * sunrpc/svc_simple.c: Likewise.
55885         * sunrpc/svc_tcp.c: Likewise.
55886         * sunrpc/svc_udp.c: Likewise.
55887         * sunrpc/svc_unix.c: Likewise.
55888         * sunrpc/xdr.c: Likewise.
55889         * sunrpc/xdr_array.c: Likewise.
55890         * sunrpc/xdr_rec.c: Likewise.
55891         * sunrpc/xdr_ref.c: Likewise.
55892         * sunrpc/xdr_stdio.c: Likewise.
55894 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55896         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55898 2011-07-03  Andreas Jaeger  <aj@suse.de>
55900         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55901         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55902         regenerate with gen-libm-tests.pl.
55904 2010-05-12  Petr Baudis  <pasky@suse.cz>
55906         [BZ #11589]
55907         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55908         around j0() zero points by switching to j1().
55909         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55910         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55912         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55914 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55916         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55917         instead of 0.
55918         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55919         instead of 0.
55920         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55921         Patch in part by Pavel Roskin <proski@gnu.org>.
55923         [BZ #13138]
55924         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55925         realloc.
55926         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
55927         Free memory block if necessary.
55929         [BZ #12847]
55930         * libio/genops.c (INTDEF): For string streams the _lock pointer can
55931         be NULL.  Don't lock in this case.
55933 2011-09-09  Roland McGrath  <roland@hack.frob.com>
55935         * elf/elf.h (ELFOSABI_GNU): New macro.
55936         (ELFOSABI_LINUX): Define to that.
55938 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
55940         * string/strncat.c (strncat): Undef the symbol in case it has been
55941         defined in bits/string.h.
55943 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55945         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55947         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55948         link map.
55950 2011-08-17  Andreas Jaeger  <aj@suse.de>
55952         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55954 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55955             Ian Lance Taylor  <iant@google.com>
55957         * math/libm-test.inc (lround_test): New testcase.
55958         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55960 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
55962         * Makefile: Remove support for automatic cvs check-ins.
55963         * Makerules: Likewise.
55964         * config.make.in: Likewise.
55965         * configure.in: Likewise.
55966         * intl/Makefile: Likewise.
55967         * locale/Makefile: Likewise.
55968         * po/Makefile: Likewise.
55969         * posix/Makefile: Likewise.
55970         * sysdeps/gnu/Makefile: Likewise.
55971         * sysdeps/mach/hurd/Makefile: Likewise.
55972         * sysdeps/sparc/sparc32/Makefile: Likewise.
55974         [BZ #13118]
55975         * posix/Makefile (bug-regex32-ENV): Define.
55976         Patch by John Stanley <jpsinthemix@verizon.net>.
55978         * misc/Makefile (headers): Add bits/select2.h.
55979         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55980         * misc/bits/select2.h: New file.
55981         * include/bits/select2.h: New file.
55982         * debug/Makefile (routines): Add fdelt_chk.
55983         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55984         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55985         FD_ISSET.
55986         * debug/fdelt_chk.c: New file.
55988         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
55989         * wcsmbs/test-wmemcmp.c: Likewise.
55990         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
55991         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
55993 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55995         * string/Makefile (strop-tests): Add memcmp.
55996         * string/test-wmemcmp.c: New file.
55997         * string/test-memcmp.c: Add wmemcmp support.
55999 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56001         [BZ #13153]
56002         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56003         2011-07-19 change.
56005         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56006         garbage value in a __mach_port_mod_refs call in the cases of the
56007         task-self and thread-self ports.
56009 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56011         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56013 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56015         * elf/dl-load.c (lose): Check for non-null L.
56017 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56019         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56021         * elf/dl-libc.c (dlerror_run): Pass back error code from
56022         dl_catch_error.
56024         [BZ #13123]
56025         * elf/dl-load.c (lose): Free l_origin if it is valid.
56027         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56028         names.
56029         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56030         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56031         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56032         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56033         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56034         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56036 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56038         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56039         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56040         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56041         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56042         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56043         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56044         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56045         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56046         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56047         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56049 2011-08-15  Alan Modra  <amodra@gmail.com>
56051         [BZ #13092]
56052         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56053         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56054         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56055         ppc_mcount to static-only-routines.
56056         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56057         __mcount_internal.
56058         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56059         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56061 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56063         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56064         for finite and infinity parameters.
56066 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56068         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56069         and add nop instructions for throughput optimization.
56070         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56072 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56074         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56075         aligned copy for power7 with vector-scalar instructions.
56076         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56078 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56080         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56081         AVX check.
56083 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56085         [BZ #13144]
56086         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56087         last change.
56089 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56091         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56092         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56093         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56094         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56095         clock_gettime.
56097 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56099         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56100         Forgot to demangle the pointer.
56102         * sysdeps/i386/sysdep.h: Define atom_text_section.
56103         * sysdeps/x86_64/sysdep.h: Likewise.
56104         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56105         section with atom_text_section.
56106         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56107         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56108         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56109         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56110         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56112         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56113         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56114         already be defined.  Change to take two parameters and don't assign
56115         result to variable.  Adjust all users.
56116         Define INTERNAL_GETTIME if not already defined.
56117         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56118         call.
56119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56120         HAVE_CLOCK_GETTIME_VSYSCALL.
56121         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56124         gettimeofday vsyscall, just use time.
56126 2011-09-06  Andreas Schwab  <schwab@redhat.com>
56128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56129         <errno.h>.
56131 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56133         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56134         syscall on x86-64.
56135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56136         syscall.
56137         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56138         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56139         syscall if possible.
56141 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56143         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56144         e_ident.  Don't pass to find_mapsXX.
56145         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56147 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56150         strchr-sse2-no-bsf strrchr-sse2-no-bsf
56151         * sysdeps/x86_64/multiarch/strchr.S: Update.
56152         Check bit_slow_BSF bit.
56153         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56154         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56155         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56157 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56159         [BZ #13134]
56160         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56161         before glibc 2.15.
56162         (tryshell): Define.
56163         (__spawni): Change last parameter to be flag.  Test
56164         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56165         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56166         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56167         * posix/spawni.c: Likewise.
56168         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56169         * posix/spawnp.c: Likewise.  Change normal version to use
56170         SPAWN_XFLAGS_USE_PATH.
56171         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56172         SPAWN_XFLAGS_TRY_SHELL.
56174         [BZ #13150]
56175         * posix/glob.h: Remove gcc 1.x support.
56177         [BZ #13068]
56178         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56180 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56182         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56183         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56184         strrchr-sse2-bsf
56185         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56186         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56187         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56188         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56189         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56190         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56192 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56194         * sysdeps/x86_64/wcscmp.S: New file.
56196         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56197         wcscmp-c wcscmp-sse2
56198         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56199         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56200         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56201         * wcsmbs/wcscmp.c: Allow renaming.
56203 2011-09-05  David S. Miller  <davem@davemloft.net>
56205         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56206         stack slot, rather than the struct return pointer slot.
56207         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56208         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56210         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56212 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56214         * po/ja.po: Update from translation team.
56216         [BZ #13144]
56217         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56218         kernel in 64-bit binaries.
56220 2011-09-01  David S. Miller  <davem@davemloft.net>
56222         * elf/elf.h (HWCAP_SPARC_*): Move to..
56223         * sysdeps/sparc/sysdep.h: this new file and add new values.
56224         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56225         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56226         _DL_HWCAP_COUNT to 24.
56227         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56228         entries.
56229         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56230         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56231         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56232         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56233         instead of magic constants.
56234         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56236 2011-08-31  David S. Miller  <davem@davemloft.net>
56238         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56240         Reimplement to do errno handling inline.
56241         (SYSCALL_ERROR_HANDLER): New macro.
56242         (__SYSCALL_STRING): Do not do errno handling in asm.
56243         (__CLONE_SYSCALL_STRING): Delete.
56244         (__INTERNAL_SYSCALL_STRING): Delete.
56245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56246         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56247         (PSEUDO): Reimplement to do errno handling inline.
56248         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56249         (SYSCALL_ERROR_HANDLER): New macro.
56250         (__SYSCALL_STRING): Do not do errno handling in asm.
56251         (__CLONE_SYSCALL_STRING): Delete.
56252         (__INTERNAL_SYSCALL_STRING): Delete.
56253         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56254         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56255         i386.
56256         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56257         (inline_syscall*): Add 'err' argument.
56258         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56259         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56260         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56261         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56263         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56264         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56266 2011-08-30  Andreas Schwab  <schwab@redhat.com>
56268         * elf/rtld.c (dl_main): Relocate objects in dependency order.
56270 2011-08-29  Jiri Olsa <jolsa@redhat.com>
56272         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56273         directive.
56275 2011-08-24  David S. Miller  <davem@davemloft.net>
56277         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56279 2011-08-24  Andreas Schwab  <schwab@redhat.com>
56281         * elf/Makefile: Add rules to build and run unload8 test.
56282         * elf/unload8.c: New file.
56283         * elf/unload8mod1.c: New file.
56284         * elf/unload8mod1x.c: New file.
56285         * elf/unload8mod2.c: New file.
56286         * elf/unload8mod3.c: New file.
56288         * elf/dl-close.c (_dl_close_worker): Reset private search list if
56289         it wasn't used.
56291 2011-08-23  David S. Miller  <davem@davemloft.net>
56293         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56294         subtract stack bias.
56295         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56296         %sp not %fp in calculations.
56297         (_JMPBUF_UNWINDS_ADJ): Likewise.
56299         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56300         (aio_suspend): Call it to force an exception region around the
56301         AIO_MISC_WAIT() invocation.
56303 2011-08-23  Andreas Schwab  <schwab@redhat.com>
56305         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56306         backslash.
56308 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
56310         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56311         protection macro.
56312         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56313         and <dl-machine.h>.
56314         (Elf64_FuncDesc): Remove.
56316 2011-08-22  David S. Miller  <davem@davemloft.net>
56318         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56319         sigaltstack check, add missing cfi directives.
56320         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56321         missing cfi directives, and sigaltstack handling.
56323 2011-08-16  Andreas Schwab  <schwab@redhat.com>
56325         [BZ #11724]
56326         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56327         object is seen twice.
56328         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56330         * elf/Makefile (distribute): Add tst-initorder2.c.
56331         (tests): Add tst-initorder2.
56332         (modules-names): Add tst-initorder2a tst-initorder2b
56333         tst-initorder2c tst-initorder2d.  Add rules to build them.
56334         ($(objpfx)tst-initorder2.out): New rule.
56335         * elf/tst-initorder2.c: New file.
56336         * elf/tst-initorder2.exp: New file.
56338 2011-08-22  Andreas Schwab  <schwab@redhat.com>
56340         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56342         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56343         dependencies back to end of function.
56345         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56346         $(elfobjdir)/ld.so.
56348 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
56350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56351         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56352         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56353         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56354         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56355         of __vdso_gettimeofday.
56356         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56357         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
56358         attribute_hidden.
56359         (_libc_vdso_platform_setup): Remove initialization of
56360         __vdso_gettimeofday and __vdso_time.
56362 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56364         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56365         and fgetc_unlocked.
56366         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56367         getc_unlocked.
56369         * elf/dl-open.c (add_to_global): Report additions to the global scope
56370         for LD_DEBUG=scopes.
56371         (dl_open_worker): Also print scope of newly loaded dependencies.
56372         (_dl_show_scope): Indicate if there is no scope.
56374         [BZ #13114]
56375         * stdio-common/Makefile (tests): Add bug24.
56376         * stdio-common/bug24.c: New file.
56378 2011-08-19  Andreas Jaeger  <aj@suse.de>
56380         [BZ #13114]
56381         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56382         non-existant file when using close-on-exec mode.
56384 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56387         the very first instruction.
56389         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56390         the CFI state in the end.
56391         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56392         inclusion of dl-trampoline.h.
56393         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56395 2011-08-19  Andreas Schwab  <schwab@redhat.com>
56397         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56398         expectations for long double.
56400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56401         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56403 2011-08-14  David S. Miller  <davem@davemloft.net>
56405         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56406         artificual limit depends upon the system page size.
56408 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56410         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56411         * resolv/Makefile: Define CFLAGS-libresolv.
56413 2011-08-17  Andreas Schwab  <schwab@redhat.com>
56415         * nss/makedb.c (compute_tables): Make variables used in nested
56416         function static.
56418 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56420         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56421         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56422         if buffer was too small.
56424         * elf/pldd.c (main): Attach to all threads in the process.
56425         Rewrite /proc handling to use *at functions.
56427 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
56429         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56430         specifies first scope to show.
56431         (dl_open_worker): Update callers.  Move printing scope of new
56432         object to before the relocation.
56433         * elf/rtld.c (dl_main): Update _dl_show_scope call.
56434         * sysdeps/generic/ldsodefs.h: Update declaration.
56436         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56437         string for the scope number.
56439 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
56441         * nscd/servicescache.c (cache_addserv): Make sure written is always
56442         initialized.
56444 2011-08-14  Roland McGrath  <roland@hack.frob.com>
56446         * sysdeps/i386/i486/bits/atomic.h
56447         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56448         statement expression, so as to suppress "set but not used" warning.
56449         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56451         * string/strncat.c (STRNCAT): Use prototype definition.
56453         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56454         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56455         -Iprograms here.
56456         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56457         (localedef-modules): Add localedef.
56458         (locale-modules): Add locale.
56460         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56461         * elf/rtld.c (dl_main): Invert order of assignment in last change,
56462         to avoid a warning.
56464 2011-08-14  David S. Miller  <davem@davemloft.net>
56466         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56467         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56469 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
56471         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56472         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56473         * elf/rtld.c (dl_main): Set l_name of vDSO.
56474         Call _dl_show_scope when DL_DEBUG_SCOPES.
56475         (process_dl_debug): Recognize scopes flag and also set it for all.
56476         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56477         Declare _dl_show_scope.
56479         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56480         (do_dlopen): Pass caller_dlopen to dl_open.
56481         (__libc_dlopen_mode): Initialize caller_dlopen.
56483         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56484         of libc.  Make tolower call locale-independent.  Optimize a bit by
56485         using isdigit instead of isalnum.
56486         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56488 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
56490         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56491         was a dependency or dynamically loaded.
56493 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
56495         * intl/l10nflist.c: Allow architecture-specific pop function.
56496         * sysdeps/x86_64/l10nflist.c: New file.
56498         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56499         classification.
56501 2011-08-10  Andreas Schwab  <schwab@redhat.com>
56503         * include/dirent.h: Add libc_hidden_proto for scandirat and
56504         scandirat64.  Don't declare __scandirat64.
56505         * dirent/scandirat.c: Add libc_hidden_def.
56506         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56507         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56509 2011-08-10  David S. Miller  <davem@davemloft.net>
56511         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56512         enum.
56513         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56514         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56515         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56517 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
56519         * Versions.def [libc]: Add GLIBC_2.15.
56520         * dirent/Makefile (routines): Add scandirat and scandirat64.
56521         * dirent/Versions [libc]: Export scandirat and scandirat64 for
56522         GLIBC_2.15.
56523         * dirent/dirent.h: Declare scandirat and scandirat64.
56524         * dirent/scandirat.c: New file.
56525         * dirent/scandirat64.c: New file.
56526         * sysdeps/wordsize-64/scandirat.c: New file.
56527         * sysdeps/wordsize-64/scandirat64.c: New file.
56528         * dirent/opendir.c: Define opendirat.
56529         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
56530         using scandirat.
56531         * dirent/scandir64.c: Adjust for scandir.c change.
56532         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
56533         __scandirat64, and __scandir_cancel_handler.
56534         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
56535         additional parameter and use openat instead of open (outside of ld.so).
56536         Add new __opendir as wrapper around __opendirat.
56537         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56538         here without requiring old scandirat implementation.
56540 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
56542         * dirent/scandir.c (cancel_handler): Renamed to
56543         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
56544         defined.  Adjust users.
56545         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56546         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56548 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
56550         * string/test-string.h (IMPL): Use __STRING to expand name and then
56551         stringify it.
56553         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
56554         of cleanups.
56556 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56558         * string/Makefile: Update.
56559         (strop-tests): Append strncat.
56560         * string/test-wcscmp.c: New file.
56561         New comprehensive test for wcscmp.
56562         * string/test-strcmp.c: Update.
56563         (WIDE): New define.
56565 2011-07-22  Andreas Schwab  <schwab@redhat.com>
56567         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56568         line.
56570 2011-07-26  Andreas Schwab  <schwab@redhat.com>
56572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56573         encoding to ACE if AI_IDN.
56575 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
56577         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56578         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56580 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56582         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56583         Fix overflow bug in strncat.
56584         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56586         * string/test-strncat.c: Update.
56587         Add new tests for checking overflow bugs.
56589 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56591         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56592         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56593         * sysdeps/i386/i686/multiarch/strcat.S: New file.
56594         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56595         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56596         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56597         * sysdeps/i386/i686/multiarch/strncat.S: New file.
56598         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56599         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56601         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56602         (USE_AS_STRCAT): Define.
56603         Add strcat and strncat support.
56604         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56606 2011-07-25  Andreas Schwab  <schwab@redhat.com>
56608         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56609         __n bigger than INT_MAX+1.
56610         (__strncmp_g): Likewise.
56612 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
56614         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56615         * libio/stido.h: Likewise.
56617         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56618         (AF_NFC): Define.
56619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56620         (AF_NFC): Define.
56622         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56623         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56624         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56625         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56626         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56628         [BZ #13021]
56629         * scripts/test-installation.pl: Don't expect libnss_test1 to be
56630         installed.
56632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56633         typo.
56634         (_dl_x86_64_save_sse): Likewise.
56636 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
56638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56639         OSXSAVE.
56640         (_dl_x86_64_save_sse): Likewise.
56642         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56644         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56646 2011-07-21  Andreas Schwab  <schwab@redhat.com>
56648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56649         change.
56650         (_dl_x86_64_save_sse): Use correct AVX check.
56652 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56654         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56655         bug in strncpy/strncat.
56656         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56658 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
56660         * string/tester.c (test_strcat): Add tests for different alignments
56661         of source and destination.
56662         (test_strncat): Likewise.
56664 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56666         [BZ #12852]
56667         * posix/glob.c (glob): Check passed in values before using them in
56668         expressions to avoid some overflows.
56669         (glob_in_dir): Likewise.
56671         [BZ #13007]
56672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56673         check for AVX enablement so that we don't crash with old kernels and
56674         new hardware.
56675         * elf/tst-audit4.c: Add same checks here.
56676         * elf/tst-audit6.c: Likewise.
56678         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56680 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
56682         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56684 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56686         * po/cs.po: Update from translation team.
56687         * po/bg.po: Likewise.
56689 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
56691         * misc/sys/cdefs.h: Add support for const attribute.
56692         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56693         to gnu_dev_{major,minor,makedev} functions.
56695 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
56697         * intl/dcigettext.c (get_output_charset): Add missing bracket.
56699 2011-07-20  Andreas Schwab  <schwab@redhat.com>
56701         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56702         strlen results.
56704 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56707         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56708         register in order to avoid conflicts with the soft frame pointer
56709         being held in r11 when necessary.
56710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56711         (INTERNAL_VSYSCALL_NCS): Likewise.
56713 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
56715         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56716         * elf/dl-fini.c (_dl_fini): Adjust caller.
56717         * elf/dl-close.c (_dl_close_worker): Likewise.
56718         * sysdeps/generic/ldsodefs.h: Adjust declaration.
56720 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56722         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56723         "aux_cache->nlibs < 0".
56725         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56726         in the reload-count case.
56728 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56731         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56732         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56733         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56734         * sysdeps/x86_64/multiarch/strcat.S: New file.
56735         * sysdeps/x86_64/multiarch/strncat.S: New file.
56736         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56737         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56738         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56739         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56740         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56741         (USE_AS_STRCAT): Define.
56742         Add strcat and strncat support.
56743         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56744         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56745         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56746         * string/strncat.c: Update.
56747         (USE_AS_STRNCAT): Define.
56748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56749         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56750         and i7.
56751         * sysdeps/x86_64/multiarch/init-arch.h
56752         (bit_Prefer_PMINUB_for_stringop): New.
56753         (index_Prefer_PMINUB_for_stringop): Likewise.
56754         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56755         bit_Prefer_PMINUB_for_stringop.
56757 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56759         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56760         buffer64.
56761         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56762         of casting of buffer.
56763         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56764         buffer32 and buffer64.
56765         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56766         writes instead of casting of buffer.
56767         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56768         buffer32.
56769         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56770         casting of buffer.
56772 2011-07-19  Andreas Schwab  <schwab@redhat.com>
56774         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56776 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56778         * nscd/nscd.c (termination_handler): Don't do anything for a database
56779         if it has not yet been initialized.
56781 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56783         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56785 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56787         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56789 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56791         * po/nl.po: Update from translation team.
56792         * po/sv.po: Likewise.
56794 2011-07-16  Roland McGrath  <roland@hack.frob.com>
56796         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56797         now disallowed by GCC.
56799         * configure.in (use-default-link): Default to yes if a test -shared
56800         link meets our qualifications.
56801         * configure: Regenerated.
56803         * config.make.in (output-format): New variable.
56804         * configure.in: Check for ld --print-output-format support.
56805         * configure: Regenerated.
56806         * Makerules ($(common-objpfx)format.lds)
56807         [$(output-format) != unknown]: Just use $(output-format),
56808         instead of the linker-script munging.
56810 2011-07-14  Roland McGrath  <roland@hack.frob.com>
56812         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56813         of $(common-objpfx)shlib.lds.
56814         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56816         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56817         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56819         * configure.in (-z relro check): Adjust test code to add a large
56820         writable data section after it.
56821         * configure: Regenerated.
56823 2011-07-11  Roland McGrath  <roland@hack.frob.com>
56825         * configure.in (-z relro check): Fix test code to make the variable
56826         truly const.
56827         * configure: Regenerated.
56829 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
56831         * nscd/nscd.h (struct traced_file): Define.
56832         (struct database_dyn): Remove inotify_descr, reset_res, and filename
56833         elements.  Add traced_files.
56834         (inotify_fd): Declare.
56835         (register_traced_file): Declare.
56836         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56837         (inotify_fd): Export.
56838         (resolv_conf_descr): Remove.
56839         (nscd_init): Move inotify descriptor creation to main.
56840         Don't register files for notification here.
56841         (register_traced_file): New function.
56842         (invalidate_cache): Don't use reset_res to determine whether to call
56843         res_init, go through the list of registered files.
56844         (main_loop_poll): The inotify descriptors are now stored in the
56845         structures for the traced files.
56846         (main_loop_epoll): Likewise
56847         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
56848         to __nss_disable_nscd.
56849         * nscd/cache.c (prune_cache): There is no single inotify descriptor
56850         for a database anymore.  Check the records for all the registered
56851         files instead.
56852         * nss/Makefile (libnss_files-routines): Add files-init.
56853         (libnss_db-routines): Add db-init.
56854         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56855         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56856         * nss/nss_db/db-init.c: New file.
56857         * nss/nss_files/files-init.c: New file.
56858         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
56859         __nss_lookup_function.
56860         (__nss_lookup_function): Call nss_load_library.
56861         (nss_load_all_libraries): New function.
56862         (__nss_disable_nscd): Take parameter with callback function for files
56863         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
56864         used for the cached services.
56865         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56866         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56867         options for features to all the files in nscd.
56869         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56871 2011-07-10  Roland McGrath  <roland@hack.frob.com>
56873         * csu/elf-init.c (__libc_csu_init): Comment typo.
56875 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
56877         * po/pl.po: Update from translation team.
56878         * po/ja.po: Likewise.
56879         * po/ru.po: Likewise.
56880         * po/ko.po: Likewise.
56881         * po/fr.po: Likewise.
56883 2011-07-09  Roland McGrath  <roland@hack.frob.com>
56885         * configure.in (.ctors/.dtors header and trailer check):
56886         Use an empirical test on a built program.
56887         * configure: Regenerated.
56889         * configure.in (-z relro check): Use an empirical test on a built DSO.
56890         Detect, but do not require, on ia64.
56891         * configure: Regenerated.
56893         * configure.in (READELF): Find it with AC_CHECK_TOOL.
56894         Update tests that use readelf to use $READELF instead.
56895         * configure: Regenerated.
56897 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
56899         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56900         if the result is not used.
56902 2011-07-05  Andreas Jaeger  <aj@suse.de>
56904         [BZ#9696]
56905         * stdlib/tst-strtod.c: Add testcase.
56907 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
56909         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56910         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56911         The latter has a higher limit.  Take additional parameter to pass to
56912         the new function.
56913         (__pathconf): Pass file to __statfs_link_max.
56914         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56915         __statfs_link_max.
56916         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56917         __statfs_link_max.
56919         [BZ #12868]
56920         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56921         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56922         Handle Lustre.
56923         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56924         (__statfs_filesize_max): Likewise.
56925         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56927 2011-07-05  Andreas Jaeger  <aj@suse.de>
56929         * resolv/res_comp.c (dn_skipname): Remove unused variable.
56931 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
56933         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56934         `status' variable.
56935         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56936         Likewise.
56938 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
56940         * Makefile (strop-tests): Add strncat.
56941         * string/test-strncat.c: New file.
56943 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
56945         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56947 2011-06-21  Andreas Jaeger  <aj@suse.de>
56949         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56950         Copy rule from iconvdata/Makefile.
56952 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56954         [BZ #12922]
56955         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56956         but no long options are defined, just return 'W'.
56958 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
56960         [BZ #9696]
56961         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56963 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56965         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56966         netgroups to read.
56967         (innetgr): Likewise.
56969 2011-07-05  Roland McGrath  <roland@hack.frob.com>
56971         * config.make.in (install_root): Default to $(DESTDIR).
56973 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
56975         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56977 2011-07-02  Roland McGrath  <roland@hack.frob.com>
56979         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56981         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56982         containing directory rather than embedding absolute directory names.
56984         * scripts/check-local-headers.sh: Rewritten using awk.
56985         Match by word, not by line.  Print error messages for matches.
56986         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56988         * Makerules [shlib-lds-flags empty]:
56989         ($(common-objpfx)libc_pic.opts): New target.
56990         ($(common-objpfx)libc_pic.os.clean): New target.
56991         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56993         * config.make.in (OBJCOPY): New variable.
56994         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56995         * configure: Regenerated.
56997         * config.make.in (use-default-link): New variable.
56998         * configure.in (use_default_link): Grok --with-default-link to set it.
56999         * configure: Regenerated.
57000         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57001         (shlib-lds, shlib-lds-flags): Define to empty.
57003         * Makerules (shlib-lds): New variable.
57004         (shlib-lds-flags): New variable.
57005         (build-shlib, build-moduile, build-module-asneeded): Use it.
57006         ($(common-objpfx)libc.so): Use $(shlib-lds).
57007         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57008         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57010         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57011         DT_FLAGS/DT_FLAGS_1 with zero flags.
57013         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57014         linker script munging.
57016 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57018         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57019         as 128-bit value.
57020         * crypt/sha512.c (sha512_process_block): Perform total addition using
57021         128-bit if possible.
57022         (__sha512_finish_ctx): Likewise.
57023         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57024         as 64-bit value.
57025         * crypt/sha256.c (SWAP64): Define.
57026         (sha256_process_block): Perform total addition using 64-bit if
57027         possible.
57028         (__sha256_finish_ctx): Likewise.
57030 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57032         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57034         * nscd/hstcache.c (cache_addhst): Likewise.
57035         * nscd/grpcache.c (cache_addgr): Likewise.
57036         * nscd/aicache.c (addhstaiX): Likewise
57037         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57039 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57041         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57042         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57043         * nscd/hstcache.c (cache_addhst): Likewise.
57044         * nscd/grpcache.c (cache_addgr): Likewise.
57045         * nscd/aicache.c (addhstaiX): Likewise
57047 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57049         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57050         domain only when needed.
57052 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57055         is always restored.
57057 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57059         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57060         are re-adding the entry.
57061         * nscd/servicescache.c (cache_addserv): Likewise.
57063 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57065         * sysdeps/generic/dl-irel.h: fix protection against multiple
57066         inclusions.
57067         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57069 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57071         [BZ #12935]
57072         * malloc/memusage.sh: Fix quoting in message.
57073         * debug/xtrace.sh: Likewise.
57075         * configure.in: Remove support for --experimental-malloc option, make
57076         it the default.
57077         * config.make.in: Likewise.
57078         * malloc/Makefile: Likewise.
57080 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57082         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57083         two-byte characters.
57085 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57087         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57088         AC_CACHE_CHECK invocation.
57089         * configure: Regenerated.
57091         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57093 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57095         [BZ #12350]
57096         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57097         bit from old_res_options.
57099         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57101         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57102         value type for setfct.
57104 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57106         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57107         __gettimeofday instead of gettimeofday.
57109 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57111         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57113 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
57115         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57117         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57118         info.
57120 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57123         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57124         strcpy-sse2-unaligned strncpy-sse2-unaligned
57125         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57126         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57127         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57128         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57129         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57130         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57131         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57132         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57133         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57134         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57135         (STRCPY): Support SSE2 and SSSE3 versions.
57137 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
57139         [BZ #12874]
57140         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57141         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57142         kernels which artificially limit size of requests.
57144 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57147         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57148         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57149         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57150         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57151         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57152         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57153         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57154         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57155         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57156         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57157         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57158         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57159         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57160         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57162         Enable unaligned load optimization for Intel Core i3, i5 and i7
57163         processors.
57164         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57165         Define.
57166         (index_Fast_Unaligned_Load): Define.
57167         (HAS_FAST_UNALIGNED_LOAD): Define.
57169 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57171         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57173 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57175         [BZ #12907]
57176         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57177         until it is clear that the information is realy needed.
57178         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57180 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57184 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57186         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57187         /sys/devices/system/cpu/online if it is usable.
57189         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57190         reading the information from the /proc filesystem to once a second.
57192 2011-06-21  Andreas Jaeger  <aj@suse.de>
57194         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57195         NULL after inclusion of kernel headers.
57197 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57199         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57200         calls to internal_setent.
57202         [BZ #12885]
57203         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57204         addresses using gethostbyname4_r ignore IPv4 addresses.
57206         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57207         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57209         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57211 2011-06-20  David S. Miller  <davem@davemloft.net>
57213         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57214         inclusions.
57215         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57217         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57218         (elf_irel): Use it.
57219         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57220         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57221         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57222         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57223         * sysdeps/x86_64/dl-irel.h: Likewise.
57225         * elf/dl-runtime.c: Use elf_ifunc_invoke.
57226         * elf/dl-sym.c: Likewise.
57228 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57230         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
57231         need to dereference resplen2.
57233 2011-06-14  Andreas Schwab  <schwab@redhat.com>
57235         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57237 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57239         * Makeconfig: Define vardbdir and inst_vardbdir.
57240         * nss/Makefile: Add rules to install db-Makefile.
57242         * nss/nss_db/db-XXX.c: Cleanup.
57244         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57245         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57246         GLIBC_PRIVATE.
57247         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57248         * nss/makedb.c: Implement -g option to specify that value strings
57249         are generated and should not be added to table iterated over for
57250         get*ent calls.
57251         * nss/nss_db/db-initgroups.c: New file.
57253         * nss/getent.c: Add support for initgroups lookups through getgrouplist
57254         interface.
57256         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57257         (internal_getgrouplist): Adjust to name change.
57258         Update use_initgroups_entry if this is not the first call.
57259         * nss/databases.def: Add initgroups entry.
57261         * nss/makedb.c (compute_tables): Check result of multiple hash table
57262         sizes to minimize maximum chain length.
57264 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
57266         * Versions.def: Add entry for libnss_db.
57267         * shlib-versions: Likewise.
57268         * nss/Makefile: Add rules to build libnss_db.
57269         * nss/Versions: Add libnss_db information.  Organize libnss_files
57270         entries better.
57271         * nss/db-Makefile: Add gshadow support.  Change rules for the new
57272         makedb progra.  Some minor improvements to generate smaller files.
57273         * nss/nss_db/nss_db.h: Move NSS database header data structures to
57274         here from...
57275         * nss/makedb.c: ...here.
57276         Improve database format to be smaller and require less memory at
57277         runtime.
57278         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
57279         db anymore.
57280         * nss/nss_db/db-netgrp.c: Likewise.
57281         * nss/nss_db/db-open.c: Likewise.
57282         * nss/nss_files/flies-XXX.x: Adjust comments.
57283         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57284         * nss/nss_files/files-grp.c: Likewise.
57285         * nss/nss_files/files-hosts.c: Likewise.
57286         * nss/nss_files/files-network.c: Likewise.
57287         * nss/nss_files/files-proto.c: Likewise.
57288         * nss/nss_files/files-pwd.c: Likewise.
57289         * nss/nss_files/files-rpc.c: Likewise.
57290         * nss/nss_files/files-service.c: Likewise.
57291         * nss/nss_files/files-sgrp.c: Likewise.
57292         * nss/nss_files/files-spwd.c: Likewise.
57293         * nss/nss_db/db-alias.c: Removed.
57294         * nss/nss_db/dummy-db.h: Removed.
57296 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
57298         * nss/makedb.c: Rewritten to not use database library.
57299         * nss/Makefile: Update to build new makedb program.
57301 2011-06-14  Andreas Jaeger  <aj@suse.de>
57303         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57304         memset declaration.
57306 2011-06-10  Andreas Schwab  <schwab@redhat.com>
57308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57309         tmpbuf.
57311 2011-06-10  Roland McGrath  <roland@hack.frob.com>
57313         * Makerules (shlib.lds): Fail if the linker script comes out empty.
57314         * elf/Makefile ($(objpfx)ld.so): Likewise.
57316         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57317         Don't list ld.so twice in dependencies.
57319         * posix/bug-regex31.c: Include <stdlib.h>.
57321         * nscd/hstcache.c (cache_addhst): Remove unused variable.
57323         * nis/nss_compat/compat-spwd.c
57324         (getspent_next_nss_netgr): Remove unused variable.
57325         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57327         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57328         nonmembers" output to use the right array.
57330         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57332         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57334         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57335         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57336         * catgets/gencat.c (read_input_file): Likewise.
57337         * locale/programs/locarchive.c (enlarge_archive): Likewise.
57339         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57340         variable definition inside #if's controlling its use.
57342         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57344         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57346         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57348         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57349         unreachable code.
57351         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57353         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57354         * configure: Regenerated.
57356         * Makerules: Revert last change.
57357         * elf/Makefile: Likewise.
57359 2011-06-09  Roland McGrath  <roland@hack.frob.com>
57361         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57362         * elf/Makefile ($(objpfx)librtld.os): Likewise.
57363         (reloc-link): Likewise.
57365 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
57367         * elf/Makefile: Add rules to build pldd.
57368         * elf/pldd.c: New file.
57369         * elf/pldd-xx.c: New file.
57371 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
57373         * version.h: Update for 2.15 development version.
57375 2011-06-07  David S. Miller  <davem@davemloft.net>
57377         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57378         ifuncs.
57379         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57380         elf_machine_lazy_rel): Likewise.
57381         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57382         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57383         elf_machine_lazy_rel): Likewise.
57384         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57385         dl_hwcap via passed in argument.
57386         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57387         Likewise.
57389 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57391         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
57393 2011-06-06  Roland McGrath  <roland@hack.frob.com>
57395         [BZ #12849]
57396         * manual/fdl-1.1.texi: New file, verbatim from:
57397         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57398         * manual/lgpl-2.1.texi: New file, verbatim from:
57399         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57400         * manual/Makefile (licenses): New variable, list those new file names.
57401         (texis): Use it.
57402         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57404         * manual/fdl.texi: File removed.
57405         * manual/lesser.texi: File removed.
57406         * manual/libc.texinfo (Copying, Documentation License):
57407         Use new @include file names, put @appendix directive before @include.
57409 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
57411         [BZ #12841]
57412         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57413         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57414         (mq_open): Add __NTH.
57416 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
57418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57419         Assume Intel Core i3/i5/i7 processor if AVX is available.
57421 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57424         typo.
57426 2011-05-31  Andreas Schwab  <schwab@redhat.com>
57428         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57429         memory.  Use alloca_account.  Fix memory leak when retrying.
57431 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57433         * version.h (RELEASE): Bump for 2.14 release.
57434         * include/features.h (__GLIBC_MINOR__): Bump to 14.
57436         * config.make.in (RANLIB): Remove entry.
57438 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
57440         * po/Makefile (po-sed-cmd): Add ksh to extensions.
57441         (libc.pot): Work around missing support for .ksh extension in xgettext.
57443         [BZ #12684]
57444         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57445         if both request failed.
57446         (send_dg): In case of server errors clear resplen or *resplen2.
57448         [BZ #12454]
57449         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57450         when there are multiple maps.
57451         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57452         (_dl_fini): Remove test here.
57454         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57456 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
57458         [BZ #12350]
57459         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57460         bit from old_res_options.
57461         (gaih_inet): Likewise.
57463         [BZ #11099]
57464         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57465         as signed.
57467         * resolv/res_init.c (res_setoptions): Make the code more compact.
57469         [BZ #11558]
57470         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57471         set RES_USEVC.
57473         [BZ #11634]
57474         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57476         * malloc/malloc.h: Mark malloc hook variables as deprecated.
57478         [BZ #11781]
57479         * malloc/malloc.h: Declare malloc hook variables as volatile.
57481         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57482         in last patch.
57484         [BZ #11799]
57485         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57486         raise in the comment.
57487         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57488         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57489         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57491 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
57493         [BZ #12811]
57494         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57495         grow the buffers more if it already has to be sufficient.
57496         (build_wcs_upper_buffer): Likewise.
57497         * posix/regexec.c (check_matching): Likewise.
57498         (clean_state_log_if_needed): Likewise.
57499         (extend_buffers): Don't enlarge buffers beyond size of the input
57500         buffer.
57501         Patches mostly by Emil Wojak <emil@wojak.eu>.
57502         * posix/bug-regex32.c: New file.
57503         * posix/Makefile (tests): Add bug-regex32.
57505         * locale/findlocale.c (_nl_find_locale): Return right away if
57506         _nl_explode_name failed.
57507         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57509         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57511         * debug/xtrace.sh: Unify messages.
57512         * malloc/memusage.sh: Likewise.
57514         [BZ #12813]
57515         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57516         time symbol from vDSO.  Substitute with vsyscall if not available.
57517         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57518         __vdso_time.
57520         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57521         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57522         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57523         Add sendmmsg and internal_sendmmsg.
57524         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57525         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57526         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57528         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57529         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57530         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57532 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
57534         [BZ #12813]
57535         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57536         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
57537         available.
57538         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57539         __vdso_getcpu.
57541         [BZ #12814]
57542         * iconvdata/Makefile (tests): Add bug-iconv9.
57543         * iconvdata/bug-iconv9.c: New file.
57545 2011-05-27  Andreas Schwab  <schwab@redhat.com>
57547         [BZ #12814]
57548         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57550 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
57552         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57553         (struct user_regs_struct): Change intcs field back to cs.
57555 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
57557         * po/ja.po: Update from translation team.
57559 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
57561         [BZ #12795]
57562         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57563         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57565 2011-05-20  Andreas Schwab  <schwab@redhat.com>
57567         * stdlib/longlong.h: Update from GCC.
57569 2011-05-23  Andreas Schwab  <schwab@redhat.com>
57571         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57572         parameter name.
57573         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57574         Add parameter name.
57575         (__sysconf): Pass it down.
57577 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
57579         [BZ #12671]
57580         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57581         some situations.
57582         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57583         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57584         add in in __libc_use_alloca calls.  Adjust callers.
57585         (glob): Use malloc in some situations.
57587         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57588         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57589         pltexit.
57591 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
57593         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57594         and CLOCK_BOOTTIME_ALARM.
57596         [BZ #12782]
57597         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57598         is returned.
57600         * string/_strerror.c (__strerror_r): Print negative errors as signed
57601         numbers.
57603         [BZ #12777]
57604         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57605         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57606         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57608         * configure.in: Fix typo in redirection and correct removal of test
57609         files in two cases.
57611         [BZ #12788]
57612         * locale/setlocale.c (new_composite_name): Fix test to check for
57613         identical name of all categories.
57615         [BZ #12792]
57616         * libio/filedoalloc.c (local_isatty): New function.
57617         (_IO_file_doallocate): Use local_isatty.
57618         * stdio-common/perror.c (perror): In case a new stream is used
57619         forward the stream error.
57620         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57621         error flag.
57623 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
57625         [BZ #11869]
57626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57627         alloca.
57628         * include/alloca.h (extend_alloca_account): Define.
57630         [BZ #11857]
57631         * posix/regex.h: Fix comments with documentation of user-accessible
57632         fields after compilation and describe correct free'ing of pattern
57633         after re_compile_pattern.
57634         Patch by Reuben Thomas <rrt@sc3d.org>.
57636 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
57638         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57639         and -mno-altivec to prevent the compiler from using Altivec and/or
57640         VSX instructions when the corresponding registers are not available.
57642 2011-05-19  Andreas Schwab  <schwab@redhat.com>
57644         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57646 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
57648         * libio/freopen.c (freopen): Use __dup2, not dup2.
57649         * libio/freopen64.c (freopen64): Likewise.
57651 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57653         [BZ #12775]
57654         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57655         * math/Makefile (tests): Add test-powl.
57656         (CFLAGS-test-powl.c): Define.
57657         * math/test-powl.c: New file.
57659 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57661         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57663 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
57665         [BZ #11837]
57666         * iconvdata/gb18030.c: Update to GB18020-2005.
57668 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
57670         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57671         RE_SYNTAX_POSIX_AWK): Update to match recent development.
57672         Patch by Aharon Robbins <arnold@skeeve.com>.
57674         [BZ #11892]
57675         * stdlib/putenv.c (putenv): Don't always create copy of the variable
57676         on the stack.
57678         [BZ #11895]
57679         * misc/pselect.c (__pselect): Handle timeout value errors hidden
57680         through underflows.
57682         [BZ #12766]
57683         * misc/error.c (error_at_line): Ensure file_name and old_file_name
57684         point to strings before performing equality test for error_one_per_line
57685         mode.
57687         [BZ #11697]
57688         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57690         [BZ #11820]
57691         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57692         (struct user_fpregs_struct): Avoid __uint*_t types.
57694         [BZ #6420]
57695         * malloc/mtrace.c (tr_where): Add additional parameter to point to
57696         symbol info.  Use it instead of calling _dl_addr locally.
57697         (lock_and_info): New function.
57698         (tr_freehook): Call lock_and_info and pass symbol info as additional
57699         parameter to tr_where.
57700         (tr_mallochook): Likewise.
57701         (tr_reallochook): Likewise.
57702         (tr_memalignhook): Likewise.
57704         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
57705         used and couldn't be at all thread-safe.
57707 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
57709         * libio/freopen.c (freopen): Don't close old file descriptor
57710         before the new one is opened.  Instead dup the new file descriptor
57711         to the old one after the new stream is created.
57712         * libio/freopen64.c (freopen64): Likewise.
57713         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57714         * libio/fileops.c (_IO_new_file_close_it): Handle new
57715         _IO_FLAGS2_NOCLOSE flag.
57716         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57717         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57718         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57719         _IO_FLAGS2_NOCLOSE flag.
57720         * include/unistd.h: Add hidden_proto for dup3.
57721         Define __have_dup3.
57722         * io/dup3.c: Define hidden symbol.
57723         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57725         [BZ #7101]
57726         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57727         when an incomplete long option is used.
57728         * posix/tst-getopt_long1.c: New file.
57729         * posix/Makefile (tests): Add tst-getopt_long1.
57731         [BZ #10138]
57732         * scripts/config.guess: Update from autoconf-2.68.
57733         * scripts/config.sub: Likewise.
57735         [BZ #10157]
57736         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57737         tests into ...
57738         (has_cpuclock): ...this.  New function.
57739         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57740         macro here based on has_cpuclock code.
57742         [BZ #10149]
57743         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57744         First byte (not low byte) is now always NUL.
57745         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57747         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57748         Use non-cancelable interfaces.
57750         [BZ #9809]
57751         * locale/iso-639.def: Add entry for Sorani.
57753         [BZ #11901]
57754         * include/stdlib.h: Move include protection to the right place.
57755         Define abort_msg_s.  Declare __abort_msg with it.
57756         * stdlib/abort.c (__abort_msg): Adjust type.
57757         * assert/assert.c (__assert_fail_base): New function.  Majority
57758         of code from __assert_fail.  Allocate memory for __abort_msg with
57759         mmap.
57760         (__assert_fail): Now call __assert_fail_base.
57761         * assert/assert-perr.c: Remove bulk of implementation.  Use
57762         __assert_fail_base.
57763         * include/assert.hL Declare __assert_fail_base.
57764         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57765         mmap.
57766         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57768 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
57770         [BZ #11952]
57771         [BZ #12453]
57772         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57773         until all modules are registered in the DTV.
57774         * elf/Makefile: Add rules to build and run tst-tls19.
57775         * elf/tst-tls19.c: New file.
57776         * elf/tst-tls19mod1.c: New file.
57777         * elf/tst-tls19mod2.c: New file.
57778         * elf/tst-tls19mod3.c: New file.
57779         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57781         [BZ #12083]
57782         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57783         correctly.
57785         [BZ #12601]
57786         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57787         two-byte sequence errors.
57788         * iconvdata/Makefile (tests): Add bug-iconv8.
57789         * iconvdata/bug-iconv8.c: New file.
57791         [BZ #12626]
57792         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57793         buf2 definition.
57795         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57797         [BZ #12432]
57798         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57799         (dummy_getcfa): New function.
57800         (init): Get _Unwind_GetCFA address, use dummy if not found.
57801         (backtrace_helper): In recursion check, also check whether CFA changes.
57802         (__backtrace): Completely initialize arg.
57804         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57805         storing incomplete byte sequence in state object.  Avoid testing for
57806         guaranteed too small input if we know there is enough data available.
57808 2011-05-11  Andreas Schwab  <schwab@redhat.com>
57810         * Makeconfig (+link-pie): Indent.
57811         * Rules (binaries-pie): Define if $(have-fpie) and
57812         $(build-shared).
57813         (binaries-shared): Also filter out $(binaries-pie).
57814         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57815         * nscd/Makefile (others-pie): Add nscd.
57816         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57817         ($(objpfx)nscd): Remove command override.
57818         * login/Makefile (others-pie): Add pt_chown.
57819         ($(objpfx)pt_chown): Remove command override.
57820         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57821         remove command overrides.
57823 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
57825         * libio/tst_putwc.c: Fix error messages.
57827         [BZ #12724]
57828         * libio/fileops.c (_IO_new_file_close_it): Always flush when
57829         currently writing and seek to current position when not.
57830         * libio/Makefile (tests): Add bug-fclose1.
57831         * libio/bug-fclose1.c: New file.
57833 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
57835         [BZ #12511]
57836         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57837         don't set DF_1_NODELETE here.
57838         (do_lookup_x): When entering new entry test for copy relocation
57839         and if necessary set DF_1_NODELETE flag.
57840         * elf/tst-unique4.cc: New file.
57841         * elf/tst-unique4.h: New file.
57842         * elf/tst-unique4lib.cc: New file.
57843         * elf/Makefile: Add rules to build and run tst-unique4.
57844         Patch by Piotr Bury <pbury@goahead.com>.
57846 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
57848         [BZ #12052]
57849         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57851         [BZ #12625]
57852         * misc/mntent_r.c (addmntent): Flush the stream after the output
57854         [BZ #12393]
57855         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57856         (is_trusted_path_normalize): Skip initial colon.  Append slash
57857         to empty buffer.  Duplicate is_trusted_path code but allow
57858         constructed patch to be prefix.
57859         (is_dst): Allow $ORIGIN followed by /.
57860         (_dl_dst_substitute): Correct clearing of check_for_trusted.
57861         Correct testing of result of is_trusted_path_normalize
57862         (decompose_rpath): Fix warning.
57864 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
57866         [BZ #11257]
57867         * grp/initgroups.c (internal_getgrouplist): When we found the service
57868         list through the initgroups entry in nsswitch.conf do not always
57869         continue on a successful lookup.  Don't always use the
57870         __nss_group_database value if it is set.
57871         * nss/nsswitch.conf (initgroups): Change action for successful db
57872         lookup to continue for compatibility.
57874 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
57876         [BZ #11532]
57877         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57878         and CP774 modules.
57879         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57880         and CP774 modules.
57881         * iconvdata/tst-tables.sh: Likewise.
57882         * iconvdata/cp770.c: New file.
57883         * iconvdata/cp771.c: New file.
57884         * iconvdata/cp772.c: New file.
57885         * iconvdata/cp773.c: New file.
57886         * iconvdata/cp774.c: New file.
57887         * iconvdata/testdata/CP770: New file.
57888         * iconvdata/testdata/CP770..UTF8: New file.
57889         * iconvdata/testdata/CP771: New file.
57890         * iconvdata/testdata/CP771..UTF8: New file.
57891         * iconvdata/testdata/CP772: New file.
57892         * iconvdata/testdata/CP772..UTF8: New file.
57893         * iconvdata/testdata/CP773: New file.
57894         * iconvdata/testdata/CP773..UTF8: New file.
57895         * iconvdata/testdata/CP774: New file.
57896         * iconvdata/testdata/CP774..UTF8: New file.
57898         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57899         END CHARMAP line.
57900         * iconvdata/gen-8bit-gap.sh: Likewise.
57901         * iconvdata/gen-8bit.sh: Likewise.
57903         * locale/iso-639.def: Add ary entry.
57905         [BZ #11258]
57906         * locale/C-translit.h.in: Add U20A1 transliteration.
57908         [BZ #12178]
57909         * locale/iso-639.def: Add wae entry.
57910         Patch by Kevin Bortis <bortis@translate-wae.ch>.
57912         [BZ #12545]
57913         * locale/programs/localedef.c (construct_output_path): Use ssize_t
57914         for n.
57916         [BZ #12711]
57917         * locale/C-translit.h.in: Add entry for U20B9.
57918         Patch by pravin.d.s@gmail.com.
57920 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
57922         [BZ #12713]
57923         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57924         ENAMETOOLONG use generic getcwd.
57925         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
57926         in rtld.  Use *stat64.
57927         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57928         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57929         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57930         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57931         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57932         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57933         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57934         __fstatat64 macros.
57935         * include/dirent.h: Add libc_hidden_proto for rewinddir.
57936         * dirent/rewinddir.c: Add libc_hidden_def.
57937         * sysdeps/mach/hurd/rewinddir.c: Likewise.
57938         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
57940         * include/dirent.h (__alloc_dir): Add flags parameter.
57941         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57942         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57943         __alloc_dir.
57944         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
57945         from fdopendir if O_CLOEXEC is already set.
57947 2011-03-15  Alan Modra  <amodra@gmail.com>
57949         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57950         l_tls_firstbyte_offset non-zero.  Save padding offset in
57951         l_tls_firstbyte_offset for later use.
57952         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57953         freeing static tls block.
57955 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
57957         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57958         where #ifdef was intended.  The intent is to prevent ARG_MAX from
57959         being defined by the kernel headers.
57961 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
57963         [BZ #12734]
57964         * resolv/resolv.h: Define RES_NOTLDQUERY.
57965         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57966         no-tld-query and set RES_NOTLDQUERY.
57967         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57968         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57969         modern BIND to search name as TLD unless forbidden.
57971 2011-05-07  Petr Baudis  <pasky@suse.cz>
57972             Ulrich Drepper  <drepper@gmail.com>
57974         [BZ #12393]
57975         * elf/dl-load.c (fillin_rpath): Move trusted path check...
57976         (is_trusted_path): ...to here.
57977         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57978         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57979         using is_trusted_path_normalize() in setuid scripts.
57981 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57983         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57984         __BEGIN/__END_DECLS.
57986 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
57988         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57989         NSS_STATUS_NOTFOUND if no record was found.
57991 2011-05-05  Andreas Schwab  <schwab@redhat.com>
57993         * sunrpc/Makefile (headers): Add rpc/netdb.h.
57994         (headers-not-in-tirpc): Remove rpc/netdb.h
57995         * resolv/netdb.h: Revert last change.
57997 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57999         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58000         circular dependency between libgcc.a and libc.a.
58002 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58004         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58005         * nis/Makefile: Don't install rpcsvc/*.
58006         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58007         instead of <rpc/types.h>.
58008         (MAXHOSTNAMELEN): Define.
58010 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58012         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58014 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58016         [BZ #12714]
58017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58018         gethostbyname4_r when IPv6 results are possible.
58020 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58022         [BZ #12723]
58023         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58024         _PC_PIPE_BUF handling.
58026 2011-04-30  Bruno Haible  <bruno@clisp.org>
58028         [BZ #12717]
58029         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58030         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58031         to 'int'.
58032         * inet/getnameinfo.c (getnameinfo): Likewise.
58034 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58036         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58037         to groups setting in database lookup.
58038         * nss/nsswitch.conf: Add initgroups entry.
58040 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58042         [BZ #12685]
58043         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58044         mode string.
58045         Patch by Eric Blake <eblake@redhat.com>.
58047 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58049         * sunrpc/Makefile (need-export-routines): Add svc_run.
58050         (routines): Remove svc_run.
58051         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58052         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58053         * sunrpc/svc_run.c (svc_run): Likewise.
58054         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58056 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58059         problem in reallocation in last patch.
58061 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58063         * sunrpc/Makefile: Move inclusion of Rules.
58065 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58067         * nss/nss_files/files-initgroups.c: New file.
58068         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58069         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58070         _nss_files_initgroups_dyn.
58072 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58074         * elf/elf.h (R_ARM_IRELATIVE): Define.
58076 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58078         * po/ru.po: Update from translation team.
58080 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58082         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58083         dependencies.
58085 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58087         [BZ #12653]
58088         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58089         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58090         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58091         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58092         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58094 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58096         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58097         differing bytes.
58098         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58099         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58100         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58102 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58104         [BZ #12420]
58105         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58106         storing it.
58107         * stdlib/bug-getcontext.c: New file.
58108         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58110 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58112         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58113         instructions into .machine "z9-109".
58114         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58115         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58117 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58119         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58120         between environment variables and auxiliary vector.
58122 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
58124         * Makefile: Add rules to build linkobj/libc.so.
58125         * include/libc-symbols.h: Define libc_hidden_nolink.
58126         * include/rpc/auth.h: Mark functions which are to be hidden.
58127         * include/rpc/auth_des.h: Likewise.
58128         * include/rpc/auth_unix.h: Likewise.
58129         * include/rpc/clnt.h: Likewise.
58130         * include/rpc/des_crypt.h: Likewise.
58131         * include/rpc/key_prot.h: Likewise.
58132         * include/rpc/pmap_clnt.h: Likewise.
58133         * include/rpc/pmap_prot.h: Likewise.
58134         * include/rpc/pmap_rmt.h: Likewise.
58135         * include/rpc/rpc_msg.h: Likewise.
58136         * include/rpc/svc.h: Likewise.
58137         * include/rpc/svc_auth.h: Likewise.
58138         * include/rpc/xdr.h: Likewise.
58139         * nis/Makefile: Link all DSOs against linkobj/libc.so.
58140         * nss/Makefile: Likewise.
58141         * sunrpc/Makefile: Don't install headers.  Build library with normal
58142         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
58143         * sunrpc/auth_des.c: Hide exported symbols by default, export some
58144         for the compat linking library.  Remove use of INTDEF/INTUSE.
58145         * sunrpc/auth_none.c: Likewise.
58146         * sunrpc/auth_unix.c: Likewise.
58147         * sunrpc/authdes_prot.c: Likewise.
58148         * sunrpc/authuxprot.c: Likewise.
58149         * sunrpc/clnt_gen.c: Likewise.
58150         * sunrpc/clnt_perr.c: Likewise.
58151         * sunrpc/clnt_raw.c: Likewise.
58152         * sunrpc/clnt_simp.c: Likewise.
58153         * sunrpc/clnt_tcp.c: Likewise.
58154         * sunrpc/clnt_udp.c: Likewise.
58155         * sunrpc/clnt_unix.c: Likewise.
58156         * sunrpc/des_crypt.c: Likewise.
58157         * sunrpc/des_soft.c: Likewise.
58158         * sunrpc/get_myaddr.c: Likewise.
58159         * sunrpc/key_call.c: Likewise.
58160         * sunrpc/key_prot.c: Likewise.
58161         * sunrpc/netname.c: Likewise.
58162         * sunrpc/pm_getmaps.c: Likewise.
58163         * sunrpc/pm_getport.c: Likewise.
58164         * sunrpc/pmap_clnt.c: Likewise.
58165         * sunrpc/pmap_prot.c: Likewise.
58166         * sunrpc/pmap_prot2.c: Likewise.
58167         * sunrpc/pmap_rmt.c: Likewise.
58168         * sunrpc/publickey.c: Likewise.
58169         * sunrpc/rpc_cmsg.c: Likewise.
58170         * sunrpc/rpc_common.c: Likewise.
58171         * sunrpc/rpc_dtable.c: Likewise.
58172         * sunrpc/rpc_prot.c: Likewise.
58173         * sunrpc/rpc_thread.c: Likewise.
58174         * sunrpc/rtime.c: Likewise.
58175         * sunrpc/svc.c: Likewise.
58176         * sunrpc/svc_auth.c: Likewise.
58177         * sunrpc/svc_authux.c: Likewise.
58178         * sunrpc/svc_raw.c: Likewise.
58179         * sunrpc/svc_run.c: Likewise.
58180         * sunrpc/svc_simple.c: Likewise.
58181         * sunrpc/svc_tcp.c: Likewise.
58182         * sunrpc/svc_udp.c: Likewise.
58183         * sunrpc/svc_unix.c: Likewise.
58184         * sunrpc/svcauth_des.c: Likewise.
58185         * sunrpc/xcrypt.c: Likewise.
58186         * sunrpc/xdr.c: Likewise.
58187         * sunrpc/xdr_array.c: Likewise.
58188         * sunrpc/xdr_float.c: Likewise.
58189         * sunrpc/xdr_intXX_t.c: Likewise.
58190         * sunrpc/xdr_mem.c: Likewise.
58191         * sunrpc/xdr_rec.c: Likewise.
58192         * sunrpc/xdr_ref.c: Likewise.
58193         * sunrpc/xdr_sizeof.c: Likewise.
58194         * sunrpc/xdr_stdio.c: Likewise.
58196 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58198         [BZ #12650]
58199         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58200         * sysdeps/ia64/dl-tls.h: Likewise.
58201         * sysdeps/powerpc/dl-tls.h: Likewise.
58202         * sysdeps/s390/dl-tls.h: Likewise.
58203         * sysdeps/sh/dl-tls.h: Likewise.
58204         * sysdeps/sparc/dl-tls.h: Likewise.
58205         * sysdeps/x86_64/dl-tls.h: Likewise.
58206         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58208 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58210         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58211         rpath element also skip the following colon.
58212         (expand_dynamic_string_token): Add is_path parameter and pass
58213         down to DL_DST_REQUIRED and _dl_dst_substitute.
58214         (decompose_rpath): Call expand_dynamic_string_token with
58215         non-zero is_path.  Ignore empty rpaths.
58216         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58217         with zero is_path.
58219 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58222         Make cancelable.
58224 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
58226         [BZ #12655]
58227         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58228         Patch by Filipe David Manana <fdmanana@apache.org>.
58230 2011-04-07  Andreas Schwab  <schwab@redhat.com>
58232         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58233         Maintain aligned stack.
58234         (CHECK_RSP): Remove unused macro.
58236 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
58238         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58239         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58241 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
58243         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58245         * include/features.h: Mention __USE_XOPEN2K8 in comment.
58247 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
58249         [BZ #12518]
58250         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58251         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58252         * sysdeps/x86_64/memmove.c: New file.
58253         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58254         (memcpy): Renamed to ...
58255         (__new_memcpy): This.
58256         (memcpy): Provide GLIBC_2_14 memcpy.
58257         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58258         (memcpy): Provide GLIBC_2_2_5 memcpy.
58260 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58262         [BZ #12631]
58263         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58265 2011-03-30  Andreas Schwab  <schwab@redhat.com>
58267         * misc/syncfs.c: New file.
58268         * misc/Makefile (routines): Add syncfs.
58269         * posix/unistd.h: Declare syncfs.
58270         * sysdeps/unix/syscalls.list: Add syncfs.
58272 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58274         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58275         open_by_handle_at.
58276         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58277         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58279         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58280         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58281         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58282         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58284 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58286         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58287         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58288         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58289         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58290         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58291         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58294         * io/Makefile: Compile fallocate.c, fallocate64.c, and
58295         sync_file_range.c with -fexceptions.
58296         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58297         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58298         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58299         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58300         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58301         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58303         sync_file_range as cancellation point
58304         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
58305         now a wrapper around __call_sync_file_range with cancellation handling.
58306         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58307         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
58308         function name to __call_sync_file_range.
58309         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58310         Add call_sync_file_range.
58312 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58315         bits/timex.h.
58317 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58319         * iconv/iconv.h: Fix typo in comment.
58320         * io/fcntl.h: Likewise.
58321         * libio/stdio.h: Likewise.
58322         * posix/spawn.h: Likewise.
58323         * posix/unistd.h: Likewise.
58324         * stdlib/stdlib.h: Likewise.
58325         * time/time.h: Likewise.
58326         * wcsmbs/wchar.h: Likewise.
58328         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58329         open_by_handle): Add.
58330         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58331         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
58332         Augment a few comments.
58333         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58335         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58338         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58339         open_by_handle.
58341         * io/fcntl.h (AT_EMPTY_PATH): Define.
58343 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
58345         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58346         * sysdeps/unix/sysv/linux/bits/time.h: New file.
58347         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58348         to...
58349         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
58350         * Versions.def: Add GLIBC_2.14.
58351         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58352         Export.
58354 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
58356         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58357         round counter.
58358         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58360 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58362         [BZ #12597]
58363         * string/test-strncmp.c (do_page_test): New function.
58364         (check2): Likewise.
58365         (test_main): Call check2.
58366         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58368 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
58370         [BZ #12587]
58371         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58372         Handle cache information in CPU leaf 4.
58373         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58375 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
58377         [BZ #12583]
58378         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58379         character representation.
58380         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58382 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
58384         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58385         END(__isnan) to END(__isnanf) to match function entry point/label
58386         EALIGN(__isnanf,...).
58388 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
58390         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58392 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
58394         [BZ #12510]
58395         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58396         copy from the symbol referenced in the relocation to initialize the
58397         used variable.
58398         Patch by Piotr Bury <pbury@goahead.com>.
58399         * elf/Makefile: Add rules to build and tst-unique3.
58400         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58401         * elf/tst-unique3.cc: New file.
58402         * elf/tst-unique3.h: New file.
58403         * elf/tst-unique3lib.cc: New file.
58404         * elf/tst-unique3lib2.cc: New file.
58406         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58408 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
58410         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58411         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
58412         to _start.
58414 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
58416         * elf/dl-load.c (_dl_map_object): If we are looking for the first
58417         to-be-loaded object along a path to loader is ld.so.
58419 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58420             Ulrich Drepper  <drepper@gmail.com>
58422         * sysdeps/x86_64/memset.S: After aligning destination, code
58423         branches to different locations depending on the value of
58424         misalignment, when multiarch is enabled. Fix this.
58426 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58428         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58429         Set _x86_64_preferred_memory_instruction for AMD processsors.
58430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58431         Set bit_Prefer_SSE_for_memop for AMD processors.
58433 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
58435         * libio/fmemopen.c (fmemopen): Optimize a bit.
58437 2011-03-03  Andreas Schwab  <schwab@redhat.com>
58439         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58441 2011-03-03  Roland McGrath  <roland@redhat.com>
58443         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58445 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
58447         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58448         __bzero_ultra1 instead of __memset_ultra1.
58450 2011-02-23  Andreas Schwab  <schwab@redhat.com>
58451             Ulrich Drepper  <drepper@gmail.com>
58453         [BZ #12509]
58454         * include/link.h (struct link_map): Add l_orig_initfini.
58455         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58456         returning unsuccessfully.
58457         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58458         close of a file loaded at startup, restore the original l_initfini
58459         list.
58460         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58461         list, store the pointer.
58462         * elf/Makefile ($(objpfx)noload-mem): New rule.
58463         (noload-ENV): Define.
58464         (tests): Add $(objpfx)noload-mem.
58465         * elf/noload.c: Include <memcheck.h>.
58466         (main): Call mtrace.  Close all opened handles.
58468 2011-02-17  Andreas Schwab  <schwab@redhat.com>
58470         [BZ #12454]
58471         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58472         dependencies are missing.
58474 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58476         Fix __if_freereq crash: Unlike the generic version which uses free,
58477         Hurd needs munmap.
58478         * sysdeps/mach/hurd/ifreq.h: New file.
58480 2011-01-27  Petr Baudis  <pasky@suse.cz>
58481             Ulrich Drepper  <drepper@gmail.com>
58483         [BZ 12445]#
58484         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58485         to extend_alloca().
58486         * stdio-common/bug23.c: New file.
58487         * stdio-common/Makefile (tests): Add bug23.
58489 2010-09-28  Andreas Schwab  <schwab@redhat.com>
58490             Ulrich Drepper  <drepper@gmail.com>
58492         [BZ #12489]
58493         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58494         before performing relro protection.  At old place add assertion
58495         to make sure nothing changed.
58497 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
58498             Glauber de Oliveira Costa  <glommer@gmail.com>
58500         * elf/elf.h: Add new ARM TLS relocs.
58502 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
58504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58505         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58506         cast from r3.
58507         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
58508         'tests' variable.
58509         * sysdeps/wordsize-64/tst-writev.c: New file.
58511 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
58513         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58514         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58515         insns in _dl_start to prevent a TOC reference before relocs are
58516         resolved.
58518 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
58520         [BZ #12469]
58521         * Makeconfig: Remove RANLIB definition.
58522         * Makerules: Don't use RANLIB.
58523         * aclocal.m4: Remove ranlib test.
58524         * configure.in: No need to check for ranlib.
58525         * elf/rtld-Rules: Don't use RANLIB.
58527 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58529         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58530         protection macro.
58531         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58532         inclusion protection macro.
58534         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58535         SIGRTMIN and SIGRTMAX and print information in that case only when
58536         SIGRTMIN is defined.
58538 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
58540         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58541         arginfo fn returning -1.
58543         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58544         and thousands string is zero terminated.
58546 2011-02-03  Andreas Schwab  <schwab@redhat.com>
58548         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58549         sysdeps/unix/sysv/linux/bits/socket.h.
58551 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58553         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58554         (__CPU_COUNT): Remove old macros.
58555         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58556         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58557         (__CPU_ALLOC, __CPU_FREE): Add macros.
58558         (__sched_cpualloc, __sched_cpufree): Add declarations.
58560 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
58562         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58563         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58564         * nscd/aicache.c (addhstaiX): Return timeout of added value.
58565         (readdhstai): Return value of addhstaiX call.
58566         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58567         (addgrbyX): Return value returned by cache_addgr.
58568         (readdgrbyname): Return value returned by addgrbyX.
58569         (readdgrbygid): Likewise.
58570         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58571         (addpwbyX): Return value returned by cache_addpw.
58572         (readdpwbyname): Return value returned by addhstbyX.
58573         (readdpwbyuid): Likewise.
58574         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58575         (addservbyX): Return value returned by cache_addserv.
58576         (readdservbyname): Return value returned by addservbyX:
58577         (readdservbyport): Likewise.
58578         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58579         (addhstbyX): Return value returned by cache_addhst.
58580         (readdhstbyname): Return value returned by addhstbyX.
58581         (readdhstbyaddr): Likewise.
58582         (readdhstbynamev6): Likewise.
58583         (readdhstbyaddrv6): Likewise.
58584         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58585         (readdinitgroups): Return value returned by addinitgroupsX.
58586         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58587         (prune_cache): Keep track of timeout value of re-added entries.
58588         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58589         * nscd/nscd.h: Adjust prototypes of readd* functions.
58591 2011-02-04  Roland McGrath  <roland@redhat.com>
58593         * nis/nis_server.c (nis_servstate): Use the right name for 0.
58594         (nis_stats): Likewise.
58595         * nis/nis_modify.c (nis_modify): Likewise.
58596         * nis/nis_remove.c (nis_remove): Likewise.
58597         * nis/nis_add.c (nis_add): Likewise.
58599         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58601         * posix/fnmatch_loop.c: Add some consts.
58603         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58605 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
58607         [BZ #12460]
58608         * config.make.in (config-cflags-novzeroupper): Define.
58609         * configure.in: Substitute libc_cv_cc_novzeroupper.
58610         * elf/Makefile (AVX-CFLAGS): Define.
58611         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58612         (CFLAGS-tst-auditmod4a.c): Likewise.
58613         (CFLAGS-tst-auditmod4b.c): Likewise.
58614         (CFLAGS-tst-auditmod6b.c): Likewise.
58615         (CFLAGS-tst-auditmod6c.c): Likewise.
58616         (CFLAGS-tst-auditmod7b.c): Likewise.
58617         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58619 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
58621         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58622         function to the callback.
58623         Patch partly by Jiri Olsa <jolsa@redhat.com>.
58625 2011-02-02  Andreas Schwab  <schwab@redhat.com>
58627         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58628         of errno.
58630 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
58632         [BZ #11724]
58633         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58634         of constructors.
58635         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58636         of destructors.
58637         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58639         [BZ #11724]
58640         * elf/Makefile: Add rules to build and run new test.
58641         * elf/tst-initorder.c: New file.
58642         * elf/tst-initorder.exp: New file.
58643         * elf/tst-initordera1.c: New file.
58644         * elf/tst-initordera2.c: New file.
58645         * elf/tst-initordera3.c: New file.
58646         * elf/tst-initordera4.c: New file.
58647         * elf/tst-initorderb1.c: New file.
58648         * elf/tst-initorderb2.c: New file.
58649         * elf/tst-order-a1.c: New file.
58650         * elf/tst-order-a2.c: New file.
58651         * elf/tst-order-a3.c: New file.
58652         * elf/tst-order-a4.c: New file.
58653         * elf/tst-order-b1.c: New file.
58654         * elf/tst-order-b2.c: New file.
58655         * elf/tst-order-main.c: New file.
58656         New test case by George Gensure <werkt0@gmail.com>.
58658 2010-10-01  Andreas Schwab  <schwab@redhat.com>
58660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58661         decoding ACE if AI_CANONIDN.
58663 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
58665         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58667 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
58669         * version.h (RELEASE): Bump for 2.13 release.
58670         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58672         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58674         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58675         MADV_NOHUGEPAGE.
58676         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58678         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58679         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58680         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58681         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58683         * posix/getconf.c: Update copyright year.
58684         * catgets/gencat.c: Likewise.
58685         * csu/version.c: Likewise.
58686         * debug/catchsegv.sh: Likewise.
58687         * debug/xtrace.sh: Likewise.
58688         * elf/ldconfig.c: Likewise.
58689         * elf/ldd.bash.in: Likewise.
58690         * elf/sprof.c (print_version): Likewise.
58691         * iconv/iconv_prog.c: Likewise.
58692         * iconv/iconvconfig.c: Likewise.
58693         * locale/programs/locale.c: Likewise.
58694         * locale/programs/localedef.c: Likewise.
58695         * malloc/memusage.sh: Likewise.
58696         * malloc/mtrace.pl: Likewise.
58697         * nscd/nscd.c (print_version): Likewise.
58698         * nss/getent.c: Likewise.
58700         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58701         PF_CAIF, and PF_ALG.
58702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58704 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
58706         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58707         (modules-names): Use them.
58708         (ifunc-test-modules, ifunc-pie-tests): Define.
58709         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58710         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58711         (test-extras): Likewise.
58712         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58713         $(compile-command.c).
58714         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58715         (all-built-dso): Define.
58716         (check-textrel.out, check-execstack.out): Depend on it.
58718         * configure.in: Don't override --enable-multi-arch.
58720 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
58722         [BZ #6812]
58723         * nscd/hstcache.c (tryagain): Define.
58724         (cache_addhst): Return tryagain not notfound for temporary errors.
58725         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58726         failed.
58728 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
58730         [BZ #10563]
58731         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58732         to make the syscall.
58733         * sysdeps/unix/sysv/linux/setgroups.c: New file.
58735         [BZ #12378]
58736         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58737         and fall back to matching as normal character if the string ends before
58738         the matching ']' is found.  This is what POSIX requires.
58739         * posix/testfnm.c: Adjust test result.
58740         * posix/globtest.sh: Adjust test result.  Add new test.
58741         * posix/tst-fnmatch.input: Likewise.
58742         * posix/tst-fnmatch2.c: Add new test.
58744 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
58746         * elf/Makefile (check-execstack): Revert last change.  Depend on
58747         check-execstack.h.
58748         (check-execstack.h): New target.
58749         (generated): Add check-execstack.h.
58750         * elf/check-execstack.c: Include "check-execstack.h".
58751         (main): Revert last change.
58752         (handle_file): Return zero if GNU_STACK is absent and
58753         DEFAULT_STACK_PERMS doesn't include PF_X.
58755 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
58757         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58758         in child fails because the descriptor is already closed.
58759         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58760         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58761         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58763         [BZ #12397]
58764         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58765         syscall.
58767         [BZ #10484]
58768         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58769         temporary buffer used to handle multi lookups locally.
58770         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58772 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58774         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58775         loader is ld.so.
58777 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
58779         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58780         alignment for SSE2.
58782 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58784         [BZ #12394]
58785         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58786         characters.  When rounding increased number of integer digits recompute
58787         number of groups.
58788         * stdio-common/tst-grouping.c: New file.
58789         * stdio-common/Makefile: Add rules to build and run tst-grouping.
58791 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
58793         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58794         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
58796         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58797         void.
58798         * bits/select.h: Likewise.
58800 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
58802         * po/ja.po: Update from translation team.
58804 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
58806         [BZ #11155]
58807         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58808         implementation just like for lxstat, fxstatat, et al.
58810 2010-12-27  Jim Meyering  <meyering@redhat.com>
58812         [BZ #12348]
58813         * posix/regexec.c (build_trtable): Return failure indication upon
58814         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
58816 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
58818         [BZ #12201]
58819         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58820         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58821         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58822         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58824         [BZ #12207]
58825         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58827         [BZ #12204]
58828         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58829         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58831 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
58833         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58834         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58835         script has SORT_BY_INIT_PRIORITY.
58836         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58837         NO_CTORS_DTORS_SECTIONS is defined.
58838         * elf/soinit.c: Likewise.
58839         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58840         NO_CTORS_DTORS_SECTIONS is defined.
58841         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58842         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58843         * sysdeps/sh/init-first.c: Likewise.
58844         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58846 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
58848         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58849         always use the slow path.
58851 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
58853         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58854         similar rule which adds the sysdep directories to the header search in
58855         order to pick up the correct platform stackinfo.h.
58856         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58857         perform test if it is, otherwise return successfully without testing.
58858         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58859         DEFAULT_STACK_PERMS define in stackinfo.h.
58860         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58861         defined in stackinfo.h.
58862         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58863         DEFAULT_STACK_PERMS defined in stackinfo.h.
58864         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58865         * sysdeps/ia64/stackinfo.h: Likewise.
58866         * sysdeps/s390/stackinfo.h: Likewise.
58867         * sysdeps/sh/stackinfo.h: Likewise.
58868         * sysdeps/sparc/stackinfo.h: Likewise.
58869         * sysdeps/x86_64/stackinfo.h: Likewise.
58870         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58871         PF_X for powerpc64.  Retain PF_X for powerpc32.
58873 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
58875         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58876         accurately.
58877         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58878         GETDENTS_64BIT_ALIGNED.
58880 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
58882         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58884 2010-12-10  Andreas Schwab  <schwab@redhat.com>
58886         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58887         _GNU_SOURCE.
58889         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58890         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58891         Remove __restrict.
58892         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58893         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58895 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
58897         [BZ #11655]
58898         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58899         are initialized.
58901 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
58903         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58905 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
58907         * po/it.po: Update from translation team.
58909 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
58911         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58912         unused codes.
58914 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
58916         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58918 2010-11-24  Andreas Schwab  <schwab@redhat.com>
58920         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58921         specially.
58922         (gaih_getanswer_slice): Likewise.
58924 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
58926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58928 2010-05-31  Petr Baudis  <pasky@suse.cz>
58930         [BZ #11149]
58931         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58932         silently even in the chroot mode.
58934 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
58936         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58937         last patch a bit.  Pretty printing
58939 2010-05-31  Petr Baudis <pasky@suse.cz>
58941         [BZ #10085]
58942         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58943         initialization of skip_initgroups_dyn.
58945 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
58947         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58948         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58950 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
58952         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58954 2010-11-11  Andreas Schwab  <schwab@redhat.com>
58956         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58957         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58958         (tst-fnmatch-ENV): Set MALLOC_TRACE.
58959         ($(objpfx)tst-fnmatch-mem): New rule.
58960         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58961         * posix/tst-fnmatch.c (main): Call mtrace.
58963 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
58965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58966         Support Intel processor model 6 and model 0x2c.
58968 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
58970         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58971           signed comparison.
58973 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
58975         [BZ #12205]
58976         * string/test-strncasecmp.c (check_result): New function.
58977         (do_one_test): Use it.
58978         (check1): New function.
58979         (test_main): Use it.
58980         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58981         Support strcasecmp and strncasecmp.
58983 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
58985         [BZ #12194]
58986         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58987         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58989 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58991         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58992         IFUNC support.
58993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58994         memset-x86-64.
58995         * sysdeps/x86_64/multiarch/bzero.S: New file.
58996         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58997         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58998         * sysdeps/x86_64/multiarch/memset.S: New file.
58999         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59001         Set bit_Prefer_SSE_for_memop for Intel processors.
59002         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59003         Define.
59004         (index_Prefer_SSE_for_memop): Define.
59005         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59007 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59009         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59010         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59012 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59014         [BZ #12191]
59015         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59016         (__x86_64_raw_data_cache_size_half): Likewise.
59017         (__x86_64_raw_shared_cache_size): Likewise.
59018         (__x86_64_raw_shared_cache_size_half): Likewise.
59020         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59021         (__x86_64_raw_data_cache_size_half): Likewise.
59022         (__x86_64_raw_shared_cache_size): Likewise.
59023         (__x86_64_raw_shared_cache_size_half): Likewise.
59024         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59025         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59026         and __x86_64_raw_shared_cache_size_half.  Round
59027         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59028         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59029         to multiple of 256 bytes.
59031 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59033         [BZ #12167]
59034         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59035         of inacessible symlinks.  Verify result of symlink before returning it.
59036         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59037         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59039 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59041         * math/math.h (isinf): Fix typo in comment.
59043 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59045         * po/da.po: Update from translation team.
59047 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59049         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59050         is added to the list.
59052 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59053             Ulrich Drepper  <drepper@gmail.com>
59055         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59056         the global list here.  Move code to...
59057         (_dl_add_to_namespace_list): ...here.  New function.
59058         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59059         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59060         * elf/dl-load.c (lose): Don't remove the element from the list.
59061         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59062         (_dl_map_object): Likewise.
59064 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59066         [BZ #12159]
59067         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59068         into all bytes of SSE register.
59069         Patch by Richard Li <richardpku@gmail.com>.
59071 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59073         [BZ #12140]
59074         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59075         perturbing.
59077 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59079         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59080         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59081         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59082         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59084         submachine.
59085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59087 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59089         * include/dlfcn.h (__RTLD_SECURE): Define.
59090         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59091         mode & __RTLD_SECURE instead.
59092         (open_path): Rename preloaded parameter to secure.
59093         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59094         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59095         * elf/dl-deps.c (openaux): Likewise.
59096         * elf/rtld.c (struct map_args): Remove is_preloaded.
59097         (map_doit): Don't use it.
59098         (dl_main): Likewise.
59099         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59100         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59102 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59104         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59105         (sysd-rules-targets): Remove duplicates.
59106         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59107         rtld-%.$o dependency.
59109 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59111         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59112         _dl_map_object do it.
59114 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
59116         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59117         fast fma builtins, define the macros in the C99 standard.
59118         (FP_FAST_FMAF): Likewise.
59119         (FP_FAST_FMAL): Likewise.
59120         * sysdeps/x86_64/bits/mathdef.h: Likewise.
59122         * bits/mathdef.h: Update copyright year.
59123         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59125 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
59127         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59128         builtins, define the macros in the C99 standard.
59129         (FP_FAST_FMAF): Likewise.
59130         (FP_FAST_FMAL): Likewise.
59131         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59132         multiply/add.
59133         (FP_FAST_FMAF): Likewise.
59135 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
59137         [BZ #3268]
59138         * math/libm-test.inc (fma_test): Some new testcases.
59139         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59140         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59141         y and infinite z.  Do multiplication by C already in long double.
59142         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59144         y and infinite z.  Do bitwise or of inexact bit into u.d.
59145         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59146         * sysdeps/i386/fpu/s_fmaf.S: Removed.
59147         * sysdeps/i386/fpu/s_fma.S: Removed.
59148         * sysdeps/i386/fpu/s_fmal.S: Removed.
59150 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
59152         [BZ #3268]
59153         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59155         computation is not scheduled after fetestexcept.  Fix value
59156         of minimum denormal long double.
59158 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59160         [BZ #3268]
59161         * math/libm-test.inc (fma_test): Add some more tests.
59162         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59163         correctly.
59165 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59167         * scripts/data/localplt-s390-linux-gnu.data: New file.
59168         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59170 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59172         [BZ #3268]
59173         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59174         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59175         instead of dbl-64.
59176         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59177         inlines.
59178         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59179         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59180         if one of x and y is very large and the other is subnormal.
59181         * sysdeps/s390/fpu/s_fmaf.c: New file.
59182         * sysdeps/s390/fpu/s_fma.c: New file.
59183         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59184         * sysdeps/powerpc/fpu/s_fma.S: New file.
59185         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59186         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59187         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59189 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59191         [BZ #3268]
59192         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59193         fma tests.
59194         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59195         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59196         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59197         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59198         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59199         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59200         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59202 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59204         [BZ #12078]
59205         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59206         * posix/bug-regex31.input: Add test case.
59208 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59210         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59211         * posix/bug-regex31.input: New file.
59213         [BZ #12078]
59214         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59215         (parse_sub_exp): Fix last change, use postorder.
59217         * posix/bug-regex31.c: New file.
59218         * posix/Makefile: Add rules to build and run bug-regex31.
59220         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59222         [BZ #12078]
59223         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59225         [BZ #12108]
59226         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59227         to have entries in sys_siglist.
59229         [BZ #12093]
59230         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59231         be NULL.
59233 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
59235         [BZ #3268]
59236         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59237         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59238         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59239         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59240         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59241         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59242         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59243         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59244         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59245         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59246         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59247         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59248         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59249         * math/ftestexcept.c (fetestexcept): Likewise.
59250         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59251         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59252         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59253         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59254         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59255         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59256         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59258 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59260         [BZ #12107]
59261         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59262         newline.
59264 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
59266         * string/bug-strstr1.c: New file.
59267         * string/Makefile: Add rules to build and run bug-strstr1.
59269 2010-10-05  Eric Blake  <eblake@redhat.com>
59271         [BZ #12092]
59272         * string/str-two-way.h (two_way_long_needle): Always clear memory
59273         when skipping input due to the shift table.
59275 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
59277         [BZ #12005]
59278         * malloc/mcheck.c: Handle large requests.
59280         [BZ #12077]
59281         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59282         for strncmp and strncasecmp.
59283         * string/stratcliff.c: Add tests for strcmp and strncmp.
59284         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59286 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59288         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59289         __set_fpscr.
59291 2010-09-30  Andreas Jaeger  <aj@suse.de>
59293         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59294         (CGROUP_SUPER_MAGIC): Define.
59295         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59296         Handle btrfs and cgroup file systems.
59297         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59298         Likewise.
59300 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
59302         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59303         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59305 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59307         [BZ #12067]
59308         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59309         trying to locate the ELF header.
59311 2010-09-27  Andreas Schwab  <schwab@redhat.com>
59313         [BZ #11611]
59314         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59315         Mask out sign-bit copies when constructing f_fsid.
59317 2010-09-24  Petr Baudis <pasky@suse.cz>
59319         * debug/stack_chk_fail_local.c: Add missing licence exception.
59320         * debug/warning-nop.c: Likewise.
59322 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
59324         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59325         implementing getdents64 using getdents syscall, set d_type if
59326         __ASSUME_GETDENTS32_D_TYPE.
59328 2010-09-16  Andreas Schwab  <schwab@redhat.com>
59330         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59331         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59333 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
59335         [BZ #12037]
59336         * posix/unistd.h: Undo change of feature selection for ftruncate from
59337         2010-01-11.
59339 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
59341         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59342         detection.
59344 2010-09-20  Andreas Schwab  <schwab@redhat.com>
59346         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59347         fanotify_mark.
59348         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59350 2010-09-14  Andreas Schwab  <schwab@redhat.com>
59352         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59353         variables after CHECK_SP call.
59354         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59356 2010-09-13  Andreas Schwab  <schwab@redhat.com>
59357             Ulrich Drepper  <drepper@redhat.com>
59359         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59360         re-relocationg ld.so.
59361         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59362         _dl_init_paths call.
59363         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
59364         here anymore.
59366 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
59368         * resolv/res_init.c (__res_vinit): Count the default server we added.
59370 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
59371             Ulrich Drepper  <drepper@redhat.com>
59373         [BZ #11968]
59374         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59375         (____longjmp_chk): Use %ebx for saving value across system call.
59376         Add unwind info.
59378 2010-09-06  Andreas Schwab  <schwab@redhat.com>
59380         * manual/Makefile: Don't mix pattern rules with normal rules.
59382 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59384         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59385         operation.
59386         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59387         * libio/iofopncook.c (_IO_cookie_init): Likewise.
59388         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59389         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59390         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59391         Likewise.
59393 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
59395         [BZ #11979]
59396         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59397         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59399 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
59401         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59402         * sysdeps/x86_64/addmul_1.S: Likewise.
59403         * sysdeps/x86_64/lshift.S: Likewise.
59404         * sysdeps/x86_64/mul_1.S: Likewise.
59405         * sysdeps/x86_64/rshift.S: Likewise.
59406         * sysdeps/x86_64/sub_n.S: Likewise.
59407         * sysdeps/x86_64/submul_1.S: Likewise.
59409 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59411         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59412         Define __sched_param instead of SCHED_* and sched_param when
59413         <bits/sched.h> is included with __need_schedparam defined.
59414         * bits/sched.h [__need_schedparam]
59415         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59416         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59417         (__defined_schedparam): Define to 1.
59418         (__sched_param): New structure, identical to sched_param.
59419         (__need_schedparam): Undefine.
59421 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
59423         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59424         (epoll_create1): Declare.
59426         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59428 2010-08-31  Andreas Schwab  <schwab@redhat.com>
59430         [BZ #7066]
59431         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59432         shifting retval into place.
59434 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
59436         * nis/rpcsvc/nis.h: Update copyright notice.
59437         * nis/rpcsvc/nis.x: Likewise.
59438         * nis/rpcsvc/nis_callback.h: Likewise.
59439         * nis/rpcsvc/nis_callback.x: Likewise.
59440         * nis/rpcsvc/nis_object.x: Likewise.
59441         * nis/rpcsvc/nis_tags.h: Likewise.
59442         * nis/rpcsvc/yp.h: Likewise.
59443         * nis/rpcsvc/yp.x: Likewise.
59444         * nis/rpcsvc/ypupd.h: Likewise.
59445         * nis/yp_xdr.c: Likewise.
59446         * nis/ypupdate_xdr.c: Likewise.
59448         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
59449         mainly the body of pmap_getport.  Add parameters to specify timeouts.
59450         (pmap_getport): Use __libc_rpc_getport.
59451         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59452         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59453         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59455 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
59457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59458         fanotify_mark.
59460 2010-08-27  Roland McGrath  <roland@redhat.com>
59462         * sysdeps/i386/i686/multiarch/Makefile
59463         (CFLAGS-varshift.c): New variable.
59465 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
59467         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59468         * sysdeps/i386/i686/multiarch/varshift.c: New file.
59470         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59472         * sysdeps/x86_64/strlen.S: Minimal code improvement.
59474 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
59476         * sysdeps/x86_64/strlen.S: Unroll the loop.
59477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59478         strlen-sse2 strlen-sse2-bsf.
59479         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59480         __strlen_no_bsf if bit_Slow_BSF is set.
59481         (__strlen_sse42): Removed.
59482         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59483         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59485 2010-08-25  Roland McGrath  <roland@redhat.com>
59487         * sysdeps/x86_64/multiarch/varshift.S: File removed.
59488         * sysdeps/x86_64/multiarch/varshift.c: New file.
59489         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59490         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59491         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59492         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59494 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
59496         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59497         strlen-sse2 strlen-sse2-bsf.
59498         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59499         __strlen_sse2_bsf if bit_Slow_BSF is unset.
59500         (__strlen_sse2): Removed.
59501         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59502         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59504         bit_Slow_BSF for Atom.
59505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59506         (index_Slow_BSF): Define.
59507         (HAS_SLOW_BSF): Define.
59509 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
59511         [BZ #10851]
59512         * resolv/res_init.c (__res_vinit): When no server address at all
59513         is given default to loopback.
59515 2010-08-24  Roland McGrath  <roland@redhat.com>
59517         * configure.in: Remove config-name.h generation.
59518         * configure: Regenerated.
59519         * config-name.in: File removed.
59520         * scripts/config-uname.sh: New file.
59521         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59522         ($(objdir)config-name.h): New target.
59524         * sunrpc/rpc_parse.h: Avoid nested comment.
59526 2010-08-24  Richard Henderson  <rth@redhat.com>
59527             Ulrich Drepper  <drepper@redhat.com>
59528             H.J. Lu  <hongjiu.lu@intel.com>
59530         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59532         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59533         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
59534         _mm_alignr_epi8 with _mm_loadu_si128.
59535         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59536         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59537         (__m128i_shift_right): Removed.
59538         * sysdeps/i386/i686/multiarch/varshift.h: New file.
59539         * sysdeps/i386/i686/multiarch/varshift.S: New file.
59540         * sysdeps/x86_64/multiarch/varshift.h: New file.
59541         * sysdeps/x86_64/multiarch/varshift.S: New file.
59543 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
59545         * configure.in: Move assembler checks to before sysdep dir checking.
59547 2010-08-20  Petr Baudis  <pasky@suse.cz>
59549         * LICENSES: Sync the sunrpc license.
59551 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
59553         * sunrpc/auth_des.c: Update copyright notice once again.
59554         * sunrpc/auth_none.c: Likewise.
59555         * sunrpc/auth_unix.c: Likewise.
59556         * sunrpc/authdes_prot.c: Likewise.
59557         * sunrpc/authuxprot.c: Likewise.
59558         * sunrpc/bindrsvprt.c: Likewise.
59559         * sunrpc/clnt_gen.c: Likewise.
59560         * sunrpc/clnt_perr.c: Likewise.
59561         * sunrpc/clnt_raw.c: Likewise.
59562         * sunrpc/clnt_simp.c: Likewise.
59563         * sunrpc/clnt_tcp.c: Likewise.
59564         * sunrpc/clnt_udp.c: Likewise.
59565         * sunrpc/clnt_unix.c: Likewise.
59566         * sunrpc/des_crypt.c: Likewise.
59567         * sunrpc/des_soft.c: Likewise.
59568         * sunrpc/get_myaddr.c: Likewise.
59569         * sunrpc/getrpcport.c: Likewise.
59570         * sunrpc/key_call.c: Likewise.
59571         * sunrpc/key_prot.c: Likewise.
59572         * sunrpc/openchild.c: Likewise.
59573         * sunrpc/pm_getmaps.c: Likewise.
59574         * sunrpc/pm_getport.c: Likewise.
59575         * sunrpc/pmap_clnt.c: Likewise.
59576         * sunrpc/pmap_prot.c: Likewise.
59577         * sunrpc/pmap_prot2.c: Likewise.
59578         * sunrpc/pmap_rmt.c: Likewise.
59579         * sunrpc/rpc/auth.h: Likewise.
59580         * sunrpc/rpc/auth_unix.h: Likewise.
59581         * sunrpc/rpc/clnt.h: Likewise.
59582         * sunrpc/rpc/des_crypt.h: Likewise.
59583         * sunrpc/rpc/key_prot.h: Likewise.
59584         * sunrpc/rpc/netdb.h: Likewise.
59585         * sunrpc/rpc/pmap_clnt.h: Likewise.
59586         * sunrpc/rpc/pmap_prot.h: Likewise.
59587         * sunrpc/rpc/pmap_rmt.h: Likewise.
59588         * sunrpc/rpc/rpc.h: Likewise.
59589         * sunrpc/rpc/rpc_des.h: Likewise.
59590         * sunrpc/rpc/rpc_msg.h: Likewise.
59591         * sunrpc/rpc/svc.h: Likewise.
59592         * sunrpc/rpc/svc_auth.h: Likewise.
59593         * sunrpc/rpc/types.h: Likewise.
59594         * sunrpc/rpc/xdr.h: Likewise.
59595         * sunrpc/rpc_clntout.c: Likewise.
59596         * sunrpc/rpc_cmsg.c: Likewise.
59597         * sunrpc/rpc_common.c: Likewise.
59598         * sunrpc/rpc_cout.c: Likewise.
59599         * sunrpc/rpc_dtable.c: Likewise.
59600         * sunrpc/rpc_hout.c: Likewise.
59601         * sunrpc/rpc_main.c: Likewise.
59602         * sunrpc/rpc_parse.c: Likewise.
59603         * sunrpc/rpc_parse.h: Likewise.
59604         * sunrpc/rpc_prot.c: Likewise.
59605         * sunrpc/rpc_sample.c: Likewise.
59606         * sunrpc/rpc_scan.c: Likewise.
59607         * sunrpc/rpc_scan.h: Likewise.
59608         * sunrpc/rpc_svcout.c: Likewise.
59609         * sunrpc/rpc_tblout.c: Likewise.
59610         * sunrpc/rpc_util.c: Likewise.
59611         * sunrpc/rpc_util.h: Likewise.
59612         * sunrpc/rpcinfo.c: Likewise.
59613         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59614         * sunrpc/rpcsvc/key_prot.x: Likewise.
59615         * sunrpc/rpcsvc/klm_prot.x: Likewise.
59616         * sunrpc/rpcsvc/mount.x: Likewise.
59617         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59618         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59619         * sunrpc/rpcsvc/rex.x: Likewise.
59620         * sunrpc/rpcsvc/rstat.x: Likewise.
59621         * sunrpc/rpcsvc/rusers.x: Likewise.
59622         * sunrpc/rpcsvc/sm_inter.x: Likewise.
59623         * sunrpc/rpcsvc/spray.x: Likewise.
59624         * sunrpc/rpcsvc/yppasswd.x: Likewise.
59625         * sunrpc/rtime.c: Likewise.
59626         * sunrpc/svc.c: Likewise.
59627         * sunrpc/svc_auth.c: Likewise.
59628         * sunrpc/svc_authux.c: Likewise.
59629         * sunrpc/svc_raw.c: Likewise.
59630         * sunrpc/svc_run.c: Likewise.
59631         * sunrpc/svc_simple.c: Likewise.
59632         * sunrpc/svc_tcp.c: Likewise.
59633         * sunrpc/svc_udp.c: Likewise.
59634         * sunrpc/svc_unix.c: Likewise.
59635         * sunrpc/svcauth_des.c: Likewise.
59636         * sunrpc/xcrypt.c: Likewise.
59637         * sunrpc/xdr.c: Likewise.
59638         * sunrpc/xdr_array.c: Likewise.
59639         * sunrpc/xdr_float.c: Likewise.
59640         * sunrpc/xdr_mem.c: Likewise.
59641         * sunrpc/xdr_rec.c: Likewise.
59642         * sunrpc/xdr_ref.c: Likewise.
59643         * sunrpc/xdr_sizeof.c: Likewise.
59644         * sunrpc/xdr_stdio.c: Likewise.
59646         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59647         handling.
59649 2010-08-19  Andreas Schwab  <schwab@redhat.com>
59651         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59653 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
59655         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59656         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59657         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59658         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59659         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59660         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59661         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59662         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59663         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59664         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59665         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59666         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59667         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59668         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59670 2010-07-26  Anton Blanchard  <anton@samba.org>
59672         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59673         * malloc/arena.c (heap_trim): Likewise.
59675 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
59677         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59678         here.  Not...
59679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59680         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59682 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
59684         * sysdeps/i386/elf/Makefile: New file.
59686 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59688         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59689         from fanotify_init.
59690         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59691         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59693 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
59695         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59696         of strncasecmp_l.
59697         * sysdeps/multiarch/strcmp.S: Likewise.
59699 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
59701         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59702         strncase_l-nonascii.
59703         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59704         Add strncase_l-ssse3.
59705         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59706         * sysdeps/x86_64/strcmp.S: Likewise.
59707         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59708         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59709         * sysdeps/x86_64/strncase.S: New file.
59710         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59711         * sysdeps/x86_64/strncase_l.S: New file.
59712         * string/Makefile (strop-tests): Add strncasecmp.
59713         * string/test-strncasecmp.c: New file.
59715         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59716         warning.
59718         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59719         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59721 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59723         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59725 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
59727         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59728         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59731 2010-05-01  Alan Modra  <amodra@gmail.com>
59733         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59734         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59735         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59736         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59737         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59738         tidying.  Don't tail-call __sigjmp_save for static lib.
59739         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59740         save location.
59741         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59742         (CALL_MCOUNT): Add eh info, and nop after bl.
59743         (TAIL_CALL_SYSCALL_ERROR): New macro.
59744         (PSEUDO_RET): Use it.
59745         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59746         Correct save location of integer regs and cr.
59747         (_dl_profile_resolve): Correct cr save location.  Delete nops
59748         after bl when SHARED.  Reduce cfi size a little by better
59749         placement of cfi directives.
59750         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59751         make a stack frame.  Instead use parm save area as a temp.
59752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59753         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
59754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59755         Don't make a stack frame for parent, use parm save area.
59756         Increase child stack frame to 112 bytes.  Don't save unused reg,
59757         and adjust reg usage.  Set up cfi on error recovery and
59758         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59760         (__makecontext): Add dummy nop after jump to exit.
59761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59762         Use correct parm save area and cr save, reduce stack frame.
59763         Correct cfi for possible PSEUDO_RET frame setup.
59764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59765         Branch to local label emitted by PSEUDO_RET rather than
59766         __syscall_error.
59768 2010-08-12  Andreas Schwab  <schwab@redhat.com>
59770         [BZ #11904]
59771         * locale/programs/locale.c (print_assignment): New function.
59772         (show_locale_vars): Use it.
59774 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
59776         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59777         field.
59778         (struct statfs64): Likewise.
59779         (_STATFS_F_FLAGS): Define.
59780         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59781         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59782         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59783         (ST_VALID): Define locally.
59784         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59785         __statvfs_getflags, use the provided value.
59786         * sysdeps/unix/sysv/linux/kernel-features.h: Define
59787         __ASSUME_STATFS_F_FLAGS.
59789         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59791         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59792         Add sys/fanotify.h.
59793         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59794         fanotify_mask for GLIBC_2.13.
59795         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59796         fanotify_init and fanotify_mark.
59797         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59798         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59800         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59801         Add prlimit.
59802         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59803         prlimit64 for GLIBC_2.13.
59804         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59805         prlimit64.
59806         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59807         syscall.
59808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59809         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59810         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59811         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59812         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
59813         add prlimit alias.
59814         * sysdeps/unix/sysv/linux/prlimit.c: New file.
59816         [BZ #11903]
59817         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59818         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59820         * nss/Makefile: Add rules to build and run tst-nss-test1.
59821         * shlib-versions: Add entry for libnss_test1.
59822         * nss/nss_test1.c: New file.
59823         * nss/tst-nss-test1.c: New file.
59825         * nss/nsswitch.c (__nss_database_custom): Define new variable.
59826         (__nss_configure_lookup): Set appropriate entry in
59827         __nss_configure_lookup to true.
59828         * nss/nsswitch.h: Define enum with indeces of databases in
59829         databases and __nss_database_custom arrays.  Declare
59830         __nss_database_custom.
59831         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59832         to avoid using nscd when custom rules are installed.
59833         * nss/getXXbyYY_r.c: Likewise.
59834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59836         * nss/nss_files/files-parse.c: Whitespace fixes.
59838 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
59840         [BZ #11883]
59841         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59842         * posix/fnmatch_loop.c: Likewise.
59844 2010-07-17  Andi Kleen  <ak@linux.intel.com>
59846         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59847         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59848         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59849         * Versions.def [GLIBC_2.13]: Add.
59851 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
59853         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59854         Also fail if tpwd after pwuid call is NULL.
59856 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59858         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59859         when converting to ms.
59861 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59863         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59864         EOPNOTSUPP errors with ENOTTY.
59865         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59866         EOPNOTSUPP errors with ENOTTY.
59868 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
59870         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59871         Add strcasecmp_l-ssse3.
59872         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59873         strcasecmp.
59874         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59875         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59876         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59878 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
59880         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59882         * string/Makefile (strop-tests): Add strcasecmp.
59883         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59884         strcasecmp_l-nonascii.
59885         (gen-as-const-headers): Add locale-defines.sym.
59886         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59887         * sysdeps/x86_64/strcasecmp.S: New file.
59888         * sysdeps/x86_64/strcasecmp_l.S: New file.
59889         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59890         * sysdeps/x86_64/locale-defines.sym: New file.
59891         * string/test-strcasecmp.c: New file.
59893         * string/test-strcasestr.c: Test both ends of the range of characters.
59894         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59896 2010-07-29  Roland McGrath  <roland@redhat.com>
59898         [BZ #11856]
59899         * manual/locale.texi (Yes-or-No Questions): Fix example code.
59901 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
59903         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59904         for ld.so.
59906 2010-07-27  Andreas Schwab  <schwab@redhat.com>
59908         * manual/memory.texi (Malloc Tunable Parameters): Document
59909         M_PERTURB.
59911 2010-07-26  Roland McGrath  <roland@redhat.com>
59913         [BZ #11840]
59914         * configure.in (-fgnu89-inline check): Set and substitute
59915         gnu89_inline, not libc_cv_gnu89_inline.
59916         * configure: Regenerated.
59917         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59919 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
59921         * string/test-strnlen.c: New file.
59922         * string/Makefile (strop-tests): Add strnlen.
59923         * string/tester.c (test_strnlen): Add a few more test cases.
59924         * string/tst-strlen.c: Better error reporting.
59926         * sysdeps/x86_64/strnlen.S: New file.
59928 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
59930         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59931         lower-latency instructions.
59933 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
59935         * string/test-strcasestr.c: New file.
59936         * string/test-strstr.c: New file.
59937         * string/Makefile (strop-tests): Add strstr and strcasestr.
59938         * string/str-two-way.h: Don't undefine MAX.
59939         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59941 2010-07-21  Andreas Schwab  <schwab@redhat.com>
59943         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59944         strcasestr-nonascii.
59945         (CFLAGS-strcasestr-nonascii.c): Define.
59946         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59947         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59948         Remove unused attribute.
59950 2010-07-20  Roland McGrath  <roland@redhat.com>
59952         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59953         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
59954         ld.so.cache was broken.  With it, there is no way to disable dsocaps
59955         like LD_HWCAP_MASK can disable hwcaps.
59957 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59959         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59961 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
59963         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59964         call in strcasestr.
59965         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59966         __strcasestr_sse42_nonascii.
59967         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59968         strcasestr-nonascii.c.
59969         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59971 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
59973         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59974         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59975         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59976         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59978 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
59980         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59981         fcntl.
59983 2010-07-06  Andreas Schwab  <schwab@redhat.com>
59985         [BZ #11577]
59986         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59987         dl_signal_cerror.
59989 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
59991         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59992         _PC_PIPE_BUF using F_GETPIPE_SZ.
59994 2010-07-05  Roland McGrath  <roland@redhat.com>
59996         * manual/arith.texi (Rounding Functions): Fix rint description
59997         implicit in round description.
59999 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60001         * elf/Makefile: Fix linking for a few tests to make recent linker
60002         happy.
60004 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60006         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60007         $(common-objpfx)libc_nonshared.a.
60009 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60011         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60012         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60013         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60014         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60015         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60016         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60017         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60018         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60033         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60034         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60035         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60036         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60037         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60038         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60039         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60040         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60041         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60042         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60043         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60044         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60060 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60062         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60063         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60064         * string/memmove.c (memmove): Renamed to ...
60065         (MEMMOVE): ...this.  Default to memmove.
60066         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60067         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60068         (END_CHK): Define.
60069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60070         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60071         mempcpy-ssse3-back memmove-ssse3-back.
60072         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60075         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60076         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60077         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60078         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60079         * sysdeps/x86_64/multiarch/memmove.c: New file.
60080         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60081         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60082         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60083         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60084         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60085         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60086         Define.
60087         (index_Fast_Copy_Backward): Define.
60088         (HAS_ARCH_FEATURE): Define.
60089         (HAS_FAST_REP_STRING): Define.
60090         (HAS_FAST_COPY_BACKWARD): Define.
60092 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60094         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60095         Restore proper fallback handling.
60097 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60099         [BZ #11701]
60100         * posix/group_member.c (__group_member): Correct checking loop.
60102         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60103         OOM in getpwuid_r correctly.  Return error number when the caller
60104         should return, otherwise -1.
60105         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60106         call returning > 0 value.
60107         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60109 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60111         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60112         libc_nonshared.a from targets in modules-names.
60114 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
60116         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60117         requires it.
60119 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
60121         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60122         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60126 2010-06-02  Andreas Schwab  <schwab@redhat.com>
60128         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60130 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
60132         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60133         and F_GETPIPE_SZ.
60134         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60135         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60136         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60137         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60138         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60139         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60141 2010-06-14  Roland McGrath  <roland@redhat.com>
60143         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60145 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
60147         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60148         __REDIRECT followed by __THROW.
60149         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60150         * posix/getopt.h (getopt): Likewise.
60152 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60154         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60155         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60156         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60157         in AT_FLAGS.
60158         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60159         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60161 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60163         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60165 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60167         [BZ #11640]
60168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60169         Properly check family and model.
60171 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60173         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60175 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60177         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60179 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60181         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60182         symbol reference.
60184 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60186         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60187         symbol reference.
60189 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60191         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60192         and internal_recvmmsg.
60193         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60194         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60195         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60196         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60198         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60199         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60200         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60202 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60204         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60206 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60208         POWER7 optimizations.
60209         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60210         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60212 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60214         * version.h: Update for 2.13 development version.
60216 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60218         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60219         exceptions.  Return 0.
60221 2010-05-07  Roland McGrath  <roland@redhat.com>
60223         * elf/ldconfig.c (main): Add a const.
60225 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
60227         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60228         (args_options): Add no-idn option.
60229         (ahosts_keys_int): Add idn_flags to ai_flags.
60230         (parse_option): Handle 'i' option to clear idn_flags.
60232         * malloc/malloc.c (_int_free): Possible race in the most recently
60233         added check.  Only act on the data if no current modification
60234         happened.
60236 See ChangeLog.17 for earlier changes.