Remove unused PREDEFINED_CLASSES code
[glibc.git] / ChangeLog
blob63dc9982b795d4b9f25b004a932f4a4b5294d01c
1 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4         * locale/programs/ld-ctype.c: Likewise.
6 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
9         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10         bit_ZMM16_31_state): New macro.
11         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
24         [BZ #18498]
25         * libio/memstream.c (open_memstream): Rename to __open_memstream
26         and define as weak alias of __open_memstream.
27         * include/stdio.h (__open_memstream): Declare.  Use
28         libc_hidden_proto.
29         (open_memstream): Don't use libc_hidden_proto.
30         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
31         open_memstream.
32         * posix/getopt.c (_getopt_internal_r): Likewise.
33         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34         variable.
35         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
39         [BZ #18496]
40         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
41         instead of wcrtomb.
43         [BZ #18483]
44         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
45         [__USE_XOPEN2K8].  Remove redundant #endif.
46         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
47         Remove redundant #if.
48         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
49         Remove variable.
50         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
51         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
53         [BZ #18495]
54         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
55         (__iswlower): Likewise.
56         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
57         (__iswlower): Likewise.
58         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
59         instead of towlower.
60         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
61         instead of iswlower.  Call __towupper instead of towupper.
62         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
63         instead of iswalnum.
65 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
68         errors to stderr.
70 2015-06-05  Florian Weimer  <fweimer@redhat.com>
72         [BZ #15661]
73         [BZ #17322]
74         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
75         Check for overflow properly.  Check for O_APPEND.  Ignore large
76         file system block sizes.  Add comments about problems.
77         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
78         * manual/filesys.texi (Storage Allocation): New node.
80 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
82         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
83         cancellable syscalls.
84         (SYS_ify): Add guard to no redefine it.
85         (INLINE_SYSCALL): Likewise.
86         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
87         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
88         SYSCALL_CANCEL instead.
89         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
90         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
91         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
92         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
93         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
94         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
95         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
96         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
97         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
98         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
99         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
100         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
101         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
102         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
103         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
104         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
105         Likewise.
106         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
107         (__libc_pread64): Likewise.
108         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
109         (__libc_preadv): Likewise.
110         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
111         (__libc_readv64): Likewise.
112         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
113         (__libc_pwrite): Likewise.
114         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
115         (__libc_pwrite64): Likewise.
116         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
117         (__libc_pwritev): Likewise.
118         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
119         (__libc_pwritev64): Likewise.
120         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
121         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
122         (sync_file_range): Likewise.
123         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
124         Likewise.
125         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
126         Likewise.
127         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
128         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
129         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
130         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
131         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
132         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
133         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
134         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
136         Likewise.
137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
138         (__libc_read64): Likewise.
139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
140         Likewise.
141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
142         Likewise.
143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
144         Likewise.
145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
146         Likewise.
147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
148         (__libc_pread64): Likewise.
149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
150         Likewise.
151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
152         (__libc_pwrite64): Likewise.
153         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
154         (sync_file_range): Likewise.
155         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
156         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
157         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
158         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
159         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
160         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
161         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
162         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
163         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
164         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
165         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
166         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
167         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
168         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
169         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
170         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
171         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
172         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
173         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
174         Likewise.
175         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
176         Likewise.
177         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
178         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
179         Likewise.
180         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
181         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
182         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
183         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
184         Likewise.
185         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
186         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
187         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
188         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
189         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
191 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
193         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
194         Include dl-vdso.
195         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
196         Use VDSO routines for gettimeofday, clock_gettime if
197         available.
198         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
199         Declare VDSO symbols.
200         * sysdeps/unix/sysv/linux/arm/sysdep.h:
201         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
202         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
203         * sysdeps/unix/sysv/linux/arm/Versions: Add
204         __vdso_clock_gettime.
206 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
208         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
209         be an inline implementation regardless of library is built within.
210         (open_not_cancel_2): Likewise.
211         (__read_nocancel): Likewise.
212         (__write_nocancel): Likewise.
213         (openat_not_cancel): Likewise.
214         (openat_not_cancel_3): Likewise.
215         (openat64_not_cancel): Likewise.
216         (openat64_not_cancel_3): Likewise.
217         (__close_nocancel): Likewise.
218         (pause_not_cancel): Likewise.
219         (nanosleep_not_cancel): Likewise.
220         (sigsuspend_not_cancel): Likewise.
222 2015-06-04  Torvald Riegel  <triegel@redhat.com>
224         [BZ #14958]
225         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
226         wake-up.
227         (__pthread_rwlock_rdlock_slow): Likewise.
228         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
229         Likewise.
230         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
231         Likewise.
232         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
233         * nptl/tst-rwlock16.c: New file.
234         * nptl/Makefile (tests): Add new test.
236 2015-06-04  Torvald Riegel  <triegel@redhat.com>
238         [BZ #18324]
239         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
240         missing wake-up of readers.
241         * nptl/tst-rwlock15.c: New file.
242         * nptl/Makefile (tests): Add new test.
244 2015-06-03  Roland McGrath  <roland@hack.frob.com>
246         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
247         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
248         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
249         and __nacl_supply_interface_rtld.
250         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
251         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
252         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
253         Add __nacl_supply_interface_rtld.
254         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
256 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
258         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
259         isfinite.
260         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
261         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
263 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
265         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
266         __signbit* with standard C99 macros.
267         * math/e_exp10l.c: Likewise.
268         * math/e_exp2l.c: Likewise.
269         * math/e_scalb.c: Likewise.
270         * math/e_scalbf.c: Likewise.
271         * math/e_scalbl.c: Likewise.
272         * math/s_ldexp.c: Likewise.
273         * math/s_ldexpf.c: Likewise.
274         * math/s_ldexpl.c: Likewise.
275         * math/w_atan2.c: Likewise.
276         * math/w_atan2f.c: Likewise.
277         * math/w_atan2l.c: Likewise.
278         * math/w_cosh.c: Likewise.
279         * math/w_coshf.c: Likewise.
280         * math/w_coshl.c: Likewise.
281         * math/w_exp10.c: Likewise.
282         * math/w_exp10f.c: Likewise.
283         * math/w_exp10l.c: Likewise.
284         * math/w_exp2.c: Likewise.
285         * math/w_exp2f.c: Likewise.
286         * math/w_exp2l.c: Likewise.
287         * math/w_fmod.c: Likewise.
288         * math/w_fmodf.c: Likewise.
289         * math/w_fmodl.c: Likewise.
290         * math/w_hypot.c: Likewise.
291         * math/w_hypotf.c: Likewise.
292         * math/w_hypotl.c: Likewise.
293         * math/w_jnl.c: Likewise.
294         * math/w_lgamma.c: Likewise.
295         * math/w_lgamma_r.c: Likewise.
296         * math/w_lgammaf.c: Likewise.
297         * math/w_lgammaf_r.c: Likewise.
298         * math/w_lgammal.c: Likewise.
299         * math/w_lgammal_r.c: Likewise.
300         * math/w_pow.c: Likewise.
301         * math/w_powf.c: Likewise.
302         * math/w_powl.c: Likewise.
303         * math/w_remainder.c: Likewise.
304         * math/w_remainderf.c: Likewise.
305         * math/w_remainderl.c: Likewise.
306         * math/w_scalb.c: Likewise.
307         * math/w_scalbf.c: Likewise.
308         * math/w_scalbl.c: Likewise.
309         * math/w_scalbln.c: Likewise.
310         * math/w_scalblnf.c: Likewise.
311         * math/w_scalblnl.c: Likewise.
312         * math/w_sinh.c: Likewise.
313         * math/w_sinhf.c: Likewise.
314         * math/w_sinhl.c: Likewise.
315         * math/w_tgamma.c: Likewise.
316         * math/w_tgammaf.c: Likewise.
317         * math/w_tgammal.c: Likewise.
318         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
319         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
320         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
321         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
322         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
323         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
324         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
325         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
326         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
327         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
328         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
329         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
330         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
331         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
332         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
333         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
334         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
335         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
336         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
337         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
338         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
339         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
340         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
341         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
342         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
343         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
344         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
345         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
346         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
347         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
348         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
349         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
350         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
351         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
352         * stdio-common/printf_fp.c: Likewise.
353         * stdio-common/printf_fphex.c: Likewise.
354         * stdio-common/printf_size.c: Likewise.
356 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
358         [BZ #18470]
359         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
360         strnlen.
361         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
362         Remove variable.
363         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
364         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
365         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
366         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
367         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
368         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
369         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
370         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
371         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
372         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
374         [BZ #18468]
375         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
376         weak alias of __wmemchr.  Use libc_hidden_weak.
377         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
378         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
379         instead of wmemchr.
381 2015-06-02  Roland McGrath  <roland@hack.frob.com>
383         [BZ #18383]
384         * elf/tst-tlsalign-extern.c: New file.
385         * elf/tst-tlsalign-extern-static.c: New file.
386         * elf/tst-tlsalign-vars.c: New file.
387         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
388         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
389         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
390         ($(objpfx)tst-tlsalign-extern-static): Likewise.
391         (test-xfail-tst-tlsalign-extern-static): New variable.
393 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
395         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
396         Use variable name _sc_err instead of err.
397         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
398         instead of ret.
399         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
400         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
401         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
402         (INLINE_SYSCALL): Likewise.
404         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
405         * include/string.h (__strnlen): Use libc_hidden_proto.
406         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
407         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
408         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
409         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
410         (libc_hidden_def): Undefine and redefine.
411         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
412         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
413         __GI_strnlen.
414         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
415         libc_hidden_def.
416         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
418         [BZ #18469]
419         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
420         weak alias of __towlower.  Use libc_hidden_weak.
421         (towupper): Rename to __towupper and define as weak alias of
422         __towupper.  Use libc_hidden_weak.
423         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
424         (__towupper): Likewise.
425         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
426         __towlower instead of towlower.
428 2015-06-02  Roland McGrath  <roland@hack.frob.com>
430         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
431         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
433 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
435         * sysdeps/aarch64/libm-test-ulps: Update.
437 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
439         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
440         Define.
441         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
443         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
444         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
445         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
446         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
447         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
449 2015-06-01  Martin Sebor  <msebor@redhat.com>
451         [BZ #18116]
452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
453         (__setcontext): Use extended four-operand version of mtsf whenever
454         possible.
455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
456         (__novec_swapcontext): Likewise.
458 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
460         * benchtests/scripts/compare_bench.py: New file.
461         * benchtests/scripts/import_bench.py (mean): New function.
462         (split_list): Likewise.
463         (do_for_all_timings): Likewise.
464         (compress_timings): Likewise.
466         * benchtests/scripts/import_bench.py: New file.
467         * benchtests/scripts/validate_benchout.py: Import import_bench
468         instead of jsonschema.
469         (validate_bench): Remove function.
470         (main): Use import_bench.
472 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
474         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
475         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
477 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
481 2015-05-28  Roland McGrath  <roland@hack.frob.com>
483         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
484         set THREAD_SELF->tid to a magic value and futex-wake it.
485         Pass its address to the thread_exit system call.
486         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
487         bit is clear.
488         * sysdeps/nacl/lowlevellock.h: New file.
489         * sysdeps/nacl/lll_timedwait_tid.c: New file.
491         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
492         Add TIMEOUT to current time, don't subtract it.
494 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
496         [BZ #18422]
497         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
498         ($(objpfx)tst-audit2.out): Also depend on
499         $(objpfx)tst-auditmod9b.so.
500         * elf/tst-audit2.c: Include <dlfcn.h>.
501         (calloc_called): New.
502         (calloc): Allow to be called more than once.
503         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
505 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
507         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
508         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
510 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
512         * stdlib/monetary.h: Fix comment.
514 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
516         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
517         Avoid using variables in #defines that might cause shadowing.
518         (INTERNAL_VSYSCALL_CALL): Likewise.
520 2015-05-26  Roland McGrath  <roland@hack.frob.com>
522         * sysdeps/nacl/lll_timedlock_wait.c: New file.
524         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
525         * nptl/lll_timedlock_wait.c: ... to this new file.
526         * nptl/Makefile (libpthread-routines): Add it.
527         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
528         * nptl/lll_timedwait_tid.c: ... to this new file.
529         * nptl/Makefile (libpthread-routines): Add it.
530         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
531         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
532         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
533         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
534         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
535         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
536         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
537         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
538         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
539         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
541 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
543         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
544         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
545         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
546         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
547         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
548         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
549         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
550         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
551         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
552         * sysdeps/unix/sysv/linux/tile/sysdep.h
553         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
554         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
555         using vDSO syscall macro.
557 2015-05-26  Andriy Rysin  <arysin@gmail.com>
559         [BZ #17293]
560         * uk_UA: Fix sorting order for Ukrainian locale
562 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
564         * stdlib/monetary.h: Fix comment.
566 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
568         [BZ #18234]
569         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
570         st_mtim and st_ctim members.
571         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
572         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
573         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
574         (struct stat64): Likewise.
575         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
576         (struct stat64): Likewise.
577         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
578         (struct stat64): Likewise.
580 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
582         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
583         Define and include sysdep-vdso.h.
584         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
585         Likewise.
586         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
587         Likewise.
588         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
589         Define with VDSO_SYMBOL and use PTR_MANGLE.
590         (__vdso_clock_gettime): Likewise.
591         (__vdso_clock_getres): Likewise.
592         (_libc_vdso_platform_setup): Likewise.
593         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
594         Likewise.
595         (_libc_vdso_platform_setup): Likewise.
596         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
597         Likewise.
598         (__vdso_clock_gettime): Likewise.
599         (__vdso_clock_getres): Likewise.
600         (__vdso_get_tbfreq): Likewise.
601         (__vdso_getcpu): Likewise.
602         (__vdso_time): Likewise.
603         (__vdso_sigtramp_rt64): Likewise.
604         (__vdso_signtramp32): Likewise.
605         (__vdso_sigtramp_rt32): Likewise.
606         (_libc_vdso_platform_setup): Likewise.
607         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
608         Likewise.
609         (__vdso_clock_gettime): Likewise.
610         (__vdso_clock_getres): Likewise.
611         (_libc_vdso_platform_setup): Likewise.
612         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
613         Likewise.
614         (__vdso_clock_gettime): Likewise.
615         (_libc_vdso_platform_setup): Likewise.
616         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
617         Likewise.
618         (__vdso_getcpu): Likewise.
619         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
620         Use VDSO_SYMBOL macro to define.
621         (__vdso_clock_gettime): Likewise.
622         (__vdso_clock_getres): Likewise.
623         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
624         Likewise.
625         (__vdso_clock_gettime): Likewise.
626         (__vdso_clock_getres): Likewise.
627         (__vdso_get_tbfreq): Likewise.
628         (__vdso_getcpu): Likewise.
629         (__vdso_time): Likewise.
630         (__vdso_sigtramp_rt64): Likewise.
631         (__vdso_signtramp32): Likewise.
632         (__vdso_sigtramp_rt32): Likewise.
633         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
634         Likewise.
635         (__vdso_clock_gettime): Likewise.
636         (__vdso_clock_getres): Likewise.
637         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
638         Likewise.
639         (__vdso_clock_gettime): Likewise.
640         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
641         Likewise.
642         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
643         macro.
644         (INTERNAL_VSYSCALL): Likewise.
645         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
646         Remove macro.
647         (INTERNAL_VSYSCALL): Likewise.
648         (INTERNAL_VSYSCALL_NCS): Likewise.
649         (INTERNAL_VSYSCALL_CALL): New macro.
650         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
652         Likewise.
653         (INTERNAL_VSYSCALL): Likewise.
654         (INTERNAL_VSYSCALL_NCS): Likewise.
655         (INTERNAL_VSYSCALL_CALL): New macro.
656         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
658         (INLINE_VSYSCALL): Remove macro.
659         (INTERNAL_VSYSCALL): Remove macro.
660         (INTERNAL_VSYSCALL_NCS): Remove macro.
661         (INTERNAL_VSYSCALL_CALL): New macro.
662         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
663         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
664         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
665         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
666         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
668         (INLINE_VSYSCALL): Remove macro.
669         (INTERNAL_VSYSCALL): Likewise.
670         (INTERNAL_VSYSCALL_NCS): Likewise.
671         (INTERNAL_VSYSCALL_CALL): New macro.
672         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
673         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
674         PTR_DEMANGLE on vDSO pointer.
675         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
676         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
677         macro.
678         (INTERNAL_SYSCALL): Likewise.
679         (INTERNAL_VSYSCALL_NCS): Remove macro.
680         (INTERNAL_VSYSCALL_CALL): New macro.
681         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
682         Remove macro.
683         (INTERNAL_VSYSCALL): Likewise.
684         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
685         sysdep-vdso.h instead of libc-vdso.h.
686         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
687         definition.
688         (INLINE_VSYSCALL): Likewise.
689         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
690         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
691         definition.
692         (INLINE_VSYSCALL): Likewise.
693         (INTERNAL_VSYSCALL): Likewise.
694         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
695         * sysdeps/unix/sysv/linux/timespec_get.c
696         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
697         (timespec_get): Use ANSI prototype.
698         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
699         and definition for Linux.
701 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
703         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
704         * include/libc-symbols.h: libmvec_hidden_* macro series added.
706 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
708         [BZ #18410]
709         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
710         for missing DT_PLTRELSZ.
712 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
714         Remove obsolete aliases that broke 'locale -a'
715         [BZ #18412]
716         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
717         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
718         breaking some applications that use 'locale -a' output.
719         Change the encoding of this file from Latin-1 to ASCII to avoid
720         other potential problems with people grepping this file.
722 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
724         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
725         -fasynchronous-unwind-tables.
726         (CFLAGS-sendto.c): Likewise.
727         (CFLAGS-sendmsg.c): Likewise.
728         (CFLAGS-connect.c): Likewise.
729         (CFLAGS-recvmsg.c): Likewise.
730         (CFLAGS-recvfrom.c): Likewise.
731         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
732         (SOCKETCALL): New macro: non-cancellable socketcall.
733         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
734         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
735         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
736         * sysdeps/unix/sysv/linux/accept.c: New file.
737         * sysdeps/unix/sysv/linux/bind.c: Likewise.
738         * sysdeps/unix/sysv/linux/connect.c: Likewise.
739         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
740         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
741         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
742         * sysdeps/unix/sysv/linux/listen.c: Likewise.
743         * sysdeps/unix/sysv/linux/recv.c: Likewise.
744         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
745         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
746         * sysdeps/unix/sysv/linux/send.c: Likewise.
747         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
748         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
749         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
750         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
751         * sysdeps/unix/sysv/linux/socket.c: Likewise.
752         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
753         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
754         prototype.
755         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
756         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
757         instead of __internal_xxx function.
758         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
759         prototype.
760         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
761         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
762         instead of __internal_xxx function.
763         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
764         prototype.
765         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
766         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
767         instead of __internal_xxx function.
768         * sysdeps/unix/sysv/linux/accept.S: Remove file.
769         * sysdeps/unix/sysv/linux/bind.S: Likewise.
770         * sysdeps/unix/sysv/linux/connect.S: Likewise.
771         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
772         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
773         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
774         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
775         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
776         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
777         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
778         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
779         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
780         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
781         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
782         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
783         * sysdeps/unix/sysv/linux/listen.S: Likewise.
784         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
785         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
786         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
787         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
790         * sysdeps/unix/sysv/linux/recv.S: Likewise.
791         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
792         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
793         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
794         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
795         * sysdeps/unix/sysv/linux/send.S: Likewise.
796         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
797         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
798         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
799         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
800         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
801         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
802         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
803         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
804         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
805         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
806         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
807         socketcall is implemented in GLIBC.
809 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
811         * soft-fp/fmadf4.c: Include <libc-internal.h>.
812         (__fma): Ignore uninitialized warnings around packing.
813         * soft-fp/fmasf4.c: Include <libc-internal.h>.
814         (__fmaf): Ignore uninitialized warnings around packing.
815         * soft-fp/fmatf4.c: Include <libc-internal.h>.
816         (__fmal): Ignore uninitialized warnings around packing.
818         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
819         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
820         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
821         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
823         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
824         switch statement into default case.
825         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
827         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
828         a conditional in forcing "inexact".
829         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
830         Likewise.
832 2015-05-22  Roland McGrath  <roland@hack.frob.com>
834         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
835         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
836         for each INTERNAL_SYSCALL use.
838 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
840         [BZ #438]
841         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
842         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
843         variable.
845         [BZ #18444]
846         * string/basename.c (basename): Rename to __basename and define as
847         weak alias of __basename.  Use libc_hidden_weak.
848         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
849         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
850         __basename instead of basename.
851         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
852         Remove variable.
853         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
855 2015-05-18  Florian Weimer  <fweimer@redhat.com>
857         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
858         (_IO_JUMPS_FILE_plus): New.
859         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
860         _IO_CAST_FIELD_ACCESS.
861         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
862         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
863         * libio/freopen.c (freopen): Likewise.
864         * libio/freopen64.c (freopen64): Likewise.
865         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
866         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
867         * libio/iofwide.c (_IO_fwide): Likewise.
868         * libio/memstream.c (open_memstream): Likewise.
869         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
870         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
871         * libio/oldiopopen.c (_IO_old_popen): Likewise.
873 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
875         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
876         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
877         NADJ.
878         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
879         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
880         NADJ.
881         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
882         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
883         NADJ.
885         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
886         (p == 4) case.
888         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
889         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
890         Remove variable.
891         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
892         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
893         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
895 2015-05-21  Florian Weimer  <fweimer@redhat.com>
897         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
898         Adjust jump table label generation macros.
900 2015-05-21  Florian Weimer  <fweimer@redhat.com>
902         * stdio-common/vfprintf.c (vfprintf): Move local variables
903         args_malloced, specs, specs_malloced, and the code after
904         do_positional to the printf_positional function.
905         (printf_positional): New function.
907 2015-05-21  Florian Weimer  <fweimer@redhat.com>
909         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
910         function.
911         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
912         STEP4_TABLE, process_arg): Move macro definitions
913         out of the vfprintf function.  (Cosmetic change only.)
915 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
917         * benchtests/Makefile (stdio-common-bench): Define.
918         (benchset): Add stdio-common-bench.
919         * sprintf-inputs: New file.
920         * sprintf-source.c: New file.
922 2015-05-21  Andreas Schwab  <schwab@suse.de>
924         [BZ #13028]
925         [BZ #17053]
926         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
927         of struct __res_state.
928         * resolv/res_send.c (__libc_res_nsend): Likewise.
929         (get_nsaddr): New function.
930         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
931         statp directly.
933 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
935         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
936         -D_POSIX_C_SOURCE=199506L.
938         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
940         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
941         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
942         Do not mention otherwise.
943         [POSIX] (_XOPEN_VERSION): Do not expect.
944         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
945         [POSIX] (_POSIX2_C_BIND): Likewise.
946         [POSIX] (_POSIX2_VERSION): Likewise.
947         [POSIX] (_XOPEN_XPG2): Likewise.
948         [POSIX] (_XOPEN_XPG3): Likewise.
949         [POSIX] (_XOPEN_XPG4): Likewise.
950         [POSIX] (_XOPEN_UNIX): Likewise.
951         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
952         [POSIX] (_POSIX_BARRIERS): Likewise.
953         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
954         [POSIX] (_POSIX_CPUTIME): Likewise.
955         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
956         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
957         [POSIX] (_POSIX_SHELL): Likewise.
958         [POSIX] (_POSIX_SPAWN): Likewise.
959         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
960         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
961         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
962         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
963         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
964         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
965         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
966         [POSIX] (_XBS5_LP64_OFF64): Likewise.
967         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
968         [POSIX] (_POSIX_TIMEOUTS): Likewise.
969         [POSIX] (_POSIX2_PBS): Likewise.
970         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
971         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
972         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
973         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
974         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
975         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
976         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
977         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
978         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
979         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
980         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
981         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
982         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
983         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
984         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
985         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
986         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
987         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
988         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
989         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
990         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
991         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
992         [POSIX] (_SC_2_C_BIND): Likewise.
993         [POSIX] (_SC_2_C_VERSION): Likewise.
994         [POSIX] (_SC_2_PBS): Likewise.
995         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
996         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
997         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
998         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
999         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1000         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1001         [POSIX] (_SC_BARRIERS): Likewise.
1002         [POSIX] (_SC_BASE): Likewise.
1003         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1004         [POSIX] (_SC_DEVICE_IO): Likewise.
1005         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1006         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1007         [POSIX] (_SC_FD_MGMT): Likewise.
1008         [POSIX] (_SC_FIFO): Likewise.
1009         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1010         [POSIX] (_SC_FILE_LOCKING): Likewise.
1011         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1012         [POSIX] (_SC_IOV_MAX): Likewise.
1013         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1014         [POSIX] (_SC_NETWORKING): Likewise.
1015         [POSIX] (_SC_PAGE_SIZE): Likewise.
1016         [POSIX] (_SC_PASS_MAX): Likewise.
1017         [POSIX] (_SC_PIPE): Likewise.
1018         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1019         [POSIX] (_SC_REGEXP): Likewise.
1020         [POSIX] (_SC_SHELL): Likewise.
1021         [POSIX] (_SC_SIGNALS): Likewise.
1022         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1023         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1024         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1025         [POSIX] (_SC_USER_GROUPS): Likewise.
1026         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1027         [POSIX] (_SC_STREAMS): Likewise.
1028         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1029         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1030         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1031         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1032         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1033         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1034         [POSIX] (_PC_FILESIZEBITS): Likewise.
1035         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1036         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1037         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1038         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1039         [POSIX] (uid_t): Likewise.
1040         [POSIX] (gid_t): Likewise.
1041         [POSIX] (off_t): Likewise.
1042         [POSIX] (pid_t): Likewise.
1043         [POSIX] (cuserid): Allow.
1044         (_SC_2_CHAR_TERM): Require constant.
1045         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1046         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1047         variable.
1049 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1051         * sysdeps/nacl/pthread-pids.h: New file.
1052         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1053         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1055         * nptl/pthread-pids.h: New file.
1056         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1057         * nptl/nptl-init.c: Include <pthread-pids.h>.
1058         (__pthread_initialize_minimal_internal):
1059         Call __pthread_initialize_pids instead of set_tid_address syscall.
1061         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1062         * sysdeps/posix/usleep.c: ... here.
1064 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1066         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1067         call_pselect6 object.
1068         [$(subdir) = io]: Remove call_sync_file_range object.
1069         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1070         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1071         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1072         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1074 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
1076         * math/s_cproj.c: Add include "math_private.h".
1077         * math/s_cprojf.c: Likewise.
1078         * math/s_cprojl.c: Likewise.
1080 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
1082         [BZ #18244]
1083         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1084         high mantissa bit when testing whether P is a NaN.
1085         * math/libm-test.inc (remainder_test_data): Add more tests.
1086         (remquo_test_data): Likewise.
1088         [BZ #18049]
1089         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1090         below -32, return the argument, with underflow if subnormal.
1091         * math/auto-libm-test-in: Add more tests of atanh.
1092         * math/auto-libm-test-out: Regenerated.
1094 2015-05-19  Roland McGrath  <roland@hack.frob.com>
1096         [BZ #18434]
1097         * nptl/tst-sem15.c: New file.
1098         * nptl/Makefile (tests): Add it.
1099         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1100         s/<</>>/ to fix typo in EOVERFLOW check.
1101         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1103 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1105         * manual/strings.texi (envz_remove): Fix typo in safety
1106         annotations.
1108 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1109             Steve Ellcey  <sellcey@imgtec.com>
1111         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1112         in order to avoid strict alias warnings.
1113         (iruserok_af): Ditto for ra.
1115 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
1117         [BZ #17581]
1118         * malloc/hooks.c
1119         (magicbyte): Convert to a function and avoid returning 0x01.
1120         (mem2mem_check): Avoid using a length byte equal to the magic byte.
1121         (mem2chunk_check): Fix unsigned comparisons to zero.
1122         Hoist defs of sz and magic.
1124 2015-05-19  Richard Henderson  <rth@redhat.com>
1126         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1128         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1130 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1132         [BZ #16159]
1133         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1134         * malloc/arena.c (arena_lock): Check if arena is corrupt.
1135         (reused_arena): Find a non-corrupt arena.
1136         (heap_trim): Pass arena to unlink.
1137         * malloc/hooks.c (malloc_check_get_size): Pass arena to
1138         malloc_printerr.
1139         (top_check): Likewise.
1140         (free_check): Likewise.
1141         (realloc_check): Likewise.
1142         * malloc/malloc.c (malloc_printerr): Add arena argument.
1143         (unlink): Likewise.
1144         (munmap_chunk): Adjust.
1145         (ARENA_CORRUPTION_BIT): New macro.
1146         (arena_is_corrupt): Likewise.
1147         (set_arena_corrupt): Likewise.
1148         (sysmalloc): Use mmap if there are no usable arenas.
1149         (_int_malloc): Likewise.
1150         (__libc_malloc): Don't fail if arena_get returns NULL.
1151         (_mid_memalign): Likewise.
1152         (__libc_calloc): Likewise.
1153         (__libc_realloc): Adjust for additional argument to
1154         malloc_printerr.
1155         (_int_free): Likewise.
1156         (malloc_consolidate): Likewise.
1157         (_int_realloc): Likewise.
1158         (_int_memalign): Don't touch corrupt arenas.
1159         * malloc/tst-malloc-backtrace.c: New test case.
1161         * Makefile (summarize-tests): Fix return value on success.
1163         * manual/string.texi (Envz Functions): Add envz_remove.
1165 2015-05-18  Roland McGrath  <roland@hack.frob.com>
1167         * sysdeps/posix/opendir.c: Include <stdbool.h>.
1168         (invalid_name): New function, broken out of ...
1169         (__opendirat): ... here.  Call it.
1170         (need_isdir_precheck): New function, broken out of ...
1171         (__opendirat): ... here.  Call it.
1172         Use __fxstatat64, not __xstatat64.
1173         (opendir_oflags): New function, broken out of ...
1174         (__opendirat): ... here.  Call it.
1175         (opendir_tail): New function, broken out of ...
1176         (__opendirat): ... here.  Call it.
1177         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1178         opendir_tail, rather than punting to __opendirat.
1179         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1181 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1183         * .gitignore: Ignore generated *.pyc.
1185 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
1187         * include/stdio.h: Define __need_wint_t.
1188         * test-skeleton.c: Avoid `for' loop initial declaration.
1189         * nptl/tst-initializers1.c: Use test-skeleton.c.
1191 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1193         [BZ #18418]
1194         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1196 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1198         [BZ #16352]
1199         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1200         (__ieee754_atanh): Force underflow exception for results with
1201         small absolute value.
1202         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1203         (__ieee754_atanhf): Force underflow exception for results with
1204         small absolute value.
1205         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1206         (__ieee754_atanh): Force underflow exception for results with
1207         small absolute value.
1208         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1209         (__ieee754_atanhf): Force underflow exception for results with
1210         small absolute value.
1211         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1212         (__ieee754_atanhl): Force underflow exception for results with
1213         small absolute value.
1214         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1215         (__ieee754_atanhl): Force underflow exception for results with
1216         small absolute value.
1217         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1218         (__ieee754_atanhl): Force underflow exception for results with
1219         small absolute value.
1220         * math/auto-libm-test-in: Do not allow missing underflow
1221         exceptions from atanh.
1222         * math/auto-libm-test-out: Regenerated.
1224         [BZ #18221]
1225         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1226         2**-28 as threshold for returning x or +/- 1/x.
1227         * math/auto-libm-test-in: Add more tests of tan.
1228         * math/auto-libm-test-out: Regenerated.
1230         [BZ #18220]
1231         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1232         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1233         * math/auto-libm-test-in: Add another test of lgamma.
1234         * math/auto-libm-test-out: Regenerated.
1236 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
1238         * stdio-common/printf_fp.c (___printf_fp): Use abs.
1239         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
1240         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1241         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1242         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
1243         (ADD2A): Use fabs.  (SUB2A): Use fabs.
1244         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1245         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1246         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1247         (log1): Use fabs.  (my_log2): Use fabs.
1248         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1249         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1250         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1251         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1252         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1253         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
1254         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
1255         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
1256         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
1257         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1258         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1260 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1262         [BZ #18217]
1263         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1264         as threshold for returning 1 - x.
1265         * math/auto-libm-test-in: Add more tests of erfc.
1266         * math/auto-libm-test-out: Regenerated.
1268 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
1270         [BZ #18196]
1271         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1272         threshold for large arguments.
1273         * math/auto-libm-test-in: Add another test of atan.
1274         * math/auto-libm-test-out: Regenerated.
1276         [BZ #16339]
1277         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1278         (__log1p): Force underflow exception for results with small
1279         absolute value.
1280         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1281         (__log1pf): Force underflow exception for results with small
1282         absolute value.
1283         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1284         (__log1p): Force underflow exception for results with small
1285         absolute value.
1286         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1287         (__log1pf): Force underflow exception for results with small
1288         absolute value.
1289         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1290         (__log1pl): Force underflow exception for results with small
1291         absolute value.
1292         * math/auto-libm-test-in: Do not allow missing underflow
1293         exceptions from log1p.
1294         * math/auto-libm-test-out: Regenerated.
1296 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
1297             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1299         [BZ #16704]
1300         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1302 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
1304         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1305         (libmvec): New variable.
1306         * configure.ac: Added option for mathvec build.
1307         * configure: Regenerated.
1308         * mathvec/Depend: New file.
1309         * mathvec/Makefile: New file.
1310         * shlib-versions: Added libmvec.
1311         * math/Makefile: Added rule for libm.so installation.
1313         * bits/math-vector.h: New file.
1314         * bits/libm-simd-decl-stubs.h: New header.
1315         * math/Makefile (headers): Added new header
1316         libm-simd-decl-stubs.h.
1317         * math/math.h (__MATHCALL_VEC): New macro.
1319         * math/gen-libm-have-vector-test.sh: Script generates series of macros
1320         for conditions in testing functions.
1321         * math/Makefile: Added call of libm-have-vector-test.sh.
1322         * math/libm-test.inc (HAVE_VECTOR): New macros.
1324         * math/libm-test.inc: START refactored.
1325         * math/test-double.c (TEST_MATHVEC): Add define.
1326         * math/test-float.c: Likewise.
1327         * math/test-idouble.c: Likewise.
1328         * math/test-ifloat.c: Likewise.
1329         * math/test-ildoubl.c: Likewise.
1330         * math/test-ldouble.c: Likewise.
1331         * sysdeps/generic/math-tests-arch.h
1332         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1333         architecture check.
1335         * math/test-double.c (FUNC_TEST): New macro.
1336         * math/test-float.c: Likewise.
1337         * math/test-idouble.c: Likewise.
1338         * math/test-ifloat.c: Likewise.
1339         * math/test-ildoubl.c: Likewise.
1340         * math/test-ldouble.c: Likewise.
1341         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1343 2015-05-13  Roland McGrath  <roland@hack.frob.com>
1345         * sysdeps/nacl/fdopendir.c: New file.
1347         * dirent/scandir-tail.c: New file.
1348         * dirent/scandir64-tail.c: New file.
1349         * dirent/Makefile (routines): Add them.
1350         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1351         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1352         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1353         [!SCANDIR] (SCANDIR_TAIL): New macro.
1354         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1355         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1356         (SCANDIRAT): Macro removed.
1357         (SCANDIR_TAIL): New macro.
1358         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1359         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1360         (SCANDIRAT): Just call __opendirat and __scandir_tail.
1361         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1362         (READDIR): Macro removed.
1363         (SCANDIR_TAIL): New macro.
1364         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1365         (SCANDIR_TAIL): New macro.
1367         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1368         * dirent/scandir-cancel.c: ... to this new file.
1369         * dirent/Makefile (routines): Add it.
1370         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1371         * sysdeps/unix/sysv/linux/i386/scandir64.c
1372         (SKIP_SCANDIR_CANCEL): Macro removed.
1373         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1375         * dirent/tst-scandir.c: New file.
1376         * dirent/tst-scandir64.c: New file.
1377         * dirent/Makefile (tests): Add them.
1379 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1381         [BZ #18409]
1382         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1384 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1386         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1387         list.
1389 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
1391         * benchtests/bench-strcoll.c: New benchmark.
1392         * benchtests/Makefile: Generate locales and run benchmark.
1393         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1394         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1395         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1396         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1397         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1398         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1399         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1400         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1401         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1402         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1403         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1404         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1405         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1406         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1407         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1408         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1409         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1410         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1411         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1412         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1413         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1414         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1415         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1416         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1418 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
1420         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1421         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1423 2015-05-12  Roland McGrath  <roland@hack.frob.com>
1425         * posix/uname-values.h: New file.
1426         * posix/uname.c: Include that instead of <config-name.h>.
1427         * sysdeps/nacl/uname-values.h: New file.
1428         * sysdeps/arm/nacl/uname-values.h: New file.
1430 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
1432         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1433         splitting into fields.
1435 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
1437         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1438         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1439         * locale/localeinfo.h: Add enum collation_encoding_type.
1440         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1441         * programs/ld-collate.c (collate_output): Add encoding type info.
1442         * string/strcoll_l.c (STRDIFF): New function.
1443         * (STRCOLL): Use STRDIFF to skip over equal prefix.
1444         * wcsmbs/wcscoll_l.c: Define STRDIFF.
1446 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
1448         [BZ #18397]
1449         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1450         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
1451         <fpu_control.h> instead of <math/fpu_control.c>.
1452         * sysdeps/mips/mips32/fpu/Makefile: New file.
1454 2015-05-11  Andreas Schwab  <schwab@suse.de>
1456         [BZ #18007]
1457         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1458         nss_endgrent.
1459         (_nss_compat_endgrent): Call nss_endgrent.
1460         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1461         nss_endpwent.
1462         (_nss_compat_endpwent): Call nss_endpwent.
1463         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1464         needent, call nss_setspent only if non-zero.
1465         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1466         (internal_endspent): Don't call nss_endspent.
1467         (_nss_compat_endspent): Call nss_endspent.
1468         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1469         Remove.  All uses removed.
1470         (internal_setent): Remove parameter stayopen, add parameter
1471         stream.  Use it instead of global variable.
1472         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1473         (internal_endent, internal_getent): Add parameter stream.  Use it
1474         instead of global variable.
1475         (CONCAT(_nss_files_end,ENTNAME))
1476         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1477         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
1478         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
1479         uses removed.
1480         (internal_setent, internal_endent): Add parameter stream.  Use it
1481         instead of global variable.
1482         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1483         stream.
1484         (get_next_alias): Add parameter stream.
1485         (_nss_files_getaliasent_r): Pass global stream.
1486         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
1487         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1488         (_nss_files_gethostbyname4_r): Pass local stream to
1489         internal_setent, internal_getent and internal_endent.  Remove
1490         locking.
1492 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1494         * tst-strfmon1.c (tests): Update expected currency symbol.
1496 2015-05-08  Roland McGrath  <roland@hack.frob.com>
1498         * sysdeps/nacl/gethostname.c: New file.
1500 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
1502         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1503         and sinh.
1504         * math/auto-libm-test-out: Regenerated.
1505         * sysdeps/i386/fpu/libm-test-ulps: Update.
1506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1508 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
1510         [BZ #18125]
1511         * stdlib/tst-setcontext3.c: New file.
1512         * stdlib/tst-setcontext3.sh: New file.
1513         * stdlib/Makefile (tests): Add tst-setcontext3.
1514         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1515         to verify test program created output file.
1516         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1517         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1518         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1519         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1521 2015-05-06  Roland McGrath  <roland@hack.frob.com>
1523         [BZ #18383]
1524         * elf/tst-tlsalign.c: New file.
1525         * elf/tst-tlsalign-static.c: New file.
1526         * elf/tst-tlsalign-lib.c: New file.
1527         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1528         (tests-static): Add tst-tlsalign-static.
1529         (modules-names): Add tst-tlsalign-lib.
1530         (test-xfail-tst-tlsalign): New variable.
1531         (test-xfail-tst-tlsalign-static): New variable.
1533         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1534         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1536 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
1538         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1539         csqrt, erfc, sin and sincos.
1540         * math/auto-libm-test-out: Regenerated.
1541         * sysdeps/i386/fpu/libm-test-ulps: Update.
1542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1544 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1546         * sysdeps/aarch64/libm-test-ulps: Update.
1548 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
1550         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1551         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1552         * math/auto-libm-test-out: Regenerated.
1553         * sysdeps/i386/fpu/libm-test-ulps: Update.
1554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1556 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1558         [BZ #18265]
1559         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1560         (wcsncpy): Likewise.
1562 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1564         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1565         Assume __ASSUME_FALLOCATE is always true.
1566         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1567         (__posix_fallocate64_l64): Likweise.
1568         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1569         (posix_fallocate): Likewise.
1570         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1571         (__posix_fallocate64_l64): Likewise.
1572         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1573         [!__ASSUME_FALLOCATE]: Add comment.
1575 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1577         * sysdeps/unix/sysv/linux/i386/Makefile
1578         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1579         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1580         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1581         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1582         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1583         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1584         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1586 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
1588         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1589         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1590         tgamma.
1591         * math/auto-libm-test-out: Regenerated.
1592         * sysdeps/i386/fpu/libm-test-ulps: Update.
1593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1595 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1597         * math/auto-libm-test-in: Add more tests of tgamma.
1598         * math/auto-libm-test-out: Regenerated.
1599         * sysdeps/i386/fpu/libm-test-ulps: Update.
1600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1602         * math/auto-libm-test-in: Add more tests of tanh.
1603         * math/auto-libm-test-out: Regenerated.
1604         * sysdeps/i386/fpu/libm-test-ulps: Update.
1605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1607         * math/auto-libm-test-in: Add more tests of tan.
1608         * math/auto-libm-test-out: Regenerated.
1609         * sysdeps/i386/fpu/libm-test-ulps: Update.
1610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1612         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1613         * math/auto-libm-test-out: Regenerated.
1614         * sysdeps/i386/fpu/libm-test-ulps: Update.
1615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1617         * math/auto-libm-test-in: Add another test of pow.
1618         * math/auto-libm-test-out: Regenerated.
1619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1621         * math/auto-libm-test-in: Add more tests of lgamma.
1622         * math/auto-libm-test-out: Regenerated.
1623         * sysdeps/i386/fpu/libm-test-ulps: Update.
1624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1626         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1627         log1p.
1628         * math/auto-libm-test-out: Regenerated.
1629         * sysdeps/i386/fpu/libm-test-ulps: Update.
1630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1632 2015-05-01  Mark Wielaard  <mjw@redhat.com>
1634         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1635         Elf64_Chdr structs and ELFCOMPRESS constants.
1637 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1639         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1640         expm1.
1641         * math/auto-libm-test-out: Regenerated.
1642         * sysdeps/i386/fpu/libm-test-ulps: Update.
1643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1645         * math/auto-libm-test-in: Add more tests of erf and erfc.
1646         * math/auto-libm-test-out: Regenerated.
1647         * sysdeps/i386/fpu/libm-test-ulps: Update.
1648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1650 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1652         * config.h.in (HAVE_AARCH64_BE): Add.
1654 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
1656         * math/auto-libm-test-in: Add more tests of csqrt.
1657         * math/auto-libm-test-out: Regenerated.
1658         * sysdeps/i386/fpu/libm-test-ulps: Update.
1659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1661         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1662         * math/auto-libm-test-out: Regenerated.
1663         * sysdeps/i386/fpu/libm-test-ulps: Update.
1664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1666         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1668 2015-04-29  Roland McGrath  <roland@hack.frob.com>
1670         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1671         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1673         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1674         (euidaccess, eaccess): Define as weak aliases.
1676         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1677         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
1678         but __suseconds_t is often 'long int' so some sources assume that
1679         type is being used (e.g. they use %ld to print tv_usec).
1681 2015-04-29  Florian Weimer  <fweimer@redhat.com>
1683         [BZ #18007]
1684         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1685         (CVE-2014-8121)
1686         * nss/tst-nss-getpwent.c: New file.
1687         * nss/Makefile (tests): Add new test.
1689 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
1691         [BZ #18346]
1692         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1693         exponents less than 48 as cases where high part of mantissa needs
1694         examining to determine whether argument is integral.
1695         * math/libm-test.inc (round_test_data): Add more tests.
1697 2015-04-28  Mark Wielaard  <mjw@redhat.com>
1699         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1701 2015-04-27  David S. Miller  <davem@davemloft.net>
1703         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1704         __tls_get_addr.
1705         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1707 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1709         [BZ#18333]
1710         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1712 2015-04-27  Florian Weimer  <fweimer@redhat.com>
1714         [BZ#18333]
1715         * time/tzset.c (parse_tzname): Return error on memory allocation
1716         failure.
1717         * test-skeleton.c (struct temp_name_list): Change type of name
1718         member to non-const.
1719         (add_temp_file): Create a copy of the file name.
1720         (delete_temp_files): Deallocate memory.
1721         (create_temp_file): Add comment.
1723 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1725         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1726         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1728 2015-04-24  Roland McGrath  <roland@hack.frob.com>
1730         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1731         * sysdeps/arm/configure: Regenerated.
1733 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1735         [BZ #17715]
1736         * time/tzfile.c (__tzfile_read): Check for large values of
1737         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
1738         * time/tzset.c (__tzstring_len): New function, based on the old
1739         __tzstring function.
1740         (__tzstring): Call __tzstring_len.
1741         (parse_tzname): New helper function extracted from
1742         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
1743         the input string.
1744         (parse_offset): New helper function extracted from
1745         __tzset_parse_tz.  Replace switch with fallthrough with
1746         initialization before sscanf.
1747         (parse_rule): Likewise.
1748         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
1749         new-style function definition.
1750         * timezone/Makefile (tests): Add tst-tzset.
1751         (tst-tzset.out): Dependencies on time zone files.
1752         (tst-tzset-ENV): Set TZDIR.
1753         (testdata/XT%): Copy crafted time zone files.
1754         * timezone/README: Mention crafted time zone files.
1755         * timezone/testdata/XT1, timezone/testdata/XT2,
1756         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1757         files.
1758         * timezone/tst-tzset.c: New test.
1760 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1762         * Makeconfig (+gccwarn): Remove -Winline.
1764 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1766         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1768 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1770         * NEWS: Mention sysconf() cache information support for s390.
1771         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1773 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
1775         * math/k_casinh.c (__kernel_casinh): Use __copysign.
1776         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1777         (__nearbyint): Likewise.
1778         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1779         (copysignl): Likewise.
1781 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
1783         [BZ #18287]
1784         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1785         based on padding.  (CVE-2015-1781)
1787 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1789         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1790         libc-vdso.h.
1791         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1792         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1793         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1794         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1795         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1796         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1797         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1798         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1799         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1800         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1801         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1802         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1803         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1804         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1805         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1806         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1807         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1808         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1809         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1810         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1811         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1812         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1813         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1815 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1817         * stdlib/setenv.c (__add_to_environ):
1818         Dump core quickly if setenv (..., NULL, ...) is called.
1819         This time, do it the right way, and pacify GCC with a pragma.
1821 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1823         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1824         IMAP->l_prev cannot be null, and #if out the code for the contrary
1825         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1826         believe that NS (&_dl_ns[NSID]) could point outside the array.
1828         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1829         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1830         before using NSID as an index.
1832 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
1834         [BZ #17825]
1835         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1836         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1837         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1839 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1841         Add preliminary port to Google Native Client on ARM.
1842         * abi-tags (.*-.*-nacl.*): New entry.
1843         * sysdeps/arm/nacl: New directory.
1844         * sysdeps/nacl: New directory.
1846 2015-04-16  David S. Miller  <davem@davemloft.net>
1848         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1849         lowlevellock-futex.h
1851 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
1853         * sysdeps/tile/configure.ac: New file.
1854         * sysdeps/tile/configure: Regenerated.
1856 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1858         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
1859         conditionals for weak_alias and libc_hidden_weak.
1860         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1861         libc_hidden_weak and weak_alias.
1862         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1863         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1864         and weak_alias for static one.
1866 2015-04-15  David S. Miller  <davem@davemloft.net>
1868         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1870 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1872         [BZ #18206]
1873         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1874           Use signed comparision instead of substraction to avoid
1875           overflow bug.
1876         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1877           Take the sign of ret.
1878         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1879           Do not expect precise return values. Only the sign matters.
1880         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1881         * wcsmbs/test-wcsncmp.c: New File.
1882         * string/test-strncmp.c: Add wcsncmp support.
1884 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1886         [BZ #6792]
1887         * math/w_log1p.c: New file.
1888         * math/w_log1pf.c: Likewise.
1889         * math/w_log1pl.c: Likewise.
1890         * math/Makefile (libm-calls): Add w_log1p.
1891         * math/s_log1pl.c (log1pl): Remove weak_alias.
1892         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1893         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1894         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1895         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1896         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1897         [NO_LONG_DOUBLE] (log1pl): Likewise.
1898         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1899         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1900         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1901         (log1p): Remove long_double_symbol.
1902         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1903         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1904         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1905         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1906         remove weak_alias for corresponding log1p function.
1907         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1908         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1909         * sysdeps/ia64/fpu/w_log1p.c: New file.
1910         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1911         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1912         * math/libm-test.inc (log1p_test_data): Add errno expectations.
1914 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
1916         [BZ #18247]
1917         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1918         decimal exponent by 1.
1919         * stdlib/tst-strtod-round-data: Add more tests.
1920         * stdlib/tst-strtod-round.c (tests): Regenerated.
1922 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
1924         * math/auto-libm-test-in: Add more tests of clog and clog10.
1925         * math/auto-libm-test-out: Regenerated.
1926         * sysdeps/i386/fpu/libm-test-ulps: Update.
1927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1929 2015-04-09  Roland McGrath  <roland@hack.frob.com>
1931         * Makeconfig (module-cppflags): Exclude all .v.i files.
1932         (skip-module-cppflags): Variable removed.
1934         * configure.ac (libc_config_ok): Initialize before reading
1935         preconfigure scripts, not after.
1936         * configure: Regenerated.
1938         * test-skeleton.c (TIMEOUT): Move #define to top level.
1939         (main): Grok environment variable TEST_DIRECT.  If set, print
1940         test expectation details into that file and then behave as if
1941         given --direct.
1943 2015-04-09  Florian Weimer  <fweimer@redhat.com>
1945         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1946         warning on 32-bit.
1948 2015-04-08  David S. Miller  <davem@davemloft.net>
1950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1952 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1954         * math/auto-libm-test-in: Add more tests of atanh.
1955         * math/auto-libm-test-out: Regenerated.
1956         * sysdeps/i386/fpu/libm-test-ulps: Update.
1957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1959         * math/auto-libm-test-in: Add more tests of atan.
1960         * math/auto-libm-test-out: Regenerated.
1961         * sysdeps/i386/fpu/libm-test-ulps: Update.
1962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1964 2015-04-08  Florian Weimer  <fweimer@redhat.com>
1966         * elf/pldd.c (main): Rewrite to use struct
1967         scratch_buffer instead of extend_alloca.
1968         * elf/pldd-xx.c (find_maps): Likewise.
1969         * grp/initgroups.c: Include <scratch_buffer.h> instead of
1970         <alloca.h>.
1971         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1972         scratch_buffer instead of extend_alloca.
1973         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1974         grp/compat-initgroups.c.
1975         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1976         Rewrite to use struct scratch_buffer instead of extend_alloca.
1977         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1978         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1980 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1982         * math/auto-libm-test-in: Add more tests of cbrt.
1983         * math/auto-libm-test-out: Regenerated.
1984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1986         * math/auto-libm-test-in: Add more tests of cabs.
1987         * math/auto-libm-test-out: Regenerated.
1988         * sysdeps/i386/fpu/libm-test-ulps: Update.
1989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1991         [BZ #18210]
1992         [BZ #18211]
1993         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1994         (__ieee754_atan2): Set FE_TONEAREST mode for internal
1995         computations.
1996         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1997         clog10.
1998         * math/auto-libm-test-out: Regenerated.
1999         * sysdeps/i386/fpu/libm-test-ulps: Update.
2000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2002         [BZ #18197]
2003         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2004         (atan): Set FE_TONEAREST mode for internal computations.
2005         * math/auto-libm-test-in: Add more tests of atan.
2006         * math/auto-libm-test-out: Regenerated.
2008 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2010         [BZ #17930]
2011         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2013 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2015         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2017 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2019         * include/scratch_buffer.h: New file.
2020         * malloc/scratch_buffer_grow.c: Likewise.
2021         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2022         * malloc/scratch_buffer_set_array_size.c: Likewise.
2023         * malloc/tst-scratch_buffer.c: Likewise.
2024         * malloc/Makefile (routines): Add scratch_buffer_grow.
2025         (tests): Add test case.
2026         * malloc/Versions (GLIBC_PRIVATE): Export
2027         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2028         __libc_scratch_buffer_set_array_size.
2030 2015-04-06  Richard Henderson  <rth@redhat.com>
2032         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2033         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2035         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2036         unsigned int before printing.
2038 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2040         [BZ #17596]
2041         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2042         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2044 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2046         * include/libc-internal.h (libc_max_align_t): Define.
2048 2015-04-02  Andreas Schwab  <schwab@suse.de>
2050         [BZ #16850]
2051         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2053 2015-04-02  Mel Gorman  <mgorman@suse.de>
2055         [BZ #17195]
2056         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2057         as well as the main arena.
2059 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2061         [BZ #18185]
2062         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2063         sharing L2 cache to 2 for Silvermont/Knights Landing.
2065 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2067         [BZ #17711]
2068         * config.make.in (have-protected-data): New.
2069         * configure.ac: Check linker support for protected data symbol.
2070         * configure: Regenerated.
2071         * elf/Makefile (modules-names): Add tst-protected1moda and
2072         tst-protected1modb if $(have-protected-data) is yes.
2073         (tests): Add tst-protected1a and tst-protected1b if
2074         $(have-protected-data) is yes.
2075         ($(objpfx)tst-protected1a): New.
2076         ($(objpfx)tst-protected1b): Likewise.
2077         (tst-protected1modb.so-no-z-defs): Likewise.
2078         * elf/tst-protected1a.c: New file.
2079         * elf/tst-protected1b.c: Likewise.
2080         * elf/tst-protected1mod.h: Likewise.
2081         * elf/tst-protected1moda.c: Likewise.
2082         * elf/tst-protected1modb.c: Likewise.
2084 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2086         [BZ #17711]
2087         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2088         indicates it is called from do_lookup_x on relocation against
2089         protected data, skip the data definion in the executable from
2090         copy reloc.
2091         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2092         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2093         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2094         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2095         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2096         otherwise to 0.
2097         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2098         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2099         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2100         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2101         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2102         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2104 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
2106         * sysdeps/nptl/pthread.h: Remove duplicate definition of
2107         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2109 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
2111         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2112         THREAD_SETMEM_NC.
2113         * sysdeps/x86_64/nptl/tls.h: Ditto.
2115 2015-03-27  Roland McGrath  <roland@hack.frob.com>
2117         * dlfcn/tststatic.c (main): Converted to ...
2118         (do_test): ... this.
2119         (TEST_FUNCTION): New macro.
2120         Include test-skeleton.c.
2122 2015-03-26  Alan Modra  <amodra@gmail.com>
2124         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2125         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
2126         zero for undefined weak.
2127         (elf_machine_plt_conflict): Similarly.
2129 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2131         * math/auto-libm-test-in: Add more tests of acosh, asinh and
2132         atanh.
2133         * math/auto-libm-test-out: Regenerated.
2134         * sysdeps/i386/fpu/libm-test-ulps: Update.
2135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2137         * math/auto-libm-test-in: Add another test of asin.
2138         * math/auto-libm-test-out: Regenerated.
2139         * sysdeps/i386/fpu/libm-test-ulps: Update.
2140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2142         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2143         Remove macro.
2144         (LLL_EBX_REG): Likewise.
2145         (LLL_ENTER_KERNEL): Likewise.
2147         * math/auto-libm-test-in: Add more tests of asin.
2148         * math/auto-libm-test-out: Regenerated.
2149         * sysdeps/i386/fpu/libm-test-ulps: Update.
2150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2152         [BZ #18138]
2153         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2154         libc_do_syscall_args): New structure.
2155         (INTERNAL_SYSCALL_MAIN_0): New macro.
2156         (INTERNAL_SYSCALL_MAIN_1): Likewise.
2157         (INTERNAL_SYSCALL_MAIN_2): Likewise.
2158         (INTERNAL_SYSCALL_MAIN_3): Likewise.
2159         (INTERNAL_SYSCALL_MAIN_4): Likewise.
2160         (INTERNAL_SYSCALL_MAIN_5): Likewise.
2161         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
2162         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2163         Replace conditional definitions by conditional definitions of ....
2164         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
2165         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2166         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2167         (libpthread-sysdep_routines): Add libc-do-syscall.
2168         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2169         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2170         to __NR_futex not 240.
2172 2015-03-25  Alan Modra  <amodra@gmail.com>
2174         * NEWS: Advertise TLS optimization.
2175         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2176         (DT_PPC_NUM): Increment.
2177         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2178         (CHECK_STATIC_TLS): Use here.
2179         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2180         TLS descriptors.
2181         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2182         * sysdeps/powerpc/dl-tls.c: New file.
2183         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2184         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2185         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2186         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2191 2015-03-25  Alan Modra  <amodra@gmail.com>
2193         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2194         for overlapping .opd entries" to "support...".
2195         * sysdeps/powerpc/powerpc64/configure: Regenerate
2197 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2199         * math/auto-libm-test-in: Add more tests of acos.
2200         * math/auto-libm-test-out: Regenerated.
2201         * sysdeps/i386/fpu/libm-test-ulps: Update.
2202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2204         * math/auto-libm-test-in: Add more tests of expm1.
2205         * math/auto-libm-test-out: Regenerated.
2206         * sysdeps/i386/fpu/libm-test-ulps: Update.
2207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2209 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
2211         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2212         * math/auto-libm-test-out: Regenerated.
2213         * sysdeps/i386/fpu/libm-test-ulps: Update.
2214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2219         * math/auto-libm-test-in: Add more tests of log2.
2220         * math/auto-libm-test-out: Regenerated.
2221         * sysdeps/i386/fpu/libm-test-ulps: Update.
2222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2224 2015-03-23  Roland McGrath  <roland@hack.frob.com>
2226         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2227         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
2228         _IO_IS_APPENDING bit in READ_WRITE instead.
2230 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2232         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2233         (__determine_cpumask_size): Replace extend_alloca with a
2234         variable-length array.  Do not treat res == 0 as an error.
2236 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2238         [BZ #18100]
2239         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2240         and integer overflow.
2241         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2242         (main): Add integer overflow tests.
2243         * manual/pattern.texi (Calling Wordexp): Document additional use
2244         for WRDE_SYNTAX.
2246 2015-03-23  Alan Modra  <amodra@gmail.com>
2248         * config.h.in: Remove HAVE_ASM_PPC_REL16.
2249         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2250         and false branch of conditional.
2251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2252         Likewise.
2254 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
2256         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2257         libc-modules.h
2258         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2259         unused declaration of _hurd_intr_rpc_msg_in_trap.
2260         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2261         defined instead of whether it is non-zero.
2262         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2263         input constraint instead of both input and output constraint.  Use ecx
2264         clobber instead of %ecx.
2265         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2266         mutex_unlock): Use a statement expression instead of an expression list.
2267         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2268         type to vm_size_t instead of vm_address_t.
2269         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2270         defined instead of whether it is non-zero.
2271         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2272         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2273         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2274         comparisons with mapaddr.
2275         * nscd/nscd-client.h: Include <time.h>.
2276         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2277         9th parameter to __vm_region instead of int.
2278         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2279         * scripts/check-local-headers.sh (exclude): Add device/,
2280         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2281         cthreads.h.
2283 2015-03-19  Roland McGrath  <roland@hack.frob.com>
2285         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2286         to account for alignment padding.
2287         * sysdeps/arm/memmove.S: Likewise.
2289 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
2291         * sysdeps/unix/sysv/linux/generic/README: New file.
2293 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
2295         [BZ #18138]
2296         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2297         (futex_abstimed_wait)
2298         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2299         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2300         of lll_futex_timed_wait.
2302 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
2304         [BZ #17542]
2305         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2307 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
2309         [BZ #17090]
2310         [BZ #17620]
2311         [BZ #17621]
2312         [BZ #17628]
2313         * NEWS: Update.
2314         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2315         entries with Static TLS too.  Skip entries past the end of the
2316         allocated DTV, from Alan Modra.
2317         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
2318         Static TLS DTV entry set up from...
2319         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2320         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2321         * nptl/allocatestack.c (init_one_static_tls): ... and here...
2322         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2323         for Static TLS.
2324         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
2325         that the slot we find is associated with the given map before
2326         using its generation count.
2327         * nptl_db/db_info.c: Include ldsodefs.h.
2328         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2329         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2330         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2331         (link_map::l_tls_offset): New struct field.
2332         (dtv_t::counter): Likewise.
2333         (rtld_global): New struct.
2334         (_rtld_global): New rtld variable.
2335         (dl_tls_dtv_slotinfo_list): New rtld global field.
2336         (dtv_slotinfo_list): New struct.
2337         (dtv_slotinfo): Likewise.
2338         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2339         (td_lookup): Rename to...
2340         (td_mod_lookup): ... this.  Use new mod parameter instead of
2341         LIBPTHREAD_SO.
2342         * nptl_db/td_thr_tlsbase.c: Include link.h.
2343         (dtv_slotinfo_list, dtv_slotinfo): New functions.
2344         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
2345         addresses even if the DTV is out of date or missing them.
2346         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2347         index zero-length arrays.
2348         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2349         (td_lookup): Make it a macro implemented in terms of...
2350         (td_mod_lookup): ... this declaration.
2351         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2352         (DB_MAIN_VARIABLE): Likewise.
2354 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2356         [BZ #18134]
2357         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2359 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
2361         * stdlib/setenv.c (__add_to_environ): Revert previous change.
2363 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2365         [BZ #18128]
2366         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2367         (atomic_add, atomic_increment_and_test)
2368         (atomic_decrement_and_test): Fix 64-bit arithmetic.
2370 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
2372         * stdlib/setenv.c (__add_to_environ):
2373         Dump core quickly if setenv (..., NULL, ...) is called.
2375 2015-03-13  Roland McGrath  <roland@hack.frob.com>
2377         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2378         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2379         all the necessary asm magic in one place.
2380         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2381         using those.
2383 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
2385         [BZ #14906]
2386         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2387         traced file mtime. Use consistent log message.
2388         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2389         (register_traced_file): Call install_watches. Always set mtime.
2390         (invalidate_cache): Iterate over all trace files. Call install_watches.
2391         (inotify_check_files): Don't inline. Handle watching parent
2392         directories and configuration file movement in and out.
2393         (handle_inotify_events): New function.
2394         (main_loop_poll): Call handle_inotify_events.
2395         (main_loop_epoll): Likewise.
2396         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2397         (struct traced_file): Use array of inotify fds. Add parent directory,
2398         and basename.
2399         (struct database_dyn): Remove unused file_mtime.
2400         (init_traced_file): New inline function.
2401         (define_traced_file): New macro.
2402         * nss/nss_db/db-init.c: Use define_traced_file.
2403         (_nss_db_init): Use init_traced_file.
2404         * nss/nss_files/files-init.c: Use define_traced_file.
2405         (_nss_files_init): Use init_traced_file.
2407 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
2409         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2410         [_LIBC]: Do not include <stdlib.h>.
2411         [!_LIBC] (abort): Remove declaration.
2412         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2413         _FP_STATIC_ASSERT instead of conditionally calling abort.
2414         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2415         (_FP_EXTEND_CNAN): Likewise.
2416         (FP_TRUNC): Likewise.
2417         (__FP_CLZ): Likewise.
2418         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2420 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
2422         * manual/string.texi (XPG basename): Fix prototype.
2424 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2426         [BZ #18080]
2427         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2428         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2429         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2430         (__setcontext): Likewise.
2431         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2432         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2433         Call rt_sigprocmask syscall one time to set new signal mask
2434         and retrieve the current signal mask instead of two calls.
2435         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2436         (__swapcontext): Likewise.
2437         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2438         * stdlib/tst-setcontext2.c: New file.
2440 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2442         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2444 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
2446         [BZ #18093]
2447         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2448         the wrong size.
2450 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2452         [BZ #18043]
2453         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2455 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2457         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2458         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2459         Remove define.
2460         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2461         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2462         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2463         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2464         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2465         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2466         define.
2467         * nptl_db/td_symbol_list.c (td_lookup): Remove
2468         HAVE_ASM_GLOBAL_DOT_NAME code.
2469         * sysdeps/powerpc/powerpc64/configure.ac: Remove
2470         HAVE_ASM_GLOBAL_DOT_NAME check.
2471         * sysdeps/powerpc/powerpc64/configure: Regenerate.
2472         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2473         (DOT_LABEL): Remove define.
2474         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2475         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2476         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2477         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2478         (__TLS_GET_ADDR): Likewise.
2479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2480         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2482 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
2484         [BZ #18111]
2485         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2486         (_FPU_SETCW): Initialize cw from fpsr before storing.
2487         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2488         (fesetexceptflag): Rewrite using fpu_control.h.
2489         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2491 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
2493         [BZ #18110]
2494         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2495         asms.
2496         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2498 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
2500         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2501         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2502         abort.
2503         (_FP_FMA): Likewise.
2504         (_FP_DIV): Likewise.
2506 2015-03-10  Roland McGrath  <roland@hack.frob.com>
2508         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2509         with 0 in that case.
2510         * Makefile (summarize-tests): New canned sequence, factored out of
2511         commands for targets tests and xtests.  Display summary lines that
2512         don't start with PASS: or XFAIL: rather than ones that do start with
2513         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
2514         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2515         do start with ERROR: or FAIL:.
2516         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2517         (except for [$(build-shared) = yes]).
2518         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2519         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2520         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2521         * nptl/Makefile: Revert 2015-03-04 changes.
2522         [$(CXX) empty] (tests-unsupported): New variable.
2523         * debug/Makefile: Likewise.
2525         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2526         gnulib file.  Replace __attribute with __attribute__ throughout.
2528 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
2530         * sysdeps/hppa/fpu/libm-test-ulps: Update.
2532 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2534         [BZ #18104]
2535         * math/auto-libm-test-in: Add another test of pow.
2536         * math/auto-libm-test-out: Regenerated.
2538 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2540         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2541         $(config-cflags-nofma).
2543 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2545         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2546         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2547         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2548         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2549         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2550         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2551         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2552         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2553         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2554         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2555         Add comment on closing #endif.
2557 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2559         * posix/wordexp.c (CHAR_IN_SET): New macro.
2560         (parse_param): Use it.
2562 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2564         * sysdeps/powerpc/fpu/libm-test-ulps: update.
2566 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2568         [BZ #18043]
2569         * posix/wordexp.c (parse_param): Fix buffer overflow.
2570         * posix/wordexp-test.c (test_case): Add test case.
2572 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2574         [BZ #18042]
2575         * posix/wordexp.c (parse_backtick): Fix off-by-one.
2576         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2578 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2580         [BZ #18043]
2581         * posix/wordexp-test.c (test_case): Add test for BZ #18043
2582         (do_bz18043): Delete.
2583         (at_page_end): New.
2584         (testit): Refactor to have words at the edge of unreadable page.
2586 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2588         [BZ #16734]
2589         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2590         Cleanup read-only streams as well.
2591         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2593 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2595         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2596         <bits/libc-lockP.h>
2598 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
2600         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
2601         on [__KERNEL__].
2602         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2603         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2604         * soft-fp/op-common.h (_FP_DECL): Likewise.
2606 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2608         * elf/ifuncdep2.c (global): Replace
2609         __attribute__((visibility("protected"))) with
2610         asm (".protected global").
2611         * elf/ifuncmod1.c (global): Likewise.
2612         * elf/ifuncmod5.c (global): Likewise.
2614 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
2616         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2617         <asm/sfp-machine.h> instead of <sfp-machine.h>.
2619 2015-03-06  Roland McGrath  <roland@hack.frob.com>
2621         * manual/install.texi (Configuring and compiling):
2622         Document test-wrapper-env-only.
2623         * INSTALL: Regenerated.
2625 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2627         [BZ #18043]
2628         * posix/wordexp.c (parse_param): Fix buffer overflow.
2629         * posix/wordexp-test.c (do_bz18043): Add test case.
2631 2015-03-06  Vincent Bernat  <vincent@bernat.im>
2633         * time/tst-strptime2.c (do_test): Ensure failing tests are
2634         reported correctly.
2635         * time/tst-strptime3.c (do_test): Likewise.
2637 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
2639         Fix aio_error thread-safety.
2640         * sysdeps/pthread/aio_error.c: New file
2641         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2642         synchronization.
2644 2015-03-06  Florian Weimer  <fweimer@redhat.com>
2646         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2647         (group_number, vfprintf): Use it.
2648         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2649         (JUMP, REF): Use it.
2650         (WORK_BUFFER_SIZE): New enum constant.
2651         (process_arg, vfprintf): Use it.
2653 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
2655         * manual/errno.texi (Error Messages): Complete example function
2656         by adding missing #define.
2657         (program_invocation_name): Add statement indicating GNU
2658         extension and reference which header file declares the variable.
2659         (program_invocation_short_name): Likewise.
2661 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
2663         * manual/errno.texi (Error Messages): Delete strerror ISO C89
2664         compatibility note.
2666 2015-03-05  Roland McGrath  <roland@hack.frob.com>
2668         * Makeconfig (test-wrapper-env-only): New variable.
2669         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2670         then use that with $(test-wrapper-env-only) rather than using
2671         $(test-wrapper-env) $(run-program-env) $($*-ENV).
2673 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2675         [BZ #18082]
2676         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2677         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2678         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2679         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2680         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2681         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2682         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2683         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2684         Likewise.
2685         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2686         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2687         Likewise.
2688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2689         Likewise.
2690         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2691         Likewise.
2692         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2693         Likewise.
2694         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2695         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2696         Likewise.
2697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2698         Likewise.
2699         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2700         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2702 2015-03-04  Roland McGrath  <roland@hack.frob.com>
2704         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2705         (ETH_ALEN): New macro.
2706         (struct ether_addr): Use it for length of ether_addr_octet.
2708         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2709         (setdb): Don't call __nss_configure_lookup for "rpc".
2710         (do_test): Don't call test_rpc.
2711         (output_rpcent, test_rpc): Functions moved ...
2712         * sunrpc/test-rpcent.c: ... to this new file.
2713         * sunrpc/Makefile (tests): Add it.
2715         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2716         __xpg_sigpause.
2717         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2718         * nptl/tst-signal6.c: Likewise.
2719         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2720         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2722         * configure.ac (libc_cv_cxx_link_ok): New check.
2723         Reset CXX to empty if it fails to link.
2724         * configure: Regenerated.
2725         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2726         bug-atexit3-lib only if $(CXX) is nonempty.
2727         * nptl/Makefile (tests): Likewise for tst-cancel24.
2728         (tests, tests-static): Likewise for tst-cancel24-static.
2729         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2730         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2731         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2732         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2734 2015-03-04  Andreas Schwab  <schwab@suse.de>
2736         [BZ #17631]
2737         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2738         for non-GCC compilers.
2739         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2740         Likewise.
2742 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2744         [BZ #17776]
2745         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2746         integer before bitwise and assembly operations.
2747         (feclearexcept): Likewise.
2748         * math/test-fenvinline.c: New file.
2749         * math/Makefile: Add test-fenvinline test.
2751 2015-03-03  Alan Modra  <amodra@gmail.com>
2753         [BZ #16512]
2754         * scripts/localplt.awk: Strip off symbol version.
2755         * NEWS: Mention bug fix.
2757 2015-03-02  Roland McGrath  <roland@hack.frob.com>
2759         * sysdeps/pthread/timer_routines.c
2760         (timer_free_list, thread_free_list, thread_active_list): Make static.
2762 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
2764         [BZ #17779]
2765         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2766         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2767         Undefine.
2768         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2769         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2770         Likewise.
2771         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2772         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2773         Likewise.
2775 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
2777         [BZ #18036]
2778         * posix/fnmatch_loop.c (END): Detect invalid pattern.
2779         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2781 2015-03-02  Andreas Schwab  <schwab@suse.de>
2783         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2784         variable name.
2786 2015-03-02  Florian Weimer  <fweimer@redhat.com>
2788         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2789         Return error status.
2791 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
2793         [BZ #15969]
2794         * locale/findlocale.c (_nl_find_locale): Introduce const
2795         version of loc_name and drop unsafe type casts.
2797 2015-02-27  Roland McGrath  <roland@hack.frob.com>
2799         * dlfcn/tststatic2.c (main): Converted to ...
2800         (do_test): ... this.
2801         (TEST_FUNCTION): New macro.
2802         Include test-skeleton.c.
2804 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
2806         [BZ #17711]
2807         * elf/Makefile (tests): Add vismain only if PIE is enabled.
2808         (tests-pie): Add vismain.
2809         (CFLAGS-vismain.c): New.
2810         * elf/vismain.c: Add comments for PIE requirement.
2812 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2814         [BZ #18046]
2815         [BZ #18047]
2816         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2817         0x1p-56L as threshold for just returning the argument.
2818         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2819         0x1p-32L as threshold for just returning the argument.
2820         * math/auto-libm-test-in: Add more tests of atanh.
2821         * math/auto-libm-test-out: Regenerated.
2822         * sysdeps/i386/fpu/libm-test-ulps: Update.
2823         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2825 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2827         * string/bcopy.c (bcopy): Call memmove for performance.
2829 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2831         * string/bzero.c (__bzero): Call memset for performance.
2833 2015-02-27  John David Anglin  <dave.anglin@bell.net>
2835         [BZ #18068]
2836         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2837         to 00100000.
2839 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2841         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2843 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
2845         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2846         (__kernel_standard): Use CSTR macro when setting exc.name.
2847         * sysdeps/ieee754/Makefile [$(subdir) = math]
2848         (CFLAGS-k_standard.c): Remove variable.
2850         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2851         setting p and q from "else if" to "else".
2852         (qzero): Likewise.
2853         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2854         (qone): Likewise.
2855         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2856         (qzerof): Likewise.
2857         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2858         (qonef): Likewise.
2859         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2860         (qzero): Likewise.
2861         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2862         (qone): Likewise.
2864         [BZ #18038]
2865         [BZ #18039]
2866         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2867         return pi/2 for arguments below 0x1p-113L.
2868         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2869         return pi/2 for arguments below 0x1p-106L.
2870         * math/auto-libm-test-in: Add more tests of acos.
2871         * math/auto-libm-test-out: Regenerated.
2873         [BZ #16351]
2874         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2875         (MO): New macro.
2876         (__ieee754_asin): Force underflow exception for results with small
2877         absolute value.
2878         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2879         (MO): New macro.
2880         (__ieee754_asinf): Force underflow exception for results with
2881         small absolute value.
2882         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2883         (__ieee754_asin): Force underflow exception for results with small
2884         absolute value.
2885         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2886         (__ieee754_asinf): Force underflow exception for results with
2887         small absolute value.
2888         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2889         (__ieee754_asinl): Force underflow exception for results with
2890         small absolute value.
2891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2892         (__ieee754_asinl): Force underflow exception for results with
2893         small absolute value.
2894         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2895         (__ieee754_asinl): Force underflow exception for results with
2896         small absolute value.
2897         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2898         Include <math.h>.
2899         * math/auto-libm-test-in: Do not mark underflow exceptions as
2900         possibly missing for bug 16351.
2901         * math/auto-libm-test-out: Regenerated.
2903         [BZ #18030]
2904         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2905         of power of 2 down when low part has opposite sign.
2906         * math/libm-test.inc (logb_test_data): Add more tests.
2908 2015-02-26  Andreas Schwab  <schwab@suse.de>
2910         [BZ #18032]
2911         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2912         over collating symbol inside a bracket expression.  Minor cleanup.
2913         * posix/tst-fnmatch3.c (do_test): Add test case.
2915 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
2917         [BZ #18029]
2918         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2919         Adjust exponent of power of 2 down when low part has opposite
2920         sign.
2921         * math/libm-test.inc (ilogb_test_data): Add more tests.
2923 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
2925         [BZ #15969]
2926         * locale/findlocale.c (_nl_find_locale): Fix constness error in
2927         the previous change.
2929         [BZ #15969]
2930         * locale/findlocale.c (_nl_find_locale): Retry archive search
2931         after alias expansion.
2933 2015-02-25  Roland McGrath  <roland@hack.frob.com>
2935         * iconv/tst-iconv3.c (main): Converted to ...
2936         (do_test): ... this.
2937         (TEST_FUNCTION): New macro.
2938         Include test-skeleton.c.
2940         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2941         (convert): Make function static.
2942         (test_unalign): Likewise.  Add const to argument pointee types.
2943         (main): Replace with static function do_test.
2944         Print "Succeeded." only if RET is zero.
2945         (TEST_FUNCTION): New macro.
2946         Include test-skeleton.c.
2948         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2949         returns a null pointer.
2951 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2953         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2954         to __memcpy_ppc only for static builds.
2956 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
2958         [BZ #18020]
2959         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2960         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2961         * math/auto-libm-test-in: Add more tests of asinh.
2962         * math/auto-libm-test-out: Regenerated.
2963         * sysdeps/i386/fpu/libm-test-ulps: Update.
2964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2966 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
2968         [BZ #15850]
2969         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2970         and ip6_mtuinfo definitions here.
2971         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2972         in this define too.  Update comment.
2974 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
2976         * elf/sprof.c (load_shobj): Tweak error message to match others.
2978 2015-02-24  Kevin Easton  <kevin@guarana.org>
2980         [BZ #16145] (partial fix)
2981         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2982         to reduce lock contention.
2984 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
2986         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2987         (struct timex): Update time comment.
2988         (ADJ_SETOFFSET): Define.
2990 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2992         [BZ #18019]
2993         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2994         2**56 not 2**28 as threshold for log (2x) formula.
2995         * math/auto-libm-test-in: Add more tests of acosh.
2996         * math/auto-libm-test-out: Regenerated.
2997         * sysdeps/i386/fpu/libm-test-ulps: Update.
2998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3000 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3002         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3003         parenthesis around the buf assignment.
3004         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3006 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3008         [BZ #16783]
3009         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3010         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3011         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3012         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3013         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3014         * math/libm-test.inc (scalb_test_data): Add more tests.
3016 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3018         [BZ #17916]
3019         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3020         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3022 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3024         [BZ #17523]
3025         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3026         * io/bits/fcntl2.h (open): Use it.
3027         (openat): Likewise.
3028         * io/open.c (__libc_open): Likewise.
3029         * io/open64.c (__libc_open64): Likewise.
3030         * io/open64_2.c (__open64_2): Likewise.
3031         * io/open_2.c (__open_2): Likewise.
3032         * io/openat.c (__openat): Likewise.
3033         * io/openat64.c (__openat64): Likewise.
3034         * io/openat64_2.c (__openat64_2): Likewise.
3035         * io/openat_2.c (__openat_2): Likewise.
3036         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3037         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3038         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3039         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3040         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3041         (__open_nocancel): Likewise.
3042         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3043         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3044         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3046 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3048         [BZ #14841]
3049         * resolv/gethnamaddr.c (getanswer): Skip logging if
3050         RES_USE_DNSSEC is set.
3051         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3053 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3055         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3057 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3059         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3060         201304L, for Unicode 7.
3062 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3064         [BZ #17836]
3065         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3066         shared library.  Add gmon-start.os otherwise.
3067         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3068         $(objpfx)gmon-start.os if builing shared library.
3069         ($(objpfx)g$(static-start-installed-name)): Likewise.
3071 2015-02-23  Andreas Schwab  <schwab@suse.de>
3073         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3075 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3077         [BZ #17269]
3078         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3079         (enlarge_userbuf): Likewise.
3081 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
3083         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3084         * math/atest-exp.c (TIMEOUT): Adjust to 200.
3085         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3086         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3088 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
3090         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3091         expression inside statement expression.
3093 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3095         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3096         <sysdeps/nptl/lowlevellock.h> and remove macros and
3097         functions that are now defined there.
3098         (SYS_futex): Remove.
3099         (lll_compare_and_swap): Remove.
3100         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3102 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
3104         [BZ #17999]
3105         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3106         instead of scandirat.
3107         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3108         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3109         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3110         __scandirat.
3111         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3112         (__scandirat): Declare.  Use libc_hidden_proto.
3113         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3114         Remove variable.
3115         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3117 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3119         [BZ #15319]
3120         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3121         (MO): New macro.
3122         (__ieee754_atan2): For results with small absolute value, force
3123         underflow exception and remove excess range and precision from
3124         return value.
3125         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3126         (MO): New macro.
3127         (__ieee754_atan2f): For results with small absolute value, force
3128         underflow exception and remove excess range and precision from
3129         return value.
3130         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3131         (MO): New macro.
3132         (__atan): For results with small absolute value, force underflow
3133         exception and remove excess range and precision from return value.
3134         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3135         (MO): New macro.
3136         (__atanf): For results with small absolute value, force underflow
3137         exception and remove excess range and precision from return value.
3138         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3139         <math.h>.
3140         (__ieee754_atan2): Force underflow exception for results with
3141         small absolute value.
3142         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3143         <math_private.h>.
3144         (atan): Force underflow exception for results with small absolute
3145         value.
3146         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3147         (__atanf): Force underflow exception for results with small
3148         absolute value.
3149         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3150         <math.h>.
3151         (__atanl): Force underflow exception for results with small
3152         absolute value.
3153         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3154         (__atanl): Force underflow exception for results with small
3155         absolute value.
3156         * sysdeps/x86/fpu/bits/mathinline.h
3157         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3158         (__ieee754_atan2): Only define inline for long double.
3159         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3160         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3161         * math/auto-libm-test-in: Do not mark underflow exceptions as
3162         possibly missing for bug 15319.  Add more tests of atan2.
3163         * math/auto-libm-test-out: Regenerated.
3164         * math/libm-test.inc (casin_test_data): Do not mark underflow
3165         exceptions as possibly missing for bug 15319.
3166         (casinh_test_data): Likewise.
3167         * sysdeps/i386/fpu/libm-test-ulps: Update.
3169 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
3171         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3172         * sysdeps/mips/bits/endian.h: Fix comments.
3174 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3176         [BZ #17996]
3177         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3178         (hdestroy_r): Likewise.
3179         (hsearch_r): Likewise.
3180         (__hcreate_r): Declare and use libc_hidden_proto.
3181         (__hdestroy_r): Likewise.
3182         (__hsearch_r): Likewise.
3183         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3184         (hcreate): Call __hcreate_r instead of hcreate_r.
3185         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3186         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3187         as weak alias of __hcreate_r.
3188         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3189         __hdestroy_r.
3190         (hsearch_r): Rename to __hsearch_r and define as weak alias of
3191         __hsearch_r.
3192         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3193         Remove variable.
3194         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3195         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3196         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3197         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3199 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3201         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3202         arena_lock into a single arena_get.
3204 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
3206         * dl-reloc.c: Inlucde libc-internal.h.
3207         (_dl_try_allocate_static_tls): Call ALIGN_UP.
3208         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3209         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3210         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3211         (grow_heap): Likewise.
3212         * malloc/malloc.c: Include libc-internal.h.
3213         (do_check_malloc): Call powerof2.
3214         (sysmalloc): Use pagesize. Call ALIGN_UP.
3215         (systrim): Use pagesize.
3216         (mremap_chunk): Use pagesize. Call ALIGN_UP.
3217         (__libc_valloc): Use pagesize.
3218         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3220 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3222         [BZ #17991]
3223         * include/sys/resource.h (__getrlimit64): Declare.  Use
3224         libc_hidden_proto.
3225         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3226         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
3227         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3228         getrlimit64.
3229         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3230         __getrlimit64.
3231         [!getrlimit64] (getrlimit64): Define as weak alias of
3232         __getrlimit64.  Use libc_hidden_weak.
3233         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3234         using __getrlimit64 not __new_getrlimit64.
3235         (__GI_getrlimit64): Likewise.
3236         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3237         Likewise.
3238         (__GI_getrlimit64): Likewise.
3239         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3241         (getrlimit): Add __getrlimit64 alias.
3242         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3243         Likewise.
3244         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3245         Remove variable.
3246         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3247         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3249 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
3251         * libio/fileops.c: Add missing sys/mman.h
3252         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3254 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3256         * manual/math.texi (Errors in Math Functions): Clarify goals
3257         regarding inexact and underflow exceptions.
3259 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3261         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3262         * sysdeps/mips/memset.S: Ditto.
3264 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3266         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3268 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3270         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3271         (__v1longjmp): Remove versioned symbol.
3272         (__v1siglongjmp): Remove alias and versioned symbol.
3273         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3274         (__v2siglongjmp): Likewise.
3276 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3278         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3280 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
3282         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3284 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3286         [BZ #17987]
3287         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3288         zero result does not depend on the sign resulting from
3289         subtraction.
3290         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3291         Likewise.
3292         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3293         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3294         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3295         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3296         * math/libm-test.inc (remquo_test_data): Add more tests.
3298 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
3300         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3301         Problem reported by J William Piggott.
3303 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3305         [BZ #17978]
3306         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3307         products 4 * y and 2 * y where those would overflow.
3308         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3309         Likewise.
3310         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3311         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3312         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3313         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3314         * math/libm-test.inc (remquo_test_data): Add more tests.
3316         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3318         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3319         [defined _COMPILING_NEWLIB].
3320         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3321         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3323         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3324         [!defined __mips_isa_rev || __mips_isa_rev < 6].
3326 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3328         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3329         acquired.
3331 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
3333         [BZ #17792]
3334         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3335         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3336         HOST_STACK_END_ADDR): Likewise.
3338 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
3340         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3341         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3342         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3344 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3346         * sysdeps/generic/c++-types.data: New file.
3347         * sysdeps/generic/ld.abilist: New file.
3348         * sysdeps/generic/libBrokenLocale.abilist: New file.
3349         * sysdeps/generic/libanl.abilist: New file.
3350         * sysdeps/generic/libc.abilist: New file.
3351         * sysdeps/generic/libcrypt.abilist: New file.
3352         * sysdeps/generic/libdl.abilist: New file.
3353         * sysdeps/generic/libm.abilist: New file.
3354         * sysdeps/generic/libpthread.abilist: New file.
3355         * sysdeps/generic/libresolv.abilist: New file.
3356         * sysdeps/generic/librt.abilist: New file.
3358 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3360         [BZ #17569]
3361         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3362         Compute absolute value of x as modified by fmod, not original
3363         value of x.
3364         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3365         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
3366         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
3367         RUN_TEST_ffI_f1_mod8.
3368         (remquo_test_data): Add more tests.
3370 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3372         * sysdeps/init_array/pt-crti.S: New file.
3374 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3376         [BZ #17967]
3377         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3378         __builtin_fmaf instead of relying on contraction of a * b + c.
3380 2015-02-12  J William Piggott  <elseifthen@gmx.com>
3382         [BZ #17969]
3383         * manual/time.texi: correct the zoneinfo path in the TZ Variable
3384         node.
3386 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3388         [BZ #17964]
3389         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3390         __builtin_fma instead of relying on contraction of a * b + c.
3392 2015-02-12  Roland McGrath  <roland@hack.frob.com>
3394         * Makeconfig (ASFLAGS): Add -Werror=undef.
3395         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3396         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3397         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3399         * Makeconfig (after-link): New variable.
3400         (+link-pie, +link-pie-tests): Use it.
3401         (+link-static, +link-static-tests): Likewise.
3402         (+link, +link-tests): Likewise.
3403         * Makerules (build-module, build-module-asneeded): Likewise.
3404         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3405         Likewise.
3406         * elf/Makefile ($(objpfx)ld.so): Likewise.
3408 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3410         [BZ #17965]
3411         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3412         both struct timeval and struct timespec.
3414 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3416         [BZ #16560]
3417         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3418         and redefine.
3419         (__ieee754_exp2l): Do not multiply small fractional parts by
3420         M_LN2l.
3421         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3422         small argument.
3423         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3424         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3425         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3426         * math/auto-libm-test-in: Add more tests of exp2.
3427         * math/auto-libm-test-out: Regenerated.
3429 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3431         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3432         unaligned path.
3434 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3436         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3437         little endian.
3439 2015-02-12  Andreas Schwab  <schwab@suse.de>
3441         [BZ #15790]
3442         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3443         Filter out elision flags from value returned in kind.
3444         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3445         * nptl/tst-pthread-mutexattr.c: New file.
3447 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3449         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3450         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3451         into gnu-gnu, and update comment to refer to abi-tags.
3453 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
3455         [BZ #15467]
3456         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3457         (__sincos): Set errno to EDOM for infinite argument.
3458         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3459         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3460         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3461         (__sincosl): Set errno to EDOM for infinite argument.
3462         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3463         (__sincosl): Set errno to EDOM for infinite argument.
3464         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3465         (__sincosl): Set errno to EDOM for infinite argument.
3466         * math/libm-test.inc (sincos_test_data): Test errno setting.
3468 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
3470         * string/strxfrm_l.c: Remove #define STRCMP.
3471         * string/strcoll_l.c: Remove #define STRLEN.
3472         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3473         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3475 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
3477         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3478         * sysdeps/mips/mips32/sfp-machine.h: ... here.
3479         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3480         * sysdeps/mips/mips64/Makefile: ... here.
3481         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3482         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3483         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3484         * sysdeps/mips/mips64/sfp-machine.h: ... here.
3485         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3486         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3487         * sysdeps/mips/mips64/n64/Implies: Likewise.
3489 2015-02-10  Roland McGrath  <roland@hack.frob.com>
3491         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3492         <sys/time.h>, <string.h>, and <errno.h>.
3493         (dest_offset, dest_address, value, zero): Remove unused variables.
3494         (ldouble): Remove typedef.
3495         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3496         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
3497         1).  Fix code style.
3498         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3499         (check): Function removed.
3500         (CHECK): New macro.
3501         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
3502         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3503         Don't call set_sigaction_FP and remove_sigaction_FP here.
3504         (ldouble_test): Just use 'long double' as macro argument, no need for
3505         the 'ldouble' typedef.
3506         (do_test): Set up SIGFPE handler at start, using plain signal rather
3507         than sigaction.  Fix code style.
3509 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
3511         [BZ #17949]
3512         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3513         jump label.
3515 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3517         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3518         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3520         * sysdeps/powerpc/configure.ac: Remove file.
3521         * sysdeps/powerpc/configure: Likewise.
3523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3524         [sysdep_routines]: Remove wordcopy-power6 object.
3525         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3526         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3527         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3528         (__memmove_ppc32): Likewise.
3529         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3530         file.
3531         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3532         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3533         Remove preprocessor.
3535         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3536         [sysdep_routines]: Remove wide chars objects.
3537         [wcsmbs]: New rule for wide char objects.
3539         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3540         Remove wordcopy-power6 obejct.
3541         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3542         Use local call for wordcopy and memcpy symbols.
3543         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3544         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3545         implementation for loader.
3546         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3548         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3549         Remove wordcopy-power7 object.
3550         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3551         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3552         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3553         (_wordcopy_fwd_dest_aligned): Likewise.
3554         (_wordcopy_bwd_aligned): Likewise.
3555         (_wordcopy_bwd_dest_aligned): Likewise.
3557         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3558         Rewrite to call __memmove_ppc instead of include default
3559         implementation.
3561         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3562         Remove wide chars objects.
3563         [wcsmbs]: New rule for wide char objects.
3565 2015-02-09  Andreas Schwab  <schwab@suse.de>
3567         [BZ #17912]
3568         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3569         in terms of __O_DIRECTORY.
3571 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3573         * time/getdate.c: Include <stdbool.h>.
3574         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3575         call PTR_MANGLE.
3576         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3577         PTR_DEMANGLE.
3579 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3581         Add ersatz _Static_assert on older C hosts
3582         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3583         pre-C11 C platform that is not known to support _Static_assert.
3585 2015-02-07  Richard Braun  <rbraun@sceen.net>
3587         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3588         sigstate.
3589         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3591 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3593         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3594         priority against unexistent AIO_PRIO_DELTA_MAX.
3595         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3596         instead of int.
3597         * misc/fchflags.c (fchflags): Likewise.
3598         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3599         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3600         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3601         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3602         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3603         Declare macros.
3604         [__USE_MISC] (chflags, fchflags): Declare functions.
3605         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3606         EINVAL when nfds is greater than FD_SETSIZE.
3607         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3608         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3609         45.
3610         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3611         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3612         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3613         MACH_RCV_TIMED_OUT.
3614         * hurd/hurd/signal.h (_hurd_self_sigstate,
3615         _hurd_critical_section_lock, _hurd_critical_section_unlock):
3616         Explicit casts from void *.
3617         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3618         * abi-tags: Rename gnu-gnu os into gnu.
3620         [BZ #4719]
3621         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3622         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3623         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3624         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3625         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3626         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3628         [BZ #17944]
3629         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3630         duplicates ADDR->sun_path with sockaddr LEN limitation.
3631         * sysdeps/mach/hurd/connect.c: Include <string.h>
3632         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3633         * sysdeps/mach/hurd/sendmsg.c: Likewise.
3634         * sysdeps/mach/hurd/sendto.c: Likewise.
3635         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3636         implementing it by hand.
3638 2015-02-06  Roland McGrath  <roland@hack.frob.com>
3640         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3641         Use sfi_breg on ldr.
3642         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3643         Likewise.
3645         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3646         it's defined.
3647         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3648         Test SIGSETXID only if it's defined.
3650         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3652         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3653         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
3655         * nptl/tst-align2.c: Moved ...
3656         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3657         * nptl/Makefile (tests): Remove tst-align2.
3658         * sysdeps/unix/sysv/linux/Makefile
3659         [$(subdir) = nptl] (tests): Add tst-align-clone.
3660         * nptl/tst-getpid1.c: Moved ...
3661         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3662         * nptl/tst-getpid2.c: Moved ...
3663         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3664         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3665         * sysdeps/unix/sysv/linux/Makefile
3666         [$(subdir) = nptl] (tests): ... here.
3667         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3668         * sysdeps/unix/sysv/linux/Makefile
3669         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3671         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3672         Drop trailing \n from perror argument.  Use return rather than exit.
3674         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3675         on [SA_SIGINFO].
3676         * nptl/tst-cancel21.c (do_test): Likewise.
3677         * debug/tst-backtrace6.c: Include <signal.h> first thing.
3678         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3679         [!SA_SIGINFO]: Make it a stub test.
3681         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3682         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3684         * posix/tst-getlogin.c: Move to ...
3685         * login/tst-getlogin.c: ... here.
3686         * posix/Makefile (tests): Move tst-getlogin to ...
3687         * login/Makefile (tests): ... here.
3689         * libio/tst-atime.c (do_test): Move local variables SV and E
3690         inside [ST_NOATIME] conditional.
3692         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3694         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3696         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3697         (wait_code): New function replaces macro.
3698         Call nanosleep rather than syscall.
3700         * nptl/pt-system.c: Rewritten.  Put everything under
3701         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3702         Use IFUNC to redirect when possible.
3704         * nptl/pt-longjmp.c: Rewritten.  Put everything under
3705         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3706         Use IFUNC to redirect when possible.
3708         * nptl/pt-fork.c: Rewritten.  Put everything under
3709         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3710         Use IFUNC to redirect when possible.
3711         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3713         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3714         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3715         unconditionally nowadays.  This included the only reference to
3716         __vdso_clock_gettime that appears outside libc proper.
3717         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3718         Remove version set (containing only __vdso_clock_gettime).
3719         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3720         Add attribute_hidden.
3721         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3722         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3723         libc_hidden_data_def.
3724         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3725         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3727         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3728         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3729         setrpcent, and getrpcport to ...
3730         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3731         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3732         getrpcbynumber_r, and getrpcent_r to ...
3733         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3734         * inet/getrpcbyname.c: Moved ...
3735         * sunrpc/getrpcbyname.c: ... here.
3736         * inet/getrpcbyname_r.c: Moved ...
3737         * sunrpc/getrpcbyname_r.c: ... here.
3738         * inet/getrpcbynumber.c: Moved ...
3739         * sunrpc/getrpcbynumber.c: ... here.
3740         * inet/getrpcbynumber_r.c: Moved ...
3741         * sunrpc/getrpcbynumber_r.c: ... here.
3742         * inet/getrpcent.c: Moved ...
3743         * sunrpc/getrpcent.c: ... here.
3744         * inet/getrpcent_r.c: Moved ...
3745         * sunrpc/getrpcent_r.c: ... here.
3746         * inet/Makefile (routines): Move those to ...
3747         * sunrpc/Makefile (routines): ... here.
3748         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3749         the $(subdirs) list.
3750         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
3751         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3752         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3753         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3755         * elf/Makefile (routines): Include $(all-dl-routines), not just
3756         $(dl-routines).
3757         (rtld-routines): Likewise.  Use = rather than :=.
3758         * sysdeps/aarch64/Makefile [$(subdir) = elf]
3759         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3760         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3761         * sysdeps/arm/Makefile: Likewise.
3762         * sysdeps/i386/Makefile: Likewise.
3763         * sysdeps/x86_64/Makefile: Likewise.
3764         * sysdeps/hppa/Makefile [$(subdir) = elf]
3765         (sysdep_routines, sysdep-rtld-routines): Don't add
3766         $(sysdep-dl-routines) to these.
3767         * sysdeps/ia64/Makefile: Likewise.
3768         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3769         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3770         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3771         Don't add dl-static to these; sysdep-dl-routines alone is enough.
3772         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3773         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3774         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3775         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3776         * sysdeps/powerpc/Makefile [$(subdir) = elf]
3777         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3778         these; sysdep-dl-routines alone is enough.
3780 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
3782         [BZ #17932]
3783         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3784         where multiplication results in zero and third argument is finite
3785         and nonzero.
3786         * math/auto-libm-test-in: Add more tests of fma.
3787         * math/auto-libm-test-out: Regenerated.
3789         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3790         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3791         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3792         (_FP_CMP_EQ): Likewise.
3793         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3795         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3796         extra argument CHECK_NAN.  Redefine as wrapper around
3797         _FP_EXTEND_CNAN.
3799 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
3801         * version.h (RELEASE): Set to "stable".
3802         (VERSION): Set to "2.21"
3803         * include/features.h (__GLIBC_MINOR__): Set to 21.
3805         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3807 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3808             Paul Eggert  <eggert@cs.ucla.edu>
3810         [BZ #16618]
3811         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3812         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3813         size in bytes. Store needed elements in wpmax. Use needed size
3814         in bytes for extend_alloca.
3816 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
3818         * manual/install.texi: Latest tested versions are GCC 4.9.2,
3819         binutls 2.25, and texinfo 5.2.
3820         * INSTALL: Regenerate.
3821         * sysdeps/nios2/configure: Regenerate.
3822         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3823         * manual/contrib.texi: Update.
3824         * po/be.po: Update.
3825         * po/bg.po: Update.
3826         * po/ca.po: Update.
3827         * po/cs.po: Update.
3828         * po/da.po: Update.
3829         * po/de.po: Update.
3830         * po/el.po: Update.
3831         * po/eo.po: Update.
3832         * po/es.po: Update.
3833         * po/fi.po: Update.
3834         * po/fr.po: Update.
3835         * po/gl.po: Update.
3836         * po/hr.po: Update.
3837         * po/hu.po: Update.
3838         * po/ia.po: Update.
3839         * po/id.po: Update.
3840         * po/it.po: Update.
3841         * po/ja.po: Update.
3842         * po/ko.po: Update.
3843         * po/lt.po: Update.
3844         * po/nb.po: Update.
3845         * po/nl.po: Update.
3846         * po/pl.po: Update.
3847         * po/pt_BR.po: Update.
3848         * po/ru.po: Update.
3849         * po/rw.po: Update.
3850         * po/sk.po: Update.
3851         * po/sl.po: Update.
3852         * po/sv.po: Update.
3853         * po/tr.po: Update.
3854         * po/uk.po: Update.
3855         * po/vi.po: Update.
3856         * po/zh_CN.po: Update.
3857         * po/zh_TW.po: Update.
3859         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3860         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3861         * sysdeps/hppa/dl-irel.h: Remove #warning.
3862         * sysdeps/hppa/entry.h: Provide prototype for
3863         __canonicalize_funcptr_for_compare and cast argument.
3864         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3865         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3866         * sysdeps/hppa/sotruss-lib.c: New file.
3867         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3868         (atomic_compare_and_exchange_val_acq): Use __typeof__.
3869         (atomic_compare_and_exchange_bool_acq): Likewise.
3870         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3871         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3873         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3874         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3875         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3877 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
3879         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3880         called function in non-PIC case.
3882 2015-01-31  David S. Miller  <davem@davemloft.net>
3884         * sysdeps/sparc/sparc32/bits/atomic.h
3885         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3886         unlock not after it.
3887         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3888         volatile register usage warnings from the compiler.
3890         * sysdeps/sparc/nptl/sem_init.c: Delete.
3891         * sysdeps/sparc/nptl/sem_post.c: Delete.
3892         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3893         * sysdeps/sparc/nptl/sem_wait.c: Delete.
3894         * sysdeps/sparc/sparc32/sem_init.c: New file.
3895         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3896         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3897         padding explicitly initialized.
3898         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3899         padding for in-semaphore spinlock.
3900         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3901         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3902         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3903         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3904         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3905         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3906         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3907         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3908         version.
3909         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3910         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3912 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3914         [BZ #17801]
3915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3916         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3917         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3918         New.
3919         (index_AVX_Fast_Unaligned_Load): Likewise.
3920         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3921         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3922         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3923         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3924         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3925         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3926         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3927         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3928         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3930 2015-01-29  Andreas Schwab  <schwab@suse.de>
3932         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3934 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
3936         [BZ #17892]
3937         * nscd/nscd_stat.c (send_stats): Initialize DATA.
3939 2015-01-28  Martin Sebor  <msebor@redhat.com>
3941         * math/README.libm-test: Clarify. Add "How to read the test output."
3943 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
3945         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3946         Define to 0.
3948 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
3950         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3951         (__HAVE_64B_ATOMICS): Define to 0.
3953 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3955         [BZ #17885]
3956         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3957         value to set as new flag.
3959         [BZ #16576]
3960         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3961         and use _ARCH_PPCSQ instead.
3962         (__ieee754_sqrt): Likewise.
3963         (__ieee754_sqrtf): Likewise.
3964         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3965         _ARCH_PPCSQ is defined.
3966         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3967         fsqrt instruction.
3968         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3969         _ARCH_PPCSQ is defined.
3970         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3971         fsqrts instruction.
3972         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3974 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3976         * iconv/loop.c: Suppress array out of bound warning caused by GCC
3977         bug (GCC BZ #64739).
3979 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
3981         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3982         Mark _retval as used.
3983         (lll_futex_wake_unlock): Likewise.
3984         (lll_futex_timed_wait_requeue_pi): Likewise.
3986         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3987         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3988         register variables.
3990         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3991         libm_hidden_def.
3993         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3994         (__bswap_64): Mark as __always_inline.
3996 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
3998         [BZ #15378]
3999         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4000         when none of the search directories exist.
4002 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4004         [BZ #17869]
4005         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4006         power8 in .machine directive.
4008         [BZ #17868]
4009         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4010         set dependency from opd value.
4012 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4015         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4016         architecture.
4018 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4020         [BZ #17870]
4021         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4022         with uint64_t.
4023         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4024         (uint64_t) 1.
4025         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4026         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4027         Replace 1UL with (uint64_t) 1.
4028         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4029         int with uint64_t.
4031 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4033         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4034         (if_freenameindex): Likewise.
4036         * resource/getrlimit64.c: Add missing libc_hidden_def.
4038 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4040         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4041         __label__.
4042         (_FP_FMA): Likewise.
4043         (_FP_TO_INT_ROUND): Likewise.
4044         (_FP_FROM_INT): Likewise.
4046 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4048         [BZ #16418]
4049         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4050         Make code racy and cancel safe.
4052 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4054         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4055         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4056         attribution.
4058         * pwd/tst-getpw.c: Rewrite.
4060         [BZ #17702]
4061         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4062         (modules-names): Add moddummy1 and moddummy2.
4063         ($(objpfx)tst-rec-dlopen): Define.
4064         * dlfcn/moddummy1.c: New file.
4065         * dlfcn/moddummy2.c: New file.
4066         * dlfcn/tst-rec-dlopen.c: New file.
4067         * elf/dl-cache.c (_dl_load_cache_lookup):
4068         Return char*. Copy result with alloca/strcpy/strdup.
4069         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4070         returns char*. Free cached. If not saving realname
4071         free cached.
4072         * elf/dl-open.c (dl_open_worker): Do not assert that
4073         _r_debug->r_state is RT_CONSISTENT.
4074         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4075         returns char*.
4077 2015-01-21  Torvald Riegel  <triegel@redhat.com>
4078             Carlos O'Donell  <carlos@redhat.com>
4080         [BZ #12674]
4081         * nptl/sem_waitcommon.c: New file.
4082         * nptl/sem_wait.c: Include sem_waitcommon.c.
4083         (__sem_wait_cleanup, do_futex_wait): Remove.
4084         (__new_sem_wait): Adapt.
4085         (__new_sem_trywait): New function.
4086         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4087         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4088         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4089         (sem_timedwait): Adapt.
4090         * nptl/sem_post.c (__new_sem_post): Adapt.
4091         (futex_wake): New function.
4092         (__old_sem_post): Add release MO fence.
4093         * nptl/sem_open.c (sem_open): Adapt.
4094         * nptl/sem_init.c (__new_sem_init): Adapt.
4095         (futex_private_if_supported): New function.
4096         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4097         (__old_sem_getvalue): Add using previous code.
4098         * sysdeps/nptl/internaltypes.h: Adapt.
4099         * nptl/tst-sem13.c (do_test): Adapt.
4100         * nptl/tst-sem11.c (main): Adapt.
4101         * nptl/sem_trywait.c: Remove.
4102         * nptl/DESIGN-sem.txt: Remove.
4103         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4104         (gen-as-const-headers): Remove structsem.sym.
4105         * nptl/structsem.sym: Remove.
4106         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4107         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4108         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4109         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4110         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4111         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4112         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4113         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4114         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4115         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4116         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4117         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4118         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4119         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4120         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4121         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4122         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4123         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4124         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4125         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4126         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4127         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4129 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
4131         * INSTALL: Regenerated.
4133         * po/libc.pot: Regenerated.
4135 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
4136             Sandra Loosemore  <sandra@codesourcery.com>
4137             Andrew Jenner  <andrew@codesourcery.com>
4138             Joseph Myers  <joseph@codesourcery.com>
4139             Nathan Sidwell  <nathan@codesourcery.com>
4141         * NEWS: Mention new Nios II port.
4142         * sysdeps/nios2/Implies: New file.
4143         * sysdeps/nios2/Makefile: New file.
4144         * sysdeps/nios2/Subdirs: New file.
4145         * sysdeps/nios2/Versions: New file.
4146         * sysdeps/nios2/__longjmp.S: New file.
4147         * sysdeps/nios2/abort-instr.h: New file.
4148         * sysdeps/nios2/backtrace.c: New file.
4149         * sysdeps/nios2/bits/endian.h: New file.
4150         * sysdeps/nios2/bits/fenv.h: New file.
4151         * sysdeps/nios2/bits/link.h: New file.
4152         * sysdeps/nios2/bits/setjmp.h: New file.
4153         * sysdeps/nios2/bsd-_setjmp.S: New file.
4154         * sysdeps/nios2/bsd-setjmp.S: New file.
4155         * sysdeps/nios2/configure: New generated file.
4156         * sysdeps/nios2/configure.ac: New file.
4157         * sysdeps/nios2/crti.S: New file.
4158         * sysdeps/nios2/crtn.S: New file.
4159         * sysdeps/nios2/dl-init.c: New file.
4160         * sysdeps/nios2/dl-machine.h: New file.
4161         * sysdeps/nios2/dl-sysdep.h: New file.
4162         * sysdeps/nios2/dl-tls.h: New file.
4163         * sysdeps/nios2/dl-trampoline.S: New file.
4164         * sysdeps/nios2/gccframe.h: New file.
4165         * sysdeps/nios2/gmp-mparam.h: New file.
4166         * sysdeps/nios2/jmpbuf-offsets.h: New file.
4167         * sysdeps/nios2/jmpbuf-unwind.h: New file.
4168         * sysdeps/nios2/ldsodefs.h: New file.
4169         * sysdeps/nios2/libc-tls.c: New file.
4170         * sysdeps/nios2/libm-test-ulps: New file.
4171         * sysdeps/nios2/machine-gmon.h: New file.
4172         * sysdeps/nios2/math-tests.h: New file.
4173         * sysdeps/nios2/math_private.h: New file.
4174         * sysdeps/nios2/memusage.h: New file.
4175         * sysdeps/nios2/nptl/Makefile: New file.
4176         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4177         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4178         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4179         * sysdeps/nios2/nptl/pthreaddef.h: New file.
4180         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4181         * sysdeps/nios2/nptl/tls.h: New file.
4182         * sysdeps/nios2/preconfigure: New file.
4183         * sysdeps/nios2/s_fma.c: New file.
4184         * sysdeps/nios2/s_fmaf.c: New file.
4185         * sysdeps/nios2/setjmp.S: New file.
4186         * sysdeps/nios2/sfp-machine.h: New file.
4187         * sysdeps/nios2/sotruss-lib.c: New file.
4188         * sysdeps/nios2/stackguard-macros.h: New file.
4189         * sysdeps/nios2/stackinfo.h: New file.
4190         * sysdeps/nios2/start.S: New file.
4191         * sysdeps/nios2/sysdep.h: New file.
4192         * sysdeps/nios2/tls-macros.h: New file.
4193         * sysdeps/nios2/tst-audit.h: New file.
4194         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4195         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4196         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4197         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4198         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4199         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4200         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4201         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4202         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4203         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4204         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4205         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4206         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4207         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4208         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4209         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4210         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4211         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4212         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4213         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4214         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4215         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4216         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4217         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4218         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4219         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4220         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4221         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4222         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4223         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4224         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4225         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4226         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4227         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4228         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4229         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4230         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4231         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4232         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4233         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4234         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4235         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4236         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4237         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4239 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4241         [BZ #17844]
4242         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4243         (getutent): Use weak_alias in non SHARED case
4244         and default_symbol_version in SHARED case.
4245         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4246         (getutent_r, pututline): Likewise.
4247         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4248         (getutid): Likewise.
4249         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4250         (getutid_r): Likewise.
4251         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4252         (getutline): Likewise.
4253         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4254         (getutline_r): Likewise.
4255         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4256         (updwtmp): Likewise.
4258 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4260         [BZ #17848]
4261         * sysdeps/s390/s390-32/memcmp.S
4262         (memcmp_g5): Rename to __memcmp_g5.
4263         * sysdeps/s390/s390-32/memcpy.S
4264         (memcpy_g5): Rename to __memcpy_g5.
4265         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4266         (memcpy_mvcle) Rename to __memcpy_mvcle.
4267         * sysdeps/s390/s390-32/memset.S
4268         (memset_g5): Rename to __memset_g5.
4269         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4270         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4271         and use prefixed functions.
4272         * sysdeps/s390/s390-32/multiarch/memcmp.S
4273         (memcmp_z196): Rename to __memcmp_z196.
4274         (memcmp_z10): Rename to __memcmp_z10.
4275         (memcmp): Set alias to __memcmp_g5.
4276         (bcmp): Set alias to __memcmp_g5.
4277         * sysdeps/s390/s390-32/multiarch/memcpy.S
4278         (memcpy_z196): Rename to __memcpy_z196.
4279         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4280         (memcpy_z10): Rename to __memcpy_z10.
4281         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4282         (memcpy): Set alias to __memcpy_g5.
4283         * sysdeps/s390/s390-32/multiarch/memset.S
4284         (memset_z196): Rename to __memset_z196.
4285         Jump to __memset_mvcle instead of memset_mvcle.
4286         (memset_z10): Rename to __memset_z10.
4287         Jump to __memset_mvcle instead of memset_mvcle.
4288         (memset_mvcle) Rename to __memset_mvcle.
4289         (memset): Set alias to __memset_g5.
4290         * sysdeps/s390/s390-64/memcmp.S
4291         (memcmp_z900): Rename to __memcmp_z900.
4292         * sysdeps/s390/s390-64/memcpy.S
4293         (memcpy_z900): Rename to __memcpy_z900.
4294         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4295         (memcpy_mvcle) Rename to __memcpy_mvcle.
4296         * sysdeps/s390/s390-64/memset.S
4297         (memset_z900): Rename to __memset_z900.
4298         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4299         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4300         and use prefixed functions.
4301         * sysdeps/s390/s390-64/multiarch/memcmp.S
4302         (memcmp_z196): Rename to __memcmp_z196.
4303         (memcmp_z10): Rename to __memcmp_z10.
4304         (memcmp): Set alias to __memcmp_z900.
4305         (bcmp): Set alias to __memcmp_z900.
4306         * sysdeps/s390/s390-64/multiarch/memcpy.S
4307         (memcpy_z196): Rename to __memcpy_z196.
4308         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4309         (memcpy_z10): Rename to __memcpy_z10.
4310         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4311         (memcpy): Set alias to __memcpy_z900.
4312         * sysdeps/s390/s390-64/multiarch/memset.S
4313         (memset_z196): Rename to __memset_z196.
4314         Jump to __memset_mvcle instead of memset_mvcle.
4315         (memset_z10): Rename to __memset_z10.
4316         Jump to __memset_mvcle instead of memset_mvcle.
4317         (memset_mvcle) Rename to __memset_mvcle.
4318         (memset): Set alias to __memset_z900.
4320 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
4322         [BZ #17748]
4323         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4324         __fesetenv instead of fesetenv.
4326 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4328         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4329         macro.
4331 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4333         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4334         regression on LE.
4336         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4337         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4338         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4339         strncmp-power8 object.
4340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4341         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4342         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4343         * NEWS: Update.
4345 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4346             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4348         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4349         trailing byte check.
4351 2015-01-13  David S. Miller  <davem@davemloft.net>
4353         * include/signal.h (__sigreturn): Guard with __USE_MISC.
4355 2015-01-13  Roland McGrath  <roland@hack.frob.com>
4357         * login/logout.c (logout): Use memset rather than bzero.
4358         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4359         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4360         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4361         (_gethtbyaddr): Likewise.
4362         * locale/programs/simple-hash.c (bcopy): Macro removed.
4364 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4366         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4367         Add strcmp-power8 object.
4368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4369         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4370         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4371         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4372         __strcmp_power8 implementation.
4373         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4374         * NEWS: Update.
4376         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4377         Add strncpy-power8 and stpncpy-power8 objects.
4378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4379         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4380         implementations.
4381         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4382         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4383         __stpncpy_power8 implementation.
4384         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4385         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4386         __strncpy_power8 implementation.
4387         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4388         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4389         * NEWS: Update.
4391         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4392         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4393         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4395         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4396         strncat-power8 object.
4397         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4398         __strcat_power8 implementation.
4399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4400         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4401         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4402         optimized strcat for power8.
4404         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4405         strcpy-power8 and stpcpy-power8 objects.
4406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4407         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4408         implementations.
4409         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4410         multiarch stpcpy implementation for POWER8.
4411         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4412         multiarch strcpy implementation for POWER8.
4413         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4414         __strcpy_power8 function.
4415         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4416         stpcpy for POWER8.
4417         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4418         strcpy for POWER8.
4419         * NEWS: Update.
4421 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
4423         [BZ #16009]
4424         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4425         weights and rules. Use do_xfrm_cached if data fits in cache,
4426         do_xfrm otherwise.  Moved former main loop to...
4427         * (do_xfrm_cached): New function.
4428         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4429         find_idx, find_position and stack_push.
4430         * (find_idx): New function.
4431         * (find_position): Likewise.
4432         * localedata/sort-test.sh: Added test run for do_xfrm.
4433         * localedata/xfrm-test.c (main): Added command line option
4434         -nocache to run the test with strings that are too large for
4435         the STRXFRM cache.
4437 2015-01-13  Torvald Riegel  <triegel@redhat.com>
4439         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4440         variable to lll_futex_wake call, not the value itself.
4442 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
4444         [BZ #17803]
4445         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4446         twom64.  Adjust value to 0x1p-64L.
4447         (__scalblnl): Only return standard underflowing result for K <=
4448         -64 not K <= -63; adjust exponent for underflowing result by 64
4449         not 63.
4450         * math/libm-test.inc (scalbn_test_data): Add more tests.
4451         (scalbln_test_data): Likewise.
4453         [BZ #17834]
4454         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4455         0x1p63L.
4456         (__scalblnl): Get new exponent of adjusted subnormal value from ES
4457         not HX.
4458         * math/libm-test.inc (scalbn_test_data): Add more tests.
4459         (scalbln_test_data): Likewise.
4461 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4462             Stefani Seibold  <stefani@seibold.net>
4464         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4465         (sysdep_routines): Add dl-vdso here, ...
4466         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4467         (sysdep_routines): ... not here.
4468         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4469         fallback when vDSO is not presented.
4470         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4471         Define with libc_hidden_proto/libc_hidden_data_def definitions.
4472         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4473         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4474         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4475         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4476         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4477         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4478         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4479         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4480         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
4481         fallback configurable symbol when vDSO is not available.
4482         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4483         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
4484         be able to redefine fallback symbol when vDSO is not available.
4485         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4486         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4488 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4490         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4491         (TLS_INIT_TP): Add tm_capable initialization.
4492         (TLS_DEFINE_INIT_TP): Likewise.
4493         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4494         TCB.
4495         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4496         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4497         calculation.
4498         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4499         transactoion is lock elision is built and TCB tm_capable is set.
4500         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4502         (INTERNAL_SYSCALL_NCS): Likewise.
4503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4504         (INTERNAL_SYSCALL_NCS): Likewise.
4505         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4507         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4508         for powerpc.
4509         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4510         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4511         and remove it for 32 bits case.
4512         [pthread_rwlock_t] (__rwelision): New field for lock elision.
4513         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4514         initialization.
4515         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4516         Disable lock elision with rdlocks if elision is not available.
4518         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4519         (sysdep_routines): Add lock elision objects.
4520         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4521         [pthread_mutex_t] (__spins): Rework to add lock elision field.
4522         [pthread_mutex_t] (__elision): Add field.
4523         [__PTHREAD_SPINS]: Adjust to init lock elision field.
4524         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4525         elision definitions for powerpc.
4526         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4527         implementation of lock elision for powerpc.
4528         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4529         implementation of timed lock elision for powerpc.
4530         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4531         implementation of trylock with lock elision for powerpc.
4532         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4533         implementaion of unlock for lock elision for powerpc.
4534         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4535         automatic enable lock elision for mutexes.
4536         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4537         transaction execution definitions for powerpc.
4538         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4539         definitions.
4540         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4541         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4542         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4543         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4544         * NEWS: Update.
4546 2015-01-09  Roland McGrath  <roland@hack.frob.com>
4548         * sysdeps/posix/shm-directory.c: Use <> rather than ""
4549         for #include of <shm-directory.h>.
4551 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
4553         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4554         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4556 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
4558         [BZ #17791]
4559         * NEWS: Mention bug fix.
4560         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4561         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4562         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4564 2015-01-09  Torvald Riegel <triegel@redhat.com>
4566         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4568 2015-01-09  Torvald Riegel <triegel@redhat.com>
4570         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4572 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4574         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4575         pointer and cast to uintptr_t.
4577 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4579         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4580         removed.
4581         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4583 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4585         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4586         of 0.
4588 2015-01-08  Roland McGrath  <roland@hack.frob.com>
4590         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4591         <nptl/pthreadP.h> instead.
4592         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4594         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4595         already defined.
4596         [__SIGRTMIN] (init): Function removed.
4597         [__SIGRTMIN] (initialized): Variable removed.
4598         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4599         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4600         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4601         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4602         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4603         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4604         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4605         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4606         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4607         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4608         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4609         * sysdeps/nptl/allocrtsig.c: New file.
4610         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4611         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4612         * sysdeps/generic/testrtsig.h: File removed.
4614         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4615         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4617         * nptl/nptl-init.c (pthread_functions): Conditionalize
4618         .ptr__nptl_setxid initialization on [SIGSETXID].
4620         * sysdeps/nptl/sys/procfs.h: New file.
4621         * nptl_db/Makefile (headers): Add it.
4622         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4624         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4625         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4626         * nptl/pthread_attr_setaffinity.c: Include it.
4627         * nptl/pthread_setattr_default_np.c: Likewise.
4628         * nptl/check-cpuset.h: New file.
4630 2015-01-08  Richard Henderson  <rth@redhat.com>
4632         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4633         (CFLAGS-tst-execstack-prog.c): Likewise.
4634         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4636 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
4637             Sandra Loosemore  <sandra@codesourcery.com>
4638             Andrew Jenner  <andrew@codesourcery.com>
4639             Joseph Myers  <joseph@codesourcery.com>
4640             Nathan Sidwell  <nathan@codesourcery.com>
4642         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4643         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4644         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4645         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4646         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4647         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4648         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4649         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4650         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4651         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4652         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4653         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4654         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4655         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4656         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4657         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4658         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4660 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4662         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4663         timespec struct member in syscall macro.
4664         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4665         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4666         first timeval struct member in syscall macro.
4667         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4669 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
4671         [BZ #17748]
4672         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4673         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4674         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4675         __feupdateenv and define as weak alias of __feupdateenv.  Use
4676         libm_hidden_weak.
4677         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4678         libm_hidden_def.
4679         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4680         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
4681         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4682         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4683         libm_hidden_def.
4684         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4685         __feupdateenv and define as weak alias of __feupdateenv.  Use
4686         libm_hidden_weak.
4687         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4688         libm_hidden_def.
4689         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4690         __feupdateenv and define as weak alias of __feupdateenv.  Use
4691         libm_hidden_weak.
4692         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4693         libm_hidden_def.
4694         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4695         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4696         (__feupdateenv): Likewise.
4697         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4698         __feupdateenv and define as weak alias of __feupdateenv.  Use
4699         libm_hidden_weak.
4700         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4701         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4702         libm_hidden_def.
4703         * sysdeps/tile/math_private.h (__feupdateenv): New inline
4704         function.
4705         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4706         libm_hidden_def.
4707         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4708         __feupdateenv instead of feupdateenv.
4709         (default_libc_feupdateenv_test): Likewise.
4710         (libc_feresetround_ctx): Likewise.
4712 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4714         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4715         prototype.
4717 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
4719         * posix/regcomp.c (parse_bracket_exp): Initialize type to
4720         COLL_SYM in a couple of places to avoid uninitialized variable
4721         wanings on tilegx gcc 4.8.2.
4723 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4725         * sysdeps/aarch64/strcpy.S: New file.
4726         * sysdeps/aarch64/stpcpy.S: New file.
4727         * NEWS: Updated.
4729 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4731         * sysdeps/aarch64/strrchr.S: New file.
4732         * NEWS: Updated.
4734 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
4736         [BZ #17658]
4737         * stdlib/setenv.c: Fix memory leak when setting large,
4738         duplicate string.
4740 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
4742         [BZ #17273]
4743         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4744         and tabs from buffer before parsing fstab entry.
4745         * misc/tst-mntent.c (main): Add test for mount entry with
4746         trailing spaces and tabs.
4748 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
4750         [BZ #17748]
4751         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
4752         * math/fesetround.c (fesetround): Rename to __fesetround and
4753         define as weak alias of __fesetround.  Use libm_hidden_weak.
4754         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4755         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4756         * sysdeps/arm/fesetround.c (fesetround): Likewise.
4757         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4758         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4759         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4760         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4761         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4762         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4763         __fesetround_inline.
4764         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4765         __fesetround_inline instead of __fesetround.
4766         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4767         __fesetround and define as weak alias of __fesetround.  Use
4768         libm_hidden_weak.  Call __fesetround_inline instead of
4769         __fesetround.
4770         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4771         __fesetround and define as weak alias of __fesetround.  Use
4772         libm_hidden_weak.
4773         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4774         Likewise.
4775         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4776         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4777         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4778         * sysdeps/tile/math_private.h (__fesetround): New inline function.
4779         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4780         __fesetround and define as weak alias of __fesetround.  Use
4781         libm_hidden_weak.
4782         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4783         __fesetround instead of fesetround.
4784         (default_libc_feholdexcept_setround): Likewise.
4785         (libc_feholdsetround_ctx): Likewise.
4786         (libc_feholdsetround_noex_ctx): Likewise.
4788         [BZ #17748]
4789         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4790         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4791         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4792         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4793         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4794         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4795         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4796         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4797         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4798         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4799         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4800         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4801         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4802         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4803         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4804         libm_hidden_def.
4805         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4806         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4807         Likewise.
4808         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4809         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4810         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4811         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4812         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4813         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4814         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4815         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4816         __fesetenv instead of fesetenv.
4817         (libc_feresetround_noex_ctx): Likewise.
4818         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4819         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4820         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4821         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4822         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4823         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4824         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4825         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4826         (__feupdateenv): Likewise.
4827         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4828         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4829         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4830         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4832 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4834         [BZ #17806]
4835         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4836         addresses have been freed.
4838 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4840         * resolv/res_init.c (__res_vinit): Improve comments about nserv
4841         and nservall.
4843 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
4845         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4846         Clean up check_pf allocation pattern. addresses
4848 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4850         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4851         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4852         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4853         * nptl/pthread_exit.c (__pthread_exit): Likewise.
4854         * nptl/pthread_join.c (pthread_join): Likewise.
4855         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4856         * sysdeps/posix/waitid.c (__waitid): Likewise.
4857         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4858         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4859         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4860         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4862         Likewise.
4863         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4864         (__libc_pread64): Likewise.
4865         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4866         (__libc_pwrite): Likewise.
4867         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4868         (__libc_pwrite64): Likewsie.
4869         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4870         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4871         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4872         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4873         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4874         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4875         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4877         Likewise.
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4879         (__libc_pread64): Likewise.
4880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4881         Likewise.
4882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4883         (__libc_pwrite64): Likewise.
4884         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4885         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4886         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4887         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4888         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4889         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4890         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4891         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4892         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4893         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4894         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4895         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4896         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4897         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4898         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4899         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4900         Likewise.
4902 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4904         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4905         (CFLAGS-test-double.c): Likewise.
4906         (CFLAGS-test-ldouble.c): Likewise.
4907         (CPPFLAGS-test-ifloat.c): Likewise.
4908         (CPPFLAGS-test-idouble.c): Likewise.
4909         (CPPFLAGS-test-ildoubl.c): Likewise.
4910         (CFLAGS-test-test-fenv.c): Remove variable.
4911         (CFLAGS-test-misc.c): Likewise.
4913 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
4915         [BZ #17797]
4916         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4917         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4918         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4919         CLOCKS_PER_SEC == 1000000.
4920         * time/clocktest.c (main): Replace %ld with %jd and cast to
4921         intmax_t.
4923 2015-01-05  Roland McGrath  <roland@hack.frob.com>
4925         * sysdeps/generic/unwind-resume.h: New file.
4926         * sysdeps/gnu/unwind-resume.c: Include it.
4927         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4928         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4929         argument list.
4930         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4931         global rather than static.
4932         (_Unwind_Resume): Update user.
4933         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4934         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
4935         rather than static.  Add __attribute__ ((cold)).
4936         (_Unwind_Resume, __gcc_personality_v0): Update callers.
4937         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4938         * sysdeps/arm/arm-unwind-resume.S: New file.
4939         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4940         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4941         * sysdeps/arm/Makefile [$(subdir) = csu]
4942         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4943         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4944         Add rt-arm-unwind-resume.
4945         [$(subdir) = nptl]
4946         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4947         Add pt-arm-unwind-resume.
4948         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4949         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4951 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4953         [BZ #17748]
4954         * include/fenv.h (__feholdexcept): Declare.  Use
4955         libm_hidden_proto.
4956         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4957         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
4958         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4959         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4960         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4961         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4962         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4963         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4964         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4965         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4966         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4967         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4968         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4969         (feholdexcept): Likewise.
4970         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4971         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4972         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4973         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4974         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4975         __feholdexcept instead of feholdexcept.
4976         (default_libc_feholdexcept_setround): Likewise.
4978 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4980         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4981         to avoid using stl/str to align destination.
4983 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4985         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4987 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4989         [BZ #17796]
4990         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4991         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4992         Define as weak alias not strong alias.
4994 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4996         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4997         bltzal with addiupc.
4998         (RTLD_START): Ditto.
5000 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5002         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5003         for __vdso_* functions in declarations.
5004         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5005         definitions.
5006         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5007         INTERNAL_VSYSCALL): Use struct return types to check for error.
5009         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5010         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5011         function with cast from llround().
5012         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5013         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5014         Define.
5016 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5018         [BZ #17793]
5019         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5020         Define as weak alias not strong alias.
5022         [BZ #17635]
5023         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5024         ...
5025         * ctype/ctype-extn.c: ... here.
5026         (__isblank_l): Move to ...
5027         * ctype/ctype-c99_l.c: ... here.  New file.
5028         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5029         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5030         Remove variable.
5031         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5032         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5033         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5034         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5035         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5037         [BZ #17777]
5038         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5039         (posix_fadvise64): Define as weak alias not strong alias.
5040         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5041         (posix_fallocate64): Likewise.
5042         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5043         Remove variable.
5044         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5045         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5046         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5047         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5048         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5050 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5052         [BZ #16191]
5053         * NEWS: Mention bug fix.
5054         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5055         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5056         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5057         (HOST_STACK_END_ADDR): Likewise.
5059 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5061         [BZ #17748]
5062         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5063         * math/fegetround.c (fegetround): Rename to __fegetround and
5064         define as weak alias of __fegetround.  Use libm_hidden_weak.
5065         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5066         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5067         * sysdeps/arm/fegetround.c (fegetround): Likewise.
5068         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5069         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5070         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5071         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5072         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5073         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5074         Undefine after rather than before function definition; use
5075         parentheses around function name in definition.
5076         (__fegetround): Also undefine macro after function definition.
5077         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5078         __fegetround and define as weak alias of __fegetround.  Use
5079         libm_hidden_weak.  Do not undefine as macro.
5080         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5081         Likewise.
5082         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5083         __fegetround and define as weak alias of __fegetround.  Use
5084         libm_hidden_weak.
5085         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5086         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5087         * sysdeps/tile/math_private.h (__fegetround): New inline function.
5088         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5089         __fegetround and define as weak alias of __fegetround.  Use
5090         libm_hidden_weak.
5091         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5092         __fegetround instead of fegetround.
5094         [BZ #17782]
5095         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5096         Condition macro definition on [__USE_MISC].
5098         [BZ #17781]
5099         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5100         (struct sigaction): Change type of sa_flags field to int.
5102         [BZ #17780]
5103         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5104         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5105         __glibc_reserved0.
5107         * nptl/version.c (banner): Use single year in copyright notice.
5109         * NEWS: Update copyright dates.
5110         * catgets/gencat.c (print_version): Likewise.
5111         * csu/version.c (banner): Likewise.
5112         * debug/catchsegv.sh: Likewise.
5113         * debug/pcprofiledump.c (print_version): Likewise.
5114         * debug/xtrace.sh (do_version): Likewise.
5115         * elf/ldconfig.c (print_version): Likewise.
5116         * elf/ldd.bash.in: Likewise.
5117         * elf/pldd.c (print_version): Likewise.
5118         * elf/sotruss.sh: Likewise.
5119         * elf/sprof.c (print_version): Likewise.
5120         * iconv/iconv_prog.c (print_version): Likewise.
5121         * iconv/iconvconfig.c (print_version): Likewise.
5122         * locale/programs/locale.c (print_version): Likewise.
5123         * locale/programs/localedef.c (print_version): Likewise.
5124         * login/programs/pt_chown.c (print_version): Likewise.
5125         * malloc/memusage.sh (do_version): Likewise.
5126         * malloc/memusagestat.c (print_version): Likewise.
5127         * malloc/mtrace.pl: Likewise.
5128         * manual/libc.texinfo: Likewise.
5129         * nptl/version.c (banner): Likewise.
5130         * nscd/nscd.c (print_version): Likewise.
5131         * nss/getent.c (print_version): Likewise.
5132         * nss/makedb.c (print_version): Likewise.
5133         * posix/getconf.c (main): Likewise.
5134         * scripts/test-installation.pl: Likewise.
5135         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5137 2015-01-02  Will Newton  <will.newton@linaro.org>
5139         * sysdeps/arm/armv7/configure: Removed.
5140         * sysdeps/arm/armv7/configure.ac: Likewise.
5142 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5144         * All files with FSF copyright notices: Update copyright dates
5145         using scripts/update-copyrights.
5146         * intl/plural.c: Regenerated.
5147         * locale/programs/charmap-kw.h: Likewise.
5148         * locale/programs/locfile-kw.h: Likewise.
5150 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5152         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5154 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5156         [BZ #17748]
5157         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5158         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5159         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5160         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5161         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5162         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5163         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5164         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5165         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5166         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5167         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5168         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5169         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5170         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5171         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5172         libm_hidden_def.
5173         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5174         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5175         Likewise.
5176         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5177         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5178         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5179         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5180         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5181         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5182         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5183         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5184         __fegetenv instead of fegetenv.
5185         (libc_feholdsetround_noex_ctx): Likewise.
5187 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5189         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5190         (Elf_MIPS_ABIFlags_v0): New structure.
5191         (EF_MIPS_FP64): Define.
5192         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5193         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5194         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5195         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5196         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5197         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5198         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5199         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5200         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5201         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5202         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5203         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5204         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5205         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5206         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5207         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5208         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5209         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5210         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5211         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5212         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5213         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5214         field.
5215         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5216         EF_MIPS_FP64.
5217         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5218         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5219         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5220         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5221         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5222         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5223         * sysdeps/mips/tst-abi-interlink.c: Likewise.
5224         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5225         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5226         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5227         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5228         record the current FP ABI extension.
5229         (mips-mode-switch): Define to show if kernel headers support mode
5230         switching.
5231         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5232         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5233         supported SYSV ABI version to 3.
5234         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5235         feature.
5237 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5238             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5240         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5241         path.
5242         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5244 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5246         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5247         __fegetround and redefine to call __fegetround.  Remove condition
5248         on [!__NO_MATH_INLINES].
5249         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5250         function.
5251         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5252         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5253         Remove macro.
5254         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5255         instead of <fenv_libc.h>.
5256         (__llrintl): Call fegetround instead of __fegetround.
5257         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5258         instead of <fenv_libc.h>.
5259         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5260         (__lrintl): Call fegetround instead of __fegetround.
5261         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5262         instead of <fenv_libc.h>.
5263         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5264         (__rintl): Call fegetround instead of __fegetround.
5266 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5268         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5269         arrays.
5271 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5273         [BZ #17775]
5274         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5275         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5276         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5278 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5280         * sysdeps/i386/tls-macros.h: Include <features.h>.
5281         (TLS_LE): Use non-PIC version for GCC >= 5.0.
5282         (TLS_IE): Likewise.
5283         (TLS_LD): Likewise.
5284         (TLS_GD): Likewise.
5285         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5286         define for GCC >= 5.0.
5288 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
5290         * math/test-fenv.c (test_single_exception, set_single_exc,
5291         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5292         feexcp_mask_test, feenable_test, fe_single_test): Add
5293         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5294         case where they are not used.
5295         * math/libm-test.inc: Likewise.
5296         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5297         unused in the absence of FP rounding/exception support.
5298         * stdio-common/tst-printf-round.c: Likewise.
5299         * stdlib/tst-strtod-round.c: Likewise.
5300         * stdlib/tst-strtod-underflow.c: Likewise.
5302 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
5304         [BZ #17723]
5305         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5306         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5307         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5308         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5309         libm_hidden_weak.
5310         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5311         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5312         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5313         libm_hidden_def.
5314         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5315         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5316         libm_hidden_weak.
5317         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5318         Likewise.
5319         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5320         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5321         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5322         libm_hidden_weak.
5323         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5324         libm_hidden_def.
5325         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5326         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5327         (__feraiseexcept): Likewise.
5328         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5329         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5330         libm_hidden_weak.
5331         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5332         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5333         libm_hidden_def.
5334         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5335         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5336         Use libm_hidden_def.
5337         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5338         libm_hidden_def.
5339         (feraiseexcept): Define as weak not strong alias.  Use
5340         libm_hidden_weak.
5341         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5342         New inline function.  Factored out of ...
5343         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
5344         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5345         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5346         feraiseexcept.
5347         * math/w_acos.c (__acos): Likewise.
5348         * math/w_asin.c (__asin): Likewise.
5349         * math/w_ilogb.c (__ilogb): Likewise.
5350         * math/w_j0.c (y0): Likewise.
5351         * math/w_j1.c (y1): Likewise.
5352         * math/w_jn.c (yn): Likewise.
5353         * math/w_log.c (__log): Likewise.
5354         * math/w_log10.c (__log10): Likewise.
5355         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5356         * sysdeps/aarch64/fpu/math_private.h
5357         (libc_feupdateenv_test_aarch64): Likewise.
5358         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5359         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5360         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5361         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5362         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5363         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5364         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5365         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5366         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5367         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5369 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5371         [BZ #17732]
5372         * io/test-utime.c (main): Replace %ld with %jd and cast to
5373         intmax_t.
5374         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5375         * nptl/tst-mutex5.c: Include <stdint.h>.
5376         (do_test): Replace %ld with %jd and cast to intmax_t.
5377         * posix/tst-regex.c (run_test): Likewise.
5378         (run_test_backwards): Likewise.
5379         * rt/tst-clock.c: Include <stdint.h>.
5380         (clock_test): Replace %ld with %jd and cast to intmax_t.
5381         * rt/tst-cpuclock1.c: Include <stdint.h>.
5382         (do_test): Replace %lu with %ju and cast to uintmax_t.
5383         * rt/tst-cpuclock2.c: Include <stdint.h>.
5384         (do_test): Replace %lu with %ju and cast to uintmax_t.
5385         * rt/tst-mqueue1.c: Include <stdint.h>.
5386         (check_attrs): Replace %ld with %jd and cast to intmax_t.
5387         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5388         intmax_t.
5389         * rt/tst-mqueue4.c (do_test): Likewise.
5390         * rt/tst-timer4.c: Include <stdint.h>.
5391         (check_ts): Replace %ld with %jd and cast to intmax_t.
5392         (do_test): Likewise.
5393         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5394         and cast to intmax_t.
5395         * sysdeps/pthread/tst-timer.c (main): Likewise.
5396         * time/clocktest.c (main): Likewise.
5397         * time/tst-posixtz.c (do_test): Likewise.
5398         * timezone/tst-timezone.c (main): Likewise.
5400 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5401             H.J. Lu  <hongjiu.lu@intel.com>
5403         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5404         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5405         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5406         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5407         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5408         version if bit_Fast_Unaligned_Load is set.
5409         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5410         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5411         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5412         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5413         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5414         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5416         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5417         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5418         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5419         to 4.
5420         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5421         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5422         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5423         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5425 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
5427         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5428         instead of #if to avoid a Wundef warning.
5429         * stdlib/tst-limits.c (do_test): Likewise.
5431         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5432         parallel other exception macros.
5433         (fegetenv): Convert from macro to extern inline so that it applies
5434         retroactively to inline functions already seen by the compiler.
5435         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5437         * posix/Makefile (before-compile): Use $(objpfx) for
5438         posix-conf-vars-def.h.
5440 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5442         * posix/getconf.c (main): Use size_t for type of I.
5443         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5444         NSPEC.
5446         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5447         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5448         * posix/posix-envs.def: Likewise.
5449         * sysdeps/posix/sysconf.c: Likewise.
5450         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5451         (specs): Remove array.
5452         * scripts/gen-posix-conf-vars.awk: Support generation of specs
5453         array.
5455         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5456         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5457         (__sysconf): Use CONF_IS_* macros.
5459         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5460         ($(objpfx)posix-conf-vars-def.h): New target.
5461         * posix/posix-conf-vars.list: New file.
5462         * posix/posix-conf-vars.h: New file.
5463         * posix/confstr.c: Include posix-conf-vars.h.
5464         (confstr): Use CONF_IS_* macros.
5465         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
5466         CONF_IS_* macros.
5467         * scripts/gen-posix-conf-vars.awk: New file.
5469 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
5471         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5472         fegetround): Add no-op macros to avoid linknamespace issues.
5474         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5475         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5477         * sysdeps/unix/sysv/linux/tile/sysdep.h
5478         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5479         assembly-specific section to avoid a redefinition warning.
5481         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5482         long before casting to pointer to avoid a cast warning.
5484 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
5486         * sysdeps/tile/tilegx/Implies: New file.
5488 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
5490         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5492 2014-12-23  Florian Weimer  <fweimer@redhat.com>
5494         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5496 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5498         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5499         not define.
5500         * sysdeps/unix/sysv/linux/utimes.c: Do not include
5501         <kernel-features.h>.
5502         (__utimes) [__NR_utimes]: Make code unconditional.
5503         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5504         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5505         (__ASSUME_UTIMES): Do not undefine.
5506         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5507         (__ASSUME_UTIMES): Likewise.
5508         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5509         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5510         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5511         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5513 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5515         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5517 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
5519         [BZ #17747]
5520         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5521         alias to weak alias for j0l, y0l.
5522         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5523         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5525         [BZ #17746]
5526         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5527         conversion.
5529 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5531         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5532         to zero if not already defined.
5534 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5536         [BZ #17724]
5537         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5538         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
5539         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
5540         (char *) casts added.
5541         * sysdeps/ieee754/k_standardf.c: New file.
5542         * sysdeps/ieee754/k_standardl.c: Likewise.
5543         * math/Makefile (libm-support): Remove k_standard.
5544         (libm-calls): Add k_standard.
5546 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5548         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5549         Optimize to avoid an unnecessary FPCR read.
5551 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5553         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5554         Optimize to reduce FPCR/FPSR accesses.
5556 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5558         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5559         Call libc_fetestexcept_aarch64.
5561 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5563         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5564         Call libc_fesetround_aarch64.
5566 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5568         [BZ #17733]
5569         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5570         (__bind): Do not define as weak alias.
5571         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5572         define.
5573         (__getsockname): Do not define as weak alias.
5575 2014-12-22  Will Newton  <will.newton@linaro.org>
5577         * manual/install.texi: Document that we require bison 2.7
5578         or above.
5579         * INSTALL: Regenerate.
5580         * configure.ac: Use AC_CHECK_PROG_VER instead of
5581         AC_PATH_PROG when checking for bison and check for
5582         version 2.7 or above.
5583         * configure: Regenerate.
5585 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
5587         [BZ #17745]
5588         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5589         * sysdeps/tile/ffsll.c (ffsll): To here.
5591         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5593 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5595         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5596         if not defined.
5597         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5598         definition.
5599         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5600         hidden ___tls_get_addr.
5601         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5602         hidden __tls_get_addr.
5603         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5604         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5605         Likewise.
5607 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5609         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5610         _dl_init call.
5612 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5614         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5615         from "call _dl_init@PLT".
5616         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5618 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
5620         * manual/search.texi: (Array Sort Function): Clarify stable sorting
5621         guarantees.
5623 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
5625         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5627 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5629         [BZ #17744]
5630         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5631         strnlen.
5633 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5635         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5636         of multu on MIPSr6.
5637         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5638         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5639         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5640         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5641         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5643 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5645         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5646         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5647         (PTR_SUBU): Use subu for mips32r6/mips64r6.
5648         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5649         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5650         mips32r6/mips64r6.
5651         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5653 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
5655         * string/strncat.c (STRNCAT): Simplify implementation.
5657 2014-12-19  David S. Miller  <davem@davemloft.net>
5659         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5660         access the quad as both a long double and as a series of 4 words.
5662         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5663         link_map->l_info array access.
5665 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5667         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5669         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5670         * math/atest-exp2.c (TIMEOUT): Likewise.
5671         * math/atest-sincos.c (TIMEOUT): Likewise.
5673 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5675         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5676         -Wno-error with -fno-builtin-lround.
5678 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5680         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5681         Contains futex constants and functions moved over from ...
5682         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
5683         <lowlevellock-futex.h>.
5684         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5685         (lll_timedwait_tid): Add comments and parentheses around macro
5686         arguments.
5688 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5690         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5691         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
5692         (__lll_private_flag): Remove.
5693         (lll_futex_wait): Likewise.
5694         (lll_futex_timed_wait): Likewise.
5695         (lll_futex_wake): Likewise.
5696         (lll_futex_requeue): Likewise.
5697         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5698         (__lll_timedwait_tid): Spell out argument names.
5699         (lll_timedwait_tid): Add comments and parentheses around macro
5700         arguments.
5701         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5702         LLL_SHARED and LLL_PRIVATE usable from assembly code.
5704 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5706         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5707         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5708         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5709         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5710         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5711         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5712         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5713         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5714         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5715         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5716         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5717         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5718         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5719         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5720         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5721         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5722         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5723         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5724         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5726 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5728         * sysdeps/x86_64/x32/Makefile: New file.
5730 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5732         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5733         1L with (mp_limb_t) 1.
5735 2014-12-17  Roland McGrath  <roland@hack.frob.com>
5737         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5738         * nptl/libc_pthread_init.c: ... here.
5739         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5740         * nptl/register-atfork.c: ... here.
5742         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5743         Use pthread_sigmask rather than INTERNAL_SYSCALL.
5744         Use assert_perror to check its return value.
5745         (__gai_create_helper_thread): Likewise.
5747         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5749         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5751 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
5753         [BZ #17725]
5754         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5755         __profil_counter.
5756         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5757         Likewise.
5758         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5759         Likewise.
5760         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5761         Likewise.
5762         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5763         (profil_counter): Likewise.
5764         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5765         (profil_counter): Likewise.
5766         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5767         Likewise.
5768         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5769         Likewise.
5770         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5771         (profil_counter): Likewise.
5772         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5773         Likewise.
5774         [!__profil_counter] (profil_counter): Define as weak alias of
5775         __profil_counter.
5776         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5777         (profil_counter): Rename to __profil_counter.
5778         [!__profil_counter] (profil_counter): Define as weak alias of
5779         __profil_counter.
5780         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5781         (profil_counter): Rename to __profil_counter.
5782         [!__profil_counter] (profil_counter): Define as weak alias of
5783         __profil_counter.
5784         * sysdeps/posix/profil.c: Update comment referring to
5785         profil_counter.
5786         (__profil): Use __profil_counter instead of profil_counter.
5787         * sysdeps/posix/sprofil.c (profil_counter): Rename to
5788         __profil_counter.  Use __profil_counter_ushort and
5789         __profil_counter_uint in definitions.
5790         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5791         instead of profil_counter_uint and profil_counter_ushort.
5793         [BZ #17722]
5794         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5795         define as weak alias of __inet_makeaddr.
5796         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5797         as weak alias of __inet_addr.
5798         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5799         as weak alias of __inet_pton.  Use libc_hidden_weak.
5800         * include/arpa/inet.h (__inet_pton): Declare.  Use
5801         libc_hidden_proto.
5802         (inet_makeaddr): Don't use libc_hidden_proto.
5803         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
5804         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5805         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
5806         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5807         Remove variable.
5808         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5809         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5811 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
5813         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5815 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5817         * stdio-common/bug-vfprintf-nargs.c (do_test):
5818         Cast value to intptr_t to avoid format warning
5819         for usage with PRIdPTR printing macro.
5821 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5823         * libio/tst-widetext.c (do_test):
5824         Use format type %td instead of %Zd for ptrdiff_t
5825         in order to avoid format warning.
5827 2014-12-17  Andreas Schwab  <schwab@suse.de>
5829         * nscd/mem.c (gc): Add size_t cast to match printf format.
5831 2014-12-16  Roland McGrath  <roland@hack.frob.com>
5833         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5834         (init): Apply PTR_MANGLE to pointers before storing them.
5835         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5836         before using them.
5838 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
5840         [BZ #17719]
5841         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5842         define as weak alias of __memrchr.
5843         (__memrchr): Do not define as strong alias of memrchr.
5844         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5845         Remove variable.
5846         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5847         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5848         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5850         [BZ #17717]
5851         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5852         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
5853         (if_indextoname): Rename to __if_indextoname and define as weak
5854         alias of __if_indextoname.  Use libc_hidden_weak.
5855         (if_freenameindex): Rename to __if_freenameindex and define as
5856         weak alias of __if_freenameindex.
5857         (if_nameindex): Rename to __if_nameindex and define as weak alias
5858         of __if_nameindex.
5859         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5860         __if_nametoindex and define as weak alias of __if_nametoindex.
5861         Use libc_hidden_weak.
5862         (if_freenameindex): Rename to __if_freenameindex and define as
5863         weak alias of __if_freenameindex.
5864         (if_nameindex): Rename to __if_nameindex and define as weak alias
5865         of __if_nameindex.
5866         (if_indextoname): Rename to __if_indextoname and define as weak
5867         alias of __if_indextoname.  Use libc_hidden_weak.
5868         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5869         __if_nametoindex and define as weak alias of __if_nametoindex.
5870         Use libc_hidden_weak.
5871         (if_freenameindex): Rename to __if_freenameindex and define as
5872         weak alias of __if_freenameindex.  Use libc_hidden_weak.
5873         (if_nameindex_netlink): Use __if_freenameindex instead of
5874         if_freenameindex.
5875         (if_nameindex): Rename to __if_nameindex and define as weak alias
5876         of __if_nameindex.  Use libc_hidden_weak.
5877         (if_indextoname): Rename to __if_indextoname and define as weak
5878         alias of __if_indextoname.  Use libc_hidden_weak.
5879         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5880         libc_hidden_proto.
5881         [!_ISOMAC] (__if_freenameindex): Likewise.
5882         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5883         if_nametoindex.
5884         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5885         variable.
5886         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5887         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5888         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5889         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5890         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5891         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5892         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5894         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5895         Remove variable.
5896         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5897         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5899 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5901         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5902         subscript above bounds'
5904         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5905         bounds.
5907 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
5909         * libio/tst-fopenloc.c: Use test-skeleton.c.
5911         * stdlib/tst-bsearch.c: Use test-skeleton.c.
5912         (entry): Rename to ITEM.
5913         (do_test, comp): Adjust.
5915         * stdio-common/tst-fseek.c: Use test-skeleton.c.
5917 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5919         * string/tester.c: Include <libc-internal.h>.
5920         (test_memset): Ignore -Wmemset-transposed-args.
5922 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5924         * misc/tst-mntent2.c (do_test): Fix warning.
5926 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5928         * elf/tst-unique4lib.cc(a): Mark as used.
5930 2014-12-16  Florian Weimer  <fweimer@redhat.com>
5932         [BZ #17630]
5933         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5934         names.
5936 2014-12-16  Allan McRae  <allan@archlinux.org>
5938         * stdio-common/Makefile (tests): Re-add bug26.
5940 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
5942         [BZ #17657]
5943         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5944         static array.
5946 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
5948         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5949         (__lll_lock_wait): Likewise.
5950         (__lll_timedlock_wait): Likewise.
5951         (__lll_timedwait_tid): Likewise.
5952         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5953         (__lll_robust_timedlock_wait): Likewise.
5954         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5955         (lll_cond_trylock): Likewise.
5956         (__lll_lock): Likewise.
5957         (__lll_robust_lock): Likewise.
5958         (__lll_cond_lock): Likewise.
5959         (lll_robust_cond_lock): Likewise.
5960         (__lll_timedlock): Likewise.
5961         (__lll_robust_timedlock): Likewise.
5962         (__lll_unlock): Likewise.
5963         (__lll_robust_unlock): Likewise.
5964         (lll_wait_tid): Likewise.
5965         (lll_timedwait_tid): Likewise.
5967 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5969         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5971 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5973         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5975 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5977         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5978         * stdio-common/tst-sprintf.c: Likewise.
5980 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5982         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5984 2014-12-15  Jeff Law  <law@redhat.com>
5986         [BZ #16617]
5987         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5988         on the heap.  (CVE-2012-3406)
5989         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5990         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
5991         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5993 2014-12-15  Will Newton  <will.newton@linaro.org>
5995         * manual/install.texi: Bump required version of texinfo
5996         to 4.7 from 4.5.
5997         * INSTALL: Regenerated.
5998         * configure.ac: Check for makeinfo version 4.7 and above.
5999         * configure: Regenerated.
6001 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6003         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6004         PREFIX, string constant to insert between directory and name.
6005         * sysdeps/posix/shm_open.c: Update caller.
6006         * sysdeps/posix/shm_unlink.c: Likewise.
6007         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6008         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6009         (SEM_SHM_PREFIX): New macro.
6010         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6011         [$(have-thread-library) = no].
6012         * nptl/Makefile (libpthread-routines): Add shm-directory.
6013         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6014         * sysdeps/nptl/shm-directory.h: New file.
6015         * sysdeps/posix/shm-directory.c
6016         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6017         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6018         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6019         INTERNAL_SYSCALL.
6020         (__where_is_shmfs): Function removed.
6021         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6022         Variables removed.
6023         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6024         Use SHM_GET_NAME.
6025         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6027         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6028         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6029         unconditional for use inside libpthread.
6030         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6032 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6034         * nptl/pthread_getaffinity.c: New file.
6035         * nptl/pthread_setaffinity.c: New file.
6036         * nptl/pthread_getname.c: New file.
6037         * nptl/pthread_setname.c: New file.
6039         * nptl/pthread_create.c (START_THREAD_DEFN)
6040         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6042 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6043             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6045         * resolv/res_send.c (send_vc): Disable warning resplen may
6046         be used uninitialized.
6048 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6050         * nptl/tst-mutex6.c
6051         (ATTR_NULL): New define checks ATTR against NULL.
6052         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6053         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6055 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6057         [BZ #17581]
6058         * malloc/hooks.c
6059         (mem2mem_check): Revert my previous change.
6060         (malloc_check_get_size): Revert my previous change.
6061         (mem2chunk_check): Revert my previous change.
6063 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6065         * sysdeps/posix/shm-directory.c: New file.
6066         * sysdeps/posix/shm-directory.h: New file.
6067         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6068         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6069         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
6070         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6071         Transmute EPERM to EACCES.
6072         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6073         from ...
6074         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
6075         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6077 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6079         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6080         pointer and cast to uintptr_t.
6081         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6082         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6083         Add cast to avoid warning.
6084         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6086 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6088         * nptl/semaphore.h: Move to ...
6089         * sysdeps/pthread/semaphore.h: ... here.
6090         * Makefile (installed-headers): Change nptl/semaphore.h to
6091         sysdeps/pthread/semaphore.h.
6093 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6095         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6096         generated error format strings.
6098         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6099         -Wformat-extra-args warnings for scanf formats.
6100         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6101         test of zero-length format (duh).
6102         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6103         corner-case scanf format test.
6104         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6105         generated fprintf format string.
6106         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6107         corner-case sprintf format tests.
6108         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6109         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6110         -Wformat-extra-args warnings throughout.
6111         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6112         (CFLAGS-scanf4.c): Likewise.
6113         (CFLAGS-scanf7.c): Likewise.
6114         (CFLAGS-tst-sprintf.c): Likewise.
6115         (CFLAGS-tst-printf.c): Likewise.
6116         (CFLAGS-tst-printfsz.c): Likewise.
6118 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6120         * include/cpio.h: New file.
6121         * include/fmtmsg.h: Likewise.
6123         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
6124         corresponding format argument to size_t.
6125         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
6126         arguments.
6127         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
6128         corresponding format argument to size_t.
6129         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
6130         arguments.
6131         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
6132         corresponding format argument to size_t.
6133         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6134         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6135         (CFLAGS-tst-mbswcs2.c): Likewise.
6136         (CFLAGS-tst-mbswcs3.c): Likewise.
6137         (CFLAGS-tst-mbswcs4.c): Likewise.
6138         (CFLAGS-tst-mbswcs5.c): Likewise.
6139         (CFLAGS-tst-trans.c): Likewise
6141 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6143         * posix/regexbug1.c (main): Use "%s" format with regerror results,
6144         rather than assuming they won't contain any '%'s.
6146 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
6148         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6149         inhibit_loop_to_libcall to avoid recursive calls.
6150         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6151         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6153 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6155         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6156         prototype.
6158 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6160         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6161         integer value instead of boolean.
6163 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6165         * malloc/malloc.c: Fix powerof2 check.
6167 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6169         * locale/programs/locfile.h (maybe_swap_uint32):
6170         Remove inline and add unused attribute.
6172 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6174         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6175         Truncating assembler expression to a .long expression.
6177 2014-12-11  Andreas Schwab  <schwab@suse.de>
6179         * elf/rtld.c (struct map_args): Constify str member.
6180         (do_preload): Constify fname argument.
6182 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6184         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6185         constants definition.
6187 2014-12-11  Andreas Schwab  <schwab@suse.de>
6189         [BZ #16657]
6190         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6191         FORCE_ELISION instead of DO_ELISION.
6192         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6193         Remove.
6194         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6195         Likewise.
6197         * iconvdata/gconv-modules: Remove duplicate entry.
6199 2014-12-11  Will Newton  <will.newton@linaro.org>
6201         Merge gettext 0.19.3 into intl/.
6203         This involves a number of cosmetic changes to comments
6204         and ANSI function definitions and prototypes throughout
6205         all the files. The gettext copyright header is used but
6206         with the date ranges taken from the glibc copy.
6208         * NEWS: Add gettext merge to 2.21.
6209         * intl/bindtextdom.c: Switch to gettext copyright.
6210         Use ANSI definitions and prototypes.
6211         Use gl_* locking primitives rather than __libc_* ones.
6212         Use __builtin_expect rather than __glibc_likely/unlikely.
6213         * intl/dcgettext.c: Switch to gettext copyright.
6214         Use ANSI definitions and prototypes.
6215         * intl/dcigettext.c: Switch to gettext copyright.
6216         Use ANSI definitions and prototypes.
6217         (INTDIV0_RAISES_SIGFPE): New define.
6218         Use gl_* locking primitives rather than __libc_* ones.
6219         Include eval-plural.h instead of plural-eval.c.
6220         Use __builtin_expect rather than __glibc_likely/unlikely.
6221         * intl/dcngettext.c: Switch to gettext copyright.
6222         Use ANSI definitions and prototypes.
6223         * intl/dgettext.c: Likewise.
6224         * intl/dngettext.c: Likewise.
6225         * intl/plural-eval.c: Renamed to...
6226         * intl/eval-plural.h: ...this.
6227         * intl/explodename.c: Switch to gettext copyright.
6228         Use ANSI definitions and prototypes.
6229         (_nl_explode_name): Use strchr instead of __rawmemchr.
6230         * intl/finddomain.c: Switch to gettext copyright.
6231         Use ANSI definitions and prototypes.
6232         Use gl_* locking primitives rather than __libc_* ones.
6233         (_nl_find_domain): Use malloc rather than alloca for
6234         allocation of temporary locale name.
6235         * intl/gettext.c: Switch to gettext copyright.
6236         Use ANSI definitions and prototypes.
6237         * intl/gettextP.h: Switch to gettext copyright.
6238         Use ANSI definitions and prototypes.
6239         Use gl_* locking primitives rather than __libc_* ones.
6240         * intl/gmo.h: Switch to gettext copyright.
6241         (struct sysdep_string): Move struct segment_pair outside of
6242         struct definition.
6243         * intl/hash-string.c: Use ANSI definitions and prototypes.
6244         * intl/hash-string.h: Switch to gettext copyright.
6245         Use ANSI definitions and prototypes.
6246         * intl/l10nflist.c: Switch to gettext copyright.
6247         Use ANSI definitions and prototypes.
6248         (_nl_normalize_codeset): Avoid integer overflow.
6249         * intl/loadinfo.h: Switch to gettext copyright.
6250         Use ANSI definitions and prototypes.
6251         (LIBINTL_DLL_EXPORTED): New define.
6252         (PATH_SEPARATOR): New define.
6253         * intl/loadmsgcat.c: Switch to gettext copyright.
6254         * intl/localealias.c: Switch to gettext copyright.
6255         Use ANSI definitions and prototypes.
6256         (_nl_expand_alias): Use PATH_SEPARATOR.
6257         * intl/ngettext.c: Switch to gettext copyright.
6258         Use ANSI definitions and prototypes.
6259         * intl/plural-exp.c: Likewise.
6260         * intl/plural-exp.h: Switch to gettext copyright.
6261         Use ANSI definitions and prototypes.
6262         (struct expression): Move definition of enum operator outside
6263         of struct definition.
6264         * intl/plural.c: Regenerate.
6265         * intl/plural.y: Switch to gettext copyright.
6266         Use ANSI definitions and prototypes.
6267         Port to bison 3.0.
6268         * intl/textdomain.c: Switch to gettext copyright.
6269         Use ANSI definitions and prototypes.
6270         Use gl_* locking primitives rather than __libc_* ones.
6272 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
6274         * debug/warning-nop.c: Add used atrribute.
6276 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6278         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6280         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6281         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6282         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6284 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6285             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6287         [BZ #17634]
6288         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6289         Undefine after defining function.  Define as weak alias of
6290         __wcschr.  Use libc_hidden_weak.
6291         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
6292         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6293         (libc_hidden_def): Also define __GI___wcschr alias.
6294         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6295         __wcschr and define as weak alias of __wcschr.
6296         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6297         __wcschr.
6298         [!WCSCHR] (DEFAULT_WCSCHR): Define.
6299         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6300         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
6301         libc_hidden_weak.  Do not use libc_hidden_def.
6302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6303         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6304         __GI___wcschr alias.
6305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6306         [IS_IN (libc)] (wcschr): Define as macro expanding to
6307         __redirect_wcschr.
6308         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6309         [IS_IN (libc)] (__wcschr_power6): Likewise.
6310         [IS_IN (libc)] (__wcschr_power7): Likewise.
6311         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
6312         instead of wcschr.
6313         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6314         __libc_wcschr.
6315         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6316         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6317         __wcschr and define as weak alias of __wcschr.  Use
6318         libc_hidden_builtin_def.
6319         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6320         as weak alias of __wcschr.  Use libc_hidden_weak.
6321         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6322         wcschr.
6323         * time/era.c (_nl_init_era_entries): Likewise.
6324         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6325         variable.
6326         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6327         (test-xfail-XPG4/time.h/linknamespace): Likewise.
6329 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6331         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6332         format for long int variable.
6334 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
6336         [BZ #10672]
6337         * manual/search.texi: (Array Sort Function): Remove claim how to make
6338         qsort stable.
6340 2014-12-10  Andreas Schwab  <schwab@suse.de>
6342         [BZ #12847]
6343         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6344         user-controlled locks.
6346 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
6348         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6349         register.
6351 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6353         * configure.ac (--disable-werror): New configure option.
6354         (enable_werror): New AC_SUBST.
6355         * configure: Regenerated.
6356         * config.make.in (enable-werror): New variable.
6357         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6358         -Wno-error=undef.
6359         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6360         * manual/install.texi (Configuring and compiling): Document
6361         --disable-werror.
6362         * INSTALL: Regenerated.
6363         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6364         (CFLAGS-tst-chk2.c): Likewise.
6365         (CFLAGS-tst-chk3.c): Likewise.
6366         (CFLAGS-tst-chk4.cc): Likewise.
6367         (CFLAGS-tst-chk5.cc): Likewise.
6368         (CFLAGS-tst-chk6.cc): Likewise.
6369         (CFLAGS-tst-lfschk1.c): Likewise.
6370         (CFLAGS-tst-lfschk2.c): Likewise.
6371         (CFLAGS-tst-lfschk3.c): Likewise.
6372         (CFLAGS-tst-lfschk4.cc): Likewise.
6373         (CFLAGS-tst-lfschk5.cc): Likewise.
6374         (CFLAGS-tst-lfschk6.cc): Likewise.
6376         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6377         (main): Disable -Wdeprecated-declarations around calls to
6378         register_printf_function.
6380         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6381         (do_test): Disable -Wdiv-by-zero around some calls to
6382         fwrite_unlocked and fread_unlocked.
6384         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6385         (DIAG_POP_NEEDS_COMMENT): Likewise.
6386         (_DIAG_STR1): Likewise.
6387         (_DIAG_STR): Likewise.
6388         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6389         * stdio-common/bug21.c: Include <libc-internal.h>.
6390         (do_test): Disable -Wformat around call to sscanf.
6391         * stdio-common/scanf14.c: Include <libc-internal.h>.
6392         (main): Disable -Wformat around some calls to scanf functions.
6394 2014-12-09  Torvald Riegel  <triegel@redhat.com>
6396         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6398 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6400         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6401         stack variable alignment.
6403 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
6405         [BZ #17682]
6406         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6407         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6408         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6409         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6410         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6411         __getrlimit instead of getrlimit.
6412         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6413         __gettimeofday instead of gettimeofday.
6414         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6415         Likewise.
6416         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6417         Likewise.
6418         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6419         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6420         Remove variable.
6421         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6422         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6424 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6426         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6427         for wide-character tests.
6429 2014-12-04  Roland McGrath  <roland@hack.frob.com>
6431         * io/openat64.c: #include <libc-internal.h>
6432         (__openat64): Prototypify.  Use ignore_value on MODE.
6433         * io/openat.c: Likewise.
6434         * misc/reboot.c: #include <libc-internal.h>
6435         (reboot): Prototypify.  Use ignore_value on HOWTO.
6436         * misc/ptrace.c: #include <libc-internal.h>
6437         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
6439 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
6441         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6442         XPG4, UNIX98 and XOPEN2K.
6443         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6444         Remove variable.
6445         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6447 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6449         * libio/fileops.c: Use ISO C style for function definitions.
6450         * libio/iofopen.c: Likewise.
6451         * libio/wfileops.c: Likewise.
6453         [BZ #17653]
6454         * libio/fileops.c (_IO_new_file_underflow): Unset cached
6455         offset on EOF.
6456         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6457         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6458         (fgets_func): Function pointer to fgets and fgetws.
6459         (do_ftell_test): Add test to verify ftell value after read
6460         EOF.
6461         (do_test): Set fgets_func.
6463         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6464         O_TRUNC flag for w and w+ modes.
6465         (do_rewind_test): Likewise.
6466         (do_ftell_test): Likewise.
6467         (do_write_test): Likewise.
6469         [BZ #17647]
6470         * libio/fileops.c (do_ftell): Seek only when there are
6471         unflushed writes.
6472         * libio/wfileops.c (do_ftell_wide): Likewise.
6473         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6474         test case.
6475         (do_one_test): Call it.
6477 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
6479         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6480         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6481         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6482         Remove variable.
6483         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6484         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6485         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6487 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6489         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6490         Remove variable.
6491         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6493         [BZ #17668]
6494         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6495         as weak alias of __getifaddrs.  Use libc_hidden_weak.
6496         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6497         __freeifaddrs.  Use libc_hidden_weak.
6498         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6499         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
6500         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6501         __freeifaddrs.  Use libc_hidden_weak.
6502         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6503         __getifaddrs and define as weak alias of __getifaddrs.  Use
6504         libc_hidden_weak.
6505         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6506         __freeifaddrs.  Use libc_hidden_weak.
6507         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6508         Remove variable.
6509         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6510         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6512 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6514         [BZ #17601]
6515         * sysdeps/mips/start.S (__start): Use indirect jump to call
6516         __libc_start_main.
6518 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6520         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6522         * nptl/tst-mutex1.c: Include <stdbool.h>.
6523         [!ATTR] (ATTR_NULL): New macro.
6524         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6525         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6526         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6528         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6529         to char *.
6531         [BZ #17665]
6532         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6533         Change conditional to [__USE_MISC].
6535         [BZ #17664]
6536         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6537         fgets_unlocked.
6538         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6539         __fgets_unlocked.
6540         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6541         fgets_unlocked.
6542         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6543         Remove variable.
6544         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6545         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6546         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6547         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6548         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6549         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6550         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6551         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6552         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6554         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6556 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6558         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6559         Remove strpbrk objects.
6560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6561         (__libc_ifunc_impl_list): Remove strpbrk implementation.
6562         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6563         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6564         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6565         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6567         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6568         Remove strcspn objects.
6569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6570         (__libc_ifunc_impl_list): Remove strcspn implementation.
6571         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6572         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6573         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6574         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6576         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6577         Remove strspn objetcs.
6578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6579         (__libc_ifunc_impl_list): Remove strspn implementation.
6580         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6581         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6582         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6583         * sysdeps/powerpc/powerpc64/strspn.S: New file.
6585 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
6587         [BZ #17581]
6588         * malloc/hooks.c
6589         (mem2mem_check): Add a terminator to the chain of checking blocks.
6590         (malloc_check_get_size): Use it here.
6591         (mem2chunk_check): Ditto.
6593 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6595         * sysdeps/powerpc/powerpc64/strtok.S: New file.
6596         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6598 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
6600         * bits/ioctl-types.h: Indent preprocessor directives correctly.
6602         * nptl/nptl-init.c: Include libc-internal.h.
6603         (__pthread_initialize_minimal_internal): Use ROUND_UP.
6605         * elf/ldconfig.c (search_dir): Expand comment.
6607 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
6609         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6610         variable.
6611         (linknamespace-symlist-stdlibs-tests): Likewise.
6612         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6613         instead of $(objpfx)symlist-stdlibs.
6614         (linknamespace-libs-isoc): New variable.
6615         (linknamespace-libs): Use $(linknamespace-libs-isoc).
6616         (linknamespace-libs-ISO): New variable.
6617         (linknamespace-libs-ISO99): Likewise.
6618         (linknamespace-libs-ISO11): Likewise.
6619         (linknamespace-libs-XPG3): Likewise.
6620         (linknamespace-libs-XPG4): Likewise.
6621         (linknamespace-libs-POSIX): Likewise.
6622         (linknamespace-libs-UNIX98): Likewise.
6623         (linknamespace-libs-XOPEN2K): Likewise.
6624         (linknamespace-libs-POSIX2008): Likewise.
6625         (linknamespace-libs-XOPEN2K8): Likewise.
6626         ($(objpfx)symlist-stdlibs): Replace by
6627         $(linknamespace-symlist-stdlibs-tests).  Use
6628         $(linknamespace-libs-$*) as set of libraries.
6629         ($(linknamespace-header-tests)): Update dependencies.  Use
6630         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6631         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6632         * conform/linknamespace.pl: Remove comment about considering
6633         definitions of symbols from irrelevant libraries.
6635 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6637         [BZ #13862]
6638         * elf/dl-tls.c: Include <atomic.h>.
6639         (oom): Remove #ifdef SHARED/#endif.
6640         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6641         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
6642         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6643         big enough.
6644         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6645         * nptl/Makefile (tests): Add tst-stack4.
6646         (modules-names): Add tst-stack4mod.
6647         ($(objpfx)tst-stack4): New.
6648         (tst-stack4mod.sos): Likewise.
6649         ($(objpfx)tst-stack4.out): Likewise.
6650         ($(tst-stack4mod.sos)): Likewise.
6651         (clean): Likewise.
6652         * nptl/tst-stack4.c: New file.
6653         * nptl/tst-stack4mod.c: Likewise.
6655 2014-11-27  J. Brown  <jb999@gmx.de>
6657         * sysdeps/x86/bits/string.h: Add recent CPUs.
6659 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6661         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6662         sigblock.
6664         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6665         feof.
6667         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6668         variable.
6670 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6672         * nscd/connections.c: Include libc-internal.h because of macro
6673         usage ignore_value.
6675 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6677         * string/bits/string3.h (__warn_memset_zero_len): Don't
6678         declare for gcc newer than 5.0.
6679         (memset): Don't test for zero-length __LEN for gcc newer than
6680         5.0.
6682 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6684         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6685         size_t for %zu format.
6687         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6688         difference, not %ju.
6690 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6692         * include/libc-internal.h (ignore_value): New macro.
6693         * nscd/connections.c (restart): Wrap calls to setuid and setgid
6694         with ignore_value.
6696         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6697         definition.
6699         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6700         pthread_cleanup_push to void *.
6702         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6703         Undefine.
6705         [BZ #16619]
6706         [BZ #16740]
6707         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6708         instead of 1L << 52.
6710         * libio/bug-rewind.c (do_test): Check fwscanf return values.
6711         * libio/bug-rewind2.c (do_test): Likewise.
6713         * debug/test-stpcpy_chk-ifunc.c: Remove file.
6714         * debug/test-strcpy_chk-ifunc.c: Likewise.
6715         * wcsmbs/test-wcschr-ifunc.c: Likewise.
6716         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6717         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6718         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6719         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6720         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6721         * Rules [$(multi-arch) = no] (tests): Do not filter out
6722         $(tests-ifunc).
6723         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6724         * debug/Makefile (tests-ifunc): Remove variable.
6725         (tests): Do not add $(tests-ifunc).
6726         * wcsmbs/Makefile (tests-ifunc): Remove variable.
6727         (tests): Do not add $(tests-ifunc).
6728         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6729         [TEST_IFUNC]: Remove conditionals.
6730         * string/test-string.h (TEST_IFUNC): Remove macro.
6731         [TEST_IFUNC]: Remove conditionals.
6733         * string/test-strchr.c [!WIDE] (L): New macro.
6734         [WIDE] (L): Likewise.
6735         (check1): Use CHAR instead of char.  Use L on string and character
6736         constants.
6738 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
6740         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6741         tests.
6742         * sysdeps/powerpc/bits/atomic.h
6743         (__arch_atomic_exchange_and_add_32_acq): Add definition.
6744         (__arch_atomic_exchange_and_add_32_rel): Likewise.
6745         (atomic_exchange_and_add_acq): Likewise.
6746         (atomic_exchange_and_add_rel): Likewise.
6747         * sysdeps/powerpc/powerpc32/bits/atomic.h
6748         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6749         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6750         * sysdeps/powerpc/powerpc64/bits/atomic.h
6751         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6752         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6754 2014-11-26  Torvald Riegel  <triegel@redhat.com>
6756         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6757         Change synchronization of __sched_fifo_min_prio and
6758         __sched_fifo_max_prio.
6759         * nptl/pthread_mutexattr_getprioceiling.c
6760         (pthread_mutexattr_getprioceiling): Likewise.
6761         * nptl/pthread_mutexattr_setprioceiling.c
6762         (pthread_mutexattr_setprioceiling): Likewise.
6763         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6764         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6765         Likewise.
6767 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6769         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6770         void.
6772 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6774         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6775         third argument const.
6777 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
6779         fnmatch: work around GCC compiler warning bug with uninit var
6780         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6781         This works around a bug with x86-64 GCC 4.9.2 and earlier
6782         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6783         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6784         used uninitialized in this function [-Wmaybe-uninitialized]".
6786 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6788         * posix/bug-regex31.c (main): Return RES not 0.
6790 2014-11-25  Anton Blanchard <anton@samba.org>
6792         * sysdeps/powerpc/bits/atomic.h
6793         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6795 2014-11-24  Sterling Augustine  <saugustine@google.com>
6797         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6799 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
6801         [BZ #17608]
6802         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6804 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
6806         [BZ #17633]
6807         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6808         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6809         variable.
6810         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6811         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6813 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6815         * string/strncpy.c (strncpy): Improve performance by using memset.
6817 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6819         * string/strcpy.c (strcpy):
6820         Improve performance by using strlen and memcpy.
6822 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
6824         * string/strcoll_l.c (get_next_seq): __always_inline.
6825         * string/strcoll_l.c (do_compare): __always_inline.
6827 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6829         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6830         defined.
6831         * include/mqueue.h: Likewise.
6832         * include/stdlib.h: Likewise.
6834         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6835         (get_null_defines): Adjust.
6836         * sunrpc/Makefile: Adjust comment.
6837         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6838         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6839         (CFLAGS-interp.c): Likewise.
6840         (CFLAGS-ldconfig.c): Likewise.
6841         (CPPFLAGS-.os): Likewise.
6842         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6843         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6844         * extra-modules.mk (extra-modules.mk): Likewise.
6845         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6846         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6847         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6848         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6849         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6850         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6851         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6852         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6853         * iconvdata/Makefile (CPPFLAGS): Likewise.
6854         (cpp-srcs-left): Add libof for all iconvdata routines.
6855         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6856         * include/assert.h: Likewise.
6857         * include/ctype.h: Likewise.
6858         * include/errno.h: Likewise.
6859         * include/libc-symbols.h: Likewise.
6860         * include/math.h: Likewise.
6861         * include/netdb.h: Likewise.
6862         * include/resolv.h: Likewise.
6863         * include/stdio.h: Likewise.
6864         * include/stdlib.h: Likewise.
6865         * include/string.h: Likewise.
6866         * include/sys/stat.h: Likewise.
6867         * include/wctype.h: Likewise.
6868         * intl/l10nflist.c: Likewise.
6869         * libidn/idn-stub.c: Likewise.
6870         * libio/libioP.h: Likewise.
6871         * nptl/libc_multiple_threads.c: Likewise.
6872         * nptl/pthreadP.h: Likewise.
6873         * posix/regex_internal.h: Likewise.
6874         * resolv/res_hconf.c: Likewise.
6875         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6876         * sysdeps/arm/memmove.S: Likewise.
6877         * sysdeps/arm/sysdep.h: Likewise.
6878         * sysdeps/generic/_itoa.h: Likewise.
6879         * sysdeps/generic/symbol-hacks.h: Likewise.
6880         * sysdeps/gnu/errlist.awk: Likewise.
6881         * sysdeps/gnu/errlist.c: Likewise.
6882         * sysdeps/i386/i586/memcpy.S: Likewise.
6883         * sysdeps/i386/i586/memset.S: Likewise.
6884         * sysdeps/i386/i686/memcpy.S: Likewise.
6885         * sysdeps/i386/i686/memmove.S: Likewise.
6886         * sysdeps/i386/i686/mempcpy.S: Likewise.
6887         * sysdeps/i386/i686/memset.S: Likewise.
6888         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6889         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6890         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6891         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6892         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6893         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6894         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6895         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6896         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6897         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6898         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6899         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6900         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6901         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6902         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6903         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6904         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6905         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6906         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6907         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6908         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6909         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6910         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6911         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6912         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6913         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6914         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6915         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6916         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6917         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6918         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6919         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6921         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6922         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6924         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6925         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6926         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6927         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6928         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6929         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6930         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6931         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6932         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6933         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6934         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6935         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6936         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6937         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6938         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6939         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6940         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6941         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6942         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6943         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6944         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6945         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6946         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6947         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6948         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6949         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6950         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6951         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6952         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6953         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6954         * sysdeps/posix/closedir.c: Likewise.
6955         * sysdeps/posix/opendir.c: Likewise.
6956         * sysdeps/posix/readdir.c: Likewise.
6957         * sysdeps/posix/rewinddir.c: Likewise.
6958         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6959         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6960         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6961         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6962         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6963         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6964         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6969         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6970         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6971         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6972         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6973         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6974         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6975         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6976         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6977         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6978         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6979         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6980         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6981         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6982         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6983         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6984         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6985         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6986         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6992         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6993         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6994         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6995         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6996         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6997         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6998         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6999         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7000         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7001         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7002         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7003         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7004         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7005         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7006         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7007         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7008         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7009         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7010         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7011         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7012         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7013         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7014         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7015         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7016         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7017         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7018         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7019         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7020         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7021         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7022         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7023         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7024         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7025         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7026         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7027         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7028         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7029         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7030         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7031         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7032         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7033         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7034         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7035         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7036         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7037         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7038         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7039         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7040         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7042         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7043         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7044         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7045         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7046         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7047         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7048         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7049         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7050         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7052         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7053         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7054         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7055         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7056         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7057         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7058         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7059         * sysdeps/unix/alpha/sysdep.S: Likewise.
7060         * sysdeps/unix/alpha/sysdep.h: Likewise.
7061         * sysdeps/unix/make-syscalls.sh: Likewise.
7062         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7064         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7065         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7066         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7067         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7068         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7069         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7070         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7071         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7072         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7073         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7074         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7075         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7076         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7077         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7078         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7079         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7080         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7081         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7082         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7083         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7084         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7085         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7086         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7087         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7088         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7091         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7092         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7094         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7095         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7096         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7097         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7098         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7099         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7100         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7101         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7102         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7103         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7104         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7105         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7106         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7107         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7108         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7109         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7110         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7111         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7112         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7113         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7114         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7115         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7116         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7117         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7118         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7120         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7121         * sysdeps/x86_64/memcpy.S: Likewise.
7122         * sysdeps/x86_64/memmove.c: Likewise.
7123         * sysdeps/x86_64/memset.S: Likewise.
7124         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7125         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7126         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7127         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7128         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7129         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7130         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7131         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7132         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7133         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7134         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7135         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7136         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7137         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7138         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7139         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7140         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7141         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7142         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7143         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7144         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7145         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7146         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7147         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7148         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7149         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7150         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7151         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7152         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7153         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7154         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7155         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7156         * sysdeps/x86_64/strcmp.S: Likewise.
7158         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7160         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7161         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7162         * elf/rtld-Rules: Likewise.
7163         * elf/setup-vdso.h: Likewise.
7164         * include/assert.h: Likewise.
7165         * include/bits/stdlib-float.h: Likewise.
7166         * include/errno.h: Likewise.
7167         * include/sys/stat.h: Likewise.
7168         * include/unistd.h: Likewise.
7169         * sysdeps/aarch64/setjmp.S: Likewise.
7170         * sysdeps/alpha/setjmp.S: Likewise.
7171         * sysdeps/arm/__longjmp.S: Likewise.
7172         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7173         * sysdeps/arm/setjmp.S: Likewise.
7174         * sysdeps/arm/sysdep.h: Likewise.
7175         * sysdeps/generic/_itoa.h: Likewise.
7176         * sysdeps/generic/dl-sysdep.h: Likewise.
7177         * sysdeps/generic/ldsodefs.h: Likewise.
7178         * sysdeps/i386/dl-tls.h: Likewise.
7179         * sysdeps/i386/setjmp.S: Likewise.
7180         * sysdeps/m68k/setjmp.c: Likewise.
7181         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7182         * sysdeps/mach/hurd/opendir.c: Likewise.
7183         * sysdeps/posix/getcwd.c: Likewise.
7184         * sysdeps/posix/opendir.c: Likewise.
7185         * sysdeps/posix/profil.c: Likewise.
7186         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7187         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7188         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7189         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7190         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7191         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7192         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7193         * sysdeps/s390/dl-tls.h: Likewise.
7194         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7195         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7196         * sysdeps/sh/sh3/setjmp.S: Likewise.
7197         * sysdeps/sh/sh4/setjmp.S: Likewise.
7198         * sysdeps/unix/alpha/sysdep.h: Likewise.
7199         * sysdeps/unix/arm/sysdep.S: Likewise.
7200         * sysdeps/unix/i386/sysdep.S: Likewise.
7201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7202         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7203         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7204         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7205         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7206         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7207         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7208         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7209         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7210         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7211         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7212         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7216         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7217         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7219         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7220         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7221         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7222         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7223         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7224         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7225         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7226         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7228         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7229         * sysdeps/x86_64/setjmp.S: Likewise.
7231         * include/math.h: Use IS_IN instead of IS_IN_libm.
7232         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7233         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7234         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7235         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7236         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7237         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7238         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7239         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7240         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7241         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7242         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7243         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7244         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7245         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7246         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7247         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7248         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7249         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7250         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7251         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7252         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7253         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7254         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7255         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7256         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7257         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7258         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7259         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7260         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7261         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7262         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7263         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7264         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7266         Likewise.
7267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7268         Likewise.
7269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7270         Likewise.
7271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7272         Likewise.
7273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7274         Likewise.
7275         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7276         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7277         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7278         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7279         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7280         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7286         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7287         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7288         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7289         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7290         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7291         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7292         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7293         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7294         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7295         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7296         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7297         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7298         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7299         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7301         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7303         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7304         * nptl/pthreadP.h: Likewise.
7305         * nptl_db/structs.def: Likewise.
7306         * sysdeps/arm/sysdep.h: Likewise.
7307         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7308         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7309         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7310         * sysdeps/unix/alpha/sysdep.h: Likewise.
7311         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7312         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7313         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7314         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7315         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7316         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7317         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7318         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7319         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7320         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7321         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7322         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7323         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7324         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7329         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7330         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7331         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7332         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7333         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7334         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7335         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7336         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7338         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7339         * nptl/pthreadP.h: Likewise.
7340         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7341         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7342         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7343         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7344         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7345         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7346         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7347         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7348         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7349         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7350         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7351         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7353         Likewise.
7354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7355         Likewise.
7356         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7357         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7358         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7359         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7360         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7361         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7362         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7363         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7365         * dlfcn/dladdr.c: Use IS_IN.
7366         * dlfcn/dladdr1.c: Likewise.
7367         * dlfcn/dlclose.c: Likewise.
7368         * dlfcn/dlerror.c: Likewise.
7369         * dlfcn/dlinfo.c: Likewise.
7370         * dlfcn/dlmopen.c: Likewise.
7371         * dlfcn/dlopen.c: Likewise.
7372         * dlfcn/dlsym.c: Likewise.
7373         * dlfcn/dlvsym.c: Likewise.
7375         * include/ifaddrs.h: Use IS_IN.
7376         * inet/check_pf.c: Likewise.
7377         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7378         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7380         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7381         IS_IN_ldconfig.
7382         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7383         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7385         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7386         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7387         IS_IN (libc).
7389         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7391         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7392         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7393         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7394         * include/libc-symbols.h (IS_IN_LIB): New macro.
7395         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7396         * include/netdb.h: Likewise.
7397         * include/stap-probe.h: Remove all uses of IN_LIB.
7399         * Makeconfig (module-cppflags-real): Define MODULE_NAME
7400         instead of IN_MODULE.
7401         * include/libc-symbols.h (IN_MODULE): Define using
7402         MODULE_NAME.
7403         (PASTE_NAME, PASTE_NAME1): New macros.
7404         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7405         of IN_LIB.
7406         (STAP_PROBE_ASM): Likewise.
7408 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7410         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7411         __mach_init in dlopened libc.
7413 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
7415         * sysdeps/arm/preconfigure.ac: Delete EABI check.
7416         * sysdeps/arm/preconfigure: Regenerate.
7418 2014-11-21  Roland McGrath  <roland@hack.frob.com>
7420         * nptl/pthread_create.c (__pthread_create_2_1): Set
7421         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7422         when copying values from IATTR into PD.
7424 2014-11-21  Will Newton  <will.newton@linaro.org>
7425             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7427         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7428         Refactor inline-asm.  Also add comment.
7430         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7431         ElfW macro instead of hardcoded Elf64 types.
7432         (la_aarch64_gnu_pltenter): Likewise.
7433         * sysdeps/aarch64/dl-machine.h
7434         (elf_machine_runtime_setup): Use ElfW(Addr).
7436         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7437         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7438         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7439         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7440         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7441         (R_AARCH64_TLS_DTPMOD64): Rename to ..
7442         (R_AARCH64_TLS_DTPMOD): This.
7443         (R_AARCH64_TLS_DTPREL64): Rename to ...
7444         (R_AARCH64_TLS_DTPREL): This.
7445         (R_AARCH64_TLS_TPREL64): Rename to ...
7446         (R_AARCH64_TLS_TPREL): This.
7447         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7448         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7449         R_AARCH64_TLS_TPREL64.
7450         (elf_machine_rela): Likewise.
7452 2014-11-21  Torvald Riegel  <triegel@redhat.com>
7454         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7455         by setting it to 0.  64b atomics are not supported currently.
7457 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7459         [BZ #16469]
7460         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7461         search domain names.
7463 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7465         [BZ #16469]
7466         * NEWS: Update.
7467         * resolv/res_query.c (__libc_res_nquerydomain): Retain
7468         trailing dot.
7469         * posix/tst-getaddrinfo5.c: New.
7470         * posix/Makefile (tests): Add it.
7472 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7474         [BZ #14498]
7475         * NEWS: Fixed.
7476         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7477         after parsing line but before break_if_match.
7478         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7479         if there is a protocol mismatch.
7481 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7483         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7484         because the potential race is on the user-supplied stream.
7486 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7488         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7489         string literal if not passed a buffer.
7490         * manual/job.texi (ctermid): Update reasoning, note deviation
7491         from posix, suggest mtasurace when not passed a buffer, for
7492         future non-preliminary safety notes.
7494 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7496         * manual/users.texi (cuserid): Fix MT-Safety note for the case
7497         of not passing it a buffer.
7498         Reported by Peng Haitao.
7500 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7502         * manual/Makefile ($(objpfx)stamp-summary): Require
7503         check-safety.sh to pass.
7504         * manual/check-safety.sh: Wish for verification that every
7505         @deftypefn and @deftypefun is followed by a @safety remark.
7507 2014-11-20  Roland McGrath  <roland@hack.frob.com>
7509         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7511         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7512         PTHREAD_CANCEL_ASYNCHRONOUS.
7513         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7514         send SIGCANCEL.
7516         * nptl/default-sched.h: New file.
7517         * sysdeps/unix/sysv/linux/default-sched.h: New file.
7518         * nptl/pthread_create.c: Include it.
7519         (__pthread_create_2_1): Use collect_default_sched instead of making
7520         Linux syscalls here directly.
7522 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7524         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7525         __pthread_once): Use C11 atomics.
7527 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7529         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7531 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7533         * include/atomic.h (__atomic_link_error, __atomic_check_size,
7534         atomic_thread_fence_acquire, atomic_thread_fence_release,
7535         atomic_thread_fence_seq_cst, atomic_load_relaxed,
7536         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7537         atomic_compare_exchange_weak_relaxed,
7538         atomic_compare_exchange_weak_acquire,
7539         atomic_compare_exchange_weak_release,
7540         atomic_exchange_acquire, atomic_exchange_release,
7541         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7542         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7543         atomic_fetch_and_acquire,
7544         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7546 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7548         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7549         USE_ATOMIC_COMPILER_BUILTINS): Define.
7550         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7551         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7552         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7553         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7554         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7555         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7556         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7557         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7558         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7559         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7560         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7561         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7562         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7563         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7564         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7565         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7566         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7567         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7568         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7569         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7570         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7572         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7574         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7576         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7578         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7579         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7580         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7582         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7583         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7584         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7585         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7586         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7587         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7588         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7589         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7591 2014-11-19  Roland McGrath  <roland@hack.frob.com>
7593         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7594         the sched_priority value here.  It was already checked when the user
7595         called pthread_attr_setschedparam.
7597         * nptl/tst-bad-schedattr.c: New file.
7598         * nptl/Makefile (tests): Add it.
7600 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
7601             Florian Weimer  <fweimer@redhat.com>
7602             Joseph Myers  <joseph@codesourcery.com>
7603             Adam Conrad  <adconrad@0c3.net>
7604             Andreas Schwab  <schwab@suse.de>
7605             Brooks  <bmoses@google.com>
7607         [BZ #17625]
7608         * wordexp-test.c (__dso_handle): Add prototype.
7609         (__register_atfork): Likewise.
7610         (__app_register_atfork): New function.
7611         (registered_forks): New global.
7612         (register_fork): New function.
7613         (test_case): Add 3 new tests for WRDE_CMDSUB.
7614         (main): Call __app_register_atfork.
7615         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7616         fork count is non-zero fail the test.
7617         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7618         is set.
7619         (parse_dollars): Remove check for WRDE_NOCMD.
7620         (parse_dquote): Likewise.
7622 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7624         * Makeconfig (built-modules): List non-library modules to be
7625         built.
7626         (module-cppflags): Include libc-modules.h for
7627         everything except shlib-versions.v.i.
7628         (CPPFLAGS): Use it.
7629         (before-compile): Add libc-modules.h.
7630         ($(common-objpfx)libc-modules.h,
7631         $(common-objpfx)libc-modules.stmp): New targets.
7632         (common-generated): Add libc-modules.h and libc-modules.stmp.
7633         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7634         * include/libc-symbols.h: Don't include libc-modules.h.
7635         * include/libc-modules.h: Remove file.
7636         * scripts/gen-libc-modules.awk: New script to generate
7637         libc-modules.h.
7638         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7639         Depend on libc-modules.stmp.
7641         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7643         * Makeconfig (in-module): Get value of libof set for the
7644         translation unit.
7645         (CPPFLAGS): Use $(in-module).
7646         * Makerules: Don't suffix routine names for nonlib.
7647         * include/libc-modules.h: New file.
7648         * include/libc-symbols.h: Include libc-modules.h
7649         (IS_IN): New macro to replace IS_IN_* macros.
7650         * elf/Makefile: Set libof-* for each routine.
7651         * elf/rtld-Rules: Likewise.
7652         * extra-modules.mk: Likewise.
7653         * iconv/Makefile: Likewise.
7654         * iconvdata/Makefile: Likewise.
7655         * locale/Makefile: Likewise.
7656         * malloc/Makefile: Likewise.
7657         * nss/Makefile: Likewise.
7658         * sysdeps/gnu/Makefile: Likewise.
7659         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7660         * sysdeps/unix/sysv/linux/Makefile: Likewise.
7661         * sysdeps/s390/s390-64/Makefile: Likewise.
7662         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
7663         CPPFLAGS for nscd instead of nonlib.
7665 2014-11-18  Roland McGrath  <roland@hack.frob.com>
7667         * nptl/createthread.c: New file.
7669         * nptl/createthread.c: Moved ...
7670         * sysdeps/unix/sysv/linux/createthread.c: ... here.
7672         * nptl/createthread.c: Add proper top-line comment.
7673         (do_clone): Folded into ...
7674         (create_thread): ... here.  Take new arguments STOPPED_START and
7675         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
7676         increment __nptl_threads, do event-reporting logic, do
7677         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7678         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
7679         resource cleanup if sched_setaffinity or sched_setscheduler fails,
7680         just send SIGCANCEL.
7681         * nptl/pthread_create.c: Forward-declare create_thread before
7682         including createthread.c.
7683         (start_thread): Use new macro START_THREAD_DEFN to replace defining
7684         declaration, and new macro START_THREAD_SELF to replace argument.
7685         Remove return statement.
7686         (report_thread_creation): New function.
7687         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
7688         synchronization logic, and __nptl_nthreads increment here, around
7689         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
7690         PD->parent_cancelhandling here, before create_thread.  When
7691         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7692         __deallocate_stack, and ENOMEM translation here.
7694 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
7696         [BZ #17616]
7697         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7698         (mptwo): Rename to __mptwo.
7699         (__inv): Use __mptwo instead of mptwo.
7700         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7701         (mptwo): Rename to __mptwo.
7702         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7703         of mpone and __mptwo instead of mptwo.
7704         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7705         instead of mpone.
7706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7707         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7708         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7709         of mpone and __mptwo instead of mptwo.
7710         (__mpranred): Use __mpone instead of mpone.
7711         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7712         variable.
7713         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7714         (test-xfail-ISO99/math.h/linknamespace): Likewise.
7715         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7716         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7717         (test-xfail-ISO11/math.h/linknamespace): Likewise.
7718         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7719         (test-xfail-XPG3/math.h/linknamespace): Likewise.
7720         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7721         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7722         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7723         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7724         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7725         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7726         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7727         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7728         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7729         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7730         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7731         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7733 2014-11-18  Tom de Vries  <tom@codesoucery.com>
7735         * manual/signal.texi (Primitives Interrupted by Signals): In section,
7736         replace BSD Handler xref with BSD Signal Handling.
7738 2014-11-17  Richard Henderson  <rth@redhat.com>
7740         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7741         (_FP_PACK_RAW_2): Remove.
7742         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7743         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7744         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7745         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7746         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7747         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7748         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7749         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7750         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7751         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7752         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7753         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7754         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7755         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7756         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7757         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7759 2014-11-14  Roland McGrath  <roland@hack.frob.com>
7761         * signal/signal.h [__USE_MISC]
7762         (struct sigvec): Remove type.
7763         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7764         (sigvec): Remove declaration.
7765         * sysdeps/posix/sigvec.c: Moved ...
7766         * signal/sigvec.c: ... here, replacing old file.
7767         (struct sigvec): New type, copied from old signal.h definition.
7768         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7769         (__sigvec): Convert definition to prototype.
7770         (sigvec): Replace weak_alias with compat_symbol.
7771         * signal/Versions (libc: GLIBC_2.21): New version set.
7772         * include/signal.h: Remove __sigvec declaration.
7773         * sysdeps/unix/bsd/sigvec.c: Remove file.
7774         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7775         * manual/signal.texi (BSD Handler): Remove subsection.
7776         Move siginterrupt up to ...
7777         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
7778         (Blocking in BSD): Fold subsection into its parent.
7779         * NEWS: Mention sigvec removal.
7781 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7783         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7784         (DLA_FMS): Make definition conditional only on [__FMA4__].
7785         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7786         definition.
7788         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7789         Make definition conditional only on [PROF].
7790         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7791         definition.
7792         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7793         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7795         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7796         !__GNUC__].
7797         * include/signal.h (__sigpause): Move declaration above call to
7798         libc_hidden_proto.
7799         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7800         variable.
7801         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7802         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7804 2014-11-14  David S. Miller  <davem@davemloft.net>
7806         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7807         Define before including <string/memcpy.c> and <string/mempcpy.c>.
7809 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7811         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7812         * configure: Regenerated.
7813         * manual/install.texi (Tools for Compilation): Document a
7814         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7815         compiler verified to work.
7816         * INSTALL: Regenerated.
7818         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7819         redeclare with asm name.
7820         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7821         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7822         including <string.h>.
7823         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7824         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7825         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7826         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7827         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7828         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7829         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7831 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
7833         * stdlib/strtol.c (__strtol): Use prototype definition.
7835         [BZ #17594]
7836         * stdlib/strtol.c (SYM__): New macro.
7837         (SYM__1): Likewise.
7838         (__strtol): Likewise.
7839         (strtol): Rename to __strtol and define as weak alias of
7840         __strtol.  Use libc_hidden_weak.
7842 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7844         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7845         Use numbered labels in inline assembly.
7847 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7849         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7850         Add setjmp LIBC_PROBE.
7851         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7852         Likewise.
7853         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7854         Add longjmp, longjmp_target LIBC_PROBE.
7855         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7856         Likewise.
7858 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7860         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7861         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7862         to get rid of unused variable warning.
7864 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7866         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7867         Check for unwind_backtrace ==  NULL only in SHARED case.
7868         (__backchain_backtrace): Compile only in SHARED case.
7869         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7870         Likewise.
7871         (__backchain_backtrace): Declare as static.
7873 2014-11-12  Roland McGrath  <roland@hack.frob.com>
7875         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7876         (__libc_multiple_threads_ptr): Variable moved ...
7877         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7879 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
7881         * conform/GlibcConform.pm: New file.
7882         * conform/conformtest.pl: Use GlibcConform module.
7883         * conform/linknamespace.pl: New file.
7884         * conform/list-header-symbols.pl: Likewise.
7885         * conform/Makefile (linknamespace-symlists-base): New variable.
7886         (linknamespace-symlists-tests): Likewise.
7887         (linknamespace-header-base): Likewise.
7888         (linknamespace-header-tests): Likewise.
7889         (tests-special): Add new tests.
7890         ($(linknamespace-symlists-tests)): New rule.
7891         (linknamespace-libs): New variable.
7892         ($(objpfx)symlist-stdlibs): New rule.
7893         ($(linknamespace-header-tests)): Likewise.
7894         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7895         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7896         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7897         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7898         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7899         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7900         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7901         (test-xfail-ISO/math.h/linknamespace): Likewise.
7902         (test-xfail-ISO/signal.h/linknamespace): Likewise.
7903         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7904         (test-xfail-ISO/time.h/linknamespace): Likewise.
7905         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7906         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7907         (test-xfail-ISO99/math.h/linknamespace): Likewise.
7908         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7909         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7910         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7911         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7912         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7913         (test-xfail-ISO11/math.h/linknamespace): Likewise.
7914         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7915         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7916         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7917         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7918         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7919         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7920         (test-xfail-XPG3/math.h/linknamespace): Likewise.
7921         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7922         (test-xfail-XPG3/search.h/linknamespace): Likewise.
7923         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7924         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7925         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7926         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7927         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7928         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7929         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7930         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7931         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7932         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7933         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7934         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7935         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7936         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7937         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7938         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7939         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7940         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7941         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7942         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7943         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7944         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7945         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7946         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7947         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7948         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7949         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7950         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7951         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7952         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7953         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7954         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7955         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7956         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7957         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7958         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7959         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7960         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7961         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7962         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7963         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7964         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7965         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7966         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7967         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7968         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7969         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7970         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7971         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7972         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7973         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7974         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7975         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7976         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7977         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7978         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7979         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7980         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7981         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7982         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7983         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7984         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7985         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7986         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7987         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7988         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7989         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7990         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7991         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7992         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7993         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7994         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7995         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7996         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7997         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7998         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7999         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8000         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8001         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8002         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8003         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8004         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8005         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8006         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8007         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8008         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8009         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8010         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8011         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8012         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8013         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8014         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8015         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8016         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8017         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8018         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8019         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8020         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8021         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8022         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8023         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8024         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8025         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8026         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8027         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8028         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8029         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8030         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8031         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8032         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8033         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8034         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8035         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8036         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8037         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8038         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8039         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8040         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8041         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8042         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8043         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8044         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8045         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8046         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8047         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8048         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8049         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8050         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8051         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8052         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8053         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8054         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8056         [BZ #17589]
8057         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8058         of fgets_unlocked.
8060         [BZ #17585]
8061         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8062         (memmem): Rename to __memmem and define as weak alias of
8063         __memmem.  Use libc_hidden_weak.
8064         (__memmem): Use libc_hidden_def.
8065         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8066         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8067         memmem.
8069         [BZ #17582]
8070         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8071         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
8072         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8073         and define as weak alias of __fgets_unlocked.  Use
8074         libc_hidden_weak.
8075         (__fgets_unlocked): Use libc_hidden_def.
8076         * include/stdio.h (__fgets_unlocked): Declare.  Use
8077         libc_hidden_proto.
8078         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8079         __fgets_unlocked instead of fgets_unlocked.
8080         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8081         (GET_NPROCS_CONF_PARSER): Likewise.
8082         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8083         (GET_NPROCS_CONF_PARSER): Likewise.
8085         [BZ #17574]
8086         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8087         weak alias of __wmemset.  Use libc_hidden_weak.
8088         (__wmemset): Use libc_hidden_def.
8089         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
8090         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8091         of wmemset.
8093         [BZ #17573]
8094         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8095         with asm name __mempcpy.
8096         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8098         [BZ #17572]
8099         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8100         and define as weak alias of __rawmemchr.
8101         (__rawmemchr): Do not define as strong alias of rawmemchr.
8103         [BZ #17571]
8104         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8105         alias of __qsort_r.
8106         (qsort): Call __qsort_r instead of qsort_r.
8107         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8108         (__qsort_r): Declare.  Call libc_hidden_proto.
8109         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8110         instead of qsort_r.
8111         * nscd/gai.c (__qsort_r): Define to qsort_r.
8112         * posix/tst-rfc3484.c (__qsort_r): Likewise.
8113         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8114         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8116         [BZ #17570]
8117         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8118         define as weak alias of __malloc_info.
8120         [BZ #17584]
8121         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8122         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8123         (__rewinddir): Use libc_hidden_def.
8124         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8125         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8126         (__rewinddir): Use libc_hidden_def.
8127         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8128         weak alias of __rewinddir.  Don't use libc_hidden_def.
8129         (__rewinddir): Use libc_hidden_def.
8130         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8131         (__rewinddir): Use libc_hidden_proto.
8132         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8133         rewinddir.
8134         (__getcwd): Use __rewinddir instead of rewinddir.
8136         [BZ #17583]
8137         * libio/fileno.c (fileno): Rename to __fileno and define as weak
8138         alias of __fileno.  Use libc_hidden_weak.
8139         (__fileno): Use libc_hidden_def.
8140         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8141         * libio/ftello.c (ftello): Rename to __ftello and define as weak
8142         alias of __ftello.
8143         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8144         __ftello.
8145         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8146         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
8147         libc_hidden_def.
8148         (fread_unlocked): Don't use libc_hidden_ver.
8149         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8150         and define as weak alias of __fread_unlocked.  Don't use
8151         libc_hidden_def.
8152         (__fread_unlocked): Use libc_hidden_def.
8153         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
8154         (ftello): Don't use libc_hidden_proto.
8155         (__ftello): Declare.  Use libc_hidden_proto.
8156         (fread_unlocked): Don't use libc_hidden_proto.
8157         (__fread_unlocked): Declare.  Use libc_hidden_proto.
8158         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8159         and __ftello instead of fileno, fread_unlocked and ftello.
8161 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8163         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8164         GOT12.
8165         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8166         Likewise.
8167         (_dl_start_user): Likewise.
8168         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8170 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
8171             Siddhesh Poyarekar  <siddhesh@redhat.com>
8173         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8174         Move argv and envp down instead of moving argc up.
8175         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8177 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
8179         [BZ #17506]
8180         * test-skeleton.c (main): Return successful if one of
8181         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8182         * string/tst-strcoll-overflow.c: Define expected status.
8184 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
8186         [BZ #17475]
8187         * locale/iso-639.def: Define Bhili and Tulu language codes.
8189 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
8191         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8193 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
8195         [BZ #17555]
8196         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8198 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8200         * configure.ac: Updated check of minimal required version to
8201         2.22.
8202         * manual/install.texi (Tools for Compilation): Updated version
8203         number.
8204         * configure: Regenerated.
8205         * INSTALL: Likewise.
8207 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
8209         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8210         __tls_get_addr.
8212 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
8214         * include/sys/wait.h (__libc_waitpid): Remove declaration.
8215         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8216         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8217         libc_hidden_weak.
8218         (waitpid): Define as alias of __waitpid.
8219         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8220         __waitpid.
8221         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8222         libc_hidden_weak.
8223         (waitpid): Define as alias of __waitpid.
8224         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8225         __libc_waitpid alias.
8226         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8227         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8228         Likewise.
8229         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8230         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8231         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8232         alias.
8233         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8234         __waitpid.
8235         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8236         libc_hidden_weak.
8237         (waitpid): Define as alias of __waitpid.
8239 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
8241         * manual/llio.texi: Add comment that write safety has been
8242         fixed in Linux.
8244         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8245         (localplt-build-dso): Add elf/ld.so.
8246         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8247         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8248         and free for ld.so.
8249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8250         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8252         Likewise.
8253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8254         Likewise.
8255         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8256         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8257         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8258         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8259         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8260         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8261         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8262         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8263         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8264         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8265         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8267 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
8269         [BZ #14132]
8270         * include/libc-symbols.h (INTUSE): Remove macro.
8271         (INTDEF): Likewise.
8272         (INTVARDEF): Likewise.
8273         (_INTVARDEF): Likewise.
8274         (INTDEF2): Likewise.
8275         (INTVARDEF2): Likewise.
8276         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8277         rtld_hidden_def instead of INTVARDEF.
8278         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8279         (_dl_starting_up_internal): Remove declaration.
8280         (_dl_starting_up): Use rtld_hidden_proto.
8281         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8282         declaration.
8283         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8284         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8285         _dl_starting_up.
8286         * elf/dl-writev.h (_dl_writev): Likewise.
8287         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8288         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8289         _dl_starting_up_internal.
8291 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8293         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8294         test-skeleton.c.
8296 2014-11-05  Will Newton  <will.newton@linaro.org>
8298         * benchtests/Makefile: (bench-malloc): Add malloc thread
8299         scalability benchmark.
8300         * benchtests/bench-malloc-threads.c: New file.
8302 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
8304         * sysdeps/aarch64/strchrnul.S: New file.
8306 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8308         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8309         definition.
8310         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8311         Likwise.
8312         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8313         Likewise.
8314         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8315         Likewise.
8316         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8317         Likewise.
8318         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8319         Likewise.
8321 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
8323         * catgets/test-gencat.c: Use test-skeleton.c.
8324         * catgets/tst-catgets.c: Likewise.
8325         * csu/tst-empty.c: Likewise.
8326         * elf/tst-audit2.c: Likewise.
8327         * elf/tst-global1.c: Likewise.
8328         * elf/tst-pathopt.c: Likewise.
8329         * elf/tst-piemod1.c: Likewise.
8330         * elf/tst-tls10.c: Likewise.
8331         * elf/tst-tls11.c: Likewise.
8332         * elf/tst-tls12.c: Likewise.
8333         * gnulib/tst-gcc.c: Likewise.
8334         * iconvdata/tst-e2big.c: Likewise.
8335         * iconvdata/tst-loading.c: Likewise.
8336         * iconv/tst-iconv1.c: Likewise.
8337         * iconv/tst-iconv2.c: Likewise.
8338         * inet/test-inet6_opt.c: Likewise.
8339         * inet/tst-gethnm.c: Likewise.
8340         * inet/tst-network.c: Likewise.
8341         * inet/tst-ntoa.c: Likewise.
8342         * intl/tst-codeset.c: Likewise.
8343         * intl/tst-gettext2.c: Likewise.
8344         * intl/tst-gettext3.c: Likewise.
8345         * intl/tst-ngettext.c: Likewise.
8346         * intl/tst-translit.c: Likewise.
8347         * io/test-stat.c: Likewise.
8348         * libio/test-fmemopen.c: Likewise.
8349         * libio/tst-freopen.c: Likewise.
8350         * libio/tst-sscanf.c: Likewise.
8351         * libio/tst-ungetwc1.c: Likewise.
8352         * libio/tst-ungetwc2.c: Likewise.
8353         * libio/tst-widetext.c: Likewise.
8354         * localedata/tst-ctype.c: Likewise.
8355         * localedata/tst-digits.c: Likewise.
8356         * localedata/tst-leaks.c: Likewise.
8357         * localedata/tst-mbswcs1.c: Likewise.
8358         * localedata/tst-mbswcs2.c: Likewise.
8359         * localedata/tst-mbswcs3.c: Likewise.
8360         * localedata/tst-mbswcs4.c: Likewise.
8361         * localedata/tst-mbswcs5.c: Likewise.
8362         * localedata/tst-setlocale.c: Likewise.
8363         * localedata/tst-trans.c: Likewise.
8364         * localedata/tst-wctype.c: Likewise.
8365         * localedata/tst-xlocale1.c: Likewise.
8366         * login/tst-grantpt.c: Likewise.
8367         * malloc/tst-calloc.c: Likewise.
8368         * malloc/tst-malloc.c: Likewise.
8369         * malloc/tst-mallocstate.c: Likewise.
8370         * malloc/tst-mcheck.c: Likewise.
8371         * malloc/tst-mtrace.c: Likewise.
8372         * malloc/tst-obstack.c: Likewise.
8373         * math/atest-exp2.c: Likewise.
8374         * math/atest-exp.c: Likewise.
8375         * math/atest-sincos.c: Likewise.
8376         * math/test-matherr.c: Likewise.
8377         * math/test-misc.c: Likewise.
8378         * math/test-powl.c: Likewise.
8379         * math/tst-definitions.c: Likewise.
8380         * misc/tst-dirname.c: Likewise.
8381         * misc/tst-efgcvt.c: Likewise.
8382         * misc/tst-fdset.c: Likewise.
8383         * misc/tst-hsearch.c: Likewise.
8384         * misc/tst-mntent2.c: Likewise.
8385         * nptl/tst-sem7.c: Likewise.
8386         * nptl/tst-sem8.c: Likewise.
8387         * nptl/tst-sem9.c: Likewise.
8388         * nss/test-netdb.c: Likewise.
8389         * posix/tst-fnmatch.c: Likewise.
8390         * posix/tst-getlogin.c: Likewise.
8391         * posix/tst-gnuglob.c: Likewise.
8392         * posix/tst-mmap.c: Likewise.
8393         * pwd/tst-getpw.c: Likewise.
8394         * resolv/tst-inet_ntop.c: Likewise.
8395         * rt/tst-timer.c: Likewise.
8396         * stdio-common/test-fseek.c: Likewise.
8397         * stdio-common/test-popen.c: Likewise.
8398         * stdio-common/test-vfprintf.c: Likewise.
8399         * stdio-common/tst-cookie.c: Likewise.
8400         * stdio-common/tst-fileno.c: Likewise.
8401         * stdio-common/tst-gets.c: Likewise.
8402         * stdio-common/tst-obprintf.c: Likewise.
8403         * stdio-common/tst-perror.c: Likewise.
8404         * stdio-common/tst-sprintf2.c: Likewise.
8405         * stdio-common/tst-sprintf3.c: Likewise.
8406         * stdio-common/tst-sprintf.c: Likewise.
8407         * stdio-common/tst-swprintf.c: Likewise.
8408         * stdio-common/tst-tmpnam.c: Likewise.
8409         * stdio-common/tst-unbputc.c: Likewise.
8410         * stdio-common/tst-wc-printf.c: Likewise.
8411         * stdlib/tst-environ.c: Likewise.
8412         * stdlib/tst-fmtmsg.c: Likewise.
8413         * stdlib/tst-limits.c: Likewise.
8414         * stdlib/tst-rand48-2.c: Likewise.
8415         * stdlib/tst-rand48.c: Likewise.
8416         * stdlib/tst-random2.c: Likewise.
8417         * stdlib/tst-random.c: Likewise.
8418         * stdlib/tst-strtol.c: Likewise.
8419         * stdlib/tst-strtoll.c: Likewise.
8420         * stdlib/tst-tls-atexit.c: Likewise.
8421         * stdlib/tst-xpg-basename.c: Likewise.
8422         * string/test-ffs.c: Likewise.
8423         * string/tst-bswap.c: Likewise.
8424         * string/tst-inlcall.c: Likewise.
8425         * string/tst-strtok.c: Likewise.
8426         * string/tst-strxfrm.c: Likewise.
8427         * sysdeps/x86_64/tst-audit10.c: Likewise.
8428         * sysdeps/x86_64/tst-audit3.c: Likewise.
8429         * sysdeps/x86_64/tst-audit4.c: Likewise.
8430         * sysdeps/x86_64/tst-audit5.c: Likewise.
8431         * time/tst-ftime_l.c: Likewise.
8432         * time/tst-getdate.c: Likewise.
8433         * time/tst-mktime3.c: Likewise.
8434         * time/tst-mktime.c: Likewise.
8435         * time/tst-posixtz.c: Likewise.
8436         * time/tst-strptime2.c: Likewise.
8437         * time/tst-strptime3.c: Likewise.
8438         * wcsmbs/tst-btowc.c: Likewise.
8439         * wcsmbs/tst-mbrtowc.c: Likewise.
8440         * wcsmbs/tst-mbsrtowcs.c: Likewise.
8441         * wcsmbs/tst-wchar-h.c: Likewise.
8442         * wcsmbs/tst-wcpncpy.c: Likewise.
8443         * wcsmbs/tst-wcrtomb.c: Likewise.
8444         * wcsmbs/tst-wcsnlen.c: Likewise.
8445         * wcsmbs/tst-wcstof.c: Likewise.
8447 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
8449         [BZ #14132]
8450         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8451         INTDEF.
8452         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8453         declaration.
8454         (_dl_mcount): Use rtld_hidden_proto.
8455         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8456         _dl_mcount.
8457         * elf/rtld.c (_rtld_global_ro): Likewise.
8459         [BZ #14132]
8460         * elf/dl-init.c (_dl_init): Don't use INTDEF.
8461         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8462         of _dl_init_internal.
8463         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8464         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8465         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8466         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8467         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8468         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8469         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8470         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8471         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8472         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8473         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8474         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8475         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8476         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8477         * sysdeps/tile/dl-start.S (_start): Likewise.
8478         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8479         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8481         [BZ #14132]
8482         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8483         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8484         (rtld_progname): Make macro definition unconditional.
8485         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8486         INTDEF.
8487         (dlmopen_doit): Do not use INTUSE with _dl_argv.
8488         (dl_main): Likewise.
8489         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8490         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8491         instead of _dl_argv_internal.
8492         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8493         __GI__dl_argv instead of INTUSE(_dl_argv).
8494         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8495         __GI__dl_argv instead of _dl_argv_internal.
8497         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8498         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8499         macro.
8500         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8501         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8502         New macro.
8503         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8504         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8505         macro.
8506         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8507         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8509 2014-11-04  Andreas Schwab  <schwab@suse.de>
8511         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8513 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8515         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8516         mtvsrd instruction in binary form.
8518 2014-11-03  Andreas Schwab  <schwab@suse.de>
8520         [BZ #17522]
8521         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8522         for less than MB_LEN_MAX use a local buffer of that size.
8523         * libio/tst-fputws.c: New file.
8524         * libio/Makefile (tests): Add tst-fputws.
8526 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
8528         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8529         the size of the fpu_fr.fpu_dregs[] array.
8531 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
8533         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8534         (__nanosleep): Do not define as alias.
8535         (nanosleep): Define as alias of __nanosleep.
8536         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8537         __libc_nanosleep name.
8539 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8541         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8542         install.texi in comment.
8544 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8546         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8547         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8548         ... add here and use lwsync or sync ...
8549         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8550         ... and add here using lwsync.
8552 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8554         * elf/dl-machine-reject-phdr.h: New file.
8555         * elf/dl-load.c: #include that.
8556         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8557         if that returned true.
8559 2014-10-31  Roland McGrath  <roland@hack.frob.com>
8561         [BZ #17496]
8562         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8563         gen-as-const-headers chunk.  Add a big scare comment after the last
8564         safe place to touch before-compile.
8566 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8568         * manual/install.texi (Tools for Compilation): Update autoconf
8569         version requirements.
8570         * INSTALL: Regenerated.
8572         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8573         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8574         (__libc_pselect): Likewise.
8576         [BZ #14138]
8577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8582 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8584         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8585         correct barrier instruction.
8586         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8587         Likewise.
8588         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8589         Likewise.
8591 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8593         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8594         after defining inlines.  Instead, just use parens to defeat macro
8595         expansion of __isctype in its declaration.
8597 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8599         * include/sys/uio.h (__libc_readv): Remove declaration.
8600         (__libc_writev): Likewise.
8601         * misc/readv.c (__libc_readv): Rename to __readv.
8602         (__readv): Do not define as alias.
8603         (readv): Define as alias of __readv.
8604         * misc/writev.c (__libc_writev): Rename to __writev.
8605         (__writev): Do not define as alias.
8606         (writev): Define as alias of __writev.
8607         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8608         (__readv): Do not define as alias.
8609         (readv): Define unconditionally as alias of __readv.
8610         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8611         (__writev): Do not define as alias.
8612         (writev): Define unconditionally as alias of __writev.
8613         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8614         name.
8615         (writev): Do not define __libc_writev name.
8617 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8619         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8620         (convert_charseq): New function, broken out of ...
8621         (use_from_charmap): ... here.  Call it.
8622         (use_to_charmap): Use convert_charseq and free instead of duplicating
8623         its code with a variable-length stack struct.
8625 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8627         * include/fcntl.h (__libc_creat): Remove declaration.
8628         * io/creat.c (__libc_creat): Rename to creat.
8629         (creat): Do not define as alias.
8630         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8631         of creat instead of __libc_creat.
8632         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8633         to creat.
8634         (creat): Do not define as alias.
8635         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8636         __libc_creat.
8637         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8638         __libc_creat name.
8639         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8640         Likewise.
8642 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
8644         * manual/llio.texi: Add comments discussing why write() may be
8645         considered MT-unsafe on Linux.
8647 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
8649         * dl-load.c (local_strdup): Remove.
8650         (expand_dynamic_string_token): Use __strdup.
8651         (decompose_rpath): Likewise.
8652         (_dl_map_object): Likewise.
8654 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
8656         [BZ #14132]
8657         * sysdeps/generic/unwind-dw2-fde.c
8658         (__register_frame_info_bases_internal): Do not declare.
8659         (__register_frame_info_table_bases_internal): Likewise.
8660         (__deregister_frame_info_bases_internal): Likewise.
8661         (__register_frame_info_bases): Declare and use hidden_proto before
8662         definition.  Use hidden_def instead of INTDEF.
8663         (__register_frame_info_table_bases): Likewise.
8664         (__deregister_frame_info_bases): Likewise.
8665         (__register_frame_info): Do not use INTUSE.
8666         (__register_frame): Likewise.
8667         (__register_frame_info_table): Likewise.
8668         (__register_frame_table): Likewise.
8669         (__deregister_frame_info): Likewise.
8670         (__deregister_frame): Likewise.
8672 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
8674         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8675         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8676         not undefine.
8677         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8678         Likewise.
8679         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8680         Likewise.
8682 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
8684         [BZ #14138]
8685         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8686         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8687         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8688         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8689         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8690         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8691         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8692         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8693         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8694         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8695         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8696         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8697         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8698         syscall.
8699         (setfsuid): Likewise.
8700         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8701         (setfsuid): Likewise.
8702         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8703         (setfsuid): Likewise.
8704         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8705         Likewise.
8706         (setfsuid): Likewise.
8707         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8708         (setfsuid): Likewise.
8709         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8710         Likewise.
8711         (setfsuid): Likewise.
8713 2014-10-27  Andreas Schwab  <schwab@suse.de>
8715         [BZ #17501]
8716         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8717         check for Slow_SSE4_2 feature bit.
8718         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8719         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8720         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8721         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
8723 2014-10-24  Roland McGrath  <roland@hack.frob.com>
8725         * configure.ac: Validate compiler version with a empirical test of
8726         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8727         $CC -v output.
8728         * configure: Regenerated.
8730         * inet/htons.c (htons): Prototypify.
8731         * inet/htonl.c (htonl): Likewise.
8733 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8735         * string/strncat.c (strncat): Improve performance by using strlen.
8737 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8739         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8741 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8743         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8744         Call libc_fetestexcept_aarch64.
8746 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8748         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8749         Call libc_feholdexcept_aarch64.
8751 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8753         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8754         Call get_rounding_mode.
8756 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8758         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8759         Simplify logic.
8761 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8763         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8764         Simplify logic.
8766 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
8768         [BZ #14138]
8769         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8770         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8771         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8772         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8773         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8774         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8775         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8776         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8777         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8778         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8779         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8780         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8781         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8782         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8783         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8784         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8785         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8786         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8787         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8788         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8789         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8790         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8791         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8792         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8793         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8794         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8795         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8796         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8797         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8798         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8799         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8800         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8801         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8802         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8803         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8804         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8805         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8806         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8807         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8808         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8809         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8810         syscall.
8811         (geteuid): Likewise.
8812         (getgid): Likewise.
8813         (getuid): Likewise.
8814         (getresgid): Likewise.
8815         (getresuid): Likewise.
8816         (getgroups): Likewise.
8817         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8818         (geteuid): Likewise.
8819         (getgid): Likewise.
8820         (getuid): Likewise.
8821         (getresgid): Likewise.
8822         (getresuid): Likewise.
8823         (getgroups): Likewise.
8824         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8825         (geteuid): Likewise.
8826         (getgid): Likewise.
8827         (getuid): Likewise.
8828         (getresgid): Likewise.
8829         (getresuid): Likewise.
8830         (getgroups): Likewise.
8831         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8832         Likewise.
8833         (geteuid): Likewise.
8834         (getgid): Likewise.
8835         (getuid): Likewise.
8836         (getresgid): Likewise.
8837         (getresuid): Likewise.
8838         (getgroups): Likewise.
8839         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8840         (geteuid): Likewise.
8841         (getgid): Likewise.
8842         (getuid): Likewise.
8843         (getresgid): Likewise.
8844         (getresuid): Likewise.
8845         (getgroups): Likewise.
8846         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8847         Likewise.
8848         (geteuid): Likewise.
8849         (getgid): Likewise.
8850         (getuid): Likewise.
8851         (getgroups): Likewise.
8853         [BZ #14138]
8854         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8855         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8856         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8857         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8858         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8859         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8860         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8861         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8862         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8863         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8864         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8865         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8866         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8867         __chown.
8868         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8869         (lchown): Likewise.
8870         (fchown): Likewise.
8871         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8872         Likewise.
8873         (lchown): Likewise.
8874         (fchown): Likewise.
8875         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8876         (lchown): Likewise.
8877         (fchown): Likewise.
8878         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8879         Likewise.
8880         (lchown): Likewise.
8881         (fchown): Likewise.
8883 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8885         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8886         Simplify logic.
8888 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8890         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8891         Cleanup logic.
8893 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8895         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8896         Remove unused include.
8898 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8900         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8901         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8902         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8903         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8905 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
8906             Helge Deller <deller@gmx.de>
8908         [BZ #17508]
8909         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8910         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8911         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8913 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
8915         [BZ #14132]
8916         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8917         Remove macro definition.
8918         (__ashrdi3_v_glibc20): Likewise.
8919         (__lshrdi3_v_glibc20): Likewise.
8920         (__cmpdi2_v_glibc20): Likewise.
8921         (__ucmpdi2_v_glibc20): Likewise.
8922         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8923         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8924         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8925         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8926         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8927         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8929 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8931         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8932         old GNU extension [0] syntax.
8933         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8934         alloca rather than an array member with variable length.
8935         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8936         * nscd/nscd.c (invalidate_db): New function, broken out of ...
8937         (parse_opt): ... here.  Likewise use alloca there.
8938         Validate the -i argument before checking for rootness.
8939         (send_shutdown): New function, broken out of ...
8940         (parse_opt): ... here.
8942 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8944         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8945         macro to get at the _rt_local_ro field.
8946         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8947         ([PIC] case) or _dl_hwcap ([!PIC] case).
8948         * sysdeps/arm/setjmp.S: Likewise.
8950         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8951         * sysdeps/arm/configure.ac: New check to define it.
8952         * sysdeps/arm/configure: Regenerated.
8953         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8954         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8955         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8956         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8957         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8958         Use move/movt pair instead of a load.
8959         (LDST_GLOBAL): Macro removed.
8960         (LDR_GLOBAL): New macro replaces it.
8961         (LDR_HIDDEN): New macro.
8962         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8963         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8965         * setjmp/tst-setjmp-static.c: New file.
8966         * setjmp/Makefile (tests): Add it.
8967         (tests-static): New variable.
8969 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
8971         [BZ #17485]
8972         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8974 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
8976         [BZ #14132]
8977         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8979 2014-10-21  Roland McGrath  <roland@hack.frob.com>
8981         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8983 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8985         * io/fts.c (dirent_not_directory): New function.
8986         (fts_build): Call it.
8988 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8990         * nptl/version.c (__nptl_main): Use normal __write rather than
8991         INTERNAL_SYSCALL.
8992         (banner): Update copyright years.
8994         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8995         gettimeofday.
8996         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8997         * nptl/pthread_cond_timedwait.c: Likewise.
8998         * nptl/pthread_mutex_timedlock.c: Likewise.
8999         * nptl/sem_timedwait.c: Likewise.
9001         * sysdeps/nptl/bits/libc-lock.h
9002         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9003         (__libc_lock_init_recursive): Return void, not 0.
9004         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9005         (__libc_rwlock_init): Likewise.
9006         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9008 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9010         [BZ #15215]
9011         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9012         (__pthread_once_slow): ... here.
9013         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9014         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9016 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9018         [BZ #15215]
9019         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9020         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9021         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9022         * nptl/pthread_once.c (__pthread_once): Likewise.
9023         Update comments.
9025 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9027         [BZ #14138]
9028         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9029         name.
9030         (writev): Use __libc_writev as strong name.
9031         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9032         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9034 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9036         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9038         * sysdeps/i386/nptl/tls.h
9039         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9040         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9041         New macros.
9042         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9043         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9044         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9045         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9046         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9047         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9049         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9050         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9051         on [__NR_futex].
9052         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9053         broken out of ...
9054         (__pthread_mutex_init): ... here.  Call it.
9055         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9056         Conditionalize PI cases on [__NR_futex].
9057         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9058         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9059         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9061         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9062         conditional on [SIGSETXID].
9063         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9064         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9065         is defined.  Likewise for SIGSETXID.
9066         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9067         Conditionalize definitions on [SIGSETXID].
9068         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9069         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9070         unblocking on [SIGCANCEL].
9072         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9073         [__NR_set_robust_list].
9075 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9077         * string/strcoll_l.c (get_next_seq): Fix up formatting.
9078         (do_compare): Likewise.
9080 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
9082         [BZ #15884]
9083         * string/strcoll_l.c: Don't include stdio.h.
9084         (coll_seq): Remove members idxarr and rulearr.
9085         (get_next_seq_cached): Remove function.
9086         (get_next_seq): Likewise.
9087         (get_next_seq_nocache): Rename to get_next_seq.
9088         (do_compare): Remove function.
9089         (do_compare_nocache): Rename to do_compare.
9090         (STRCOLL): Remove weight and rules cache.
9092 2014-10-16  Roland McGrath  <roland@hack.frob.com>
9094         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9095         * sysdeps/arm/sfp-machine.h: ... to here.
9096         * sysdeps/arm/Implies: Remove arm/soft-fp.
9098 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
9100         * conform/data/sys/utsname.h-data (*_t): Allow.
9101         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9102         [POSIX] (WEXITED): Do not expect constant.
9103         [POSIX] (WSTOPPED): Likewise.
9104         [POSIX] (WNOHANG): Likewise.
9105         [POSIX] (WNOWAIT): Likewise.
9106         [POSIX] (siginfo_t): Do not expect type or elements.
9107         [POSIX] (pid_t): Do not expect type.
9108         [POSIX] (signal.h): Do not allow header.
9109         [POSIX] (sys/resource.h): Likewise.
9110         [POSIX] (si_*): Do not allow pattern.
9111         [POSIX] (W*): Likewise.
9112         [POSIX] (P_*): Likewise.
9113         [POSIX] (BUS_*): Likewise.
9114         [POSIX] (CLD_*): Likewise.
9115         [POSIX] (FPE_*): Likewise.
9116         [POSIX] (ILL_*): Likewise.
9117         [POSIX] (POLL_*): Likewise.
9118         [POSIX] (SEGV_*): Likewise.
9119         [POSIX] (SI_*): Likewise.
9120         [POSIX] (TRAP_*): Likewise.
9121         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9122         variable.
9124 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9126         [BZ #12926]
9127         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9128         infinite loop when __recvmsg returns 0.
9130 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
9132         * CANCEL-FCT-WAIVE: Remove file.
9133         * CANCEL-FILE-WAIVE: Likewise.
9135         [BZ #14132]
9136         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9137         instead of INTVARDEF.
9138         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9139         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9140         rtld_hidden_data_def instead of INTVARDEF.
9141         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9142         * elf/dl-deps.c (expand_dst): Likewise.
9143         * elf/dl-load.c (_dl_dst_count): Likewise.
9144         (_dl_dst_substitute): Likewise.
9145         (decompose_rpath): Likewise.
9146         (_dl_init_paths): Likewise.
9147         (open_path): Likewise.
9148         (_dl_map_object): Likewise.
9149         * elf/rtld.c (dl_main): Likewise.
9150         (process_dl_audit): Likewise.
9151         (process_envvars): Likewise.
9152         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9153         Remove declaration.
9154         (__libc_enable_secure): Use rtld_hidden_proto.
9156 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9158         * elf/dl-load.c
9159         (add_path): New function broken out of _dl_rtld_di_serinfo.
9160         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
9162 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9164         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9165         parentheses around macro arguments.
9166         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9167         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9168         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9169         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9170         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9171         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9172         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9173         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9174         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9175         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9176         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9177         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9178         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9179         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9180         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9181         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9182         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9184         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9185         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9186         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9188         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9189         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9190         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9191         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9192         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9193         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9194         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9195         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9196         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9197         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9198         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9199         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9200         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9201         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9202         Likewise.
9203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9205         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9209         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9210         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9211         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9212         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9213         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9214         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9215         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9218         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9219         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9220         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9221         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9222         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9223         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9224         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9225         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9226         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9227         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9228         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9229         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9230         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9231         (_FP_FRAC_SRS_1): Likewise.
9232         (_FP_FRAC_CLZ_1): Likewise.
9233         (_FP_MUL_MEAT_1_imm): Likewise.
9234         (_FP_MUL_MEAT_1_wide): Likewise.
9235         (_FP_MUL_MEAT_1_hard): Likewise.
9236         (_FP_SQRT_MEAT_1): Likewise.
9237         (_FP_FRAC_ASSEMBLE_1): Likewise.
9238         (_FP_FRAC_DISASSEMBLE_1): Likewise.
9239         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9240         (__FP_CLZ_2): Likewise.
9241         (_FP_MUL_MEAT_2_wide): Likewise.
9242         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9243         (_FP_MUL_MEAT_2_gmp): Likewise.
9244         (_FP_MUL_MEAT_2_120_240_double): Likewise.
9245         (_FP_SQRT_MEAT_2): Likewise.
9246         (_FP_FRAC_ASSEMBLE_2): Likewise.
9247         (_FP_FRAC_DISASSEMBLE_2): Likewise.
9248         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9249         (_FP_FRAC_CLZ_4): Likewise.
9250         (_FP_MUL_MEAT_4_wide): Likewise.
9251         (_FP_MUL_MEAT_4_gmp): Likewise.
9252         (_FP_SQRT_MEAT_4): Likewise.
9253         (_FP_FRAC_ASSEMBLE_4): Likewise.
9254         (_FP_FRAC_DISASSEMBLE_4): Likewise.
9255         * soft-fp/op-common.h (_FP_CMP): Likewise.
9256         (_FP_CMP_EQ): Likewise.
9257         (_FP_CMP_UNORD): Likewise.
9258         (_FP_TO_INT): Likewise.
9259         (_FP_FROM_INT): Likewise.
9260         [!__FP_CLZ] (__FP_CLZ): Likewise.
9261         (_FP_DIV_HELP_imm): Likewise.
9262         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9263         Likewise.
9264         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9265         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9266         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9267         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9268         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9269         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9270         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9271         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9272         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9273         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9274         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9275         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9276         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9277         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9278         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9279         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9280         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9281         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9282         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9283         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9284         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9285         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9287         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9288         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9289         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9290         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9291         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9292         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9293         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9294         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9295         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9296         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9297         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9298         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9299         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9300         (FP_UNPACK_RAW_SP): Likewise.
9301         (FP_PACK_RAW_S): Likewise.
9302         (FP_PACK_RAW_SP): Likewise.
9303         (FP_UNPACK_S): Likewise.
9304         (FP_UNPACK_SP): Likewise.
9305         (FP_UNPACK_SEMIRAW_S): Likewise.
9306         (FP_UNPACK_SEMIRAW_SP): Likewise.
9307         (FP_PACK_S): Likewise.
9308         (FP_PACK_SP): Likewise.
9309         (FP_PACK_SEMIRAW_S): Likewise.
9310         (FP_PACK_SEMIRAW_SP): Likewise.
9311         (_FP_SQRT_MEAT_S): Likewise.
9312         (FP_CMP_S): Likewise.
9313         (FP_CMP_EQ_S): Likewise.
9314         (FP_CMP_UNORD_S): Likewise.
9315         (FP_TO_INT_S): Likewise.
9316         (FP_FROM_INT_S): Likewise.
9318         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9320         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9321         (FP_EX_INVALID_IMZ): Likewise.
9322         (FP_EX_INVALID_IMZ_FMA): Likewise.
9323         (FP_EX_INVALID_ISI): Likewise.
9324         (FP_EX_INVALID_ZDZ): Likewise.
9325         (FP_EX_INVALID_IDI): Likewise.
9326         (FP_EX_INVALID_SQRT): Likewise.
9327         (FP_EX_INVALID_CVI): Likewise.
9328         (FP_EX_INVALID_VC): Likewise.
9329         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9330         "invalid" exceptions.
9331         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9332         (_FP_ADD_INTERNAL): Likewise.
9333         (_FP_MUL): Likewise.
9334         (_FP_FMA): Likewise.
9335         (_FP_DIV): Likewise.
9336         (_FP_CMP_CHECK_NAN): Likewise.
9337         (_FP_SQRT): Likewise.
9338         (_FP_TO_INT): Likewise.
9339         (FP_EXTEND): Likewise.
9341 2014-10-09  Allan McRae  <allan@archlinux.org>
9343         * po/fr.po: Update French translation from translation project.
9345 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9347         [BZ #14132]
9348         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9349         of INTDEF.
9350         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9351         (__cxa_atexit): Use libc_hidden_proto.
9352         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9354         [BZ #14132]
9355         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9356         declaration.
9357         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9358         [!_ISOMAC] (__iswspace_l_internal): Likewise.
9359         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9360         [!_ISOMAC] (__iswctype_internal): Likewise.
9361         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9362         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9363         alias.
9364         (fcntl): Remove __fcntl_internal alias.
9365         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9366         __connect_internal alias.
9367         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9368         Likewise.
9370         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9371         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9372         FP_DENORM_ZERO.
9373         (_FP_CHECK_FLUSH_ZERO): New macro.
9374         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9375         (_FP_CMP): Likewise.
9376         (_FP_CMP_EQ): Likewise.
9377         (_FP_TO_INT): Do not set inexact for subnormal arguments if
9378         FP_DENORM_ZERO.
9379         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9380         (FP_TRUNC): Likewise.
9382         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9383         treated as invalid conversion, not as normal exponent.
9385         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9386         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
9387         (_FP_CMP_EQ): Likewise.
9388         (_FP_CMP_UNORD): Likewise.
9389         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9390         (FP_CMP_EQ_D): Likewise.
9391         (FP_CMP_UNORD_D): Likewise.
9392         * soft-fp/extended.h (FP_CMP_E): Likewise.
9393         (FP_CMP_EQ_E): Likewise.
9394         (FP_CMP_UNORD_E): Likewise.
9395         * soft-fp/quad.h (FP_CMP_Q): Likewise.
9396         (FP_CMP_EQ_Q): Likewise.
9397         (FP_CMP_UNORD_Q): Likewise.
9398         * soft-fp/single.h (FP_CMP_S): Likewise.
9399         (FP_CMP_EQ_S): Likewise.
9400         (FP_CMP_UNORD_S): Likewise.
9401         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9402         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9403         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9404         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9405         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9406         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9407         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9408         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9409         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9410         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9411         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9412         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9413         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9414         to FP_CMP_Q.
9415         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9416         FP_CMP_Q.
9417         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9418         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9419         FP_CMP_EQ_Q.
9420         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9421         FP_CMP_Q.
9422         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9423         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9424         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9425         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9426         FP_CMP_EQ_Q.
9427         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9428         FP_CMP_Q.
9429         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9430         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9431         FP_CMP_EQ_Q.
9432         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9433         FP_CMP_Q.
9434         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9435         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9436         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9437         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9438         FP_CMP_EQ_Q.
9440         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9441         a subnormal result, set the underflow exception if trapping on
9442         underflow is enabled.
9443         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9444         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9445         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9446         redefine to 0.
9447         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9448         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9449         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9450         * soft-fp/extendxftf2.c (__extendxftf2): Use
9451         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9453         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9454         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9455         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9456         FP_HANDLE_EXCEPTIONS.
9457         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9458         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9459         FP_HANDLE_EXCEPTIONS.
9460         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9461         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9462         FP_HANDLE_EXCEPTIONS.
9463         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9464         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9465         FP_HANDLE_EXCEPTIONS.
9467 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
9469         [BZ #14132]
9470         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9471         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9472         use INTUSE.
9473         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9474         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9475         Remove alias.
9476         (__adjtimex): Define using libc_hidden_ver.
9477         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9478         Remove declaration.
9479         (ntp_gettime): Call __adjtimex directly.
9480         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9481         Remove declaration.
9482         (ntp_gettimex): Call __adjtimex directly.
9483         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9484         __adjtimex_internal alias.
9486 2014-10-08  Roland McGrath  <roland@hack.frob.com>
9488         [BZ #17460]
9489         * nscd/nscd.c (more_help): Rewrite list of tables collection
9490         using xstrdup and asprintf.
9492         * nscd/nscd_conf.c: Remove local xstrdup declaration.
9494 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9495             Roland McGrath  <roland@hack.frob.com>
9497         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9498         (do_lookup_unique): ... local function 'enter' here; update callers.
9500 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
9502         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9503         compat_symbol calls on [SHARED].
9504         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9505         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9506         Remove.
9507         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9508         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9509         (oldsetrlimit): Remove.
9510         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9512         (lchown): New syscall entry.
9513         (oldsetrlimit): Remove.
9514         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9515         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9516         (oldsetrlimit): Remove.
9517         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9519         [BZ #14138]
9520         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9521         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9522         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9523         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9524         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9525         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9526         (fchown): Likewise.
9527         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9528         (fchown): Likewise.
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9530         Likewise.
9532 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9534         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9535         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9536         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9537         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9538         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9539         Likewise.
9540         (__old_sem_post): Likewise.
9542 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
9544         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9545         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9546         HAVE_CLOCK_GETTIME_VSYSCALL macros.
9547         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9548         Use INLINE_VSYSCALL macro.
9549         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9550         __vdso_clock_gettime.
9551         * sysdeps/unix/sysv/linux/tile/init-first.c
9552         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9553         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9554         __vdso_clock_gettime.
9556         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9557         to set up frame more cleanly.
9559         * sysdeps/tile/memcmp.c: New file.
9561         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9563         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9564         * sysdeps/tile/tilegx/strcasestr.c: New file.
9565         * sysdeps/tile/tilegx/strnlen.c: New file.
9566         * sysdeps/tile/tilegx/strstr.c: New file.
9568         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9570 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
9572         * nptl/tst-setuid3.c: Write errors to stdout.
9574 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9576         * elf/dl-deps.c
9577         (preload): New functions broken out of _dl_map_object_deps.
9578         (_dl_map_object_deps):  Remove a nested function. Update call sites.
9580 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
9582         [BZ #14138]
9583         * sysdeps/unix/sysv/linux/execve.c: Remove file.
9584         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9586 2014-10-01  Steve Ellcey  <sellcey@mips.com>
9588         * sysdeps/mips/strcmp.S: New.
9590 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
9592         [BZ #14138]
9593         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9594         (linkat): Likewise.
9595         (mkdirat): Likewise.
9596         (readlinkat): Likewise.
9597         (renameat): Likewise.
9598         (symlinkat): Likewise.
9599         (unlinkat): Likewise.
9600         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9601         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9602         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9603         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9604         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9605         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9606         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9608 2014-09-30  Will Newton  <will.newton@linaro.org>
9610         * math/math.h: Define long double math functions if
9611         _LIBC_TEST is defined.
9612         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9614         * localedata/Makefile: Move assignment to tests-special
9615         into an ifdef testing run-built-tests.
9616         * timezone/Makefile: Likewise.
9618 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
9620         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9621         with $(BASH) not $(SHELL).
9623 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
9624             Matthew LeGendre  <legendre1@llnl.gov>
9626         [BZ #17411]
9627         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9628         l_reloc_result.
9630 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9632         * stdio-common/printf_fp.c
9633         (hack_digit): New function, broken out of ...
9634         (__printf_fp): ... local function here.  Update call sites.
9635         hack_digit now takes an additional parameter that is a pointer
9636         to a struct of the referenced locals.  Those locals moved inside
9637         the struct and references updated.
9639 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
9641         * aclocal.m4: Require autoconf 2.69.
9642         * configure: Regenerated.
9643         * sysdeps/aarch64/configure: Likewise.
9644         * sysdeps/alpha/configure: Likewise.
9645         * sysdeps/arm/armv7/configure: Likewise.
9646         * sysdeps/arm/configure: Likewise.
9647         * sysdeps/ia64/configure: Likewise.
9648         * sysdeps/mach/configure: Likewise.
9649         * sysdeps/mips/configure: Likewise.
9650         * sysdeps/s390/configure: Likewise.
9651         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9654         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9655         file.
9656         * sysdeps/ia64/configure.ac: Likewise.
9658 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
9660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9661         specify symbol version for ld.so.  Do not include entry for
9662         libpthread.
9663         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9664         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9665         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9667         [BZ #14171]
9668         * Makeconfig [$(build-shared) = yes]
9669         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9670         makefiles.
9671         [$(build-shared) = yes && $(soversions.mk-done) = t]
9672         ($(common-objpfx)gnu/lib-names.h): Remove rule.
9673         [$(build-shared) = yes && $(soversions.mk-done) = t]
9674         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
9675         to Makerules.
9676         [$(build-shared) = yes && $(soversions.mk-done) = t]
9677         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9678         here.
9679         [$(build-shared) = yes && $(soversions.mk-done) = t]
9680         (common-generated): Don't append gnu/lib-names.h and
9681         gnu/lib-names.stmp here.
9682         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9683         (lib-names-h-abi): New variable.
9684         [$(build-shared) = yes && $(soversions.mk-done) = t]
9685         (lib-names-stmp-abi): Likewise.
9686         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9687         abi-variants] (before-compile): Append
9688         $(common-objpfx)$(lib-names-h-abi).
9689         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9690         abi-variants] (common-generated): Append gnu/lib-names.h.
9691         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9692         abi-variants] (install-others-nosubdir): Depend on
9693         $(inst_includedir)/$(lib-names-h-abi).
9694         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9695         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9696         [$(build-shared) = yes && $(soversions.mk-done) = t]
9697         ($(common-objpfx)$(lib-names-h-abi)): New rule.
9698         [$(build-shared) = yes && $(soversions.mk-done) = t]
9699         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9700         [$(build-shared) = yes && $(soversions.mk-done) = t]
9701         (common-generated): Append $(lib-names-h-abi) and
9702         $(lib-names-stmp-abi).
9703         * scripts/lib-names.awk: Do not handle multi being set.
9704         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9705         Remove variable.
9706         (abi-lp64_be-ld-soname): Likewise.
9707         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9708         Likewise.
9709         (abi-hard-ld-soname): Likewise.
9710         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9711         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9712         Remove variable.
9713         (abi-o32_hard-ld-soname): Likewise.
9714         (abi-o32_soft_2008-ld-soname): Likewise.
9715         (abi-o32_hard_2008-ld-soname): Likewise.
9716         (abi-n32_soft-ld-soname): Likewise.
9717         (abi-n32_hard-ld-soname): Likewise.
9718         (abi-n32_soft_2008-ld-soname): Likewise.
9719         (abi-n32_hard_2008-ld-soname): Likewise.
9720         (abi-n64_soft-ld-soname): Likewise.
9721         (abi-n64_hard-ld-soname): Likewise.
9722         (abi-n64_soft_2008-ld-soname): Likewise.
9723         (abi-n64_hard_2008-ld-soname): Likewise.
9724         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9725         Likewise.
9726         (abi-64-v2-ld-soname): Likewise.
9727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9728         ld.so entries.
9729         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9730         variable.
9731         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9732         entry.
9733         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9734         variable.
9735         (abi-64-ld-soname): Likewise.
9736         (abi-x32-ld-soname): Likewise.
9737         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9738         entry.
9739         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9741 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
9743         [BZ #14138]
9744         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9745         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9746         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9747         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9748         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9749         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9750         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9751         syscall entry for GLIBC_2.2 symbol version.
9752         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9753         Likewise.
9754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9755         (setrlimit): Likewise.
9756         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9757         Likewise.
9759 2014-09-23  Will Newton  <will.newton@linaro.org>
9761         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9762         _LINUX_ARM_SYSDEP_H include guard too.
9763         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9764         define.
9766 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9768         * sysdeps/unix/sysv/linux/eventfd.c:
9769         Make first argument unsigned.
9770         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9771         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9773 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
9775         * socket/recvmmsg.c (recvmmsg): Drop const argument.
9776         * socket/sys/socket.h: Likewise
9777         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9779 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9781         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9783 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
9785         * time/tst-ftime.c: New test.
9786         * time/Makefile (tests): Add tst-ftime.
9788 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
9790         * soft-fp/extended.h: Fix comment formatting.
9791         * soft-fp/op-1.h: Likewise.
9792         * soft-fp/op-2.h: Likewise.
9793         * soft-fp/op-4.h: Likewise.
9794         * soft-fp/op-8.h: Likewise.
9795         * soft-fp/op-common.h: Likewise.
9796         * soft-fp/soft-fp.h: Likewise.
9798         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9800 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
9802         [BZ #6652]
9803         * Makeconfig (soversions-default-setname): Remove variable.
9804         ($(common-objpfx)soversions.i): Don't pass default_setname to
9805         soversions.awk.
9806         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9807         oldest_abi to abi-versions.awk.
9808         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9809         * config.make.in (oldest-abi): Remove variable.
9810         * configure.ac (--enable-oldest-abi): Remove configure option.
9811         * configure: Regenerated.
9812         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9813         text.
9814         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9815         * scripts/soversions.awk: Do not handle default_setname variable.
9816         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9817         variable.
9818         * sysdeps/mach/hurd/configure: Regenerated.
9819         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9820         variable.
9821         * sysdeps/unix/sysv/linux/configure: Regenerated.
9823 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9825         * elf/Makefile (CFLAGS-interp.c): Remove.
9826         ($(elf-objpfx)runtime-linker.h): Generate header with linker
9827         path string.
9828         * elf/interp.c: Include generated runtime-linker.h
9830         * Makerules (lib%.so): Don't include $(+interp) in
9831         prerequisites.
9832         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9833         * dlfcn/eval.c: Remove file.
9835         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9836         macros.
9838         [BZ #17266]
9839         * misc/sys/cdefs.h: Define __extern_always_inline for clang
9840         4.2 and newer.
9842         [BZ #17370]
9843         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9845 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9846             Jakub Jelinek  <jakub@redhat.com>
9848         [BZ #17266]
9849         * libio/stdio.h: Check definition of __fortify_function
9850         instead of __extern_always_inline to include bits/stdio2.h.
9851         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9852         check if __extern_always_inline is defined.
9853         [__USE_MISC || __USE_XOPEN]: Likewise.
9854         [__USE_ISOC99] Likewise.
9855         * misc/sys/cdefs.h (__fortify_function): Define only if
9856         __extern_always_inline is defined.
9857         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9858         __extern_always_inline and __extern_inline only for g++-4.3
9859         and newer or a compatible gcc.
9861 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
9863         [BZ #17371]
9864         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9865         last change to handle zero prefix length.
9867 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9869         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9870         _SC_REGEX_VERSION.
9872         * posix/getconf.c (vars): Add _POSIX_IPV6 and
9873         _POSIX_RAW_SOCKETS.
9875 2014-09-13  Allan McRae  <allan@archlinux.org>
9877         * po/ru.po: Update Russian translation from translation project.
9879 2014-09-12  Roland McGrath  <roland@hack.frob.com>
9881         * locale/programs/locale.c (show_locale_vars): Inline local function
9882         into its sole call site.  Clean up some style nits.
9883         (print_item): New function, broken out of ...
9884         (show_info): ... local function here.  Clean up style nits.
9886         * locale/programs/ld-ctype.c (set_one_default): New function, broken
9887         out of ...
9888         (set_class_defaults): ... local function set_default here.
9889         Define set_default as a macro locally to pass constant parameters.
9890         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9891         rather than a shared local.
9893         * stdlib/rpmatch.c (try): New function, broken out of ...
9894         (rpmatch): ... local function here.  Also, prototypify definition.
9896 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
9898         * scripts/soversions.awk: Do not handle configuration names.
9899         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9900         vendor and os variables to soversions.awk.
9901         * configure.ac: Do not modify gnu-* host_os.
9902         * configure: Regenerated
9903         * shlib-versions: Remove first column with configuration names.
9904         * nptl/shlib-versions: Likewise.
9905         * nptl_db/shlib-versions: Likewise.
9906         * sysdeps/hppa/shlib-versions: Likewise.
9907         * sysdeps/m68k/shlib-versions: Likewise.
9908         * sysdeps/mach/hurd/shlib-versions: Likewise.
9909         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9910         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9911         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9912         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9913         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9914         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9915         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9916         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9918         Likewise.
9919         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9920         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9921         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9922         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9923         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9924         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9925         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9926         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9929         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9931         Regenerated.
9932         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9934         Condition symbol version definitions on [HAVE_ELFV2_ABI].
9936         * shlib-versions: Remove OS-specific entries.  Moved to files in
9937         sysdeps.
9938         * sysdeps/mach/hurd/shlib-versions: New file.
9939         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9941         * nptl/shlib-versions: Remove architecture-specific entries.
9942         Moved to files in sysdeps.
9943         * shlib-versions: Likewise.
9944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9945         file.
9946         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9947         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9948         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9949         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9951         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9952         (UDP_NO_CHECK6_RX): Likewise.
9954 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9956         * sysdeps/posix/sysconf.c (__sysconf): Spell
9957         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9959 2014-08-12  Florian Weimer  <fweimer@redhat.com>
9961         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9962         loading.
9963         * iconv/Versions (__gconv_transliterate): Export for use from
9964         gconv modules.
9965         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9966         (struct __gconv_trans_data, __gconv_trans_fct,
9967         __gconv_trans_context_fct, __gconv_trans_query_fct,
9968         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9969         definitions.
9970         (struct __gconv_step_data): Remove __trans member.
9971         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
9972         longer hidden.  Remove unused trans_data argument.
9973         * iconv/gconv_int.h (struct trans_struct): Remove definition.
9974         (__gconv_translit_find): Remove declaration.
9975         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
9976         prototype.
9977         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9978         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9979         trans_data argument.  Add hidden definition.
9980         (__gconv_translit_find): Remove.
9981         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9982         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9983         * iconv/skeleton.c: Remove transliteration initialization.
9984         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9985         __gconv_step_data initialization.
9986         * libio/iofwide.c (__libio_translit_): Remove.
9987         (_IO_fwide): Adjust struct __gconv_step_data initialization.
9988         * wcsmbs/btowc.c (__btowc): Likewise.
9989         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9990         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9991         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9992         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9993         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9994         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9995         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9996         * wcsmbs/wctob.c (wctob): Likewise.
9998 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10000         [BZ #16194]
10001         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10002         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10003         register usage.
10004         * sysdeps/x86/Makefile: Adjust.
10006 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10007             Roland McGrath  <roland@hack.frob.com>
10009         * locale/weight.h: Add include guard.
10010         (findidx): Make static rather than auto; take new parameters
10011         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10012         * locale/weightwc.h: Likewise.
10013         * posix/fnmatch_loop.c
10014         (FCT): Change type of EXTRA from int32_t to wint_t.
10015         Don't include either header inside the function.
10016         Call FINDIDX rather than findidx, and pass new arguments.
10017         #undef FINDIDX at the end of the file.
10018         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10019         FINDIDX before including fnmatch_loop.c for the non-wide version.
10020         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10021         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10022         for the wide version.
10023         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10024         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10025         Pass new arguments to findidx.
10026         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10027         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10028         Don't #include it inside the function.  Pass new arguments to findidx.
10029         * posix/regex_internal.h
10030         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10031         (re_string_elem_size_at): Don't #include it inside the function.
10032         Pass new arguments to findidx.
10033         * string/strcoll_l.c: #include WEIGHT_H at top level.
10034         (get_next_seq): Don't #include it inside the function.
10035         Pass new arguments to findidx.
10036         (get_next_seq_nocache): Likewise.
10037         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10038         (STRXFRM): Don't #include it inside the function.
10039         Pass new arguments to findidx.
10041 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10043         [BZ #17344]
10044         * malloc/malloc.c (unlink): Turn asserts into a call to
10045         malloc_printerr.
10047 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10049         [BZ #17370]
10050         * libio/wfileops (do_ftell_wide): Free OUT.
10052 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10054         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10056 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10058         [BZ #17363]
10059         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10060         group if the current group is empty.
10062 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10064         * benchtests/bench-memset.c (test_main): Add more test from size
10065         from 32 to 512 bytes.
10066         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10067         Add POWER8 memset object.
10068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10069         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10070         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10071         implementation.
10072         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10073         Likewise.
10074         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10075         multiarch POWER8 memset optimization.
10076         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10077         POWER8 memset optimization.
10079         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10080         Remove bzero multiarch objects.
10081         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10082         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10083         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10084         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10085         Remove define.
10086         [__bzero]: Redefine to specific name.
10087         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10088         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10089         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10090         define.
10091         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10092         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10094 2014-09-10  Florian Weimer  <fweimer@redhat.com>
10096         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10097         warnings into errors.
10099         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10100         __cxa_thread_atexit_impl prototype.
10102 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10104         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10105         Fix capitalization of error message.
10107 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10109         * sysdeps/mips/preconfigure: Modify ABI tests.
10111 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
10113         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10115 2014-09-07  Roland McGrath  <roland@hack.frob.com>
10116             Carlos O'Donell  <carlos@systemhalted.org>
10118         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10119         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10120         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10121         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10122         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10123         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10124         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10125         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10126         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10127         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10128         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10129         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10130         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10131         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10132         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10133         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10134         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10135         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10136         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10137         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10138         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10139         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10140         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10141         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10142         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10143         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10144         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10145         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10146         Deconditionalize the code that was previously under [RESET_PID].
10147         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10148         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10149         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10150         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10151         include sysdep.h.
10153 2014-09-08  Allan McRae  <allan@archlinux.org>
10155         * version.h (RELEASE): Set to "development".
10156         (VERSION): Set to "2.20.90"
10158 2014-09-07  Allan McRae  <allan@archlinux.org
10160         * version.h (RELEASE): Set to "stable".
10161         (VERSION): Set to "2.20"
10162         * include/features.h (__GLIBC_MINOR__): Set to 20.
10164         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10165         Liebler.
10167         * po/ko.po: Update Korean translation from translation project.
10169 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
10171         [BZ #17354]
10172         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10173         macro for handling signed relocations.
10175 2014-09-03  Florian Weimer  <fweimer@redhat.com>
10177         [BZ #17325]
10178         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10179         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10180         assert.
10181         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10182         * iconvdata/ibm935.c (BODY): Likewise.
10183         * iconvdata/ibm937.c (BODY): Likewise.
10184         * iconvdata/ibm939.c (BODY): Likewise.
10185         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10186         assert.
10187         * iconvdata/Makefile (iconv-test.out): Pass module list to test
10188         script.
10189         * iconvdata/run-iconv-test.sh: New test loop for checking for
10190         decoder crashers.
10192 2014-09-02  Khem Raj  <raj.khem@gmail.com>
10194         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10195         libm_hidden_ver.
10197 2014-09-01  Allan McRae  <allan@archlinux.org>
10199         * po/eo.po: Update Esperanto translation from translation project.
10201         * po/ca.po: Update Catalan translation from translation project.
10203 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10205         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10206         __proc_dostop call.
10208 2014-08-27  Mark Wielaard  <mjw@redhat.com>
10210         [BZ #17319]
10211         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10212         to call set_thread_area instead of hand written asm.
10213         (__NR_set_thread_area): Removed define.
10214         (TLS_FLAG_WRITABLE): Likewise.
10215         (__ASSUME_SET_THREAD_AREA): Remove check.
10216         (TLS_EBX_ARG): Remove define.
10217         (TLS_LOAD_EBX): Likewise.
10219 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10221         Simplify atomicity of socket creation in bind.
10223         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10224         looking up the name after linking the file.
10226 2014-08-27  Allan McRae  <allan@archlinux.org>
10228         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10230 2014-08-26  Florian Weimer  <fweimer@redhat.com>
10232         [BZ #17187]
10233         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10234         trans_compare, open_translit, __gconv_translit_find):
10235         Remove module loading code.
10237 2014-08-26  Allan McRae  <allan@archlinux.org>
10239         * po/vi.po: Update Vietnamese translation from translation project.
10241         * po/uk.po: Update Ukrainian translation from translation project.
10243         * po/fr.po: Update French translation from translation project.
10245         * po/ru.po: Update Russian translation from translation project.
10247         * po/pl.po: Update Polish translation from translation project.
10249         * po/cs.po: Update Czech translation from translation project.
10251         * po/de.po: Update German translation from translation project.
10253         * po/bg.po: Update Bulgarian translation from translation project.
10255         * po/sv.po: Update Sweedish translation from translation project.
10257         * po/nl.po: Update Dutch translation from translation project.
10259         * po/es.po: Update Spanish translation from translation project.
10261 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10263         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10265         * catgets/Makefile (CPPFLAGS-gencat): Remove.
10266         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10267         (CPPFLAGS-iconvconfig): Likewise.
10268         * timezone/Makefile (CPPFLAGS-zic): Likewise.
10270         * include/libc-symbols.h: Remove unnecessary check for
10271         NOT_IN_libc.
10272         * nptl/pthreadP.h: Likewise.
10273         * sysdeps/aarch64/setjmp.S: Likewise.
10274         * sysdeps/alpha/setjmp.S: Likewise.
10275         * sysdeps/arm/sysdep.h: Likewise.
10276         * sysdeps/i386/setjmp.S: Likewise.
10277         * sysdeps/m68k/setjmp.c: Likewise.
10278         * sysdeps/posix/getcwd.c: Likewise.
10279         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10280         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10281         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10282         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10283         * sysdeps/sh/sh3/setjmp.S: Likewise.
10284         * sysdeps/sh/sh4/setjmp.S: Likewise.
10285         * sysdeps/unix/alpha/sysdep.h: Likewise.
10286         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10287         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10288         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10289         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10292         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10294         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10297         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10299         * sysdeps/x86_64/setjmp.S: Likewise.
10301 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
10303         [BZ #17263]
10304         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10305         <stdint.h>.
10306         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10307         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10309 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10311         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10313         [BZ #17262]
10314         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10315         and __x86_64__ when disabling x87 inline functions.
10317 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
10319         [BZ #17259]
10320         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10321         asm statement with __cpuid_count.
10323 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
10325         * configure.ac: Change __ehdr_start code to dereference the struct.
10326         Run readelf on the output to look for relocations.
10327         * configure: Regenerated.
10329 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
10331         [BZ #17261]
10332         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10333         value to 0.
10334         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10336 2014-08-12  Roland McGrath  <roland@hack.frob.com>
10338         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10340 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
10342         [BZ #16892]
10343         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10344         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10346 2014-08-12  Sean Anderson  <seanga2@gmail.com>
10348         * malloc/malloc.c: Fix typo in comment.
10350 2014-08-09  Allan McRae  <allan@archlinux.org>
10352         * Regenerate libc.po.
10354 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
10356         * intl/tst-gettext2.sh: Check every lang file for creation.
10358 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10360         * sysdeps/aarch64/fpu/math_private.h
10361         (libc_feholdsetround_noex_aarch64_ctx): New function.
10363 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10365         * sysdeps/arm/armv6/strcpy.S (strcpy):
10366         Fix performance issue in misaligned cases.
10368 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10370         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10371         Move definition from termios.h.
10372         (struct termio): Likewise.
10373         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10374         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10375         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10376         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10377         Likewise.
10378         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10379         Move definition to ioctl-types.h
10380         (struct termio): Likewise.
10381         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10382         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10383         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10384         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10385         Likewise.
10387 2014-08-05  Richard Henderson  <rth@redhat.com>
10389         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10390         exceptions.
10391         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10392         Add fraiseexcpt.
10393         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10394         Use __feraiseexcept.
10395         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10396         Protect libm symbols with IS_IN_libm.
10398         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10400 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
10402         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10404 2014-08-04  Will Newton  <will.newton@linaro.org>
10406         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10407         file.
10409 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
10411         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10412         variants for each function.
10414 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10416         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10417         appended ...
10418         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10419         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10420         appended ...
10421         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10422         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10423         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10424         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10425         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10426         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10427         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10428         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10429         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10430         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10431         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10432         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10433         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10434         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10435         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10436         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10437         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10438         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10439         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10440         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10441         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10442         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10443         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10444         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10445         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10446         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10447         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10448         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10449         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10450         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10451         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10452         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10453         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10454         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10455         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10456         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10457         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10458         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10459         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10460         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10461         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10462         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10463         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10464         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10465         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10466         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10467         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10468         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10469         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10470         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10471         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10472         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10473         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10474         Update #include.
10475         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10476         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10478 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10480         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10481         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10482         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10483         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10484         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10485         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10487 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10489         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10490         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10491         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10492         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10494 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10496         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10497         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10498         (__libc_vfork): Define function under this name.
10499         (__vfork): Define as an alias.
10500         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10501         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10503 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10505         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10506         that was previously under [RESET_PID].
10507         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10509 2014-08-04  Andreas Schwab  <schwab@suse.de>
10511         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10513 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
10515         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10516         (main): Likewise.
10518 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10520         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10522 2014-08-01  Richard Henderon  <rth@redhat.com>
10524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10525         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10526         typo in exact zero test.
10527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10528         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10529         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10531 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10533         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10534         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10535         * sysdeps/arm/sysdep.h: ... here.
10536         [!__ASSEMBLER__]: Include <stdint.h>.
10538 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10540         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10541         (HAVE_WCTYPE_H): Likewise.
10542         (HAVE_ISWCTYPE): Likewise.
10543         (ENABLE_NLS): Likewise.
10544         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10545         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10547         * posix/regex_internal.c: Check if DEBUG is defined and is
10548         set.
10550         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10551         (HAVE_MBSRTOWCS): Likewise.
10552         * posix/fnmatch.c: Include string.h unconditionally.
10554 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10556         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10557         reversal.
10559 2014-07-31  Roland McGrath  <roland@hack.frob.com>
10561         * sysdeps/generic/safe-fatal.h: New file.
10562         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10563         * nptl/forward.c: Include it.
10564         (__pthread_unwind): Use __safe_fatal as default action, rather
10565         than a bogus use of INTERNAL_SYSCALL that could never work.
10567         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10568         * configure.ac (libc_cv_builtin_trap): New test.
10569         * configure: Regenerated.
10570         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10571         (ABORT_INSTRUCTION): Define using __builtin_trap.
10573         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10574         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10575         * sysdeps/nptl/nptl-signals.h: New file.
10576         * nptl/pthreadP.h: Include <nptl-signals.h>.
10578 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10580         * sysdeps/s390/s390-64/utf16-utf32-z9.c
10581         (ONE_DIRECTION): Define.
10582         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10583         (ONE_DIRECTION): Define.
10584         * sysdeps/s390/s390-64/utf8-utf32-z9.c
10585         (ONE_DIRECTION): Define.
10587 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10589         * sysdeps/s390/Makefile: Delete file.
10590         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10591         * sysdeps/s390/__longjmp.c: Delete file.
10592         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10593         Remove fields __flags and __reserved.
10594         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10595         and add versioning.
10596         * sysdeps/s390/rtld-__longjmp.c: Delete file.
10597         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10598         * sysdeps/s390/rtld-setjmp.S: Likewise.
10599         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10600         * sysdeps/s390/s390-32/__longjmp.c: ... here.
10601         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10602         * sysdeps/s390/s390-32/setjmp.S: ... here.
10603         Add versioning.
10604         (__sigsetjmp): Remove setting __flags field.
10605         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10606         * sysdeps/s390/s390-64/__longjmp.c: ... here.
10607         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10608         * sysdeps/s390/s390-64/setjmp.S: ... here.
10609         Add versioning.
10610         (__sigsetjmp): Remove setting __flags field.
10611         * sysdeps/s390/setjmp.S: Delete file.
10612         * sysdeps/s390/sigjmp.c: Likewise.
10613         * sysdeps/s390/v1-longjmp.c: Likewise.
10614         * sysdeps/s390/v1-setjmp.h: Likewise.
10615         * sysdeps/s390/v1-sigjmp.c: Likewise.
10616         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10617         Remove v1-longjmp_chk.
10618         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10619         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10620         Include debug/longjmp_chk.c and add versioning.
10621         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10622         Include nptl/pt-longjmp.c and add versioning.
10623         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10624         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10625         Include __longjmp.c.
10626         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10627         Move to ...
10628         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10629         (__getcontext): Remove setting __flags field.
10630         Add versioning.
10631         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10632         Don't restore upper high grps.
10633         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10634         Likewise.
10635         (__swapcontext): Remove setting uc_flags field.
10636         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10637         Delete file.
10638         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10639         Include __longjmp.c.
10640         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10641         Move to ...
10642         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10643         (__getcontext): Remove setting __flags field.
10644         Add versioning.
10645         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10646         (__swapcontext): Remove setting uc_flags field.
10647         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10648         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10649         Remove fields uc_high_gprs and __reserved.
10650         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10651         New file with reverted content.
10652         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10653         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10654         Regenerated.
10655         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10656         Regenerated.
10658 2014-07-31  Andreas Schwab  <schwab@suse.de>
10660         * config.h.in (HAVE_IFUNC): Define to 0.
10661         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10662         definedness.
10664 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
10666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10667         memmove-avx-unaligned, memcpy-avx-unaligned and
10668         mempcpy-avx-unaligned.
10669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10670         Add tests for AVX memcpy functions.
10671         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10672         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10673         memcpy_chk.
10674         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10675         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10676         memmove_chk.
10677         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10678         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10679         mempcpy_chk.
10680         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10681         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10682         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10684 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10686         [BZ #17213]
10687         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10688         powerpc64le.
10690 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
10692         [BZ #16839]
10693         * manual/llio.texi: Add section about open file description locks.
10694         * manual/examples/ofdlocks.c: Example of open file description
10695         lock usage.
10696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10697         F_OFD_SETLK, and F_OFD_SETLKW.
10699 2014-07-23  Allan McRae  <allan@archlinux.org>
10701         * po/es.po: Update Spanish translation from translation project.
10703 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
10705         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10707 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
10709         [BZ #17078]
10710         * sysdeps/arm/dl-machine.h (elf_machine_rela)
10711         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10712         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10714 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
10716         [BZ #17088]
10717         * math/fesetenv.c (__fesetenv)
10718         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10719         * math/feupdateenv.c (__feupdateenv)
10720         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10722         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10723         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10724         (__ASSUME_SOCKETCALL): Do not define.
10726         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10727         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10728         (__ASSUME_SOCKETCALL): Do not define.
10729         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10730         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10731         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10732         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10733         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10734         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10735         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10736         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10738         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10739         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10740         (__ASSUME_SOCKETCALL): Do not define.
10741         (__ASSUME_IPC64): Define unconditionally.
10742         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10743         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10744         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10745         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10746         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10747         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10748         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10749         Likewise.
10751         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10752         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10753         (__ASSUME_SOCKETCALL): Do not define.
10754         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10755         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10756         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10757         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10758         (__ASSUME_REQUEUE_PI): Define unconditionally.
10759         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10760         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10761         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10762         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10763         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10764         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10766         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10767         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10768         (__ASSUME_SOCKETCALL): Do not define.
10769         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10770         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10771         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10772         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10773         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10774         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10776         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10777         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10778         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10779         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10780         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10781         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10783         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10784         (__ASSUME_GETCPU_SYSCALL): Likewise.
10786         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10787         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
10788         cases for individual architectures.
10789         * sysdeps/gnu/configure: Regenerated.
10790         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10791         LIBC_SLIBDIR_RTLDDIR.
10792         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10793         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10794         LIBC_SLIBDIR_RTLDDIR.
10795         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10797         LIBC_SLIBDIR_RTLDDIR.
10798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10799         Regenerated.
10800         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10801         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10802         file.
10803         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10804         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10805         file.
10806         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10807         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10808         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10809         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10811         * sysdeps/aarch64/shlib-versions: Move to ...
10812         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10813         * sysdeps/alpha/shlib-versions: Move to ...
10814         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10815         * sysdeps/arm/shlib-versions: Move to ...
10816         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10817         * sysdeps/hppa/shlib-versions: Move all contents except for
10818         libgcc_s entry to ...
10819         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
10820         entry from ...
10821         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
10822         * sysdeps/ia64/shlib-versions: Move to ...
10823         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
10824         entry from ...
10825         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
10826         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10827         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10828         * sysdeps/microblaze/shlib-versions: Move to ...
10829         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10830         * sysdeps/mips/shlib-versions: Move to ...
10831         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
10832         entry from ...
10833         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
10834         * sysdeps/tile/shlib-versions: Move to ...
10835         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10836         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10837         from ...
10838         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
10839         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10840         entry from ...
10841         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
10843 2014-07-17  Will Newton  <will.newton@linaro.org>
10845         * sysdeps/arm/bits/atomic.h
10846         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10847         (__arch_compare_and_exchange_bool_16_int): Likewise.
10848         (__arch_compare_and_exchange_bool_64_int): Likewise.
10850         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10851         into an #else block.
10853 2014-07-16  Roland McGrath  <roland@hack.frob.com>
10855         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10856         just Linux configurations.  Test empirically that the compiler sets
10857         __ARM_EABI__, rather than using the tuple to decide.
10858         * sysdeps/arm/preconfigure: Regenerated.
10859         * sysdeps/unix/sysv/linux/arm/configure: File removed.
10860         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10861         contents appended ...
10862         * sysdeps/arm/configure.ac: ... here.
10863         * sysdeps/arm/configure: Regenerated.
10865 2014-07-15  Roland McGrath  <roland@hack.frob.com>
10867         * nptl/pthread_kill.c: New file.
10868         * nptl/pthread_sigmask.c: New file.
10869         * nptl/pthread_sigqueue.c: New file.
10871         * sysdeps/nptl/lowlevellock.h: New file.
10872         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10873         * sysdeps/nptl/lowlevellock-futex.h: New file.
10875         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10876         Remove dead declarations.
10878 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
10880         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10881         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10882         config-cflags-avx2.
10883         * sysdeps/x86_64/configure.ac: Likewise.
10884         * sysdeps/i386/configure: Regenerated.
10885         * sysdeps/x86_64/configure: Likewise.
10886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10887         memset-avx2 only if config-cflags-avx2 is yes.
10888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10889         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10890         defined.
10891         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10892         only if HAVE_AVX2_SUPPORT is defined.
10893         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10895 2014-07-14  Alan Modra  <amodra@gmail.com>
10897         [BZ #17153]
10898         * elf/elf.h (DT_PPC64_NUM): Correct value.
10899         * NEWS: Add to fixed bug list.
10901 2014-07-13  Jim Meyering  <meyering@fb.com>
10903         [BZ 17150]
10904         regex: don't deref NULL upon heap allocation failure
10905         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10906         failure in one more place.
10907         To trigger the segfault, configure grep -with-included-regex,
10908         build it, and run these commands:
10909         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10911 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
10913         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10915 2014-07-11  Richard Henderson  <rth@redhat.com>
10917         * sysdeps/aarch64/libm-test-ulps: Update.
10919 2014-07-10  Florian Weimer  <fweimer@redhat.com>
10921         [BZ #17135]
10922         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10923         * nptl/allocatestack.c (__nptl_setxid_error): New function.
10924         (__nptl_setxid): Initialize error member.  Call
10925         __nptl_setxid_error.
10926         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10927         * nptl/descr.h (struct xid_command): Add error member.
10928         * nptl/tst-setuid3.c: New file.
10929         * nptl/Makefile (tests): Add it.
10931 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10933         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10934         New define.
10935         (__lll_trylock): Use __lll_base_trylock.
10936         (__lll_cond_trylock): Likewise.
10938 2014-07-10  Roland McGrath  <roland@hack.frob.com>
10940         * nptl/pthread_create.c (start_thread): Use atomic_or and
10941         lll_futex_wake directly rather than lll_robust_dead.
10942         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10943         (lll_robust_dead): Macro removed.
10944         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10945         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10946         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10947         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10948         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10949         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10950         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10951         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10952         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10953         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10954         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10955         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10956         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10957         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10958         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10960         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10961         Use atomic_compare_and_exchange_val_acq directly rather than
10962         lll_robust_trylock.
10963         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10964         (__lll_robust_trylock, lll_robust_trylock): Removed.
10965         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10966         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10967         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10968         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10969         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10970         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10971         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10972         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10973         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10974         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10975         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10976         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10977         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10978         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10980 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10982         * manual/locale.texi (Locale Names): New section documenting
10983         locale name syntax.  Adjust menu and node chaining accordingly.
10984         (Choosing Locale): Reference Locale Names, Locale Categories.
10985         Mention setting LC_ALL=C.  Reflect that name syntax is now
10986         documented.
10987         (Locale Categories): New section title.  Reference Locale Names.
10988         LC_ALL is an environment variable, but not a category.
10989         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10990         description, now in Locale Name.  Reference that section.  Locale
10991         name syntax is now documented.
10993 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10995         [BZ #17137]
10996         * locale/findlocale.c (name_present, valid_locale_name): New
10997         functions.
10998         (_nl_find_locale): Use the loc_name variable to store name
10999         candidates.  Call name_present and valid_locale_name to check and
11000         validate locale names.  Return an error if the locale is invalid.
11002 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11004         * locale/setlocale.c (setlocale): Use strdup for allocating
11005         composite name copy.
11007 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11009         Sync up with gnulib.
11010         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11011         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11012         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11013         and _GL_ARG_NONNULL.
11014         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11015         [!_LIBC]: Include code for Windows and Cygwin.
11016         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11017         Include prototype for int strerror_r.
11018         [!_LIBC] (is_open): New function.
11019         (flush_stdout): New function.
11020         (print_errno_message): Use it.
11021         (error): Likewise.
11022         (error_at_line): Likewise.
11023         (error_tail) Add function attribute macros.  Use
11024         __builtin_expect.
11026         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11028         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11030         * io/ftw.c: Include sys/param.h unconditionally.
11032         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11034         [BZ #17125]
11035         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11036         libc_freeres_ptr.
11037         (freecache): New function to free CACHE on exit.
11039         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11040         initialization.
11042 2014-07-09  David S. Miller  <davem@davemloft.net>
11044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11046         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11047         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11048         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11049         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11050         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11051         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11052         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11053         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11054         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11055         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11056         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11057         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11058         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11060 2014-07-09  Andreas Schwab  <schwab@suse.de>
11062         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11063         output.
11064         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11065         (do_test): Likewise.
11067         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11069 2014-07-09  Will Newton  <will.newton@linaro.org>
11071         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11072         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11073         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11074         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11075         * sysdeps/hppa/start.S (_start): Likewise.
11077 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11079         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11081         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11082         defined.
11084 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11086         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11087         after checking that it is non-NULL.
11089         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11091 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11093         * sysdeps/powerpc/memmove.c: Remove file.
11094         * sysdeps/powerpc/powerpc32/power4/memcopy.h
11095         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11096         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11097         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11098         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11099         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11100         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11101         string memmove instead of removed powerpc one.
11103         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11104         [weak_alias]: Fix compiler warning due trailing data.
11105         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11106         [weak_alias]: Likewise.
11107         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11108         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11111         (__libc_ifunc_impl_list): Add memmove functions.
11113 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11115         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11116         Remove code.
11117         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11118         Likewise
11119         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11120         Likewise
11121         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11122         Likewise
11123         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11124         Likewise
11125         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11126         Likewise
11127         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11128         Likewise
11129         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11130         Likewise
11131         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11132         Likewise
11133         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11134         Likewise
11135         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11136         Likewise
11137         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11138         Likewise
11139         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11140         Likewise
11141         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11142         Likewise
11143         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11144         Likewise
11145         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11146         Likewise
11147         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11148         Likewise
11150 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11152         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11153         to avoid alignment traps in non-cacheable memory.
11154         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11157         multiarch objects.
11158         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11159         file: multiarch power7 memmove.
11160         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11161         multiarch default memmove.
11162         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11163         multiarch memove for powerpc32/power4.
11165         * string/bcopy.c: Use full path to include memmove.c.
11166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11167         multiarch objects.
11168         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11169         bcopy for powerpc64.
11170         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11171         bcopy for powerpc64.
11172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11173         and memmove implementations.
11174         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11175         optimized multiarch memmove for POWER7/powerpc64.
11176         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11177         default multiarch memmove for powerpc64.
11178         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11179         multiarch for powerpc64.
11180         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11181         for POWER7/powerpc64.
11182         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11183         memmove for POWER7/powerpc64.
11185         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11186         glibc default one.
11188         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11189         __ELF_NATIVE_CLASS equal to 64.
11191 2014-07-07  Roland McGrath  <roland@hack.frob.com>
11193         * sysdeps/nptl/lowlevellock.h: File removed.
11195         * NEWS: NPTL is no longer an add-on!
11196         * nptl/internaltypes.h: Moved ...
11197         * sysdeps/nptl/internaltypes.h: ... here.
11198         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11199         * sysdeps/nptl/fork.c: Likewise.
11200         * sysdeps/nptl/gai_misc.h: Likewise.
11201         * sysdeps/nptl/librt-cancellation.c: Likewise.
11202         * sysdeps/nptl/jmp-unwind.c: Likewise.
11203         * sysdeps/nptl/setxid.h: Likewise.
11204         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11205         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11206         * sysdeps/unix/sysv/linux/arm/Implies: New file.
11207         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11208         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11209         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11210         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11211         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11212         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11213         * sysdeps/unix/sysv/linux/mips/Implies: New file.
11214         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11215         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11216         * sysdeps/unix/sysv/linux/sh/Implies: New file.
11217         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11218         * sysdeps/unix/sysv/linux/tile/Implies: New file.
11219         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11220         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11221         * nptl/Makeconfig: Moved ...
11222         * sysdeps/nptl/Makeconfig: ... here.
11223         * nptl/configure: File removed.
11224         * nptl/ANNOUNCE: File removed.
11225         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11226         * sysdeps/unix/sysv/linux/configure: Regenerated.
11228         * nptl/Makefile (routines): Add libc_pthread_init,
11229         libc_multiple_threads, register-atfork and unregister-atfork.
11230         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11231         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11232         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11233         pthread-pi-defines.sym, structsem.sym.
11234         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11235         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11236         [$(subdir) = nptl] (tests): Add tst-setgetname.
11237         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11238         * sysdeps/unix/sysv/linux/sigaction.c: Just include
11239         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11240         [!LIBC_SIGACTION]: Remove aliases.
11241         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11242         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11243         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11244         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11245         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11246         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11247         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11248         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11249         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11250         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11251         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11252         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11253         __libc_allocate_rtsig_private.
11254         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11255         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11256         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11257         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11258         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11259         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11260         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11261         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11262         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11263         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11264         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11265         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11266         * nptl/internaltypes.h: ... here.
11267         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11268         * sysdeps/nptl/jmp-unwind.c: ... here.
11269         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11270         * nptl/libc-lowlevellock.c: ... here.
11271         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11272         * nptl/libc_multiple_threads.c: ... here.
11273         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11274         * nptl/libc_pthread_init.c: ... here.
11275         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11276         * nptl/lowlevelbarrier.sym: ... here.
11277         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11278         * nptl/lowlevelcond.sym: ... here.
11279         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11280         * nptl/lowlevellock.c: ... here.
11281         * nptl/lowlevellock.h: Moved ...
11282         * sysdeps/nptl/lowlevellock.h: ... here.
11283         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11284         * nptl/lowlevelrobustlock.c: ... here.
11285         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11286         * nptl/lowlevelrobustlock.sym: ... here.
11287         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11288         * nptl/lowlevelrwlock.sym: ... here.
11289         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11290         * nptl/pt-fork.c: ... here.
11291         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11292         * nptl/pthread-pi-defines.sym: ... here.
11293         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11294         * nptl/pthread_attr_getaffinity.c: ... here.
11295         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11296         * nptl/pthread_attr_setaffinity.c: ... here.
11297         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11298         * nptl/pthread_mutex_cond_lock.c: ... here.
11299         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11300         Update #include.
11301         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11302         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11303         * nptl/pthread_once.c: ... here, replacing old file.
11304         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11305         * nptl/pthread_yield.c: ... here.
11306         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11307         * nptl/register-atfork.c: ... here.
11308         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11309         * nptl/sem_post.c: ... here.
11310         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11311         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11312         * nptl/sem_timedwait.c: ... here.
11313         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11314         * nptl/sem_trywait.c: ... here.
11315         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11316         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11317         * nptl/sem_wait.c: ... here.
11318         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11319         * nptl/structsem.sym: ... here.
11320         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11321         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11322         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11323         * nptl/unregister-atfork.c: ... here.
11324         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11325         * nptl/unwindbuf.sym: ... here.
11326         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11327         * sysdeps/nptl/fork.c: ... here.
11328         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11329         * sysdeps/nptl/fork.h: ... here.
11330         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11331         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11332         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11333         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11334         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11335         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11336         * sysdeps/unix/sysv/linux/getpid.c: ... here.
11337         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11338         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11339         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11340         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11341         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11342         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11343         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11344         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11345         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11346         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11347         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11348         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11349         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11350         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11351         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11352         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11353         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11354         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11355         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11356         * sysdeps/unix/sysv/linux/raise.c: ... here.
11357         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11358         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11359         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11360         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11361         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11362         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11363         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11364         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11365         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11366         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11367         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11368         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11369         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11370         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11371         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11373 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11375         * sysdeps/generic/memcopy.h: Add comment for
11376         MEMCPY_OK_FOR_FWD_MEMMOVE.
11378 2014-07-04  Will Newton  <will.newton@linaro.org>
11380         * string/memchr.c: Merge from gnulib.
11381         [_LIBC]: Remove conditionals.
11382         (__ptr_t): Remove define.
11383         (LONG_MAX_32_BITS): Likewise.
11384         (LONG_MAX): Likewise.
11385         (MEMCHR): Use ANSI prototype and optimize algorithm.
11387         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11389 2014-07-03  Roland McGrath  <roland@hack.frob.com>
11391         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11392         (lll_futex_timed_wait_bitset): Fix syscall argument count.
11394         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11395         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11396         in a bare environment with no <stdlib.h> installed.
11397         * sysdeps/nptl/configure: Regenerated.
11399         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11401         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11402         AC_EGREP_CPP for kernel header checks, so they only succeed if
11403         including <linux/version.h> actually works right.
11404         * sysdeps/unix/sysv/linux/configure: Regenerated.
11406         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11407         value so it's not diagnosed as unused.
11409         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11410         thing) with "ifeq ($(subdir),rt)".
11412 2014-07-03  Richard Henderson  <rth@redhat.com>
11414         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11415         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11416         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11418         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11419         (math_force_eval): New.
11421         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11422         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11424         * sysdeps/alpha/fpu/s_round.c: Remove file.
11425         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11427         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11428         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11429         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11430         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11431         (_dl_start, print_statistics): Likewise.
11432         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11433         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11435         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11436         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11437         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11438         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11439         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11440         (HP_SMALL_TIMING_AVAIL): Define.
11441         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11442         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11443         (HP_SMALL_TIMING_AVAIL): Define.
11444         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11445         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11447         * sysdeps/aarch64/hp-timing.h: New file.
11449         * sysdeps/generic/hp-timing.h: Remove dead comment.
11450         * sysdeps/generic/hp-timing-common.h: New file.
11451         * sysdeps/alpha/hp-timing.h: Include it.
11452         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11453         * sysdeps/i386/i686/hp-timing.h: Likewise.
11454         * sysdeps/ia64/hp-timing.h: Likewise.
11455         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11456         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11457         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11458         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11459         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11460         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11461         (hp_timing_t): New.
11463         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11464         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11465         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11466         * elf/rtld.c (_dl_start_final): Likewise.
11467         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11468         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11469         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11470         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11471         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11472         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11473         (HP_TIMING_DIFF_INIT): Remove.
11474         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11475         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11476         (HP_TIMING_DIFF_INIT): Remove.
11477         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11478         * sysdeps/i386/i686/hp-timing.c: Remove file.
11479         * sysdeps/x86_64/hp-timing.c: Remove file.
11480         * sysdeps/ia64/hp-timing.c: Remove file.
11481         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11482         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11483         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11484         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11486         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11487         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11488         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11489         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11490         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11491         (HP_TIMING_ACCUM): Remove.
11492         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11493         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11494         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11496         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11497         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11498         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11499         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11500         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11501         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11502         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11503         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11505         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11507 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
11509         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11511 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11513         Sync up with gettext.
11514         * intl/loadmsgcat.c: Define O_BINARY if not defined.
11515         [_MSC_VER]: Include malloc.h
11516         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11517         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11518         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
11519         TEMP_FAILURE_RETRY.  Cast return of alloca.
11520         [!_LIBC] Call gl_rwlock_init.
11521         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11523 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11525         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11526         before checking its value.
11528 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11530         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11532         * debug/memcpy_chk.c: Don't include pagecopy.h.
11533         * debug/mempcpy_chk.c: Likewise.
11534         * string/memcpy.c: Likewise.
11535         * string/memmove.c: Likewise.
11536         * sysdeps/powerpc/memmove.c: Likewise.
11537         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
11538         definition of PAGE_COPY_FWD_MAYBE here...
11539         * sysdeps/generic/pagecopy.h: ... from here.
11540         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11542 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11543             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11545         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11547         optimizations.
11548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11549         (__libc_ifunc_impl_list): Likewise.
11550         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11551         multiarch strcat for PPC64.
11552         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11553         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11555 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11557         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11559 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11561         * intl/loadmsgcat.c: Remove declaration of
11562         get_sysdep_segment_value.
11563         (get_sysdep_segment_value): Use ISO C style.
11564         (_nl_load_domain): Use ISO C style.  Get rid of redundant
11565         semicolon.  Fix typo and formatting in comment.
11566         (_nl_unload_domain): Use ISO C style.
11568         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11570 2014-07-02  Will Newton  <will.newton@linaro.org>
11572         * malloc/obstack.c: Merge from gnulib master.
11573         [HAVE_CONFIG_H]: Remove conditional code.
11574         [!_LIBC]: Include config.h.
11575         [!ELIDE_CODE]: Don't include inttypes.h, include
11576         stdint.h unconditionally.
11577         (print_and_abort): Mark as _Noreturn.
11578         (_obstack_allocated_p): Mark as __attribute_pure__.
11579         (obstack_free): Rename to __obstack_free.
11580         [!__attribute__]: Remove conditional code.
11581         * malloc/obstack.h: Merge from gnulib master.
11582         [__cplusplus]: Move conditional down.
11583         [!__attribute_pure__]: Define __attribute_pure__ here
11584         if it is not already defined.
11585         (_obstack_memory_used): Mark as __attribute_pure__.
11586         [!__obstack_free]: Define as obstack_free.
11587         [__GNUC__]: Remove check for ancient NeXT gcc.
11589 2014-07-02  Will Newton  <will.newton@linaro.org>
11590             Paul Eggert  <eggert@cs.ucla.edu>
11592         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11594 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11596         * resolv/gethnamaddr.c: Add comment warning that the file is
11597         not maintained.
11599 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
11601         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11602         entries.
11604         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11605         entry for aio_cancel and aio_cancel64.
11606         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11607         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11608         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11609         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11610         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11611         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11612         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11613         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11614         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11615         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11616         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11617         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11618         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11620 2014-07-01  Roland McGrath  <roland@hack.frob.com>
11622         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11623         * nptl/pthread_mutex_lock.c: Likewise.
11624         * nptl/pthread_mutex_timedlock.c: Likewise.
11625         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11627 2014-07-01  Richard henderson  <rth@redhat.com>
11629         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11630         (__isnan, __isnanl): Remove.
11631         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11633         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11635 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11637         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11639 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11641         * resolv/nss_dns/dns-host.c (getanswer_r)
11642         [MULTI_PTRS_ARE_ALIASES]: Remove code.
11644 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
11646         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11647         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11648         undefine.
11649         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11650         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11652 2014-07-01  Roland McGrath <roland@hack.frob.com>
11654         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11655         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11657         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11658         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11660         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11661         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11662         ... here.
11663         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11664         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11666         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11667         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11668         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11669         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11671         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11672         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11673         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11674         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11675         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11676         Moved ...
11677         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11678         ... here.
11679         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11680         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11681         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11682         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11683         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11684         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11685         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11686         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11687         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11688         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11689         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11690         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11691         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11692         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11693         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11694         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11695         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11696         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11697         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11698         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11699         ... here.
11700         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11701         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11702         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11703         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11704         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11705         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11706         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11707         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11709 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
11711         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11712         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11713         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11714         Add sysdep.
11716 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11720 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11722         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11723         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11725         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11727         * sysdeps/arm/libm-test-ulps: Regenerated.
11729 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11730             Roland McGrath <roland@hack.frob.com>
11732         * test-skeleton.c (signal_handler): Kill the whole process group
11733         before killing the child individually.
11734         (main): Report any failure on `setpgid'.
11736 2014-06-30  Roland McGrath  <roland@hack.frob.com>
11738         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11739         from _TLS_H to _ARM_NPTL_TLS_H.
11740         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11741         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11743 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11745         [BZ #16539]
11746         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11747         (__expm1l): Return argument unchanged when small but not
11748         subnormal.
11750         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11751         include macro name.
11752         (_FP_UNPACK_RAW_1_P): Likewise.
11753         (_FP_PACK_RAW_1): Likewise.
11754         (_FP_PACK_RAW_1_P): Likewise.
11755         (_FP_MUL_MEAT_1_wide): Likewise.
11756         (_FP_MUL_MEAT_DW_1_hard): Likewise.
11757         (_FP_MUL_MEAT_1_hard): Likewise.
11758         (_FP_DIV_MEAT_1_imm): Likewise.
11759         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11760         (_FP_DIV_MEAT_1_udiv): Likewise.
11761         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11762         (_FP_UNPACK_RAW_2): Likewise.
11763         (_FP_UNPACK_RAW_2_P): Likewise.
11764         (_FP_PACK_RAW_2): Likewise.
11765         (_FP_PACK_RAW_2_P): Likewise.
11766         (_FP_MUL_MEAT_DW_2_wide): Likewise.
11767         (_FP_MUL_MEAT_2_wide): Likewise.
11768         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11769         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11770         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11771         (_FP_MUL_MEAT_2_gmp): Likewise.
11772         (_FP_DIV_MEAT_2_udiv): Likewise.
11773         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11774         (_FP_FRAC_SRL_4): Likewise.
11775         (_FP_FRAC_SRST_4): Likewise.
11776         (_FP_FRAC_SRS_4): Likewise.
11777         (_FP_UNPACK_RAW_4): Likewise.
11778         (_FP_UNPACK_RAW_4_P): Likewise.
11779         (_FP_PACK_RAW_4): Likewise.
11780         (_FP_PACK_RAW_4_P): Likewise.
11781         (_FP_MUL_MEAT_DW_4_wide): Likewise.
11782         (_FP_MUL_MEAT_4_wide): Likewise.
11783         (_FP_MUL_MEAT_4_gmp): Likewise.
11784         (umul_ppppmnnn): Likewise.
11785         (_FP_DIV_MEAT_4_udiv): Likewise.
11786         (__FP_FRAC_ADD_4): Likewise.
11787         (__FP_FRAC_SUB_3): Likewise.
11788         (__FP_FRAC_SUB_4): Likewise.
11789         (__FP_FRAC_DEC_3): Likewise.
11790         (__FP_FRAC_DEC_4): Likewise.
11791         (__FP_FRAC_ADDI_4): Likewise.
11792         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11793         (_FP_FRAC_SRL_8): Likewise.
11794         (_FP_FRAC_SRS_8): Likewise.
11796         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11797         include macro name.
11798         (FP_UNPACK_RAW_EP): Likewise.
11799         (FP_PACK_RAW_E): Likewise.
11800         (FP_PACK_RAW_EP): Likewise.
11801         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11802         (_FP_ISSIGNAN): Likewise.
11803         (_FP_ADD_INTERNAL): Likewise.
11804         (_FP_FMA): Likewise.
11805         (_FP_CMP): Likewise.
11806         (_FP_SQRT): Likewise.
11807         (_FP_TO_INT): Likewise.
11808         (_FP_FROM_INT): Likewise.
11809         (FP_EXTEND): Likewise.
11810         (_FP_DIV_MEAT_N_loop): Likewise.
11812 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11814         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11815         throughout.
11817 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
11819         [BZ #17097]
11820         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11821         result with correct sign in case of exponents that produce
11822         overflow except for X very close to 1.
11824 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
11826         mktime: merge #if/#ifdef usage from glibc
11827         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11828         as that works with both Glibc's and Gnulib's style.
11829         See thread starting at Siddhesh Poyarekar's bug report at:
11830         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11832 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11834         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11835         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11836         * sysdeps/tile/tilegx/memmove.c: Remove file.
11838 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11840         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11841         abi-name definition.
11842         * scripts/soversions.awk: Do not handle or generate ABI lines.
11843         * shlib-versions: Remove ABI entries.
11844         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11845         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11847 2014-06-27  Roland McGrath  <roland@hack.frob.com>
11849         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11850         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11851         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11852         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11854         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11856         Moved ...
11857         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11858         ... here.
11859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11860         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11861         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11862         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11863         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11864         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11866         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11867         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11868         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11869         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11870         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11872         Moved ...
11873         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11875         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11877         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11878         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11879         Moved ...
11880         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11882         Moved ...
11883         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11885         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11887         Moved ...
11888         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11890         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11892         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11894         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11896         Moved ...
11897         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11899         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11900         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11901         Moved ...
11902         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11903         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11904         Moved ...
11905         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11906         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11907         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11908         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11909         Moved ...
11910         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11911         ... here.
11912         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11913         Identical file removed.
11914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11915         Moved ...
11916         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11917         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11918         Identical file removed.
11919         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11920         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11921         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11922         Moved ...
11923         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11924         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11925         Identical file removed.
11926         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11927         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11928         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11929         Identical file removed.
11930         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11931         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11932         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11933         Identical file removed.
11934         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11935         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11937         Identical file removed.
11938         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11939         Moved ...
11940         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11942         Identical file removed.
11943         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11944         Moved ...
11945         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11946         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11947         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11948         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11949         Identical file removed.
11950         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11951         Moved ...
11952         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11953         ... here.
11954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11955         Identical file removed.
11956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11957         Moved ...
11958         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11960         Identical file removed.
11961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11962         Moved ...
11963         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11964         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11965         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11967         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11969         Moved ...
11970         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11971         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11972         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11974         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11975         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11976         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11977         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11978         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11980 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
11982         [BZ #17092]
11983         * nscd/nscd.c (monitor_child): Return exit status of child
11984         instead of return value from wait syscall.
11986 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11988         * configure.ac (libc_commonpagesize): Remove variable.
11989         (libc_relro_required): Likewise.
11990         (libc_cv_z_relro): Remove configure test.
11991         * configure: Regenerated.
11992         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11993         variable.
11994         (libc_relro_required): Likewise.
11995         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11996         (libc_relro_required): Likewise.
11997         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11998         (libc_relro_required): Likewise.
11999         * sysdeps/arm/preconfigure: Regenerated.
12000         * sysdeps/ia64/preconfigure: Remove file.
12001         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12002         variable.
12003         (libc_relro_required): Likewise.
12005         [BZ #16561]
12006         [BZ #16562]
12007         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12008         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12009         recompute overflowing results in original rounding mode.
12010         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12011         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12012         recompute overflowing results in original rounding mode.
12013         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12014         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12015         recompute overflowing results in original rounding mode.
12016         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12017         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12018         recompute overflowing results in original rounding mode.
12019         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12020         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12021         recompute overflowing results in original rounding mode.
12022         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12023         (libc_feholdsetround_ctx): New macro.
12024         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12025         * sysdeps/i386/fpu/libm-test-ulps: Update.
12026         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12028 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12030         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12031         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12032         corresponding .cpsetup call.
12034 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12036         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12037         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12038         * sysdeps/arm/Makefile [$(subdir) = csu]
12039         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12040         (static-only-routines): Add aeabi_read_tp here.
12041         (shared-only-routines): Add libc-aeabi_read_tp here.
12042         (CFLAGS-libc-start.c): Add -fexceptions here.
12043         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12044         (sysdep_routines, static-only-routines, shared-only-routines):
12045         Don't add to these here.
12046         (CFLAGS-libc-start.c): Likewise.
12048         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12049         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12050         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12051         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12052         * sysdeps/arm/Makefile [$(subdir) = rt]
12053         (librt-sysdep_routines, librt-shared-only-routines):
12054         Append rt-aeabi_unwind_cpp_pr1 here.
12055         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12056         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12057         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12058         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12059         Append nptl-aeabi_unwind_cpp_pr1 here.
12060         (tests): Filter out tst-cleanupx4 here.
12061         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12062         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12063         Don't do those here.
12065 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12067         * scripts/list-sources.sh: Do not handle ports specially.
12069 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12071         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12072         * sysdeps/arm/feupdateenv.c: Likewise.
12074         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12076 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12078         * manual/texinfo.tex: Update to version 2014-05-05.10 with
12079         trailing whitespace removed.
12080         * scripts/config.guess: Update to version 2014-03-23.
12081         * scripts/config.sub: Update to version 2014-05-01
12082         * scripts/install-sh: Update to version 2013-12-25.23.
12083         * scripts/move-if-change: Update from gnulib.
12085 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12087         * debug/memmove_chk.c: Remove pagecopy.h include.
12089 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
12091         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
12092         identical to gnulib mktime.
12094 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12096         * configure.ac: Do not test for machine being rs6000.  Do not test
12097         for powerpc*-*soft.
12098         * configure: Regenerated.
12100         [BZ #11505]
12101         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12102         test.
12103         * configure: Regenerated.
12104         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12105         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12106         Remove configure test.
12107         * sysdeps/arm/configure: Regenerated.
12108         * sysdeps/nptl/configure.ac: Do not check
12109         libc_cv_asm_cfi_directives.
12110         * sysdeps/nptl/configure: Regenerated.
12111         * sysdeps/x86_64/nptl/configure.ac: Remove file.
12112         * sysdeps/x86_64/nptl/configure: Remove generated file.
12113         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12114         unconditional.
12115         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12117 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12119         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12120         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12121         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12122         it is defined.
12124         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12125         instead of whether it is defined.
12126         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12127         * sysdeps/hppa/dl-machine.h: Likewise.
12128         * sysdeps/ia64/dl-machine.h: Likewise.
12129         * sysdeps/m68k/dl-machine.h: Likewise.
12130         * sysdeps/microblaze/dl-machine.h: Likewise.
12131         * sysdeps/mips/dl-machine.: Likewise.
12132         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12133         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12134         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12135         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12136         * sysdeps/sh/dl-machine.h: Likewise.
12137         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12138         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12139         * sysdeps/tile/dl-machine.h: Likewise.
12140         * sysdeps/x86_64/dl-machine.h: Likewise.
12142         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12143         code.
12144         (verify_persistent_db): Likewise.
12146 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12149         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12151         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12153         Moved ...
12154         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12155         ... here.
12156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12157         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12159         Identical file removed.
12160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12161         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12163         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12165         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12167         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12169         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12171         Moved ...
12172         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12174         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12176         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12178         Moved ...
12179         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12181         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12183         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12185         Identical file removed.
12186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12187         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12189         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12191         Moved ...
12192         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12193         ... here.
12194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12195         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12197         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12199         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12201         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12203         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12205         Moved ...
12206         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12208         Moved ...
12209         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12211         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12213         Moved ...
12214         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12216         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12218         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12219         folded into ...
12220         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12221         * sysdeps/unix/sysv/linux/s390/Versions
12222         (libpthread: GLIBC_2.19): New version set.
12223         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12224         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12225         (librt: GLIBC_2.3.3): New version set.
12226         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12227         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12228         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12229         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12230         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12231         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12232         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12233         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12234         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12235         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12236         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12237         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12238         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12239         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12240         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12241         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12242         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12243         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12244         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12245         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12246         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12247         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12248         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12249         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12250         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12251         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12252         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12253         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12254         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12255         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12256         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12257         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12259         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12262         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12264         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12265         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12266         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12267         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12268         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12269         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12270         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12272         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12273         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12274         (__libc_vfork): Define the function under this name.
12275         [!NOT_IN_libc] (__vfork): Make this an alias.
12276         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12278         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12279         (__libc_vfork): Define the function under this name.
12280         [!NOT_IN_libc] (__vfork): Make this an alias.
12281         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12282         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12283         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12284         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12285         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12286         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12288         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12289         code that was previously under [RESET_PID].
12290         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12291         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12294         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12295         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12296         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12297         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12298         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12299         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12300         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12301         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12302         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12303         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12304         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12305         Moved ...
12306         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12307         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12308         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12309         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12310         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12311         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12312         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12313         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12314         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12315         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12316         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12317         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12318         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12319         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12320         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12321         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12322         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12323         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12324         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12325         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12326         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12327         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12328         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12329         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12330         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12331         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12332         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12334         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12336 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12338         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12339         that was previously under [RESET_PID].
12340         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12342 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12344         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12345         not undefine and redefine.
12346         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12347         [O_CLOEXEC]: Make code unconditional.
12348         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12349         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12350         <kernel-features.h>.
12351         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12352         conditional variable definition.
12353         (shm_open) [O_CLOEXEC]: Make code unconditional.
12354         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12355         code.
12357         * configure.ac (USE_REGPARMS): Don't define here.
12358         * configure: Regenerated.
12359         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12360         * sysdeps/i386/configure: Regenerated.
12362         * nptl/createthread.c: Don't include kernel-features.h.
12363         * nptl/pthread_cancel.c: Likewise.
12364         * nptl/pthread_condattr_setclock.c: Likewise.
12365         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12366         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12367         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12368         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12369         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12370         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12371         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12374         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12375         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12376         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12377         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12378         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12379         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12380         * nscd/gai.c: Likewise.
12381         * nss/nss_db/db-open.c: Likewise.
12382         * sysdeps/generic/ldsodefs.h: Likewise.
12383         * sysdeps/sh/nptl/tls.h: Likewise.
12384         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12385         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12386         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12387         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12388         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12389         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12390         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12391         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12392         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12393         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12394         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12395         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12396         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12397         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12398         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12399         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12400         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12401         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12402         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12403         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12405         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12406         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12407         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12411         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12412         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12413         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12414         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12415         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12416         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12417         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12418         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12419         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12420         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12421         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12422         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12423         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12424         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12425         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12426         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12427         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12428         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12429         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12430         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12431         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12432         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12433         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12434         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12435         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12436         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12437         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12438         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12439         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12440         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12441         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12464         * sysdeps/unix/sysv/linux/pread.c: Likewise.
12465         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12466         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12467         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12468         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12469         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12470         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12471         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12472         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12473         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12474         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12475         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12476         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12477         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12478         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12479         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12480         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12481         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12482         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12483         * sysdeps/unix/sysv/linux/system.c: Likewise.
12484         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12485         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12486         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12487         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12488         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12489         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12490         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12492         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12493         * configure: Regenerated.
12494         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12496         * configure.ac (base_machine): Do not set specially for particular
12497         machines here.
12498         * configure: Regenerated.
12499         * sysdeps/powerpc/preconfigure: Move machine and base_machine
12500         settings from configure.ac.
12501         * sysdeps/i386/preconfigure: New file.
12502         * sysdeps/s390/preconfigure: Likewise.
12503         * sysdeps/sh/preconfigure: Likewise.
12504         * sysdeps/sparc/preconfigure: Likewise.
12506 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12508         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12509         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12510         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12511         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12512         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12513         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12514         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12515         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12516         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12517         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12518         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12519         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12520         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12521         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12522         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12523         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12524         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12525         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12526         * sysdeps/sparc/sparc64/Makefile: ... appended here.
12528         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12529         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12530         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12531         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12532         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12533         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12534         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12535         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12536         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12537         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12538         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12539         * sysdeps/sparc/sparc32/sem_post.c: ... here.
12540         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12541         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12542         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12543         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12544         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12545         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12546         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12547         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12548         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12549         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12551         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12552         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12553         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12554         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12555         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12556         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12557         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12558         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12559         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12560         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12561         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12562         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12563         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12564         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12565         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12568         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12570         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12572         Moved ...
12573         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12574         ... here.
12575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12576         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12578         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12580         Moved ...
12581         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12583         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12585         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12587         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12589         Moved ...
12590         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12592         Moved ...
12593         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12595         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12597         Moved ...
12598         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12600         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12602         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12604         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12606         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12608         Moved ...
12609         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12610         ... here.
12611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12612         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12614         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12616         Moved ...
12617         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12619         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12621         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12623         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12625         Moved ...
12626         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12628         Moved ...
12629         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12631         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12633         Moved ...
12634         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12636         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12638         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12640 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12642         * timezone/checktab.awk: Update from tzcode 2014e.
12643         * timezone/private.h: Likewise.
12644         * timezone/tzfile.h: Likewise.
12645         * timezone/zdump.c: Likewise.
12646         * timezone/zic.c: Likewise.
12648         * sysdeps/unix/sysv/linux/kernel-features.h
12649         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12650         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12651         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12652         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12653         Remove conditional code.
12655 2014-06-25  Will Newton  <will.newton@linaro.org>
12657         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12658         (_dl_arm_cap_flags): Add HWCAP2 values.
12659         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12660         (_DL_HWCAP_COUNT): Increase to 37.
12661         (_DL_HWCAP_LAST): New define.
12662         (_DL_HWCAP2_LAST): New define.
12663         (_dl_procinfo): Add support for printing
12664         AT_HWCAP2 entries.
12665         (_dl_string_hwcap): Use _dl_hwcap_string.
12667 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12671 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12673         * README: Do not mention ports directory.
12675         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12676         Remove macro.
12677         * sysdeps/unix/sysv/linux/futimes.c: Do not include
12678         <kernel-features.h>.
12679         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12680         conditional variable definition.
12681         (__futimes): Update comment.
12682         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12683         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12685         [BZ #16560]
12686         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12687         arguments close to 0.
12688         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12689         Likewise.
12690         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12691         Likewise.
12692         * math/auto-libm-test-in: Add more tests of exp10.
12693         * math/auto-libm-test-out: Regenerated.
12694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12696         * sysdeps/unix/sysv/linux/kernel-features.h
12697         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12698         * sysdeps/unix/sysv/linux/readv.c: Do not include
12699         <kernel-features.h>.
12700         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12701         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12702         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12703         unconditional.
12704         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12705         conditional code.
12706         * sysdeps/unix/sysv/linux/writev.c: Do not include
12707         <kernel-features.h>.
12708         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12709         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12710         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12711         unconditional.
12712         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12713         conditional code.
12715 2014-06-25  Will Newton  <will.newton@linaro.org>
12717         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12718         comment changes throughout the file.  Remove checks
12719         for HAVE_*_H definitions that are not required.
12720         (__gen_tempname): Call abort if an unknown kind value is
12721         passed.
12723 2014-06-25  Andreas Schwab  <schwab@suse.de>
12725         [BZ #17086]
12726         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12727         scalbln, scalblnf, scalblnl in libc.
12729 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12731         [BZ #17086]
12732         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12733         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12734         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12736 2014-06-24  Roland McGrath  <roland@hack.frob.com>
12738         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12739         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12740         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12741         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12742         Update #include.
12743         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12744         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12745         Update #include.
12746         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12747         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12748         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12749         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12750         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12751         * sysdeps/x86/bits/pthreadtypes.h: ... here.
12752         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12753         * sysdeps/x86/bits/semaphore.h: ... here.
12754         * sysdeps/x86/nptl/elide.h: Moved ...
12755         * sysdeps/x86/elide.h: ... here.
12756         * sysdeps/x86_64/nptl/Implies: File removed.
12757         * sysdeps/i386/nptl/Implies: File removed.
12759 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
12761         [BZ #16539]
12762         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12763         return the argument for normal arguments with exponent below -64.
12764         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12765         Likewise.
12766         * math/auto-libm-test-in: Add another test of expm1.
12767         * math/auto-libm-test-out: Regenerated.
12769         [BZ #16287]
12770         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12771         calling __erfcl for arguments at least 16.
12772         * math/auto-libm-test-in: Add more tests of erf.
12773         * math/auto-libm-test-out: Regenerated.
12775         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12776         individual architectures.
12777         * sysdeps/unix/sysv/linux/configure: Regenerated.
12778         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12779         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12780         * sysdeps/unix/sysv/linux/powerpc/configure.ac
12781         (ldd_rewrite_script): Define variable.
12782         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12784         file.
12785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12786         generated file.
12787         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12788         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12789         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12790         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12791         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12792         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12793         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12794         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12796 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12798         [BZ #17084]
12799         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12800         Rename member __data.d to __data.__elision_data.
12802 2014-06-24  Wilco  <wdijkstr@arm.com>
12804         * NEWS: Add 16918 to fixed bug list.
12806 2014-06-24  Wilco  <wdijkstr@arm.com>
12808         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12810 2014-06-24  Wilco  <wdijkstr@arm.com>
12812         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12813         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12814         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12815         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12816         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12817         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12818         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12819         Use _FPU_MASK_RM.
12821 2014-06-24  Wilco  <wdijkstr@arm.com>
12823         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12825 2014-06-24  Wilco  <wdijkstr@arm.com>
12827         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12828         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12829         * sysdeps/arm/fesetround.c (fesetround): Remove space.
12830         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12832 2014-06-24  Wilco  <wdijkstr@arm.com>
12834         [BZ #16918]
12835         * sysdeps/arm/feupdateenv.c (feupdateenv):
12836         Rewrite to reduce FPSCR accesses and fix return value.
12838 2014-06-24  Wilco  <wdijkstr@arm.com>
12840         * sysdeps/arm/fclrexcpt.c (feclearexcept):
12841         Optimize to avoid unnecessary FPSCR writes.
12842         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12843         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12844         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12845         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12847 2014-06-24  Wilco  <wdijkstr@arm.com>
12849         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12850         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12851         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12852         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12853         Call libc_fetestexcept_vfp.
12854         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12855         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12856         __SOFTFP__ ifdef so that they can be built for softfp.
12858 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12860         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12861         argument type signed char.
12863         * Makerules (check-abi): Dump diff of symlist if the test
12864         fails.
12866 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12868         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12869         using abort.
12871         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12872         Remove unused variable ST.
12874 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12876         [BZ #16354]
12877         [BZ #17061]
12878         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12879         small arguments before calling __expm1.
12880         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12881         small arguments before calling __expm1f.
12882         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12883         small arguments before calling __expm1l.
12884         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12885         Likewise.
12886         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12887         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
12888         spurious underflow for some cosh tests.
12889         * math/auto-libm-test-out: Regenerated.
12890         * sysdeps/i386/fpu/libm-test-ulps: Update.
12892         [BZ #17050]
12893         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12894         (__ieee754_y1): Set errno if return value overflows.
12895         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12896         (__ieee754_y1f): Set errno if return value overflows.
12897         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12898         (__ieee754_y1l): Set errno if return value overflows.
12899         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12900         (__ieee754_y1l): Set errno if return value overflows.
12901         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12902         * math/auto-libm-test-out: Regenerated.
12904         * math/gen-auto-libm-tests.c: Document use of
12905         ignore-zero-inf-sign.
12906         (input_flag_type): Add value flag_ignore_zero_inf_sign.
12907         (input_flags): Add ignore-zero-inf-sign.
12908         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12909         * math/gen-libm-test.pl (generate_testfile): Handle
12910         ignore-zero-inf-sign.
12911         * math/auto-libm-test-in: Mark some cpow tests with
12912         ignore-zero-inf-sign and some with xfail-rounding.
12913         * math/auto-libm-test-out: Regenerated.
12914         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12915         * sysdeps/i386/fpu/libm-test-ulps: Update.
12916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12918         [BZ #16315]
12919         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12920         overflowing or underflowing operations take place with sign of
12921         result.
12922         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12923         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12924         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12925         (__ieee754_pow): Recompute overflowing and underflowing results in
12926         original rounding mode.
12927         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12928         (__powl_helper): Allow negative argument X and scale negated value
12929         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
12930         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12931         overflowing or underflowing operations take place with sign of
12932         result.
12933         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12934         Include <math.h>.
12935         * math/auto-libm-test-in: Add more tests of pow.
12936         * math/auto-libm-test-out: Regenerated.
12937         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12938         (pow_tonearest_test_data): Remove.
12939         (pow_test_tonearest): Likewise.
12940         (pow_towardzero_test_data): Likewise.
12941         (pow_test_towardzero): Likewise.
12942         (pow_downward_test_data): Likewise.
12943         (pow_test_downward): Likewise.
12944         (pow_upward_test_data): Likewise.
12945         (pow_test_upward): Likewise.
12946         (main): Don't call removed functions.
12947         * sysdeps/i386/fpu/libm-test-ulps: Update.
12948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12950 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12953         Moved ...
12954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12956         Moved ...
12957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12959         Moved ...
12960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12962         Moved ...
12963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12965         File removed.
12966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12967         File removed.
12968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12969         File removed.
12970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12971         File removed.
12972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12973         File removed.
12974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12975         File removed.
12976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12977         File removed.
12978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12979         File removed.
12980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12981         File removed.
12982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12983         File removed.
12984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12985         File removed.
12986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12987         File removed.
12988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12989         Moved ...
12990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12992         Moved ...
12993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12994         ... here.
12995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12996         Moved ...
12997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12999         Moved ...
13000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13002         Moved ...
13003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13005         Moved ...
13006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13008         Moved ...
13009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13011         Moved ...
13012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13014         Moved ...
13015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13018         ... here.
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13020         Moved ...
13021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13023         Moved ...
13024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13025         ... here.
13026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13027         Moved ...
13028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13029         ... here.
13030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13031         Moved ...
13032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13033         ... here.
13034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13035         Moved ...
13036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13038         Moved ...
13039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13043         Moved ...
13044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13045         ... here.
13046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13047         Moved ...
13048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13049         ... here.
13050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13051         Moved ...
13052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13054         Moved ...
13055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13057         Moved ...
13058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13060         Moved ...
13061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13063         Moved ...
13064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13065         ... here.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13067         Moved ...
13068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13070         Moved ...
13071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13073         Moved ...
13074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13076         Moved ...
13077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13081         Moved ...
13082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13084         Moved ...
13085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13087         Moved ...
13088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13089         ... here.
13090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13091         Moved ...
13092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13093         ... here.
13094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13095         Moved ...
13096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13097         ... here.
13098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13099         Moved ...
13100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13102         Moved ...
13103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13105         Moved ...
13106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13108         Moved ...
13109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13110         ... here.
13111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13112         Moved ...
13113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13114         ... here.
13115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13116         Moved ...
13117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13118         ... here.
13119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13120         Moved ...
13121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13123         Moved ...
13124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13126 2014-06-23  Will Newton  <will.newton@linaro.org>
13127             Wilco  <wdijkstr@arm.com>
13129         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13130         implementation.  Include get-rounding-mode.h.
13131         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13132         [!libc_feholdsetround_noex_ctx]: Define
13133         libc_feholdsetround_noex_ctx.
13134         [!libc_feholdsetround_noexf_ctx]: Define
13135         libc_feholdsetround_noexf_ctx.
13136         [!libc_feholdsetround_noexl_ctx]: Define
13137         libc_feholdsetround_noexl_ctx.
13138         (libc_feholdsetround_ctx): New function.
13139         (libc_feresetround_ctx): New function.
13140         (libc_feholdsetround_noex_ctx): New function.
13141         (libc_feresetround_noex_ctx): New function.
13143 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13145         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13146         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13147         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13148         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13149         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13150         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13152         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13153         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13154         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13155         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13156         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13157         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13158         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13159         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13160         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13161         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13162         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13163         Moved ...
13164         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13165         ... here.
13166         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13167         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13168         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13169         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13171         Moved ...
13172         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13173         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13174         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13176         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13177         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13178         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13179         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13180         Moved ...
13181         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13182         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13183         Moved ...
13184         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13185         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13186         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13188         Moved ...
13189         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13190         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13191         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13192         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13193         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13194         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13195         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13196         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13197         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13198         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13199         Moved ...
13200         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13201         ... here.
13202         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13203         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13204         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13205         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13206         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13207         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13209         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13212         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13213         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13214         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13215         Moved ...
13216         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13217         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13218         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13219         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13220         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13221         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13222         Moved ...
13223         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13224         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13225         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13226         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13227         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13229         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13230         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13231         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13232         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13233         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13234         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13235         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13236         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13237         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13238         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13239         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13240         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13241         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13242         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13243         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13244         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13245         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13246         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13247         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13248         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13249         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13250         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13251         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13252         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13253         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13254         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13255         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13256         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13258 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13261         (FALLOC_FL_COLLAPSE_RANGE): New macro.
13262         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13263         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13264         (IPV6_PMTUDISC_INTERFACE): Likewise.
13265         (IPV6_PMTUDISC_OMIT): Likewise.
13267 2014-06-23  Andreas Schwab  <schwab@suse.de>
13269         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13270         Remove unused errout label.
13272 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13274         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13275         macro: hardware supports Vector Crypto instructions.
13277 2014-06-23  Will Newton  <will.newton@linaro.org>
13279         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13280         rather than __builtin_expect.
13282         * elf/dl-lookup.c (undefined_msg): Remove variable.
13283         (_dl_lookup_symbol_x): Replace undefined_msg with string
13284         literal.
13286         * elf/dl-lookup.c (do_lookup_unique): New function.
13287         (do_lookup_x): Move STB_GNU_UNIQUE handling code
13288         to a separate function.
13290 2014-06-23  Andreas Schwab  <schwab@suse.de>
13292         [BZ #17079]
13293         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13294         before reading the next line.
13296 2014-06-23  Will Newton  <will.newton@linaro.org>
13298         * test-skeleton.c (signal_handler): Use printf and %m
13299         rather than perror.  Use printf rather than fprintf to
13300         stderr.  Use puts rather than fputs to stderr.
13301         (main): Likewise.
13303 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
13305         * nscd/nscd.c (thread_info_t): Remove typedef.
13306         (thread_info): Remove variable.
13308 2014-06-21  Allan McRae  <allan@archlinux.org>
13310         * NEWS: Mention CVE-2014-4043.
13312 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13314         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13315         * nptl/smp.h: ... here.
13317         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13319         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13320         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13321         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13322         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13324         * nptl/allocatestack.c: Include <stack-aliasing.h>.
13325         * nptl/stack-aliasing.h: New file.
13326         * sysdeps/i386/i686/stack-aliasing.h: New file.
13327         * sysdeps/i386/i686/nptl/Makefile: File removed.
13328         * sysdeps/x86_64/stack-aliasing.h: New file.
13329         * sysdeps/x86_64/nptl/Makefile
13330         (CFLAGS-pthread_create.c): Variable removed.
13332         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13333         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13334         old file.
13335         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13336         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13337         old file.
13339 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
13341         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13342         (__ASSUME_SIGFRAME_V2): Remove macro.
13343         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13344         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13345         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13346         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13347         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13348         Declare as function.  Remove conditional macro definitions.
13349         (__default_rt_sa_restorer): Likewise.
13350         (__default_sa_restorer_v1): Remove declaration.
13351         (__default_sa_restorer_v2): Likewise.
13352         (__default_rt_sa_restorer_v1): Likewise.
13353         (__default_rt_sa_restorer_v2): Likewise.
13354         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13355         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13356         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13358 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13360         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13361         (libpthread-routines): Add sysdep.
13362         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13363         * sysdeps/unix/sysv/linux/sparc/Versions
13364         (libpthread: GLIBC_2.3.3): New version set.
13365         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13366         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13367         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13368         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13369         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
13370         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13371         Moved ...
13372         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13373         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13374         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13375         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13376         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13377         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13378         * sysdeps/sparc/nptl/sem_init.c: ... here.
13379         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13380         * sysdeps/sparc/nptl/sem_post.c: ... here.
13381         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13382         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13383         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13384         * sysdeps/sparc/nptl/sem_wait.c: ... here.
13385         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13386         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13387         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13388         (libpthread-routines): Add cpu_relax.
13389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13390         File removed.
13391         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13392         (librt: GLIBC_2.3.3): New version set.
13393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13394         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13395         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13396         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13399         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13401         Moved ...
13402         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13404         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13406         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13408         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13410         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13412         Moved ...
13413         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13414         Update #include.
13415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13416         Moved ...
13417         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13418         Update #include.
13419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13420         Moved ...
13421         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13422         Update #include.
13423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13424         Moved ...
13425         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13426         Update #include.
13427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13428         Moved ...
13429         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13430         Update #include.
13431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13432         Moved ...
13433         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13434         Update #include.
13435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13436         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13438         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13442         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13444         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13446         Moved ...
13447         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13449         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13451         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13453 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13455         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13456         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13457         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13458         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13459         * nscd/nscd.c: Likewise.
13460         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13461         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13462         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13463         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13465         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13466         <kernel-features.h>.
13467         (init_mq_netlink): Remove conditional have_sock_cloexec
13468         definitions.  Remove code conditional on have_sock_cloexec < 0.
13469         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13470         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13471         * sysdeps/unix/sysv/linux/opensock.c: Do not include
13472         <kernel-features.h>.
13473         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13474         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13476 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13479         Add tests for memset_chk and memset.
13481         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13482         with AVX2_Usable.
13484 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13486         [BZ #16046]
13487         * elf/tst-dl-iter-static.c: New file.
13488         * elf/Makefile (tests-static): Add tst-dl-iter-static.
13490         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13491         error.
13493 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13495         * sysdeps/unix/sysv/linux/kernel-features.h
13496         (__ASSUME_F_GETOWN_EX): Remove macro.
13497         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13498         <kernel-features.h>.
13499         (miss_F_GETOWN_EX): Remove variable or macro.
13500         (do_fcntl): Do not check miss_F_GETOWN_EX.
13501         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13503         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13504         Remove macro.
13505         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13506         [!__ASSUME_AT_RANDOM]: Remove conditional code.
13507         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13509         * sysdeps/unix/sysv/linux/kernel-features.h
13510         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13511         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13512         [ADJ_OFFSET_SS_READ]: Make code unconditional.
13513         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13515 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13517         [BZ #17075]
13518         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13519         Fix calculation of the symbol's value.
13520         * sysdeps/arm/tst-armtlsdescloc.c: New file.
13521         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13522         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13523         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13524         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13525         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13526         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13527         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13528         (modules-names): Add `tst-armtlsdescmod',
13529         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13530         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13531         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13532         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13533         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13534         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13535         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13536         ($(objpfx)tst-armtlsdescloc): New dependency.
13537         ($(objpfx)tst-armtlsdescextnow): Likewise.
13538         ($(objpfx)tst-armtlsdescextlazy): Likewise.
13539         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13540         TLS scheme support.
13541         * sysdeps/arm/configure: Regenerate.
13543 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13545         * include/fcntl.h (__atfct_seterrno): Remove prototype.
13546         (__atfct_seterrno_2): Likewise.
13547         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13548         <kernel-features.h>.
13549         (__ASSUME_ATFCTS): Do not undefine and redefine.
13550         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13551         (__have_atfcts): Remove conditional definition.
13552         (__fxstatat([__NR_fstatat64]: Make code unconditional.
13553         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13554         unreachable if [__ASSUME_ATFCTS].
13555         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13556         not undefine and redefine.
13557         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13558         <kernel-features.h>.
13559         (faccessat) [__NR_faccessat]: Make code unconditional.
13560         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13561         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13562         <kernel-features.h>.
13563         (fchmodat) [__NR_fchmodat]: Make code unconditional.
13564         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13565         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13566         <kernel-features.h>.
13567         (fchownat) [__NR_fchownat]: Make code unconditional.
13568         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13569         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13570         <kernel-features.h>.
13571         (futimesat) [__NR_futimesat]: Make code unconditional.
13572         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13573         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13574         <kernel-features.h>.
13575         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13576         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13577         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13578         <kernel-features.h>.
13579         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13580         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13581         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13582         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13583         <kernel-features.h>.
13584         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13585         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13586         * sysdeps/unix/sysv/linux/linkat.c: Do not include
13587         <kernel-features.h>.
13588         (linkat) [__NR_linkat]: Make code unconditional.
13589         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13590         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13591         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13592         <kernel-features.h>.
13593         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13594         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13595         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13596         <kernel-features.h>.
13597         (mkdirat) [__NR_mkdirat]: Make code unconditional.
13598         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13599         * sysdeps/unix/sysv/linux/openat.c: Do not include
13600         <kernel-features.h>.
13601         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13602         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13603         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13604         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13605         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13606         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13607         <kernel-features.h>.
13608         (readlinkat) [__NR_readlinkat]: Make code unconditional.
13609         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
13610         result of INLINE_SYSCALL directly, not via int variable.
13611         * sysdeps/unix/sysv/linux/renameat.c: Do not include
13612         <kernel-features.h>.
13613         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13614         (renameat) [__NR_renameat]: Make code unconditional.
13615         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13616         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13617         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13618         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13619         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13620         (__ASSUME_ATFCTS): Do not undefine and redefine.
13621         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13622         <kernel-features.h>.
13623         (symlinkat) [__NR_symlinkat]: Make code unconditional.
13624         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13625         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13626         <kernel-features.h>.
13627         (unlinkat) [__NR_unlinkat]: Make code unconditional.
13628         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13629         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13630         (__ASSUME_ATFCTS): Do not undefine and redefine.
13631         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13632         <kernel-features.h>.
13633         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13634         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13635         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13636         <kernel-features.h>.
13637         (__xmknodat) [__NR_mknodat]: Make code unconditional.
13638         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13640 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13642         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13644 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
13646         [BZ #17069]
13647         * posix/regcomp.c (parse_reg_exp): Deallocate partially
13648         constructed tree before returning error.
13649         * posix/bug-regexp36.c: Expand test case.
13651 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13653         [BZ #6803]
13654         * math/libm-test.inc (scalbln_test_date):
13655         Add errno expectations.
13656         * math/w_scalblnf.c: New File.
13657         Add wrapper which checks for setting errno to ERANGE.
13658         Add weak_alias for corresponding scalbln function.
13659         * math/w_scalbln.c: Likewise.
13660         * math/w_scalblnl.c: Likewise.
13661         * math/Makefile (libm-calls): Add w_scalbln.
13662         * sysdeps/ieee754/flt-32/s_scalblnf.c:
13663         Remove weak_alias for corresponding scalbln function.
13664         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13665         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13666         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13667         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13668         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13669         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13670         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13671         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13672         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13673         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13674         Remove long_double_symbol for scalblnl function in libm, libc.
13675         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13676         Add wrapper which checks for setting errno to ERANGE.
13677         Add long_double_symbol for scalblnl function in libm, libc.
13678         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13679         Remove long_double_symbol for scalblnl in libm.
13680         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13681         Add wrapper which checks for setting errno to ERANGE.
13682         Add long_double_symbol for scalblnl function in libm.
13683         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13684         Do not use wrapper because of own implementation.
13686 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
13688         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13689         3 bytes for __pad1 for x32.
13690         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13692 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
13693             H.J. Lu  <hongjiu.lu@intel.com>
13695         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13696         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13697         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13698         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13699         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13701 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
13703         [BZ #17069]
13704         * posix/regcomp.c (parse_expression): Deallocate partially
13705         constructed tree before returning error.
13706         * posix/Makefile.c (tests): Add bug-regex36.
13707         (generated): Add bug-regex36.mtrace.
13708         (tests-special): Add $(objpfx)bug-regex36-mem.out
13709         (bug-regex36-ENV): New variable.
13710         ($(objpfx)bug-regex36-mem.out): New rule.
13711         * posix/bug-regex36.c: New file.
13713 2014-06-19  Will Newton  <will.newton@linaro.org>
13715         * malloc/malloc.c (systrim): If extra is zero then return
13716         early.
13718 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13720         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13722 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
13724         * sysdeps/aarch64/strchr.S: New file.
13726 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13728         [BZ #17022]
13729         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13730         from arguments -2 or below.
13731         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13732         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13734 2014-06-18  Andreas Schwab  <schwab@suse.de>
13736         [BZ #17062]
13737         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13738         of a bracket expr not to run off the end of the string.
13739         * posix/Makefile (tests): Add tst-fnmatch3.
13740         * posix/tst-fnmatch3.c: New file.
13742 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13744         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13745         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13746         [$(cross-compiling) = no]: Likewise.
13747         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13748         [$(cross-compiling) = no]: Likewise.
13750 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13752         [BZ #17031]
13753         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13754         double, adjusted for any remainder from the high double.
13755         * math/libm-test.inc (nearbyint): Add tests.
13756         (rint): Likewise.
13758 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13760         * nptl/sysdeps/powerpc/Makefile: Moved ...
13761         * sysdeps/powerpc/nptl/Makefile: ... here.
13762         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13763         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13764         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13765         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13766         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13767         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13768         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13769         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13770         * nptl/sysdeps/powerpc/tls.h: Moved ...
13771         * sysdeps/powerpc/nptl/tls.h: ... here.
13773 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
13775         [BZ #16681]
13776         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13777         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13778         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13779         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13780         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13781         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13782         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13783         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13784         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13786 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
13788         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13790 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
13792         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13793         defined operator.
13795         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13796         $TIMEOUTFACTOR.
13798 2014-06-16  Florian Weimer  <fweimer@redhat.com>
13800         [BZ #17058]
13801         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13802         non-executed part of the test.
13804 2014-06-16  Andreas Schwab  <schwab@suse.de>
13806         * string/bits/string2.h (strdup, strndup): Update feature guard.
13808 2014-06-14  David S. Miller  <davem@davemloft.net>
13810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13812 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
13814         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13815         that was previously under [RESET_PID].
13816         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13818         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13819         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13820         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13821         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13822         (__libc_vfork): New strong alias.
13823         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13825 2014-06-14 Andi Kleen  <ak@linux.intel.com>
13827         * sysdeps/generic/elide.h: New file.
13829 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13831         * Makefile (installed-headers): Adjust path of pthread.h header.
13833 2014-06-13  Roland McGrath  <roland@hack.frob.com>
13835         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13836         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13837         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13838         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13840         * nptl/sysdeps/s390/Makefile: Moved ...
13841         * sysdeps/s390/nptl/Makefile: ... here.
13842         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13843         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13844         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13845         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13846         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13847         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13848         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13849         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13850         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13851         * sysdeps/s390/nptl/pthreaddef.h: ... here.
13852         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13853         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13854         * nptl/sysdeps/s390/tls.h: Moved ...
13855         * sysdeps/s390/nptl/tls.h: ... here.
13857         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13858         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13860 2014-06-13  David S. Miller  <davem@davemloft.net>
13862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13865         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13869         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13870         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13871         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13872         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13873         Remove RESET_PID cpp guards.
13874         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13875         Remove RESET_PID cpp guards.
13876         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13878 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
13880         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13881         __sp to uintptr_t.
13883 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13885         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13886         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13887         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13888         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13889         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13890         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13891         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13893         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13894         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13895         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13897         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13898         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13899         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13900         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13901         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13902         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13903         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13904         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
13906         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
13907         (pthread_rwlock_rdlock): Add elision.
13908         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13909         (pthread_rwlock_wrlock): Add elision.
13910         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13911         (pthread_rwlock_trywrlock): Add elision.
13912         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13913         (pthread_rwlock_tryrdlock): Add elision.
13914         * nptl/pthread_rwlock_unlock.c: Include elide.h.
13915         (pthread_rwlock_tryrdlock): Add elision unlock.
13916         * nptl/sysdeps/pthread/pthread.h:
13917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13918         (PTHREAD_RWLOCK_INITIALIZER,
13919         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13920         Handle new elision field.
13921         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13922         * sysdeps/arm/nptl/bits/pthreadtypes.h
13923         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13924         * sysdeps/sh/nptl/bits/pthreadtypes.h
13925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13926         * sysdeps/tile/nptl/bits/pthreadtypes.h
13927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13928         * sysdeps/a/nptl/bits/pthreadtypes.h
13929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13930         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13931         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13932         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13933         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13934         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13935         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13936         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13937         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13938         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13940         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13941         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13942         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13944         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13945         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13946         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13947         (elision_init): Set try_xbegin to zero when no RTM.
13948         * sysdeps/x86/nptl/bits/pthreadtypes.h
13949         (pthread_rwlock_t): Change __pad1 to __rwelision.
13950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13952 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13954         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13955         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13956         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13957         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13959 2014-06-13  Meador Inge  <meadori@codesourcery.com>
13961         [BZ #16996]
13962         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13963         that the cached result has been set before returning it.
13965 2014-06-12  Roland McGrath  <roland@hack.frob.com>
13967         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13968         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13969         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13970         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13971         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13972         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13974         * nptl/sysdeps/sparc/Makefile: Moved ...
13975         * sysdeps/sparc/nptl/Makefile: ... here.
13976         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13977         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13978         * nptl/sysdeps/sparc/tls.h: Moved ...
13979         * sysdeps/sparc/nptl/tls.h: ... here.
13980         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13981         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13982         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13983         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13984         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13985         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13986         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13987         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13988         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13989         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13990         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13991         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13992         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13993         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13994         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13995         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13996         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13997         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13998         Update #include.
13999         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14000         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14001         Update #include.
14002         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14003         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14004         Update #include.
14005         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14006         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14007         Update #include.
14009         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14011         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14012         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14014         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14015         (struct list_links): Type removed.
14016         (struct thread_node, struct timer_node): Replace struct list_links
14017         with struct list_head.
14018         (list_unlink_ip): Likewise.
14019         * sysdeps/pthread/timer_routines.c
14020         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14021         (list_append, list_insbefore): Likewise.
14022         (list_init): Function removed.
14023         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14024         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14025         * sysdeps/pthread/Makefile: ... here, new file.
14027         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14028         * sysdeps/nptl/Implies: ... here.
14029         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14030         * nptl/sysdeps/pthread/list.h: Moved ...
14031         * include/list.h: ... here.
14032         * nptl/sysdeps/pthread/createthread.c: Moved ...
14033         * nptl/createthread.c: ... here.
14034         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14035         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14036         * nptl/pt-longjmp.c: ... here.
14037         * nptl/sysdeps/pthread/Makefile: Moved ...
14038         * sysdeps/nptl/Makefile: ... here.
14039         * nptl/sysdeps/pthread/Subdirs: Moved ...
14040         * sysdeps/nptl/Subdirs: ... here.
14041         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14042         * sysdeps/nptl/aio_misc.h: ... here.
14043         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14044         * sysdeps/nptl/bits/libc-lock.h: ... here.
14045         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14046         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14047         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14048         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14049         * nptl/sysdeps/pthread/configure: Moved ...
14050         * sysdeps/nptl/configure: ... here.
14051         * nptl/sysdeps/pthread/configure.ac: Moved ...
14052         * sysdeps/nptl/configure.ac: ... here.
14053         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14054         * sysdeps/nptl/gai_misc.h: ... here.
14055         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14056         * sysdeps/nptl/librt-cancellation.c: ... here.
14057         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14058         * sysdeps/nptl/malloc-machine.h: ... here.
14059         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14060         * sysdeps/nptl/pthread-functions.h: ... here.
14061         * nptl/sysdeps/pthread/pthread.h: Moved ...
14062         * sysdeps/nptl/pthread.h: ... here.
14063         * nptl/sysdeps/pthread/setxid.h: Moved ...
14064         * sysdeps/nptl/setxid.h: ... here.
14065         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14066         * sysdeps/nptl/sigfillset.c: ... here.
14067         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14068         * sysdeps/nptl/tcb-offsets.h: ... here.
14069         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14070         * sysdeps/nptl/tst-mqueue8x.c: ... here.
14071         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14072         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14073         * nptl/sysdeps/pthread/allocalim.h: Moved ...
14074         * sysdeps/pthread/allocalim.h: ... here.
14075         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14076         * sysdeps/pthread/bits/sigthread.h: ... here.
14077         * nptl/sysdeps/pthread/flockfile.c: Moved ...
14078         * sysdeps/pthread/flockfile.c: ... here.
14079         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14080         * sysdeps/pthread/ftrylockfile.c: ... here.
14081         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14082         * sysdeps/pthread/funlockfile.c: ... here.
14083         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14084         * sysdeps/pthread/posix-timer.h: ... here.
14085         * nptl/sysdeps/pthread/timer_create.c: Moved ...
14086         * sysdeps/pthread/timer_create.c: ... here.
14087         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14088         * sysdeps/pthread/timer_delete.c: ... here.
14089         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14090         * sysdeps/pthread/timer_getoverr.c: ... here.
14091         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14092         * sysdeps/pthread/timer_gettime.c: ... here.
14093         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14094         * sysdeps/pthread/timer_routines.c: ... here.
14095         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14096         * sysdeps/pthread/timer_settime.c: ... here.
14097         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14098         * sysdeps/pthread/tst-timer.c: ... here.
14099         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14100         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14102         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14103         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14105         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14106         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14107         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14108         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14109         Update #include target.
14110         * nptl/sysdeps/i386/i686/Makefile: Moved ...
14111         * sysdeps/i386/i686/nptl/Makefile: ... here.
14112         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14113         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14114         Update #include target.
14115         * nptl/sysdeps/i386/i686/tls.h: Moved ...
14116         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
14117         * nptl/sysdeps/i386/Makefile: Moved ...
14118         * sysdeps/i386/nptl/Makefile: ... here.
14119         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14120         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14121         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14122         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14123         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14124         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14125         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14126         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14127         * sysdeps/i386/nptl/pthreaddef.h: ... here.
14128         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14129         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14130         * nptl/sysdeps/i386/tls.h: Moved ...
14131         * sysdeps/i386/nptl/tls.h: ... here.
14133         * sysdeps/sh/Makefile [$(subdir) = csu]
14134         (gen-as-const-headers): Add tcb-offsets.sym.
14135         * nptl/sysdeps/sh/Makefile: File removed.
14136         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14137         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14138         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14139         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14140         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14141         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14142         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14143         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14144         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14145         * sysdeps/sh/nptl/pthreaddef.h: ... here.
14146         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14147         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14148         * nptl/sysdeps/sh/tls.h: Moved ...
14149         * sysdeps/sh/nptl/tls.h: ... here.
14150         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14151         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14152         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14153         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14154         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14155         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14156         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14157         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14158         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14159         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14160         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14161         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14162         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14163         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14164         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14165         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14167         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14168         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14169         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14170         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14171         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14172         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14173         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14174         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14175         Moved ...
14176         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14177         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14178         Moved ...
14179         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14180         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14181         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14182         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14183         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14184         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14185         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14186         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14187         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14188         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14189         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14190         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14191         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14192         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14193         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14194         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14195         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14196         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14197         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14199 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14201         * posix/spawn_faction_addopen.c: Include string.h.
14203 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14205         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14206         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14207         * nptl/sysdeps/x86_64/Makefile: Moved ...
14208         * sysdeps/x86_64/nptl/Makefile: ... here.
14209         * nptl/sysdeps/x86_64/configure: Moved ...
14210         * sysdeps/x86_64/nptl/configure: ... here.
14211         * nptl/sysdeps/x86_64/configure.ac: Moved ...
14212         * sysdeps/x86_64/nptl/configure.ac: ... here.
14213         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14214         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14215         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14216         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14217         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14218         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14219         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14220         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14221         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14222         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14223         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14224         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14225         * nptl/sysdeps/x86_64/tls.h: Moved ...
14226         * sysdeps/x86_64/nptl/tls.h: ... here.
14227         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14228         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14229         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14230         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14232         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14234 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14238 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
14240         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14241         type.
14242         [POSIX] (off_t): Likewise.
14243         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14244         [POSIX] (S_ISBLK): Require macro.
14245         [POSIX] (S_ISCHR): Likewise.
14246         [POSIX] (S_ISDIR): Likewise.
14247         [POSIX] (S_ISFIFO): Likewise.
14248         [POSIX] (S_ISREG): Likewise.
14249         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14250         optional-macro.
14251         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14252         type.
14253         [POSIX] (time_t): Likewise.
14254         [POSIX] (timer_t): Likewise.
14256 2014-06-11  Florian Weimer  <fweimer@redhat.com>
14258         [BZ #17048]
14259         * posix/spawn_int.h (struct __spawn_action): Make the path string
14260         non-const to support deallocation.
14261         * posix/spawn_faction_addopen.c
14262         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14263         * posix/spawn_faction_destroy.c
14264         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
14265         path in all spawn_do_open actions.
14266         * posix/tst-spawn.c (do_test): Exercise the copy operation in
14267         posix_spawn_file_actions_addopen.
14269 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
14271         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14272         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14273         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14274         conditional code always true.
14275         (__libc_vfork): New alias.
14277 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14279         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14280         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14282         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14284         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14285         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14287         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14288         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14290         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14291         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14293 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14295         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14296         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14297         multiarch strcmp for PPC64.
14298         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14299         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14301         multiarch optimizations.
14302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14303         (__libc_ifunc_impl_list): Likewise.
14305 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14307         * benchtests/scripts/validate_benchout.py: New script.
14308         * benchtests/Makefile (bench-func): Call it.
14309         * benchtests/scripts/benchout.schema.json: New file.
14311 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
14313         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14314         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14315         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14316         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14317         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14318         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14319         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14320         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14321         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14322         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14323         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14324         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14325         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14326         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14327         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14328         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14330         Moved ...
14331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14332         ... here.
14333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14334         Moved ...
14335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14337         Moved ...
14338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14339         ... here.
14340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14341         Moved ...
14342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14343         ... here.
14344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14345         Moved ...
14346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14348         Moved ...
14349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14350         ... here.
14351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14352         Moved ...
14353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14354         ... here.
14355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14356         Moved ...
14357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14359         Moved ...
14360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14361         ... here.
14362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14363         Moved ...
14364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14365         ... here.
14366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14367         Moved ...
14368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14369         ... here.
14370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14371         Moved ...
14372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14374         Moved ...
14375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14376         ... here.
14377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14378         Moved ...
14379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14380         ... here.
14381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14382         Moved ...
14383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14384         ... here.
14385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14386         Moved ...
14387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14389         Moved ...
14390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14391         ... here.
14392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14393         Moved ...
14394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14395         ... here.
14396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14397         Moved ...
14398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14400         Moved ...
14401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14402         ... here.
14403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14404         Moved ...
14405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14407         Moved ...
14408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14410         Moved ...
14411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14412         ... here.
14413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14414         Moved ...
14415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14416         ... here.
14417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14418         Moved ...
14419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14420         ... here.
14421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14422         Moved ...
14423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14425         Moved ...
14426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14427         ... here.
14428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14429         Moved ...
14430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14431         ... here.
14432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14433         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14435         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14437         Moved ...
14438         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14439         ... here.
14440         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14441         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14442         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14443         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14445         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14447         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14448         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14449         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14450         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14451         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14452         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14453         Moved ...
14454         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14455         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14456         Moved ...
14457         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14458         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14459         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14461         Moved ...
14462         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14463         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14464         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14465         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14466         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14467         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14468         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14470 2014-06-10  Wilco  <wdijkstr@arm.com>
14472         * math/test-fenv-return.c: New file.
14473         * math/Makefile: Add new test test-fenv-return.
14475 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
14477         [BZ #17042]
14478         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14479         when x - 1 is zero.
14480         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14481         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14482         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14483         0.0L for an argument of 1.0L.
14484         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14485         Likewise.
14486         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14487         value when x - 1 is zero.
14488         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14489         * sysdeps/i386/fpu/libm-test-ulps: Update.
14490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14492 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
14494         [BZ #15119]
14495         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14497 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14499         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14500         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14502 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14504         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14505         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14507         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14508         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14510         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14511         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14513         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14514         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14516         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14517         if not already defined.
14518         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14519         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14520         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14521         (TLS_INIT_TP): Use it.
14522         (TLS_DEFINE_INIT_TP): New macro.
14523         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14525 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
14527         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14528         constant.
14529         [POSIX] (IXANY): Likewise.
14530         [POSIX] (OLCUC): Likewise.
14531         [POSIX || POSIX2008] (CBAUD): Do not allow.
14532         [POSIX || POSIX2008] (DEFECHO): Likewise.
14533         [POSIX || POSIX2008] (ECHOCTL): Likewise.
14534         [POSIX || POSIX2008] (ECHOKE): Likewise.
14535         [POSIX || POSIX2008] (ECHOPRT): Likewise.
14536         [POSIX || POSIX2008] (EXTA): Likewise.
14537         [POSIX || POSIX2008] (EXTB): Likewise.
14538         [POSIX || POSIX2008] (FLUSHO): Likewise.
14539         [POSIX || POSIX2008] (LOBLK): Likewise.
14540         [POSIX || POSIX2008] (PENDIN): Likewise.
14541         [POSIX || POSIX2008] (SWTCH): Likewise.
14542         [POSIX || POSIX2008] (VDISCARD): Likewise.
14543         [POSIX || POSIX2008] (VDSUSP): Likewise.
14544         [POSIX || POSIX2008] (VLNEXT): Likewise.
14545         [POSIX || POSIX2008] (VREPRINT): Likewise.
14546         [POSIX || POSIX2008] (VSTATUS): Likewise.
14547         [POSIX || POSIX2008] (VWERASE): Likewise.
14548         (B*): Change to B[0123456789]*.
14549         * conform/data/time.h-data [POSIX || UNIX98]
14550         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14551         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14552         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14553         [POSIX] (tm_*): Do not allow.
14555 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
14557         * Makefile (install): Don't set LANGUAGE.
14558         * Makefile.in (install): Likewise.
14559         * assert/Makefile (test-assert-ENV): Remove variable.
14560         (test-assert-perr-ENV): Likewise.
14561         * elf/Makefile (neededtest4-ENV): Likewise.
14562         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14563         [$(cross-compiling) = no]: Don't set LANGUAGE.
14564         * io/ftwtest-sh (LANG): Remove variable.
14565         * libio/Makefile (tst-widetext-ENV): Likewise.
14566         * manual/install.texi (Running make install): Don't refer to
14567         environment settings for make install.
14568         * INSTALL: Regenerated.
14569         * nptl/tst-tls6.sh: Don't set LANG.
14570         * posix/globtest.sh (LANG): Remove variable.
14571         * string/Makefile (tester-ENV): Likewise.
14572         (inl-tester-ENV): Likewise.
14573         (noinl-tester-ENV): Likewise.
14574         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14575         [$(cross-compiling) = no]: Don't set LANGUAGE.
14576         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14577         without explicit environment settings.
14579 2014-06-06  Roland McGrath  <roland@hack.frob.com>
14581         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14582         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14583         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14584         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14586 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
14588         * crypt/crypt-private.h [DOS]: Add some includes taken from the
14589         other files in the crypt directory.
14590         * crypt/crypt.c: Remove duplicate includes.
14591         * crypt/crypt-entry.c: Likewise.
14592         * crypt/crypt_util.c: Likewise.
14594 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
14596         * Makeconfig (run-program-env): New variable.
14597         (run-program-prefix-before-env): Likewise.
14598         (run-program-prefix-after-env): Likewise.
14599         (run-program-prefix): Define in terms of new variables.
14600         (built-program-cmd-before-env): New variable.
14601         (built-program-cmd-after-env): Likewise.
14602         (built-program-cmd): Define in terms of new variables.
14603         (test-program-prefix-before-env): New variable.
14604         (test-program-prefix-after-env): Likewise.
14605         (test-program-prefix): Define in terms of new variables.
14606         (test-program-cmd-before-env): New variable.
14607         (test-program-cmd-after-env): Likewise.
14608         (test-program-cmd): Define in terms of new variables.
14609         * Rules (make-test-out): Use $(run-program-env).
14610         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14611         (help): Do not mention environment variables.  Mention
14612         --timeoutfactor option.
14613         (timeoutfactor): New variable.
14614         (blacklist_exports): Remove function.
14615         (exports): Remove variable.
14616         (command): Do not include ${exports}.
14617         * manual/install.texi (Configuring and compiling): Do not mention
14618         test wrappers preserving environment variables.  Mention that last
14619         assignment to a variable must take precedence.
14620         * INSTALL: Regenerated.
14621         * benchtests/Makefile (run-bench): Use $(run-program-env).
14622         * catgets/Makefile ($(objpfx)test1.cat): Use
14623         $(built-program-cmd-before-env), $(run-program-env) and
14624         $(built-program-cmd-after-env).
14625         ($(objpfx)test2.cat): Do not specify environment variables
14626         explicitly.
14627         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14628         $(run-program-env) and $(built-program-cmd-after-env).
14629         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14630         $(run-program-env) and $(test-program-cmd-after-env).
14631         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14632         explicitly.
14633         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14634         run_program_env and test_program_cmd_after_env arguments.
14635         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14636         * elf/tst-pathopt.sh: Use run_program_env argument.
14637         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14638         $(test-wrapper-env) and $(run-program-env).
14639         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14640         run_program_env arguments.
14641         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14642         * intl/Makefile ($(objpfx)tst-gettext.out): Use
14643         $(test-program-prefix-before-env), $(run-program-env) and
14644         $(test-program-prefix-after-env).
14645         ($(objpfx)tst-gettext2.out): Likewise.
14646         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14647         run_program_env and test_program_prefix_after_env arguments.
14648         * intl/tst-gettext2.sh: Likewise.
14649         * intl/tst-gettext4.sh: Do not set environment variables
14650         explicitly.
14651         * intl/tst-gettext6.sh: Likewise.
14652         * intl/tst-translit.sh: Likewise.
14653         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14654         $(test-program-prefix-before-env), $(run-program-env) and
14655         $(test-program-prefix-after-env).
14656         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14657         run_program_env and test_program_prefix_after_env arguments.
14658         * math/Makefile (run-regen-ulps): Use $(run-program-env).
14659         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14660         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
14661         explicitly with each use of ${test_wrapper_env}.
14662         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14663         $(test-program-prefix-before-env), $(run-program-env) and
14664         $(test-program-prefix-after-env).
14665         * posix/tst-getconf.sh: Do not set environment variables
14666         explicitly.
14667         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14668         run_program_env and test_program_prefix_after_env arguments.
14669         * stdio-common/tst-printf.sh: Do not set environment variables
14670         explicitly.
14671         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14672         $(test-program-prefix-before-env), $(run-program-env) and
14673         $(test-program-prefix-after-env).
14674         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14675         run_program_env and test_program_prefix_after_env arguments.
14676         Split $test calls into $test_pre and $test.
14677         * timezone/Makefile (build-testdata): Use
14678         $(built-program-cmd-before-env), $(run-program-env) and
14679         $(built-program-cmd-after-env).
14681 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14683         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14684         strlen for non SHARED builds.
14686 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14688         * nptl/allocatestack.c (check_list): Inlined function...
14689         (__reclaim_stacks): ... here.
14691 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14693         [BZ #15698]
14694         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14695         memory overrun.
14697 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
14699         * Rules (make-test-out): Include
14700         LOCPATH=$(common-objpfx)localedata in default environment.
14701         * debug/Makefile (tst-chk1-ENV): Remove variable.
14702         (tst-chk2-ENV): Likewise.
14703         (tst-chk3-ENV): Likewise.
14704         (tst-chk4-ENV): Likewise.
14705         (tst-chk5-ENV): Likewise.
14706         (tst-chk6-ENV): Likewise.
14707         (tst-lfschk1-ENV): Likewise.
14708         (tst-lfschk2-ENV): Likewise.
14709         (tst-lfschk3-ENV): Likewise.
14710         (tst-lfschk4-ENV): Likewise.
14711         (tst-lfschk5-ENV): Likewise.
14712         (tst-lfschk6-ENV): Likewise.
14713         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14714         (tst-iconv7-ENV): Likewise.
14715         * intl/Makefile (LOCPATH-ENV): Likewise.
14716         (tst-codeset-ENV): Likewise.
14717         (tst-gettext3-ENV): Likewise.
14718         (tst-gettext5-ENV): Likewise.
14719         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14720         (tst-fopenloc-ENV): Likewise.
14721         (tst-fgetws-ENV): Remove variable.
14722         (tst-ungetwc1-ENV): Likewise.
14723         (tst-ungetwc2-ENV): Likewise.
14724         (bug-ungetwc2-ENV): Likewise.
14725         (tst-swscanf-ENV): Likewise.
14726         (bug-ftell-ENV): Likewise.
14727         (tst-fgetwc-ENV): Likewise.
14728         (tst-fseek-ENV): Likewise.
14729         (tst-ftell-partial-wide-ENV): Likewise.
14730         (tst-ftell-active-handler-ENV): Likewise.
14731         (tst-ftell-append-ENV): Likewise.
14732         * posix/Makefile (tst-fnmatch-ENV): Likewise.
14733         (tst-regexloc-ENV): Likewise.
14734         (bug-regex1-ENV): Likewise.
14735         (tst-regex-ENV): Likewise.
14736         (tst-regex2-ENV): Likewise.
14737         (bug-regex5-ENV): Likewise.
14738         (bug-regex6-ENV): Likewise.
14739         (bug-regex17-ENV): Likewise.
14740         (bug-regex18-ENV): Likewise.
14741         (bug-regex19-ENV): Likewise.
14742         (bug-regex20-ENV): Likewise.
14743         (bug-regex22-ENV): Likewise.
14744         (bug-regex23-ENV): Likewise.
14745         (bug-regex25-ENV): Likewise.
14746         (bug-regex26-ENV): Likewise.
14747         (bug-regex30-ENV): Likewise.
14748         (bug-regex32-ENV): Likewise.
14749         (bug-regex33-ENV): Likewise.
14750         (bug-regex34-ENV): Likewise.
14751         (bug-regex35-ENV): Likewise.
14752         (tst-rxspencer-ENV): Likewise.
14753         (tst-rxspencer-no-utf8-ENV): Likewise.
14754         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14755         (tst-sscanf-ENV): Likewise.
14756         (tst-swprintf-ENV): Likewise.
14757         (tst-swscanf-ENV): Likewise.
14758         (test-vfprintf-ENV): Likewise.
14759         (scanf13-ENV): Likewise.
14760         (bug14-ENV): Likewise.
14761         (tst-grouping-ENV): Likewise.
14762         * stdlib/Makefile (tst-strtod-ENV): Likewise.
14763         (tst-strtod3-ENV): Likewise.
14764         (tst-strtod4-ENV): Likewise.
14765         (tst-strtod5-ENV): Likewise.
14766         (testmb2-ENV): Likewise./
14767         * string/Makefile (tst-strxfrm-ENV): Likewise.
14768         (tst-strxfrm2-ENV): Likewise.
14769         (bug-strcoll1-ENV): Likewise.
14770         (test-strcasecmp-ENV): Likewise.
14771         (test-strncasecmp-ENV): Likewise.
14772         * time/Makefile (tst-strptime-ENV): Likewise.
14773         (tst-ftime_l-ENV): Likewise.
14774         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14775         (tst-mbrtowc-ENV): Likewise.
14776         (tst-wcrtomb-ENV): Likewise.
14777         (tst-mbrtowc2-ENV): Likewise.
14778         (tst-c16c32-1-ENV): Likewise.
14779         (tst-mbsnrtowcs-ENV): Likewise.
14781 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14783         * manual/resource.texi (How to get information about the memory
14784         subsystem?): Fix typo.
14785         Reported by Peon de la Parra Ivan <peon@keba.com>
14787 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
14789         [BZ #16882]
14790         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14791         (pthread_spin_lock): Branch out of spin loop to proper location.
14792         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14793         (pthread_spin_lock): Likewise.
14795         * nptl/tst-spin4.c: New test.
14796         * nptl/Makefile (tests): Add tst-spin4.
14798 2014-06-03  Andreas Schwab  <schwab@suse.de>
14800         [BZ #15946]
14801         * resolv/res_send.c (send_dg): Reload file descriptor after
14802         calling reopen.
14804 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
14806         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14808 2014-06-03  Richard Henderson  <rth@redhat.com>
14810         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14811         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14812         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14813         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
14814         in the SAVE_PID block.
14815         (__libc_vfork): New alias.
14816         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14818         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14819         child in registers, not on the stack.  Remove RESET_PID conditionals.
14820         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14822 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14824         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14826 2014-06-03  Wilco  <wdijkstr@arm.com>
14828         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14829         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14830         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14831         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14832         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14833         Likewise.
14835 2014-06-03  Wilco  <wdijkstr@arm.com>
14837         * sysdeps/aarch64/fpu/math_private.h
14838         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14839         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14840         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14841         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14842         Fix declarations.
14844 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14846         * crypt/crypt-private.h: Include ufc-crypt.h.
14847         (__b64_from_24bit): Declare extern.
14848         * crypt/crypt_util.c(__b64_from_24bit): New function.
14849         (b64t): New static const variable.
14850         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14851         (b64t): Remove variable.
14852         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14853         * crypt/sha256-crypt.c: Include crypt-private.h.
14854         (b64t): Remove variable.
14855         (__sha256_crypt_r): Remove b64_from_24bit and replace
14856         with __b64_from_24bit.
14857         * crypt/sha512-crypt.c: Likewise.
14859 2014-06-02  Roland McGrath  <roland@hack.frob.com>
14861         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14862         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14863         Label the code __libc_vfork rather than __vfork.
14864         [!NOT_IN_libc] (vfork): Define as weak alias.
14865         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14866         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14867         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14869 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14871         * malloc/malloc.c (malloc_info): Fix format specifier for
14872         n_mmaps.
14874 2014-06-02  Wilco  <wdijkstr@arm.com>
14876         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14877         FPCR write.
14879 2014-06-02  Wilco  <wdijkstr@arm.com>
14881         [BZ #17009]
14882         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14883         Rewrite to reduce FPCR/FPSR accesses.
14885 2014-06-01  David S. Miller  <davem@davemloft.net>
14887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14889 2014-05-31  David S. Miller  <davem@davemloft.net>
14891         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14892         to occur in round to nearest mode when |x| >= 2.0
14894 2014-05-30  Richard Henderson  <rth@twiddle.net>
14896         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14897         (PSEUDO_RET_NOERRNO): Remove.
14898         (ret): Don't redefine.
14899         (ret_NOERRNO): Define in terms of ret.
14900         (ret_ERRVAL): Likewise.
14902         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14903         use of PSEUDO_RET; perform the error check directly.
14905 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
14907         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14908         with __int128_t.
14910 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14912         * malloc/malloc (malloc_info): Fix formatting.
14914 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14915             Roland McGrath  <roland@hack.frob.com>
14917         * malloc/malloc (malloc_info): Also print mmapped statistics.
14919 2014-05-30  Roland McGrath  <roland@hack.frob.com>
14921         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14922         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14924 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
14926         * malloc/malloc.c (malloc_info): Inline mi_arena.
14928 2014-05-29  Richard Henderson  <rth@twiddle.net>
14930         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14931         Remove comma before expanding ASM_ARGS_##nr.
14932         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14933         Make _x0 a strict output; make _x8 a strict input; adjust expansion
14934         of ASM_ARGS_##nr.
14935         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14936         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14937         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14938         (ASM_ARGS_1): Add leading comma.
14940         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14941         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14942         to __errno_location.
14943         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14944         Remove the expected plt for __errno_location.
14946         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14947         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14948         call to __read_tp.
14950         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14951         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
14952         it and break it down.
14953         (DOCARGS_0, DOCARGS_1): Do nothing.
14954         (DOCARGS_2): Update to store into the new stack frame.
14955         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14956         (UNDOCARGS_1): Update to restore from the new stack frame.
14957         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14958         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14960         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14961         (SINGLE_THREAD_P): New parameter for result regno.
14962         (PSEUDO): Update to match; use cbz instead of beq.
14964         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14965         Use ENTRY to define the _nocancel entry point.  Share the syscall
14966         and syscall error check paths with the cancel path.
14967         (PSEUDO_END): New.
14969         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14970         whitespace; tabs before and after asm mnemonics.
14972 2014-05-29  Eric Wong  <normalperson@yhbt.net>
14974         [BZ #15132]
14975         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14976         Call fstat64 or stat64 internally, depending on arguments passed.
14977         Replace stat buffer argument with file descriptor argument.
14978         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14979         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14980         Pass fd to __internal_statvfs instead of calling fstat64.
14981         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14982         Pass fd to __internal_statvfs64 instead of calling fstat64.
14983         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14984         Pass -1 to __internal_statvfs instead of calling stat64.
14985         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14986         Pass -1 to __internal_statvfs64 instead of calling stat64.
14988 2014-05-28  Roland McGrath  <roland@hack.frob.com>
14990         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14991         that was previously under [RESET_PID].
14992         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14994         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14995         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14997 2014-05-27  Roland McGrath  <roland@hack.frob.com>
14999         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15001         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15002         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15004 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15006         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15008 2014-05-27  Andreas Schwab  <schwab@suse.de>
15010         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15011         TLS_INIT_TP macro.
15012         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15013         * elf/rtld.c (init_tls, dl_main): Likewise.
15014         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15015         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15016         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15017         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15018         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15019         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15020         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15021         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15022         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15023         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15024         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15025         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15026         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15027         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15028         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15029         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15030         * sysdeps/generic/tls.h: Update description.
15032 2014-05-27  Will Newton  <will.newton@linaro.org>
15034         [BZ #16990]
15035         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15036         and restore r2 rather than just restoring.
15038 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15040         [BZ #16724]
15041         * libio/tst-ftell-append.c: New test case.
15042         * libio/Makefile (tests): Add test case.
15043         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15044         append mode.
15045         * libio/wfileops.c (do_ftell_wide): Likewise.
15047 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15051         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15052         ...
15053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15055         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15056         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15057         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15058         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15059         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15060         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15062         Moved ...
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15065         Moved ...
15066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15067         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15068         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15069         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15070         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15071         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15072         ...
15073         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15075         Moved ...
15076         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15077         here.
15078         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15079         ...
15080         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15081         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15082         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15084         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15085         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15086         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15087         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15090         merge into ...
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15093         ...
15094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15096         ...
15097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15099         Moved ...
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15101         here.
15102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15103         Moved ...
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15106         Moved ...
15107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15110         conditional [RESET_PID].
15111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15113         removed.
15114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15115         removed.
15117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15118         <tcb-offsets.h>.
15119         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15120         (__libc_vfork): New strong alias.
15121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15122         removed.
15123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15124         Removed.
15126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15127         <tcb-offsets.h>.
15128         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15129         (__libc_vfork): New strong alias.
15130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15131         removed.
15132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15133         removed.
15135 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
15137         * malloc/malloc.c (mi_arena): New function.
15138         (malloc_info): Remove nested function mi_arena. Call non-nosted
15139         function mi_arena.
15141 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15143         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15144         by insrwi.
15145         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15146         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15147         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15148         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15149         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15150         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15151         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15153 2014-05-26  Andreas Schwab  <schwab@suse.de>
15155         [BZ #16984]
15156         * locale/programs/repertoire.c (repertoire_read): Add slash
15157         between I18NPATH element and file name.
15158         * locale/programs/locfile.c (locfile_read): Likewise.
15160 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15162         * nptl/pthread_mutexattr_settype.c
15163         (__pthread_mutexattr_settype):
15164         Disable lock elision for PTHREAD_MUTEX_NORMAL.
15166 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15168         * nptl/tst-mutex5 (do_test):
15169         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15171 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15173         * benchtests/README: Document 'init' directive.
15174         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15175         BENCH_INIT.
15176         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15177         (parse_file): Recognize 'init' directive.
15179 2014-05-26  Kyle McMartin  <kyle@redhat.com>
15181         [BZ #16796]
15182         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15183         alignment of struct pthread.
15185 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15187         [BZ #16878]
15188         * nscd/netgroupcache.c (addgetnetgrentX): Look for
15189         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15190         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15191         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15193 2014-05-25  Richard Henderson  <rth@twiddle.net>
15195         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15196         (SINGLE_THREAD_P_PIC): Remove.
15197         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15198         (SINGLE_THREAD_P_PIC): Remove.
15200         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15201         branch to syscall error ...
15202         (PSEUDO): ... here.
15203         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15204         from __local_syscall_error to .Lsyscall_error.
15205         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15206         (SYSCALL_ERROR): Update label name.
15208         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15209         Do not use DOARGS/UNDOARGS.
15210         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15211         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15212         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15213         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15214         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15216         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15217         block comment.
15219         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15220         define if !NOT_IN_libc.
15221         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15222         define with non-default symbol versions.
15224 2014-05-23  Richard Henderson  <rth@twiddle.net>
15226         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15227         (vfork, __vfork): Define via compat_symbol.
15229         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15230         [!HAVE_IFUNC] (vfork_compat): Remove.
15231         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15233 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15235         [BZ #16978]
15236         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15237         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15238         variable.
15240 2014-05-23  Richard Henderson  <rth@twiddle.net>
15242         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15243         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15244         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15245         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15247         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15248         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15249         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15250         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15251         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15252         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15253         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15254         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15255         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15256         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15257         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15258         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15259         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15260         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15261         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15262         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15263         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15264         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15265         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15266         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15267         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15268         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15269         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15270         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15271         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15272         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15273         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15274         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15275         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15276         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15277         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15278         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15279         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15280         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15281         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15282         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15283         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15284         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15285         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15286         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15287         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15288         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15289         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15290         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15291         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15292         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15293         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15294         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15295         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15296         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15297         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15298         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15299         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15300         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15301         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15302         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15304         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15305         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15306         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
15307         before exiting on error.
15308         (__libc_vfork): New strong alias.
15309         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15310         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15312         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15313         that was previously under [RESET_PID].
15314         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15316         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15318 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15320         [BZ #16977]
15321         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15322         value when x - 1 is zero.
15323         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15324         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15325         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15326         0.0L for an argument of 1.0L.
15327         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15328         Likewise.
15329         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15330         value when x - 1 is zero.
15331         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15332         * sysdeps/i386/fpu/libm-test-ulps: Update.
15333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15335 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15337         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15338         alphasort and versionsort.
15340 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15342         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15343         macro.
15344         [copysignf]: Likewise.
15346 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15348         * crypt/md5-crypt.c: Fix formatting.
15350 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15352         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15353         (b64_from_24bit): New function.
15355 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15357         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15358         libc_hidden_builtin_def to ifunc.
15359         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15360         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15362 2014-05-21  Roland McGrath  <roland@hack.frob.com>
15364         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15365         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15367 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
15369         * nscd/Depend (linuxthreads): Remove.
15370         (nptl): Add.
15371         * resolv/Depend (linuxthreads): Remove.
15372         * rt/Depend (linuxthreads): Remove.
15374         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15375         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15376         $(common-objpfx)elf/.
15377         (link-libc-before-gnulib): Likewise.
15378         (elfobjdir): Remove variable.
15379         * Makefile (install): Use $(elf-objpfx) instead of
15380         $(common-objpfx)elf/.
15381         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15382         $(elfobjdir)/.
15383         (link-libc-deps): Likewise.
15384         ($(common-objpfx)libc.so): Likewise.
15385         ($(common-objpfx)linkobj/libc.so): Likewise.
15386         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15387         instead of $(common-objpfx)elf/.
15388         (symbolic-link-list): Likewise.
15389         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15390         [$(cross-compiling) = no]: Likewise.
15391         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15392         $(elfobjdir)/.
15393         (static-gnulib-arch): Likewise.
15394         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15395         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15396         $(common-objpfx)elf/.
15398 2014-05-21  Richard Henderson  <rth@redhat.com>
15400         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15401         (SINGLE_THREAD_P): Use the correct width load.  Fold
15402         into the ldr offset.
15404         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15405         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15407 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
15409         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15410         (libgcc_s_resume): Use __attribute_used__.
15411         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15412         Likewise.
15414 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15416         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15417         optimization when used with float constants.
15419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15421 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
15423         [BZ #16915]
15424         * locale/nl_langinfo_l.c: Make direct reference to every
15425         _nl_current_CATEGORY symbol.
15426         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15427         (tests-static): Add tst-langinfo-static.
15428         (tests-special): Add tst-langinfo-static.out.
15429         ($(objpfx)tst-langinfo.out): Redirect output.
15430         ($(objpfx)tst-langinfo-static.out): New.
15431         * localedata/tst-langinfo.sh: Send output to stdout.
15432         * localedata/tst-langinfo-static.c: New file.
15434         [BZ #16965]
15435         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15436         when the shift amount is modulo the limb size.
15438 2014-05-20  Richard Henderson  <rth@redhat.com>
15440         [BZ #16967]
15441         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15442         Change type of sa_flags from unsigned int to int.
15444         [BZ #16966]
15445         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15447         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15449 2014-05-20  Will Newton  <will.newton@linaro.org>
15451         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15452         Test the return value of the system call in the nocancel case.
15454 2014-05-20  Will Newton  <will.newton@linaro.org>
15455             Yvan Roux  <yvan.roux@linaro.org>
15457         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15458         #include of asm/ptrace.h.
15459         (PTRACE_GET_THREAD_AREA): Remove #undef.
15460         (PTRACE_GETHBPREGS): Likewise.
15461         (PTRACE_SETHBPREGS): Likewise.
15462         (struct user_regs_struct): New structure.
15463         (struct user_fpsimd_struct): New structure.
15464         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15465         #include of asm/ptrace.h and second #include of sys/user.h.
15466         (PTRACE_GET_THREAD_AREA): Remove #undef.
15467         (PTRACE_GETHBPREGS): Likewise.
15468         (PTRACE_SETHBPREGS): Likewise.
15469         (ELF_NGREG): Use new struct user_regs_struct.
15470         (elf_fpregset_t): Use new struct user_fpsimd_struct.
15472 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15474         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15475         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15477 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
15479         [BZ #16958]
15480         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15481         membar to avoid block loads/stores to overlap previous stores.
15483 2014-05-17  Richard Henderson  <rth@redhat.com>
15485         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15486         Create the __##syscall_name##_nocancel entry point.
15487         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15488         Remove; let the sysdep-cancel.h code create it.
15490 2014-05-17  David S. Miller  <davem@davemloft.net>
15492         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15493         Protect with __USE_GNU.
15494         (TIOCSET_TEMPT): Likewise.
15495         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15496         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15497         these are already provided in bits/ioctl-types.h
15499 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15501         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15502         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15504         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15505         Use wait4 regardless of [__NR_waitpid].
15507 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15509         PR libgcc/60166
15510         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15511         (_FP_NANSIGN_Q): Set the quiet bit.
15513 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
15515         * benchtests/Makefile
15516         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15517         not $(common-objpfx)math/libm.so.
15518         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15519         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15520         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15521         $(common-objpfx)dlfcn/libdl.so.
15522         ($(objpfx)tst-audit8): Depend on $(libm), not
15523         $(common-objpfx)math/libm.so.
15524         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15525         not $(common-objpfx)dlfcn/libdl.so.
15526         * math/Makefile
15527         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15528         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
15529         [$(build-shared) = yes].
15530         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15531         $(common-objpfx)nptl/libpthread.so.
15532         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15533         $(common-objpfx)math/libm.so$(libm.so-version) or
15534         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15535         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15536         $(common-objpfx)dlfcn/libdl.so.
15537         * setjmp/Makefile (link-libm): Remove variable.
15538         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15539         * stdio-common/Makefile (link-libm): Remove variable.
15540         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15541         * stdlib/Makefile (link-libm): Remove variable.
15542         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15543         ($(objpfx)tst-strtod-round): Likewise.
15544         ($(objpfx)tst-tininess): Likewise.
15545         ($(objpfx)tst-strtod-underflow): Likewise.
15546         ($(objpfx)tst-strtod6): Likewise.
15547         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15548         $(libdl), not $(common-objpfx)nptl/libpthread.so and
15549         $(common-objpfx)dlfcn/libdl.so.
15551 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15553         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15554         BSD terminal modes definitions.
15556 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15558         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15559         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15561         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15562         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15563         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15564         Don't do #include_next.
15565         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15566         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15567         Don't do #include_next.
15568         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15569         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15570         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15571         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15573 2014-05-16  Allan McRae  <allan@archlinux.org>
15575         * po/sv.po: Update Swedish translation from translation project.
15577         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15578         in sed expression.
15580 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
15582         [BZ #16917]
15583         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15584         errno if the TIOCGPTN ioctl fails with an error different than
15585         EINVAL.
15586         * login/tst-ptsname.c: New file.
15587         * login/Makefile (tests): Add tst-ptsname.
15589         [BZ #16943]
15590         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15591         and prlimit64.
15593 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15595         [BZ #16849]
15596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15597         herrno to return EAI_AGAIN.
15599 2014-05-14  Roland McGrath  <roland@hack.frob.com>
15601         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15602         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15603         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15604         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15605         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15606         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15607         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15608         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15609         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15610         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15611         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15612         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15613         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15614         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15615         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15616         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15617         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15618         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15619         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15620         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15621         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15622         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15623         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15624         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15625         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15626         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15627         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15628         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15629         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15630         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15632         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15634         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15636         Moved ...
15637         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15639         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15641         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15643         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15645         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15647         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15649         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15651         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15653         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15655         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15657         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15659         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15661         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15663         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15665         Moved ...
15666         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15668         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15670         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15672         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15674         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15676         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15678         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15680         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15682         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15684         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15686         Moved ...
15687         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15689         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15691         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15692         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15693         (libpthread-sysdep_routines): Add elision-related stuff here instead.
15694         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15695         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15696         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15697         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15698         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15699         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15700         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15701         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15702         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15703         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15704         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15705         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15706         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15707         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15708         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15709         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15710         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15711         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15712         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15713         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15714         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15715         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15716         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15717         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15718         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15719         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15720         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15721         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15723         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15724         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15726         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15727         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15728         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15729         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15730         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15731         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15732         Moved ...
15733         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15734         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15735         Moved ...
15736         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15737         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15738         Moved ...
15739         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15740         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15741         Moved ...
15742         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15743         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15744         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15745         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15746         Moved ...
15747         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15748         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15749         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15750         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15751         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15752         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15753         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15754         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15755         Moved ...
15756         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15757         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15758         Moved ...
15759         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15760         ... here.
15761         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15762         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15763         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15764         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15765         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15766         Moved ...
15767         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15768         ... here.
15769         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15770         Moved ...
15771         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15772         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15773         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15774         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15775         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15776         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15777         Moved ...
15778         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15779         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15780         Moved ...
15781         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15782         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15783         Moved ...
15784         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15785         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15786         Moved ...
15787         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15788         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15789         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15790         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15791         Moved ...
15792         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15793         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15794         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15795         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15796         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15797         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15798         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15799         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15800         Moved ...
15801         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15802         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15803         Moved ...
15804         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15805         ... here.
15806         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15807         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15808         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15809         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15810         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15811         Moved ...
15812         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15813         ... here.
15814         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15815         Moved ...
15816         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15817         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15818         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15819         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15820         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15821         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15822         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15823         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15824         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15825         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15826         Moved ...
15827         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15828         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15829         Moved ...
15830         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15831         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15832         Moved ...
15833         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15834         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15835         Moved ...
15836         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15837         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15838         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15839         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15840         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15841         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15842         Moved ...
15843         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15844         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15845         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15847         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15848         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15849         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15850         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15851         Moved ...
15852         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15853         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15854         Moved ...
15855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15856         ... here.
15857         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15858         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15859         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15860         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15861         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15862         Moved ...
15863         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15864         ... here.
15865         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15866         Moved ...
15867         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15868         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15869         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15870         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15871         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15872         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15873         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15874         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15875         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15876         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15877         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15879         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15880         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15882         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15883         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15885         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15886         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15887         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15888         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15889         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15890         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15891         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15892         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15893         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15894         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15895         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15896         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15897         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15898         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15899         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15901         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15903         Moved ...
15904         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15905         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15906         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15907         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15908         Moved ...
15909         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15911         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15913         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15915         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15916         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15917         Moved ...
15918         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15920         Moved ...
15921         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15922         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15923         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15925         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15927         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15928         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15929         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15930         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15931         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15932         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15933         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15934         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15935         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15936         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15937         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15939         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15940         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15941         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15942         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15943         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15945         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15946         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15947         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15948         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15949         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15950         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15951         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15952         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15953         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15954         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15959         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15960         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15961         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15962         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15963         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15964         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15965         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15966         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15967         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15968         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15969         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15970         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15971         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15972         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15974         Update #include.
15975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15976         Likewise.
15977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15978         Likewise.
15979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15980         Likewise.
15981         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15982         Likewise.
15983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15984         Likewise.
15985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15986         Likewise.
15987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15988         Likewise.
15989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15990         Likewise.
15991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15992         Likewise.
15993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15994         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15996         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15998         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15999         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16000         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16001         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16002         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16003         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16004         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16005         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16006         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16007         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16009         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16010         that was previously under [RESET_PID].
16011         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16012         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16013         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16015         * sysdeps/i386/nptl/Implies: New file.
16016         * sysdeps/x86_64/nptl/Implies: New file.
16017         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16018         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16019         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16020         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16022         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16023         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16024         (__libc_vfork): New strong alias.
16025         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16026         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16028         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16029         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16030         (__libc_vfork): New strong alias.
16031         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16032         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16034         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16035         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16036         (__libc_vfork): New strong alias.
16037         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16038         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16039         * nptl/pt-vfork.c: New file.
16040         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16041         (libpthread: GLIBC_2.20): New version set (empty).
16043 2014-05-14  Will Newton  <will.newton@linaro.org>
16045         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16046         rather than #if.
16048 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16050         [BZ #16564]
16051         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16052         arguments with exponent 65 or above.
16053         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16054         arguments 0x1p113L or above.
16055         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16056         to arguments 0x1p107L or above.
16057         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16058         positive arguments with exponent 65 or above.
16059         * math/auto-libm-test-in: Add more tests of log1p.
16060         * math/auto-libm-test-out: Regenerated.
16062         [BZ #16928]
16063         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16064         non-finite arguments is +0.
16065         * math/s_cacosf.c (__cacosf): Likewise.
16066         * math/s_cacosl.c (__cacosl): Likewise.
16067         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16068         * sysdeps/i386/fpu/libm-test-ulps: Update.
16069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16071         [BZ #16927]
16072         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16073         value.
16074         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16075         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16076         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16077         for explicit high bit of mantissa when testing for argument equal
16078         to 1.
16079         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16080         * sysdeps/i386/fpu/libm-test-ulps: Update.
16081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16083         [BZ #16516]
16084         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16085         (__erf): Scale by 16 instead of 8 in potentially underflowing
16086         case.  Ensure exception if result actually underflows.
16087         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16088         (__erff): Scale by 16 instead of 8 in potentially underflowing
16089         case.  Ensure exception if result actually underflows.
16090         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16091         (efx8): Remove variable.
16092         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16093         case.  Ensure exception if result actually underflows.
16094         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16095         (efx8): Remove variable.
16096         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16097         case.  Ensure exception if result actually underflows.
16098         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16099         (efx8): Remove variable.
16100         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16101         case.  Ensure exception if result actually underflows.
16102         * math/auto-libm-test-in: Add more tests of erf.
16103         * math/auto-libm-test-out: Regenerated.
16105 2014-05-14  Andreas Schwab  <schwab@suse.de>
16107         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16108         Remove code conditionalized on USE___THREAD.
16110         * config.h.in (HAVE_PT_CHOWN): Define as 0.
16111         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16112         not definedness.
16114 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16116         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16117         Define unconditionally.
16118         (__ASSUME_O_CLOEXEC): Likewise.
16119         (__ASSUME_SOCK_CLOEXEC): Likewise.
16120         (__ASSUME_IN_NONBLOCK): Likewise.
16121         (__ASSUME_PIPE2): Likewise.
16122         (__ASSUME_EVENTFD2): Likewise.
16123         (__ASSUME_SIGNALFD4): Likewise.
16124         (__ASSUME_DUP3): Likewise.
16125         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16126         (__ASSUME_DUP3): Do not define.
16127         (__ASSUME_EVENTFD2): Likewise.
16128         (__ASSUME_IN_NONBLOCK): Likewise.
16129         (__ASSUME_O_CLOEXEC): Likewise.
16130         (__ASSUME_PIPE2): Likewise.
16131         (__ASSUME_SIGNALFD4): Likewise.
16132         (__ASSUME_SOCK_CLOEXEC): Likewise.
16133         (__ASSUME_UTIMES): Undefine.
16134         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16135         (__ASSUME_UTIMES): Do not define.
16136         (__ASSUME_O_CLOEXEC): Likewise.
16137         (__ASSUME_SOCK_CLOEXEC): Likewise.
16138         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16139         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16140         0x020621].
16141         (__ASSUME_PIPE2): Likewise.
16142         (__ASSUME_EVENTFD2): Likewise.
16143         (__ASSUME_SIGNALFD4): Likewise.
16144         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16145         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16146         Do not define.
16147         (__ASSUME_EVENTFD2): Likewise.
16148         (__ASSUME_SIGNALFD4): Likewise.
16149         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16150         (__ASSUME_32BITUIDS): Likewise.
16151         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16152         (__ASSUME_IPC64): Likewise.
16153         (__ASSUME_ST_INO_64_BIT): Likewise.
16154         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16155         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16156         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16157         (__ASSUME_UTIMES): Do not define.
16158         (__ASSUME_PSELECT): Likewise.
16159         (__ASSUME_PPOLL): Likewise.
16160         (__ASSUME_O_CLOEXEC): Likewise.
16161         (__ASSUME_SOCK_CLOEXEC): Likewise.
16162         (__ASSUME_IN_NONBLOCK): Likewise.
16163         (__ASSUME_PIPE2): Likewise.
16164         (__ASSUME_EVENTFD2): Likewise.
16165         (__ASSUME_SIGNALFD4): Likewise.
16166         (__ASSUME_DUP3): Likewise.
16167         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16168         (__ASSUME_UTIMES): Likewise.
16169         (__ASSUME_O_CLOEXEC): Likewise.
16170         (__ASSUME_SOCK_CLOEXEC): Likewise.
16171         (__ASSUME_IN_NONBLOCK): Likewise.
16172         (__ASSUME_PIPE2): Likewise.
16173         (__ASSUME_EVENTFD2): Likewise.
16174         (__ASSUME_SIGNALFD4): Likewise.
16175         (__ASSUME_DUP3): Likewise.
16176         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16177         (__ASSUME_UTIMES): Likewise.
16178         (__ASSUME_O_CLOEXEC): Likewise.
16179         (__ASSUME_SOCK_CLOEXEC): Likewise.
16180         (__ASSUME_IN_NONBLOCK): Likewise.
16181         (__ASSUME_PIPE2): Likewise.
16182         (__ASSUME_EVENTFD2): Likewise.
16183         (__ASSUME_SIGNALFD4): Likewise.
16184         (__ASSUME_DUP3): Likewise.
16185         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16186         Likewise.
16187         (__ASSUME_UTIMES): Likewise.
16188         (__ASSUME_EVENTFD2): Likewise.
16189         (__ASSUME_SIGNALFD4): Likewise.
16190         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16191         (__ASSUME_O_CLOEXEC): Likewise.
16192         (__ASSUME_SOCK_CLOEXEC): Likewise.
16193         (__ASSUME_IN_NONBLOCK): Likewise.
16194         (__ASSUME_PIPE2): Likewise.
16195         (__ASSUME_EVENTFD2): Likewise.
16196         (__ASSUME_SIGNALFD4): Likewise.
16197         (__ASSUME_DUP3): Likewise.
16198         (__ASSUME_UTIMES): Undefine.
16200         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16201         feclearexcept.  Remove symbol versioning code.
16202         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
16203         symbol versioning code.
16204         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
16205         symbol versioning code.
16206         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16207         feupdateenv.  Remove symbol versioning code.
16208         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16209         fegetexceptflag.  Remove symbol versioning code.
16210         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16211         fesetexceptflag.  Remove symbol versioning code.
16212         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16213         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
16214         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16215         (__posix_fadvise64_l32): Remove prototype.
16216         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16217         code.
16219 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16221         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16222         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16223         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16224         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16226 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
16228         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16229         current working directory
16231 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16233         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16234         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16235         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16236         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16237         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16238         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16239         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16240         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16241         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16242         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16243         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16244         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16245         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16246         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16247         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16248         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16249         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16250         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16251         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16252         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16253         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16254         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16255         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16256         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16257         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16258         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16259         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16260         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16261         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16262         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16263         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16264         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16265         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16266         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16267         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16268         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16269         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16270         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16271         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16272         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16273         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16274         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16276         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16277         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16279         * sysdeps/unix/sysv/linux/arm/Makefile
16280         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16281         Add rt-aeabi_unwind_cpp_pr1.
16282         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16283         Add nptl-aeabi_unwind_cpp_pr1.
16284         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16285         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16286         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16287         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16288         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16289         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16291         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16292         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16293         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16294         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16296         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16297         Deconditionalize the code that was previously under [RESET_PID].
16298         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16300         * sysdeps/generic/exit-thread.h: New file.
16301         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16302         * include/unistd.h (__exit_thread): Remove declaration.
16303         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16304         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16305         * csu/libc-start.c: Include <exit-thread.h>.
16306         (LIBC_START_MAIN): Pass no argument to __exit_thread.
16307         * nptl/pthread_create.c: Include <exit-thread.h>.
16308         (start_thread): Call __exit_thread in place of __exit_thread_inline.
16309         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16310         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16311         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16312         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16313         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16314         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16315         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16316         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16317         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16318         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16319         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16320         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16321         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16322         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16323         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16324         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16326 2014-05-13  Andreas Schwab  <schwab@suse.de>
16328         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16330 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
16332         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16333         (__ASSUME_UTIMES): Do not condition on kernel version.
16334         (__ASSUME_PSELECT): Define unconditionally.
16335         (__ASSUME_PPOLL): Likewise.
16336         (__ASSUME_ATFCTS): Likewise.
16337         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16338         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16339         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16340         (__ASSUME_UTIMENSAT): Define unconditionally.
16341         (__ASSUME_PRIVATE_FUTEX): Likewise.
16342         (__ASSUME_FALLOCATE): Likewise.
16343         (__ASSUME_O_CLOEXEC): Likewise.
16344         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16345         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16346         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16347         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16348         (__ASSUME_IN_NONBLOCK): Likewise.
16349         (__ASSUME_PIPE2): Likewise.
16350         (__ASSUME_EVENTFD2): Likewise.
16351         (__ASSUME_SIGNALFD4): Likewise.
16352         (__ASSUME_DUP3): Likewise.
16353         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16354         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16355         (__ASSUME_AT_RANDOM): Likewise.
16356         (__ASSUME_PREADV): Likewise.
16357         (__ASSUME_PWRITEV): Likewise.
16358         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16359         (__ASSUME_F_GETOWN_EX): Define unconditionally.
16360         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16361         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16362         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16363         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16364         (__ASSUME_O_CLOEXEC): Define unconditionally.
16365         (__ASSUME_PSELECT): Do not undefine conditionally.
16366         (__ASSUME_PPOLL): Likewise.
16367         (__ASSUME_ATFCTS): Likewise.
16368         (__ASSUME_SET_ROBUST_LIST): Likewise.
16369         (__ASSUME_UTIMENSAT): Likewise.
16370         (__ASSUME_FDATASYNC): Define unconditionally.
16371         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16372         (__ASSUME_SIGFRAME_V2): Likewise.
16373         )__ASSUME_EVENTFD2): Likewise.
16374         (__ASSUME_SIGNALFD4): Likewise.
16375         (__ASSUME_PSELECT): Do not undefine conditionally.
16376         (__ASSUME_PPOLL): Likewise.
16377         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16378         (__ASSUME_PSELECT): Define unconditionally.
16379         (__ASSUME_PPOLL): Likewise.
16380         (__ASSUME_O_CLOEXEC): Likewise.
16381         (__ASSUME_SOCK_CLOEXEC): Likewise.
16382         (__ASSUME_IN_NONBLOCK): Likewise.
16383         (__ASSUME_PIPE2): Likewise.
16384         (__ASSUME_EVENTFD2): Likewise.
16385         (__ASSUME_SIGNALFD4): Likewise.
16386         (__ASSUME_DUP3): Likewise.
16387         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16388         (__ASSUME_O_CLOEXEC): Likewise.
16389         (__ASSUME_SOCK_CLOEXEC): Likewise.
16390         (__ASSUME_IN_NONBLOCK): Likewise.
16391         (__ASSUME_PIPE2): Likewise.
16392         (__ASSUME_EVENTFD2): Likewise.
16393         (__ASSUME_SIGNALFD4): Likewise.
16394         (__ASSUME_DUP3): Likewise.
16395         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16396         (__ASSUME_EVENTFD2): Likewise.
16397         (__ASSUME_SIGNALFD4): Likewise.
16398         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16400 2014-05-12  Andreas Schwab  <schwab@suse.de>
16402         [BZ #16932]
16403         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16404         (_nss_nis_gethostbyname4_r): Return error if item length is larger
16405         than maximum RPC packet size.
16406         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16407         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16408         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16409         (_nss_nis_getservbyport_r): Likewise.
16411 2014-05-12  Will Newton  <will.newton@linaro.org>
16413         * malloc/Makefile (tests): Add tst-mallopt.
16414         * malloc/tst-mallopt.c: New file.
16416 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16418         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16419         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16421 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16423         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16424         (tst-tlsmod6.so): Likewise.
16426 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16428         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16430 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
16432         [BZ #16064]
16433         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16434         and <dl-procinfo.h>.
16435         (__fegetenv): Save SSE state in envp->__eip if supported.
16436         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16437         envp->__eip if supported.
16438         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16439         and <dl-procinfo.h>.
16440         (__fesetenv): Always set __eip, __cs_selector, __opcode,
16441         __data_offset and __data_selector in environment to 0.  Set SSE
16442         state if supported.
16443         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16444         test-fenv-sse.
16445         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16446         -mfpmath=sse.
16447         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16449 2014-05-09  Will Newton  <will.newton@linaro.org>
16451         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16452         and libc_relro_required for ARM.
16453         * sysdeps/arm/preconfigure: Regenerate.
16455 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
16456             Stefan Liebler  <stli@linux.vnet.ibm.com>
16458         * config.make.in (enable-lock-elision): New Makefile variable.
16459         * configure.ac: Likewise.
16460         * configure: Regenerate.
16461         * sysdeps/s390/configure.ac:
16462         Add check for gcc transactions support.
16463         * sysdeps/s390/configure: Regenerate.
16464         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16465         Build elision files if enabled.
16466         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16467         Add lock elision support for s390.
16468         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16469         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16470         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16471         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16472         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16473         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16474         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16475         Likewise.
16476         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16477         Likewise.
16478         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16479         Likewise.
16480         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16481         Likewise.
16482         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16483         (__lll_timedlock_elision, __lll_lock_elision)
16484         (__lll_unlock_elision, __lll_trylock_elision)
16485         (lll_timedlock_elision, lll_lock_elision)
16486         (lll_unlock_elision, lll_trylock_elision): Add.
16487         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16488         (pthread_mutex_t): Add lock elision support for s390.
16490 2014-05-14  Wilco  <wdijkstr@arm.com>
16492         * sysdeps/arm/fclrexcpt.c: Cleanup.
16493         * sysdeps/arm/fedisblxcpt.c: Cleanup.
16494         * sysdeps/arm/feenablxcpt.c: Cleanup.
16495         * sysdeps/arm/fegetenv.c: Cleanup.
16496         * sysdeps/arm/fegetexcept.c: Cleanup.
16497         * sysdeps/arm/fegetround.c: Cleanup.
16498         * sysdeps/arm/feholdexcpt.c: Cleanup.
16499         * sysdeps/arm/fesetenv.c: Cleanup.
16500         * sysdeps/arm/fesetround.c: Cleanup.
16501         * sysdeps/arm/feupdateenv.c: Cleanup.
16502         * sysdeps/arm/fgetexcptflg.c: Cleanup.
16503         * sysdeps/arm/fraiseexcpt.c: Cleanup.
16504         * sysdeps/arm/fsetexcptflg.c: Cleanup.
16505         * sysdeps/arm/ftestexcept.c: Cleanup.
16506         * sysdeps/arm/get-rounding-mode.h: Cleanup.
16507         * sysdeps/arm/setfpucw.c: Cleanup.
16509 2014-05-09  Will Newton  <will.newton@linaro.org>
16511         * sysdeps/arm/armv7/strcmp.S: New file.
16512         * NEWS: Mention addition of ARMv7 optimized strcmp.
16514 2014-05-08  Roland McGrath  <roland@hack.frob.com>
16516         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16517         look for %.ac rather than %.in.
16519         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16520         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16521         * sysdeps/mach/hurd/configure: Regenerated.
16522         * sysdeps/unix/sysv/linux/configure: Regenerated.
16524         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16526 2014-05-07  Steve Ellcey  <sellcey@mips.com>
16528         [BZ# 16922]
16529         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16530         (LONG_SUB): Ditto.
16531         (PTR_SUB): Ditto.
16533 2014-05-07  Andreas Schwab  <schwab@suse.de>
16535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16536         when skipping over non-matching result from nscd.
16538 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
16540         [BZ #16876]
16541         * nptl/sockperf.c (client): Check socket return value.
16543         [BZ #16877]
16544         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16545         nscd security class.
16547 2014-05-06  Roland McGrath  <roland@hack.frob.com>
16549         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16550         * sysdeps/arm/unwind.h: ... here.
16552 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
16554         [BZ# 16916]
16555         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16556         Define.
16558 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16560         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16561         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16562         multiarch strncpy for PPC64.
16563         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16564         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16566         multiarch optimizations.
16567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16568         (__libc_ifunc_impl_list): Likewise.
16569         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16570         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16571         multiarch stpncpy for PPC64.
16572         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16573         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16575 2014-05-06  Andreas Schwab  <schwab@suse.de>
16577         [BZ #16912]
16578         * gmon/mcount.c (_MCOUNT_DECL): Use
16579         atomic_compare_and_exchange_bool_acq instead of
16580         catomic_compare_and_exchange_bool_acq.
16582 2014-05-05  Roland McGrath  <roland@hack.frob.com>
16584         * elf/Makefile (others, install-bin): Remove pldd.
16585         (pldd-modules): Variable removed.
16586         ($(objpfx)pldd): Target removed.
16587         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16588         (others, install-bin): Append pldd here.
16589         ($(objpfx)pldd): New target.
16591         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16592         to 0, so the first #if test emitted later doesn't see it undefined.
16593         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16594         * sysdeps/gnu/errlist.c: Regenerated.
16596 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16598         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16599         [libc_hidden_builtin_def]: Define to empty value.
16600         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16601         [libc_hidden_builtin_def]: Likewise.
16602         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16603         [libc_hidden_builtin_def]: Likewise.
16604         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16605         [libc_hidden_builtin_def]: Likewise.
16606         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16607         __redirect_memcpy and define ifunc as default hidden symbol.
16608         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16609         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16611 2014-05-04  Adam Conrad  <adconrad@0c3.net>
16613         * locale/iso-4217.def: Reintroduce XDR currency.
16615 2014-05-04  Allan McRae  <allan@archlinux.org>
16617         * po/eo.po: Update Esperanto translation from translation project.
16619 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
16621         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16622         and FEATURE_INDEX_MAX to 1.
16623         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16625 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16627         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16628         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16629         * iconvdata/big5.c (ONE_DIRECTION): Define.
16630         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16631         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16632         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16633         * iconvdata/cp932.c (ONE_DIRECTION): Define.
16634         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16635         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16636         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16637         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16638         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16639         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16640         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16641         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16642         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16643         * iconvdata/gbk.c (ONE_DIRECTION): Define.
16644         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16645         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16646         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16647         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16648         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16649         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16650         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16651         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16652         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16653         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16654         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16655         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16656         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16657         * iconvdata/iso646.c (ONE_DIRECTION): Define.
16658         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16659         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16660         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16661         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16662         * iconvdata/johab.c (ONE_DIRECTION): Define.
16663         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16664         * iconvdata/sjis.c (ONE_DIRECTION): Define.
16665         * iconvdata/t.61.c (ONE_DIRECTION): Define.
16666         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16667         * iconvdata/tscii.c (ONE_DIRECTION): Define.
16668         * iconvdata/uhc.c (ONE_DIRECTION): Define.
16669         * iconvdata/unicode.c (ONE_DIRECTION): Define.
16670         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16671         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16672         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16674 2014-05-01  Roland McGrath  <roland@hack.frob.com>
16676         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16677         (_IO_JUMPS_OFFSET): Define to 0.
16679         * nptl/sysdeps/pthread/bits/libc-lock.h
16680         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16681         (__libc_lock_define_initialized_recursive): Always define using
16682         initializer.  Modern compilers treat uninitialized (implicit zero) and
16683         explicit zero initializers the same (i.e. put the datum in bss).
16685 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16687         * nscd/nscd-client.h: Include <string.h>.
16689 2014-05-01  David S. Miller  <davem@davemloft.net>
16691         [BZ #16885]
16692         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16693         multiple zero bytes exist at the end of a string.
16694         Reported by Aurelien Jarno <aurelien@aurel32.net>
16696         * string/test-strcmp.c (check): Add explicit test for situations where
16697         there are multiple zero bytes after the first.
16699 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16701         [BZ #16890]
16702         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16703         when compiling wprintf.
16704         * stdio-common/tstdiomisc.c (t3): New function.
16705         (main): Call it.
16707 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16709         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16710         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16711         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16712         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16714 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16716         * stdlib/longlong.h: Updated from GCC.
16718 2014-05-01  Will Newton  <will.newton@linaro.org>
16719             Bernard Ogden  <bernie.ogden@linaro.org>
16721         * NEWS: Update fixed bug list.
16723         [BZ #15119]
16724         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16726 2014-04-30  David S. Miller  <davem@davemloft.net>
16728         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16729         (libc_feholdexcept_setround_sparc_ctx): New function.
16730         (libc_fesetenv_sparc_ctx): Likewise.
16731         (libc_feupdateenv_sparc_ctx): Likewise.
16732         (libc_feholdsetround_sparc_ctx): Likewise.
16733         (libc_feholdexcept_setround_ctx): Define.
16734         (libc_feholdexcept_setroundf_ctx): Likewise.
16735         (libc_feholdexcept_setroundl_ctx): Likewise.
16736         (libc_fesetenv_ctx): Likewise.
16737         (libc_fesetenvf_ctx): Likewise.
16738         (libc_fesetenvl_ctx): Likewise.
16739         (libc_feupdateenv_ctx): Likewise.
16740         (libc_feupdateenvf_ctx): Likewise.
16741         (libc_feupdateenvl_ctx): Likewise.
16742         (libc_feresetround_ctx): Likewise.
16743         (libc_feresetroundf_ctx): Likewise.
16744         (libc_feresetroundl_ctx): Likewise.
16745         (libc_feholdsetround_ctx): Likewise.
16746         (libc_feholdsetroundf_ctx): Likewise.
16747         (libc_feholdsetroundl_ctx): Likewise.
16749         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16750         with __USE_GNU instead of XOPEN cpp guards.
16752         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16753         0.
16755         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16756         with XOPEN cpp guards.
16758 2014-04-30  Julian Brown  <julian@codesourcery.com>
16760         [BZ #16888]
16761         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16762         handling.
16764 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
16766         [BZ #9894]
16767         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16768         Change to 2.6.32.
16769         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16770         * sysdeps/unix/sysv/linux/configure: Regenerated.
16771         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16772         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16773         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16774         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16775         * README: Update reference to required Linux kernel version.
16776         * manual/install.texi (Linux): Update reference to required Linux
16777         kernel headers version.
16778         * INSTALL: Regenerated.
16780         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16781         header inclusion.
16782         [POSIX] (limits.h): Likewise.
16783         [POSIX] (math.h): Likewise.
16784         [POSIX] (sys/wait.h): Likewise.
16785         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16786         function.
16787         [POSIX] (stddef.h): Do not allow header inclusion.
16789 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16791         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16793 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
16795         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16796         Return immediately after lll_futex_wake.
16798 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16800         [BZ #16791]
16801         * nscd/nscd-client.h (datahead_init_common): Initialize entire
16802         structure.
16803         (datahead_init_pos): Call datahead_init_common early.
16804         (datahead_init_neg): Likewise.
16806         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16807         datahead_init_neg): New functions.
16808         * nscd/aicache.c (addhstaiX): Use them.
16809         * nscd/grpcache.c (cache_addgr): Likewise.
16810         * nscd/hstcache.c (cache_addhst): Likewise.
16811         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16812         * nscd/netgroupcache.c (do_notfound): Likewise.
16813         (addgetnetgrentX): Likewise.
16814         (addinnetgrX): Likewise.
16815         * nscd/pwdcache.c (cache_addpw): Likewise.
16816         * nscd/servicescache.c (cache_addserv): Likewise.
16818 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16819             Atsushi Onoe  <atsushi@onoe.org>
16821         [BZ #14308]
16822         [BZ #12994]
16823         [BZ #13651]
16824         * resolv/res_query.c (__libc_res_nsearch): Return if at least
16825         one response is valid.
16826         * resolv/res_send.c (send_dg): Check for validity of other
16827         response if the current response is a referral.
16829 2014-04-29  Steve Ellcey  <sellcey@mips.com>
16831         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16833 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
16835         [BZ #16823]
16836         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16837         Always divide by positive zero when computing -Inf result.
16838         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16839         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16841 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16843         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16844         FPSCR if value do not change.
16845         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16846         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16847         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16848         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16849         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16850         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16851         function.
16853 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
16855         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16856         * sysdeps/unix/sysv/linux/hppa: Move directory from
16857         ports/systeps/unix/sysv/linux/hppa.
16858         * README: Update listing for hppa-*-linux-gnu.
16860 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
16862         [BZ #16754]
16863         * manual/stdio.texi (Hook functions): Fix types of stream hook
16864         functions.
16865         [BZ #16854]
16866         * socket/sys/socket.h: Fix typo in comment.
16868 2014-04-28  Wilco  <wdijkstr@arm.com>
16870         * sysdeps/arm/fenv_private.h: New file.
16871         * sysdeps/arm/math_private.h: New file.
16872         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16874 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
16876         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16877         with __int128_t.
16878         (La_x86_64_retval): Likewise.
16880 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
16882         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16883         fpsr if value didn't change.
16884         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16885         to fpcr if value didn't change.
16886         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16887         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16888         fpsr or fpcr if value didn't change.
16889         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16890         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16891         fpcr if value didn't change.
16892         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16893         to fpsr if value didn't change.
16895 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16897         * nptl/tst-sem3.c: Use test-skeleton.c
16898         (main): Rename to do_test.  Use return instead of
16899         exit.
16900         * nptl/tst-sem4.c: Use test-skeleton.c
16901         (main): Rename to do_test.
16903 2014-04-22  David S. Miller  <davem@davemloft.net>
16905         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16906         (struct sigaction): New struct member __glibc_reserved0, change
16907         type of sa_flags to int.
16909 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
16911         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16912         (COUNT_LEADING_ZEROS_0): Define for AArch64.
16914 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16916         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16917         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16919 2014-04-22  Will Newton  <will.newton@linaro.org>
16920             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
16922         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16923         (__longjmp): Add longjmp and longjmp_target SystemTap
16924         probes.
16925         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16926         (__sigsetjmp): Add setjmp SystemTap probe.
16928 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
16930         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16931         match manual order.
16933 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16935         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16937         * sysdeps/powerpc/fpu/fenv_private.h
16938         (libc_feholdexcept_setroundl_ctx): Define to
16939         libc_feholdexcept_setround_ppc_ctx.
16940         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16941         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16942         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16943         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16945 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16947         * sysdeps/aarch64/math-tests.h: New file.
16949 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
16951         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16952         New.
16953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16954         Check and set bit_AVX2_Usable.
16955         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16956         macro.
16957         (bit_AVX2): Likewise.
16958         (index_AVX2_Usable): Likewise.
16959         (CPUID_AVX2): Likewise.
16960         (HAS_AVX2): Likewise.
16962 2014-04-17  Will Newton  <will.newton@linaro.org>
16964         * manual/setjmp.texi (System V contexts): Add note that
16965         calling setcontext on a context created by a call to a
16966         signal handler is undefined.  Update text to note that
16967         setcontext from a signal handler is possible but not
16968         recommended.
16970         [BZ #16629]
16971         * stdlib/tst-setcontext.c: Include signal.h.
16972         (main): Check that the signal stack before and
16973         after swapcontext is the same.
16975         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16976         Re-implement to restore registers in user code and avoid
16977         rt_sigreturn system call.
16979 2014-04-17  Wilco  <wdijkstr@arm.com>
16981         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16982         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16983         * math/test-fenv.c: Skip exception trap tests on targets which only
16984         support non-stop mode.
16986 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16987             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16989         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16990         (libc_feholdsetround_aarch64_ctx)
16991         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16992         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16993         (libc_feresetround_ctx, libc_feresetroundf_ctx)
16994         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16995         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16996         (libc_feresetround_noexl_ctx): Define.
16998 2014-04-16  Richard Henderson  <rth@redhat.com>
17000         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17002         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17003         unwind tables.
17005         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17006         const from the non-libc, non-ldso copy.
17008         * sysdeps/alpha/libm-test-ulps: Regenerate.
17010 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17011             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17013         * sysdeps/aarch64/fpu/math_private.h: New file.
17015 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17017         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17019 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17021         [BZ #16275]
17022         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17023         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17024         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17025         Intel MPX bound registers before _dl_profile_fixup.
17026         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17027         registers after _dl_profile_fixup.  Save and restore bound
17028         registers bnd0/bnd1 when calling _dl_call_pltexit.
17029         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17030         (LR_BND_OFFSET): Likewise.
17031         (LRV_BND0_OFFSET): Likewise.
17032         (LRV_BND1_OFFSET): Likewise.
17034 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17036         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17037         to...
17038         * sysdeps/mach/hurd/i386/tls.h: ... here.
17039         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17040         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17041         fields.
17043 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17045         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17047 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17049         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17051 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17053         [BZ #14770]
17054         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17055         * sysdeps/s390/configure: Regenerate.
17057         [BZ #16824]
17058         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17059         Set round-to-nearest internally to reduce error accumulation.
17061 2014-04-16  Alan Modra  <amodra@gmail.com>
17063         [BZ #16740]
17064         [BZ #16619]
17065         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17066         * math/libm-test.inc (frexp_test_data): Add tests.
17067         * NEWS: Update fixed bug list.
17069 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17071         * benchtests/Makefile: Depend on libraries in build directory.
17072         (bench-math): Separate out math tests.
17073         (bench-pthread): Separate out pthread tests.
17074         (bench): Include math and pthread tests.
17076 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
17078         [BZ #16831]
17079         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17080         _dl_debug_initialize.
17082         * configure.ac: Remove SELinux header check.
17083         * configure: Regenerate.
17084         * nscd/selinux.c (perms): Array of const char* to permission names.
17085         (nscd_request_avc_has_perm): Call security_deny_unknown to find
17086         default policy. Call string_to_security_class and string_to_av_perm to
17087         translate strings. Enforce default policy and call avs_has_perm with
17088         results of translated strings.
17090 2014-04-13  David S. Miller  <davem@davemloft.net>
17092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17094 2014-04-12  Allan McRae  <allan@archlinux.org>
17096         [BZ #16838]
17097         * manual/string.texi (Collation Functions): Fix qsort argument
17098         order in example.
17099         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17101 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
17103         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17104         Make the test a no-op if there are no exceptions defined.
17106 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17108         * elf/Makefile (tests): make tst-dlopen-aout conditional on
17109         enable-hardcoded-path-in-tests
17111 2014-04-11  Will Newton  <will.newton@linaro.org>
17113         * benchtests/Makefile (extra-objs): Add json-lib.o.
17114         (bench-func): Tidy up JSON output.
17115         * benchtests/bench-skeleton.c: Include json-lib.h.
17116         (main): Use JSON library functions to do output of
17117         benchmark results.
17118         * benchtests/bench-timing-type.c (main): Output the
17119         timing type simply, leaving formatting to the user.
17120         * benchtests/json-lib.c: New file.
17121         * benchtests/json-lib.h: Likewise.
17123 2014-04-11  Torvald Riegel  <triegel@redhat.com>
17125         [BZ #15215]
17126         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17127         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
17128         memory barriers.  Add comments.
17129         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17130         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17131         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17132         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17133         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17134         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17136 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17138         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17139         * sysdeps/s390/s390-64/configure.ac: ... this ...
17140         * sysdeps/s390/configure.ac: ... to here.
17141         * sysdeps/s390/s390-32/configure: Delete file.
17142         * sysdeps/s390/s390-64/configure: Delete file.
17143         * sysdeps/s390/configure: Regenerate.
17145 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
17147         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17149 2014-04-11  Will Newton  <will.newton@linaro.org>
17151         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17152         to zero if it is not defined elsewhere.  (mtrim): Test
17153         the value of MALLOC_DEBUG with #if rather than #ifdef.
17155 2014-04-10 Torvald Riegel  <triegel@redhat.com>
17157         * benchtests/pthread_once-inputs: New file.
17158         * benchtests/pthread_once-source.c: New file.
17159         * benchtests/README: Update documentation.
17161 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17162             H.J. Lu  <hongjiu.lu@intel.com>
17164         [BZ #16275]
17165         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17166         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17167         * sysdeps/x86_64/configure: Regenerated.
17168         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17169         macro.
17170         (REGISTER_SAVE_RAX): Likewise.
17171         (REGISTER_SAVE_RCX): Likewise.
17172         (REGISTER_SAVE_RDX): Likewise.
17173         (REGISTER_SAVE_RSI): Likewise.
17174         (REGISTER_SAVE_RDI): Likewise.
17175         (REGISTER_SAVE_R8): Likewise.
17176         (REGISTER_SAVE_R9): Likewise.
17177         (REGISTER_SAVE_BND0): Likewise.
17178         (REGISTER_SAVE_BND1): Likewise.
17179         (REGISTER_SAVE_BND2): Likewise.
17180         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
17181         bound registers when calling _dl_fixup.
17183 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17185         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17186         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17187         of its definition.
17188         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17189         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17190         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17191         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17192         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17193         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17194         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17196 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
17198         [BZ #15514]
17199         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17200         pathconf(_PC_NAME_MAX).
17202 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17204         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17205         Remove macro usage.
17206         (__PTHREAD_SPINS): Move definition to ...
17207         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17208         (__PTHREAD_SPINS): ... here.
17209         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17210         (__PTHREAD_SPIN): Likewise.
17211         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17212         (__PTHREAD_SPIN): Likewise.
17213         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17214         (__PTHREAD_SPIN): Likewise.
17215         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17216         (__PTHREAD_SPIN): Likewise.
17217         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17218         (__PTHREAD_SPIN): Likewise.
17219         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17220         (__PTHREAD_SPIN): Likewise.
17221         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17222         (__PTHREAD_SPIN): Likewise.
17223         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17224         (__PTHREAD_SPIN): Likewise.
17225         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17226         (__PTHREAD_SPIN): Likewise.
17227         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17228         (__PTHREAD_SPIN): Likewise.
17229         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17230         (__PTHREAD_SPIN): Likewise.
17231         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17232         (__PTHREAD_SPIN): Likewise.
17234         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17235         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17236         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17237         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17238         imply folder.
17239         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17240         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17241         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17242         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17243         correct imply path.
17244         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17245         strlen symbol for non multi-arch builds.
17246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17247         missing hidden_def and weak_alias.
17249 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
17251         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17253 2014-04-07  Will Newton  <will.newton@linaro.org>
17255         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17256         and contents.  [!_LIBC] Remove #ifndef and contents.
17257         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
17258         * string/memccpy.c (__memccpy): Use ANSI prototype.
17259         * string/memfrob.c (memfrob): Likewise.
17260         * string/strcoll.c (STRCOLL): Likewise.
17261         * string/strlen.c (strlen): Likewise.
17262         * string/strtok.c (STRTOK): Likewise.
17263         * string/strcat.c: Remove unused #include of memcopy.h.
17264         (strcat): Use ANSI prototype.
17265         * string/strchr.c: Remove unused #include of memcopy.h.
17266         (strchr): Use ANSI prototype.
17267         * string/strcmp.c: Remove unused #include of memcopy.h.
17268         (strcmp): Use ANSI prototype.
17269         * string/strcpy.c: Remove unused #include of memcopy.h.
17270         (strcpy): Use ANSI prototype.
17272 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17274         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17275         * config.make.in (config-extra-cppflags): Set it from
17276         libc_extra_cppflags.
17277         * configure.ac (libc_extra_cflags): Make it accumulate over
17278         configure fragments.
17279         (libc_extra_cppflags): New flag.
17280         * configure. Regenerate.
17281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17282         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17283         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17286         [BZ #16815]
17287         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17288         result for FE_DOWNWARD rounding mode.
17289         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17290         Likewise.
17291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17293 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
17295         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17296         in function argument name.
17298 2014-04-03  David Svoboda  <svoboda@cert.org>
17300         [BZ #5666]
17301         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17302         explicitly.
17304 2014-04-03  Roland McGrath  <roland@hack.frob.com>
17306         * elf/dl-unmap-segments.h: New file.
17307         * sysdeps/generic/ldsodefs.h
17308         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17309         * elf/dl-close.c: Include <dl-unmap-segments.h>.
17310         * elf/dl-fptr.c: Likewise.
17311         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17312         * sysdeps/aarch64/tlsdesc.c: Likewise.
17313         * sysdeps/arm/tlsdesc.c: Likewise.
17314         * sysdeps/i386/tlsdesc.c: Likewise.
17315         * sysdeps/tile/dl-runtime.c: Likewise.
17316         * sysdeps/x86_64/tlsdesc.c: Likewise.
17317         * elf/dl-load.h: New file.
17318         * elf/dl-load.c: Include it.
17319         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17320         Macros moved to dl-load.h.
17321         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17322         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17323         Use _dl_unmap_segments in place of __munmap.
17324         Break out segment-mapping loop into ...
17325         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17327 2014-04-03  Will Newton  <will.newton@linaro.org>
17329         * elf/dl-lookup.c (do_lookup_x): Remove comment
17330         referring to nested function and move variable
17331         declarations down to before first use.
17333 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
17335         [BZ #16799]
17336         [BZ #16800]
17337         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17338         with 0 numerator.
17339         * math/s_catanf.c (__catanf): Likewise.
17340         * math/s_catanh.c (__catanh): Likewise.
17341         * math/s_catanhf.c (__catanhf): Likewise.
17342         * math/s_catanhl.c (__catanhl): Likewise.
17343         * math/s_catanl.c (__catanl): Likewise.
17344         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17345         by positive zero when computing -Inf result.
17346         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17347         (catanh_test): Likewise.
17348         * sysdeps/i386/fpu/libm-test-ulps: Update.
17349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17351         [BZ #16789]
17352         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17353         instead of using underflowing value in computing result.
17354         * math/s_clog10.c (__clog10): Likewise.
17355         * math/s_clog10f.c (__clog10f): Likewise.
17356         * math/s_clog10l.c (__clog10l): Likewise.
17357         * math/s_clogf.c (__clogf): Likewise.
17358         * math/s_clogl.c (__clogl): Likewise.
17359         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17360         (clog10_test): Likewise.
17361         * sysdeps/i386/fpu/libm-test-ulps: Update.
17362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17364 2014-04-02  Alan Modra  <amodra@gmail.com>
17366         [BZ #16739]
17367         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17368         output when value is near a power of two.  Use int64_t for lx and
17369         remove casts.  Use decimal rather than hex exponent constants.
17370         Don't use long double multiplication when double will suffice.
17371         * math/libm-test.inc (nextafter_test_data): Add tests.
17372         * NEWS: Add 16739 and 16786 to bug list.
17374         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17376         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17378 2014-04-01  Will Newton  <will.newton@linaro.org>
17380         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17381         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
17383 2014-04-01  Florian Weimer  <fweimer@redhat.com>
17385         [BZ #13347]
17386         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17387         * nptl/tst-setuid2.c: New file.
17388         * nptl/Makefile (xtests): Add tst-setuid2.
17390 2014-04-01  Alan Modra  <amodra@gmail.com>
17392         [BZ #16786]
17393         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17395 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17397         [BZ #6803]
17398         [BZ #6804]
17399         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17400         set errno as appropriate.
17401         * math/w_scalbf.c (__scalbf): Likewise.
17402         * math/w_scalbl.c (__scalbl): Likewise.
17403         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17404         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17405         * math/libm-test.inc (scalb_test_data): Add errno expectations.
17406         Add more NaN tests.
17408         [BZ #16349]
17409         * math/w_atan2.c: Include <errno.h>.
17410         (__atan2): Set errno for result underflowing to zero.
17411         * math/w_atan2f.c: Include <errno.h>.
17412         (__atan2f): Set errno for result underflowing to zero.
17413         * math/w_atan2l.c: Include <errno.h>.
17414         (__atan2l): Set errno for result underflowing to zero.
17415         * math/auto-libm-test-in: Don't allow missing errno for some atan2
17416         tests.
17417         * math/auto-libm-test-out: Regenerated.
17419 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17421         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17422         Encode instruction correctly in little endian.
17423         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17424         Likewise.
17425         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17426         Likewise.
17427         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17428         Likewise.
17429         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17430         Likewise.
17432 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17434         [BZ #9894]
17435         * sysdeps/unix/sysv/linux/kernel-features.h
17436         [__sparc__ && !__arch64__ && !__sparc_v9__]
17437         (__ASSUME_SET_ROBUST_LIST): Do not define.
17438         [__sparc__ && !__arch64__ && !__sparc_v9__]
17439         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17440         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17441         Likewise.
17442         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17443         (__ASSUME_FUTEX_LOCK_PI): Undefine.
17444         (__ASSUME_REQUEUE_PI): Likewise.
17445         (__ASSUME_SET_ROBUST_LIST): Likewise.
17446         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17447         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17448         Undefine.
17449         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17450         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17451         Likewise.
17452         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17453         Likewise.
17454         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17455         Likewise.
17456         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17457         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17458         Undefine.
17459         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17460         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17461         Likewise.
17463         [BZ #16648]
17464         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17465         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17466         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17468 2014-03-31  Will Newton  <will.newton@linaro.org>
17470         * benchtests/Makefile (bench): Add ffs and ffsll to list
17471         of tests.
17472         * benchtests/ffs-inputs: New file.
17473         * benchtests/ffsll-inputs: Likewise.
17475 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
17477         [BZ #16770]
17478         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17479         too large before casting to int.
17480         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17481         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17482         * math/libm-test.inc (scalb_test_data): Add more tests.
17484 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17486         * benchtests/Makefile (DETAILED_OPT): New make option.
17487         (bench-func): Run benchmark program with -d if DETAILED_OPT is
17488         set.
17489         * benchtests/bench-skeleton.c: Include stdbool.h.
17490         (main): Store and print timings per input.
17491         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17492         member to each argument value.
17493         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17494         (_print_arg_data): Initialize per-input timing to 0.
17496         * benchtests/Makefile (timing-type): New binary.
17497         (bench-clean): Also remove bench-timing-type.
17498         (bench): New target for timing-type.
17499         (bench-func): Print output in JSON format.
17500         * benchtests/bench-skeleton.c (main): Print output in JSON
17501         format.
17502         * benchtests/bench-timing-type.c: New file.
17503         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17504         (TIMING_PRINT_STATS): Remove.
17505         * benchtests/scripts/bench.py (_print_arg_data): Store variant
17506         name separately.
17508         * benchtests/bench-modf.c: Remove.
17509         * benchtests/modf-inputs: New inputs file.
17511 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
17513         [BZ #16362]
17514         * math/s_clog10.c (M_PI_LOG10E): New macro.
17515         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17516         imaginary parts are 0.
17517         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17518         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17519         imaginary parts are 0.
17520         * math/s_clog10l.c (M_PI_LOG10El): New macro.
17521         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17522         imaginary parts are 0.
17523         * math/libm-test.inc (clog10_test_data): Update expected results
17524         for when real and imaginary parts are 0.
17526 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
17528         * elf/dl-load.c: Finish conversion of __builtin_expect into
17529         __glibc_{un}likely.
17531 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
17533         [BZ #16348]
17534         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17535         1+x for argument with exponent below -67.
17536         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17537         Likewise.
17538         * math/auto-libm-test-in: Add more tests of exp.
17539         * math/auto-libm-test-out: Regenerated.
17541 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17543         [BZ #16759]
17544         * inet/getnetgrent_r.c (get_nonempty_val): New function.
17545         (nscd_getnetgrent): Use it.
17547         [BZ #16760]
17548         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17549         of stpcpy.
17551 2014-03-27  Andi Kleen  <ak@linux.intel.com>
17553         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17554         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17555         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17556         (lll_robust_unlock): Remove out of line section. Use cfi
17557         intrinsics.
17558         (LLL_STUB_UNWIND_INFO*): Remove.
17559         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17560         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17561         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17562         (lll_robust_unlock): Remove out of line section. Use cfi
17563         intrinsics.
17564         (LLL_STUB_UNWIND_INFO*): Remove.
17566 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17568         [BZ #16758]
17569         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17570         blank values.
17572 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17574         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17576 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
17578         [BZ #16198]
17579         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17580         fnstenv.
17581         * math/test-fenv-preserve.c: New file.
17582         * math/Makefile (tests): Add test-fenv-preserve.
17584 2014-03-26  Will Newton <will.newton@linaro.org>
17586         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17588 2014-03-25  Roland McGrath  <roland@hack.frob.com>
17590         * scripts/versionlist.awk: Partition the version sets and emit all
17591         GLIBC_* (sorted) before all others (sorted).
17593 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17595         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17596         GLIBC_2.2.5 version.
17598 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17600         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17601         calls.
17603         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17604         previous change.
17606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17608 2014-03-25  Andreas Schwab  <schwab@suse.de>
17610         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17611         label to be used after in6ailist is initialized.
17613 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17615         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17616         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17618 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17620         [BZ #16357]
17621         [BZ #16599]
17622         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17623         min_plus_half.
17624         (fp_formats): Update initializers.
17625         (init_fp_formats): Initialize new field.
17626         (output_for_one_input_case): Allow underflow for results up to
17627         min_plus_half.
17628         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17629         * math/auto-libm-test-in: Don't mark some underflows from asin and
17630         atanh as spurious.
17631         * math/auto-libm-test-out: Regenerated.
17632         * sysdeps/i386/fpu/libm-test-ulps: Update.
17633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17635 2014-03-25  Andreas Schwab  <schwab@suse.de>
17637         * libio/Makefile (tst-ftell-partial-wide-ENV)
17638         (tst-ftell-active-handler-ENV): Define.
17640 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
17642         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17644 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17646         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17648 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17650         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17651         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17652         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17654 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17656         [BZ #16634]
17657         * elf/dl-load.c (open_verify): Add mode parameter.
17658         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17659         (open_path): Change from boolean 'secure' to complete flag 'mode'
17660         (_dl_map_object): Adjust.
17661         * elf/Makefile (tests): Add tst-dlopen-aout.
17662         * elf/tst-dlopen-aout.c: New test.
17664 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
17666         [BZ #16714]
17667         * sysdeps/unix/sysv/linux/s390/bits/stat.h
17668         (struct stat): Rename member pad0 to __glibc_reserved0.
17670         [BZ #16712]
17671         * sysdeps/s390/s390-32/bits/wordsize.h
17672         (__WORDSIZE32_SIZE_ULONG): New define.
17673         * sysdeps/s390/s390-64/bits/wordsize.h
17674         (__WORDSIZE32_SIZE_ULONG): Likewise.
17675         * sysdeps/generic/stdint.h (SIZE_MAX):
17676         Define as UL if __WORDSIZE32_SIZE_ULONG.
17678         [BZ #16713]
17679         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17680         (__glibc_reserved0): New variable.
17681         (sa_flags): Change type to int.
17683         * posix/Makefile (before-compile): Use += before-compile instead
17684         of a :=.
17686         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17687         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17689 2014-03-20  Andreas Schwab  <schwab@suse.de>
17691         [BZ #16743]
17692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17693         non-matching result from nscd.
17695 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17697         * scripts/bench.py: Moved to ...
17698         * benchtests/scripts/bench.py: ... here.
17699         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17701 2014-03-24  Andreas Schwab  <schwab@suse.de>
17703         [BZ #16002]
17704         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17705         alloca_account and account alloca use for struct in6ailist.
17707 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17709         [BZ #16284]
17710         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17711         rounding mode to recompute results that overflow to infinity or
17712         underflow to zero.
17713         * math/auto-libm-test-in: Don't mark tests as expected to fail for
17714         bug 16284.
17715         * math/auto-libm-test-out: Regenerated.
17716         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17717         (ccosh_test): Likewise.
17718         (csin_test_data): Use plus_oflow.
17719         (csin_test): Use ALL_RM_TEST.
17720         (csinh_test_data): Use plus_oflow.
17721         (csinh_test): Use ALL_RM_TEST.
17722         * sysdeps/i386/fpu/libm-test-ulps: Update.
17723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17725 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
17727         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17728         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17729         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17731         [BZ #16731]
17732         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17733         when x - 1 is zero.
17734         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17735         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17736         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17737         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17738         argument is 1.
17739         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17740         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17741         zero.
17742         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17743         * sysdeps/i386/fpu/libm-test-ulps: Update.
17744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17746 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17748         * scripts/bench.pl: Remove file.
17749         * scripts/bench.py: New benchmark script.
17750         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17751         * benchtests/README: Mention python dependency.
17752         * scripts/pylintrc: New file.
17753         * scripts/pylint: New file.
17755         * bits/mathdef.h: Use #ifdef instead of #if.
17756         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17757         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17758         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17759         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17760         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17761         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17763 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17764             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17766         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17768         and strpbrk-ppc64 objects.
17769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17770         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17771         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17772         multiarch strpbrk for POWER7.
17773         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17774         multiarch strpbrk for PPC64.
17775         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17776         ifunc selector.
17777         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17778         strpbrk for POWER7.
17780 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17782         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17783         (atan_test): Likewise.
17784         (atanh_test_data): Use NO_TEST_INLINE for two tests.
17785         (atanh_test): Use ALL_RM_TEST.
17786         (atan2_test_data): Likewise.
17787         (cabs_test): Likewise.
17788         (cacosh_test): Likewise.
17789         (carg_test): Likewise.
17790         (casin_test): Likewise.
17791         (casinh_test): Likewise.
17792         (cbrt_test): Likewise.
17793         (csqrt_test): Likewise.
17794         (erf_test): Likewise.
17795         (erfc_test): Likewise.
17796         (pow10_test): Likewise.
17797         (exp2_test): Likewise.
17798         (hypot_test): Likewise.
17799         (j0_test): Likewise.
17800         (j1_test): Likewise.
17801         (lgamma_test): Likewise.
17802         (gamma_test): Likewise.
17803         (sincos_test): Likewise.
17804         (tanh_test): Likewise.
17805         (y0_test): Likewise.
17806         (y1_test): Likewise.
17807         * sysdeps/i386/fpu/libm-test-ulps: Update.
17808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17810 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17812         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17814         and strcspn-ppc64 objects.
17815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17816         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17817         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17818         multiarch strcspn for POWER7.
17819         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17820         multiarch strcspn for PPC64.
17821         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17822         ifunc selector.
17823         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17824         strcspn for POWER7.
17826 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17828         * math/gen-libm-test.pl (generate_testfile): Expect only function
17829         name as argument to AUTO_TESTS_* and pass results for all rounding
17830         modes to parse_args.
17831         (parse_auto_input): Separate inputs of automatic tests from
17832         outputs before storing in %auto_tests.
17833         * math/libm-test.inc (acos_test_data): Update call to
17834         AUTO_TESTS_f_f.
17835         (acos_test): Use ALL_RM_TEST.
17836         (acos_tonearest_test_data): Remove.
17837         (acos_test_tonearest): Likewise.
17838         (acos_towardzero_test_data): Likewise.
17839         (acos_test_towardzero): Likewise.
17840         (acos_downward_test_data): Likewise.
17841         (acos_test_downward): Likewise.
17842         (acos_upward_test_data): Likewise.
17843         (acos_test_upward): Likewise.
17844         (acosh_test_data): Update call to AUTO_TESTS_f_f.
17845         (asin_test_data): Likewise.
17846         (asin_test): Use ALL_RM_TEST.
17847         (asin_tonearest_test_data): Remove.
17848         (asin_test_tonearest): Likewise.
17849         (asin_towardzero_test_data): Likewise.
17850         (asin_test_towardzero): Likewise.
17851         (asin_downward_test_data): Likewise.
17852         (asin_test_downward): Likewise.
17853         (asin_upward_test_data): Likewise.
17854         (asin_test_upward): Likewise.
17855         (asinh_test_data): Update call to AUTO_TESTS_f_f.
17856         (atan_test_data): Likewise.
17857         (atanh_test_data): Likewise.
17858         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17859         (cabs_test_data): Update call to AUTO_TESTS_c_f.
17860         (carg_test_data): Likewise.
17861         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17862         (ccos_test_data): Update call to AUTO_TESTS_c_c.
17863         (ccosh_test_data): Likewise.
17864         (cexp_test_data): Likewise.
17865         (clog_test_data): Likewise.
17866         (clog10_test_data): Likewise.
17867         (cos_test_data): Update call to AUTO_TESTS_f_f.
17868         (cos_test): Use ALL_RM_TEST.
17869         (cos_tonearest_test_data): Remove.
17870         (cos_test_tonearest): Likewise.
17871         (cos_towardzero_test_data): Likewise.
17872         (cos_test_towardzero): Likewise.
17873         (cos_downward_test_data): Likewise.
17874         (cos_test_downward): Likewise.
17875         (cos_upward_test_data): Likewise.
17876         (cos_test_upward): Likewise.
17877         (cosh_test_data): Update call to AUTO_TESTS_f_f.
17878         (cosh_test): Use ALL_RM_TEST.
17879         (cosh_tonearest_test_data): Remove.
17880         (cosh_test_tonearest): Likewise.
17881         (cosh_towardzero_test_data): Likewise.
17882         (cosh_test_towardzero): Likewise.
17883         (cosh_downward_test_data): Likewise.
17884         (cosh_test_downward): Likewise.
17885         (cosh_upward_test_data): Likewise.
17886         (cosh_test_upward): Likewise.
17887         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17888         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17889         (ctan_test_data): Likewise.
17890         (ctan_test): Use ALL_RM_TEST.
17891         (ctan_tonearest_test_data): Remove.
17892         (ctan_test_tonearest): Likewise.
17893         (ctan_towardzero_test_data): Likewise.
17894         (ctan_test_towardzero): Likewise.
17895         (ctan_downward_test_data): Likewise.
17896         (ctan_test_downward): Likewise.
17897         (ctan_upward_test_data): Likewise.
17898         (ctan_test_upward): Likewise.
17899         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17900         (ctanh_test): Use ALL_RM_TEST.
17901         (ctanh_tonearest_test_data): Remove.
17902         (ctanh_test_tonearest): Likewise.
17903         (ctanh_towardzero_test_data): Likewise.
17904         (ctanh_test_towardzero): Likewise.
17905         (ctanh_downward_test_data): Likewise.
17906         (ctanh_test_downward): Likewise.
17907         (ctanh_upward_test_data): Likewise.
17908         (ctanh_test_upward): Likewise.
17909         (erf_test_data): Update call to AUTO_TESTS_f_f.
17910         (erfc_test_data): Likewise.
17911         (exp_test_data): Likewise.
17912         (exp_test): Use ALL_RM_TEST.
17913         (exp_tonearest_test_data): Remove.
17914         (exp_test_tonearest): Likewise.
17915         (exp_towardzero_test_data): Likewise.
17916         (exp_test_towardzero): Likewise.
17917         (exp_downward_test_data): Likewise.
17918         (exp_test_downward): Likewise.
17919         (exp_upward_test_data): Likewise.
17920         (exp_test_upward): Likewise.
17921         (exp10_test_data): Update call to AUTO_TESTS_f_f.
17922         (exp10_test): Use ALL_RM_TEST.
17923         (exp10_tonearest_test_data): Remove.
17924         (exp10_test_tonearest): Likewise.
17925         (exp10_towardzero_test_data): Likewise.
17926         (exp10_test_towardzero): Likewise.
17927         (exp10_downward_test_data): Likewise.
17928         (exp10_test_downward): Likewise.
17929         (exp10_upward_test_data): Likewise.
17930         (exp10_test_upward): Likewise.
17931         (exp2_test_data): Update call to AUTO_TESTS_f_f.
17932         (expm1_test_data): Likewise.
17933         (expm1_test): Use ALL_RM_TEST.
17934         (expm1_tonearest_test_data): Remove.
17935         (expm1_test_tonearest): Likewise.
17936         (expm1_towardzero_test_data): Likewise.
17937         (expm1_test_towardzero): Likewise.
17938         (expm1_downward_test_data): Likewise.
17939         (expm1_test_downward): Likewise.
17940         (expm1_upward_test_data): Likewise.
17941         (expm1_test_upward): Likewise.
17942         (fma_test_data): Update call to AUTO_TESTS_fff_f.
17943         (fma_test): Use ALL_RM_TEST.
17944         (fma_towardzero_test_data): Remove.
17945         (fma_test_towardzero): Likewise.
17946         (fma_downward_test_data): Likewise.
17947         (fma_test_downward): Likewise.
17948         (fma_upward_test_data): Likewise.
17949         (fma_test_upward): Likewise.
17950         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17951         (j0_test_data): Update call to AUTO_TESTS_f_f.
17952         (j1_test_data): Likewise.
17953         (jn_test_data): Update call to AUTO_TESTS_if_f.
17954         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17955         (log_test_data): Update call to AUTO_TESTS_f_f.
17956         (log10_test_data): Likewise.
17957         (log1p_test_data): Likewise.
17958         (log2_test_data): Likewise.
17959         (pow_test_data): Update call to AUTO_TESTS_ff_f.
17960         (pow_tonearest_test_data): Likewise.
17961         (sin_test_data): Update call to AUTO_TESTS_f_f.
17962         (sin_test): Use ALL_RM_TEST.
17963         (sin_tonearest_test_data): Remove.
17964         (sin_test_tonearest): Likewise.
17965         (sin_towardzero_test_data): Likewise.
17966         (sin_test_towardzero): Likewise.
17967         (sin_downward_test_data): Likewise.
17968         (sin_test_downward): Likewise.
17969         (sin_upward_test_data): Likewise.
17970         (sin_test_upward): Likewise.
17971         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17972         (sinh_test_data): Update call to AUTO_TESTS_f_f.
17973         (sinh_test): Use ALL_RM_TEST.
17974         (sinh_tonearest_test_data): Remove.
17975         (sinh_test_tonearest): Likewise.
17976         (sinh_towardzero_test_data): Likewise.
17977         (sinh_test_towardzero): Likewise.
17978         (sinh_downward_test_data): Likewise.
17979         (sinh_test_downward): Likewise.
17980         (sinh_upward_test_data): Likewise.
17981         (sinh_test_upward): Likewise.
17982         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17983         (sqrt_test): Use ALL_RM_TEST.
17984         (sqrt_tonearest_test_data): Remove.
17985         (sqrt_test_tonearest): Likewise.
17986         (sqrt_towardzero_test_data): Likewise.
17987         (sqrt_test_towardzero): Likewise.
17988         (sqrt_downward_test_data): Likewise.
17989         (sqrt_test_downward): Likewise.
17990         (sqrt_upward_test_data): Likewise.
17991         (sqrt_test_upward): Likewise.
17992         (tan_test_data): Update call to AUTO_TESTS_f_f.
17993         (tan_test): Use ALL_RM_TEST.
17994         (tan_tonearest_test_data): Remove.
17995         (tan_test_tonearest): Likewise.
17996         (tan_towardzero_test_data): Likewise.
17997         (tan_test_towardzero): Likewise.
17998         (tan_downward_test_data): Likewise.
17999         (tan_test_downward): Likewise.
18000         (tan_upward_test_data): Likewise.
18001         (tan_test_upward): Likewise.
18002         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18003         (tgamma_test_data): Likewise.
18004         (y0_test_data): Likewise.
18005         (y1_test_data): Likewise.
18006         (yn_test_data): Update call to AUTO_TESTS_if_f.
18007         (main): Do not call removed functions.
18009 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18011         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18012         (ldexp_test_data): Remove.
18013         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18014         scalbn_test_data.
18015         (scalb_test): Use ALL_RM_TEST.
18017 2014-03-19  Andreas Schwab  <schwab@suse.de>
18019         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18021 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18023         [BZ #16649]
18024         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18025         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18026         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18027         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18028         (__ASSUME_PREADV): Undefine.
18029         (__ASSUME_PWRITEV): Likewise.
18031 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18033         * bits/mman-linux.h: Add comment about non-Linux use.
18034         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18035         bits/mman-linux.h resting place.
18037         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18038         * bits/mman-linux.h: ... here.
18040 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18042         * conform/conformtest.pl: Add standard definition when calling C
18043         preprocessor on data files.
18044         (checknamespace): Remove unused variable.
18046 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18048         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18049         minus_oflow, plus_uflow and minus_uflow in expected results.
18050         * math/libm-test.inc (scalbn_test_data): Add more tests of
18051         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18052         minus_uflow.
18053         (scalbn_test): Use ALL_RM_TEST.
18054         (scalbln_test_data): Add more tests of negative arguments.  Use
18055         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18056         (scalbln_test): Use ALL_RM_TEST.
18058 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18060         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18062 2014-03-18  Will Newton  <will.newton@linaro.org>
18064         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18065         inaccurate comment.
18067 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18069         * Makerules [!subdir] (check-abi): Exit with error status if a
18070         test failed.
18072 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18074         * math/libm-test.inc (nearbyint_test_data): Include all tests used
18075         for rint.  Include results for all rounding modes.
18076         (nearbyint_test): Use ALL_RM_TEST.
18077         (rint_test_data): Include all tests used for nearbyint.
18079 2014-03-17  Will Newton  <will.newton@linaro.org>
18081         * nptl/sysdeps/pthread/pthread.h: Revert previous
18082         change.
18084         * sysdeps/generic/ldsodefs.h: Revert previous
18085         change.
18087         * libio/genops.c: Revert previous change.
18088         * libio/libioP.h: Likewise.
18089         * stdio-common/vfprintf.c: Likewise.
18091         * sysdeps/generic/math_private.h: Revert previous
18092         change.
18094         * sysdeps/generic/math_private.h: Check whether
18095         HAVE_RM_CTX is defined with #ifdef rather
18096         than #if.
18098         * argp/argp-fmtstream.h: Check whether
18099         __STRICT_ANSI__ is defined with #ifdef rather
18100         than #if.
18101         * argp/argp.h: Likewise.
18103         * libio/genops.c: Check whether
18104         _IO_JUMPS_OFFSET is defined with #ifdef rather
18105         than #if.
18106         * libio/libioP.h: Likewise.
18107         * stdio-common/vfprintf.c: Likewise.
18109         * sysdeps/generic/ldsodefs.h: Check whether
18110         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18111         than #if.
18113         * nptl/sysdeps/pthread/pthread.h: Check
18114         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18115         its value.
18117 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18119         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18120         setting O_APPEND.
18121         * libio/tst-ftell-active-handler.c (do_append_test): Add a
18122         test case.
18124         [BZ #16680]
18125         * libio/fileops.c (_IO_file_open): Seek to end of file but
18126         don't cache the offset.
18127         (get_file_offset): Remove function.
18128         (do_ftell): Use cached offset when available.
18129         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18130         don't cache the offset.
18131         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18132         case.
18133         (do_one_test): Call it.
18134         (do_ftell_test): Fix up expected old offset for a+ mode.
18135         * libio/wfileops.c (do_ftell_wide): Used cached offset when
18136         available.
18138         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18139         up test status with function return status.
18140         (do_write_test): Likewise.
18141         (do_append_test): Likewise.
18143         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18144         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18145         Remove.
18147 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18149         * math/gen-libm-test.pl (parse_args): Handle results specified for
18150         each rounding mode separately.
18151         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18152         tests and results from lrint_tonearest_test_data,
18153         lrint_towardzero_test_data, lrint_downward_test_data and
18154         lrint_upward_test_data.
18155         (lrint_test): Use ALL_RM_TEST.
18156         (lrint_tonearest_test_data): Remove.
18157         (lrint_test_tonearest): Likewise.
18158         (lrint_towardzero_test_data): Likewise.
18159         (lrint_test_towardzero): Likewise.
18160         (lrint_downward_test_data): Likewise.
18161         (lrint_test_downward): Likewise.
18162         (lrint_upward_test_data): Likewise.
18163         (lrint_test_upward): Likewise.
18164         (llrint_test_data): Merge in per-rounding-mode tests and results
18165         from llrint_tonearest_test_data, llrint_towardzero_test_data,
18166         llrint_downward_test_data and llrint_upward_test_data.
18167         (llrint_test): Use ALL_RM_TEST.
18168         (llrint_tonearest_test_data): Remove.
18169         (llrint_test_tonearest): Likewise.
18170         (llrint_towardzero_test_data): Likewise.
18171         (llrint_test_towardzero): Likewise.
18172         (llrint_downward_test_data): Likewise.
18173         (llrint_test_downward): Likewise.
18174         (llrint_upward_test_data): Likewise.
18175         (llrint_test_upward): Likewise.
18176         (rint_test_data): Merge in per-rounding-mode tests and results
18177         from rint_tonearest_test_data, rint_towardzero_test_data,
18178         rint_downward_test_data and rint_upward_test_data.  Add
18179         per-rounding-mode results for tests not in those arrays.
18180         (rint_test): Use ALL_RM_TEST.
18181         (rint_tonearest_test_data): Remove.
18182         (rint_test_tonearest): Likewise.
18183         (rint_towardzero_test_data): Likewise.
18184         (rint_test_towardzero): Likewise.
18185         (rint_downward_test_data): Likewise.
18186         (rint_test_downward): Likewise.
18187         (rint_upward_test_data): Likewise.
18188         (rint_test_upward): Likewise.
18189         (main): Don't call removed functions.
18191 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18193         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18194         "Compiled on ..." crapola.  It is anti-useful.
18196 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
18198         * scripts/evaluate-test.sh: Handle fourth argument to determine
18199         whether test run should stop on failure.
18200         * Makeconfig (stop-on-test-failure): New variable.
18201         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18202         $(stop-on-test-failure).
18203         * Makefile (tests): Give a summary of results from testing and
18204         exit with failure status if they include an ERROR or FAIL.
18205         (xtests): Likewise.
18206         * manual/install.texi (Configuring and compiling): Mention
18207         stop-on-test-failure=y.
18208         * INSTALL: Regenerated.
18210 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18212         * scripts/versionlist.awk: New file.
18213         * Makerules [$(build-shared) = yes]
18214         (postclean-generated): Add Versions.def, not Versions.def.v and
18215         Versions.def.v.i.
18216         ($(common-objpfx)Versions.def.v.i): Target removed.
18217         ($(common-objpfx)Versions.def): New target.
18218         ($(common-objpfx)Versions.all): Depend on that rather that
18219         $(common-objpfx)Versions.def.v.
18220         * Versions.def: File removed.
18222         * Makeconfig (+gccwarn): Add -Wundef.
18223         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18224         a dl-sysdep.h breaking its contract.
18225         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18226         * include/stackinfo.h: New file.
18227         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18228         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18229         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18230         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18231         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18232         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18233         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18234         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18235         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18236         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18237         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18238         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18239         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18240         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18241         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18243 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18245         [BZ #16707]
18246         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18247         implementation.
18248         * math/libm-test.inc (round_test_data): Add more tests.
18250         [BZ #16706]
18251         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18252         implementation.
18253         * math/libm-test.inc (nearbyint_test_data): Add more tests.
18255         [BZ #16701]
18256         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18257         implementation.
18258         * math/libm-test.inc (ceil_test_data): Add more tests.
18260         * math/libm-test.inc (trunc_test_data): Add more tests related to
18261         BZ#16414.
18263 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18265         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18266         with #if rather than #ifdef.
18267         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18269 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
18271         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18272         first.  Disable AVX-512 GCC support if assembler doesn't support
18273         it.
18274         * sysdeps/x86_64/configure: Regenerated.
18276 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
18278         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18279         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18280         (__old_pthread_attr_setstack): Likewise.
18281         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18282         [!_STACK_GROWS_DOWN]: Likewise.
18284 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
18286         * config.make.in (have-bash2): Delete.
18287         * configure.ac (libc_cv_have_bash2): Delete.
18288         * configure: Regenerate.
18289         * elf/Makefile (common-ldd-rewrite): Rename to ...
18290         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
18291         (sh-ldd-rewrite): Delete.
18292         (bash-ldd-rewrite): Delete.
18293         (have-bash2): Delete checks.
18294         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18295         ldd-rewrite.
18297         * config.make.in (have-ksh): Delete.
18298         (KSH): Delete.
18299         * configure.ac (libc_cv_have_ksh): Delete.
18300         * configure: Regenerate.
18302         * elf/Makefile: Delete $(have-ksh) check.
18303         ($(objpfx)sotruss): Change KSH to BASH.
18304         * elf/sotruss.ksh: Rename to ...
18305         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
18306         function style to match POSIX.  Drop ksh vim mode setting.
18308         * manual/time.texi (Specifying the Time Zone with TZ): Change
18309         Tuesday to Thursday.
18311         * debug/tst-longjmp_chk2.c: Update header comment.
18312         (stackoverflow_handler): Add comment.  Call assert on pass value.
18314 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
18316         [BZ #16194]
18317         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18318         (HAVE_AVX512_ASM_SUPPORT): Likewise.
18319         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18320         (La_x86_64_vector): Add zmm.
18321         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18322         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18323         ($(objpfx)tst-audit10): New target.
18324         ($(objpfx)tst-audit10.out): Likewise.
18325         (tst-audit10-ENV): New.
18326         (AVX512-CFLAGS): Likewise.
18327         (CFLAGS-tst-audit10.c): Likewise.
18328         (CFLAGS-tst-auditmod10a.c): Likewise.
18329         (CFLAGS-tst-auditmod10b.c): Likewise.
18330         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18331         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18332         * sysdeps/x86_64/configure: Regenerated.
18333         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18334         AVX-512 zmm register support.
18335         (_dl_x86_64_save_sse): Likewise.
18336         (_dl_x86_64_restore_sse): Likewise.
18337         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18338         size vector registers.
18339         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18340         (ZMM_SIZE): Likewise.
18341         * sysdeps/x86_64/tst-audit10.c: New file.
18342         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18343         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18345 2014-03-13  Roland McGrath  <roland@hack.frob.com>
18347         * configure.ac (HAVE_EHDR_START): New check.
18348         * configure: Regenerated.
18349         * config.h.in (HAVE_EHDR_START): New #undef.
18350         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18351         assuming the lowest-addressed segment maps the start of the file.
18353 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
18355         * INSTALL: Regenerated.
18357 2014-03-13  Will Newton  <will.newton@linaro.org>
18359         * manual/setjmp.texi (System V contexts): Improve
18360         clarity and grammar of documentation.
18362 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18364         [BZ #16381]
18365         * elf/Makefile (tests): Add tst-pie2.
18366         (tests-pie): Add tst-pie2.
18367         * elf/tst-pie2.c: New file.
18368         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18369         for ET_EXEC.
18370         * elf/rtld.c (map_doit): Load executable as lt_executable.
18371         (dl_main): Likewise.
18373 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
18375         [BZ #16642]
18376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18377         (__ASSUME_PSELECT): Undefine.
18379 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18381         [BZ #16689]
18382         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18383         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18384         static build.
18385         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18386         selector for static builds.
18388 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18390         [BZ #16695]
18391         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18392         key in the buffer.
18394 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18396         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18397         IFUNC selector for static builds.
18399 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
18401         * sysdeps/mips/math_private.h [__mips_hard_float]
18402         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18403         libc_feresetround_mips_ctx.
18404         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18405         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18406         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18408         [BZ #16677]
18409         * math/s_nextafter.c (__nextafter): Do not return value from
18410         overflowing computation.
18411         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18412         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18413         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18414         Likewise.
18415         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18416         Likewise.
18417         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18418         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18420 2014-03-11  Roland McGrath  <roland@hack.frob.com>
18422         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18423         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18424         Move sfi_sp use from the load-multiple (that no longer sets sp) to
18425         the new mov targetting sp.
18427 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18429         [BZ #16683]
18430         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18431         Define it for static builds as well.
18432         (NO_BZERO_IMPL): Likewise.
18434 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18436         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18437         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18438         multiarch strspn for PPC64.
18439         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18440         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18442         (__libc_ifunc_impl_list): Likewise.
18443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18444         multiarch optimizations
18445         * string/strspn.c (strspn): Using macro to redefine symbol name.
18447 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18448             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18450         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18451         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18452         multiarch strncat for PPC64.
18453         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18454         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18456         (__libc_ifunc_impl_list): Likewise.
18457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18458         multiarch optimizations
18460 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18462         [BZ #16639]
18463         * nscd/nscd.service: Make service type forking.
18465 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18467         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18468         sign in non default rounding modes.
18469         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18471 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
18473         * math/libm-test.inc (ALL_RM_TEST): New macro.
18474         (ceil_test): Use ALL_RM_TEST.
18475         (cimag_test): Likewise.
18476         (conj_test): Likewise.
18477         (copysign_test): Likewise.
18478         (cproj_test): Likewise.
18479         (creal_test): Likewise.
18480         (fabs_test): Likewise.
18481         (floor_test): Likewise.
18482         (fmax_test): Likewise.
18483         (fmin_test): Likewise.
18484         (fmod_test): Likewise.
18485         (fpclassify_test): Likewise.
18486         (frexp_test): Likewise.
18487         (ilogb_test): Likewise.
18488         (isfinite_test): Likewise.
18489         (finite_test): Likewise.
18490         (isgreater_test): Likewise.
18491         (isgreaterequal_test): Likewise.
18492         (isinf_test): Likewise.
18493         (isless_test): Likewise.
18494         (islessequal_test): Likewise.
18495         (islessgreater_test): Likewise.
18496         (isnan_test): Likewise.
18497         (isnormal_test): Likewise.
18498         (issignaling_test): Likewise.
18499         (isunordered_test): Likewise.
18500         (logb_test): Likewise.
18501         (logb_downward_test_data): Remove.
18502         (logb_test_downward): Likewise.
18503         (lround_test): Use ALL_RM_TEST.
18504         (llround_test): Likewise.
18505         (modf_test): Likewise.
18506         (nexttoward_test): Likewise.
18507         (remainder_test): Likewise.
18508         (drem_test): Likewise.
18509         (remainder_tonearest_test_data): Likewise.
18510         (remainder_test_tonearest): Likewise.
18511         (drem_test_tonearest): Likewise.
18512         (remainder_towardzero_test_data): Likewise.
18513         (remainder_test_towardzero): Likewise.
18514         (drem_test_towardzero): Likewise.
18515         (remainder_downward_test_data): Likewise.
18516         (remainder_test_downward): Likewise.
18517         (drem_test_downward): Likewise.
18518         (remainder_upward_test_data): Likewise.
18519         (remainder_test_upward): Likewise.
18520         (drem_test_upward): Likewise.
18521         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
18522         (round_test): Use ALL_RM_TEST.
18523         (signbit_test): Likewise.
18524         (trunc_test): Likewise.
18525         (significand_test): Likewise.
18526         (main): Don't call removed functions.
18528 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18530         [BZ #16674]
18531         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18532         || __USE_XOPEN2K8].
18533         (ILL_ILLOPN): Likewise.
18534         (ILL_ILLADR): Likewise.
18535         (ILL_ILLTRP): Likewise.
18536         (ILL_PRVOPC): Likewise.
18537         (ILL_PRVREG): Likewise.
18538         (ILL_COPROC): Likewise.
18539         (ILL_BADSTK): Likewise.
18540         (FPE_INTDIV): Likewise.
18541         (FPE_INTOVF): Likewise.
18542         (FPE_FLTDIV): Likewise.
18543         (FPE_FLTOVF): Likewise.
18544         (FPE_FLTUND): Likewise.
18545         (FPE_FLTRES): Likewise.
18546         (FPE_FLTINV): Likewise.
18547         (FPE_FLTSUB): Likewise.
18548         (SEGV_MAPERR): Likewise.
18549         (SEGV_ACCERR): Likewise.
18550         (BUS_ADRALN): Likewise.
18551         (BUS_ADRERR): Likewise.
18552         (BUS_OBJERR): Likewise.
18553         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18554         (TRAP_TRACE): Likewise.
18555         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18556         __USE_XOPEN2K8].
18557         (CLD_KILLED): Likewise.
18558         (CLD_DUMPED): Likewise.
18559         (CLD_TRAPPED): Likewise.
18560         (CLD_STOPPED): Likewise.
18561         (CLD_CONTINUED): Likewise.
18562         (POLL_IN): Likewise.
18563         (POLL_OUT): Likewise.
18564         (POLL_MSG): Likewise.
18565         (POLL_ERR): Likewise.
18566         (POLL_PRI): Likewise.
18567         (POLL_HUP): Likewise.
18568         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18569         Likewise.
18570         (ILL_ILLOPN): Likewise.
18571         (ILL_ILLADR): Likewise.
18572         (ILL_ILLTRP): Likewise.
18573         (ILL_PRVOPC): Likewise.
18574         (ILL_PRVREG): Likewise.
18575         (ILL_COPROC): Likewise.
18576         (ILL_BADSTK): Likewise.
18577         (FPE_INTDIV): Likewise.
18578         (FPE_INTOVF): Likewise.
18579         (FPE_FLTDIV): Likewise.
18580         (FPE_FLTOVF): Likewise.
18581         (FPE_FLTUND): Likewise.
18582         (FPE_FLTRES): Likewise.
18583         (FPE_FLTINV): Likewise.
18584         (FPE_FLTSUB): Likewise.
18585         (SEGV_MAPERR): Likewise.
18586         (SEGV_ACCERR): Likewise.
18587         (BUS_ADRALN): Likewise.
18588         (BUS_ADRERR): Likewise.
18589         (BUS_OBJERR): Likewise.
18590         (BUS_MCEERR_AR): Likewise.
18591         (BUS_MCEERR_AO): Likewise.
18592         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18593         (TRAP_TRACE): Likewise.
18594         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18595         __USE_XOPEN2K8].
18596         (CLD_KILLED): Likewise.
18597         (CLD_DUMPED): Likewise.
18598         (CLD_TRAPPED): Likewise.
18599         (CLD_STOPPED): Likewise.
18600         (CLD_CONTINUED): Likewise.
18601         (POLL_IN): Likewise.
18602         (POLL_OUT): Likewise.
18603         (POLL_MSG): Likewise.
18604         (POLL_ERR): Likewise.
18605         (POLL_PRI): Likewise.
18606         (POLL_HUP): Likewise.
18607         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18608         (ILL_ILLOPN): Likewise.
18609         (ILL_ILLADR): Likewise.
18610         (ILL_ILLTRP): Likewise.
18611         (ILL_PRVOPC): Likewise.
18612         (ILL_PRVREG): Likewise.
18613         (ILL_COPROC): Likewise.
18614         (ILL_BADSTK): Likewise.
18615         (FPE_INTDIV): Likewise.
18616         (FPE_INTOVF): Likewise.
18617         (FPE_FLTDIV): Likewise.
18618         (FPE_FLTOVF): Likewise.
18619         (FPE_FLTUND): Likewise.
18620         (FPE_FLTRES): Likewise.
18621         (FPE_FLTINV): Likewise.
18622         (FPE_FLTSUB): Likewise.
18623         (SEGV_MAPERR): Likewise.
18624         (SEGV_ACCERR): Likewise.
18625         (BUS_ADRALN): Likewise.
18626         (BUS_ADRERR): Likewise.
18627         (BUS_OBJERR): Likewise.
18628         (BUS_MCEERR_AR): Likewise.
18629         (BUS_MCEERR_AO): Likewise.
18630         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18631         (TRAP_TRACE): Likewise.
18632         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18633         __USE_XOPEN2K8].
18634         (CLD_KILLED): Likewise.
18635         (CLD_DUMPED): Likewise.
18636         (CLD_TRAPPED): Likewise.
18637         (CLD_STOPPED): Likewise.
18638         (CLD_CONTINUED): Likewise.
18639         (POLL_IN): Likewise.
18640         (POLL_OUT): Likewise.
18641         (POLL_MSG): Likewise.
18642         (POLL_ERR): Likewise.
18643         (POLL_PRI): Likewise.
18644         (POLL_HUP): Likewise.
18645         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18646         Likewise.
18647         (ILL_ILLOPN): Likewise.
18648         (ILL_ILLADR): Likewise.
18649         (ILL_ILLTRP): Likewise.
18650         (ILL_PRVOPC): Likewise.
18651         (ILL_PRVREG): Likewise.
18652         (ILL_COPROC): Likewise.
18653         (ILL_BADSTK): Likewise.
18654         (ILL_BADIADDR): Likewise.
18655         (ILL_BREAK): Likewise.
18656         (FPE_INTDIV): Likewise.
18657         (FPE_INTOVF): Likewise.
18658         (FPE_FLTDIV): Likewise.
18659         (FPE_FLTOVF): Likewise.
18660         (FPE_FLTUND): Likewise.
18661         (FPE_FLTRES): Likewise.
18662         (FPE_FLTINV): Likewise.
18663         (FPE_FLTSUB): Likewise.
18664         (FPE_DECOVF): Likewise.
18665         (FPE_DECDIV): Likewise.
18666         (FPE_DECERR): Likewise.
18667         (FPE_INVASC): Likewise.
18668         (FPE_INVDEC): Likewise.
18669         (SEGV_MAPERR): Likewise.
18670         (SEGV_ACCERR): Likewise.
18671         (SEGV_PSTKOVF): Likewise.
18672         (BUS_ADRALN): Likewise.
18673         (BUS_ADRERR): Likewise.
18674         (BUS_OBJERR): Likewise.
18675         (BUS_MCEERR_AR): Likewise.
18676         (BUS_MCEERR_AO): Likewise.
18677         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18678         (TRAP_TRACE): Likewise.
18679         (TRAP_BRANCH): Likewise.
18680         (TRAP_HWBKPT): Likewise.
18681         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18682         __USE_XOPEN2K8].
18683         (CLD_KILLED): Likewise.
18684         (CLD_DUMPED): Likewise.
18685         (CLD_TRAPPED): Likewise.
18686         (CLD_STOPPED): Likewise.
18687         (CLD_CONTINUED): Likewise.
18688         (POLL_IN): Likewise.
18689         (POLL_OUT): Likewise.
18690         (POLL_MSG): Likewise.
18691         (POLL_ERR): Likewise.
18692         (POLL_PRI): Likewise.
18693         (POLL_HUP): Likewise.
18694         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18695         (ILL_ILLOPN): Likewise.
18696         (ILL_ILLADR): Likewise.
18697         (ILL_ILLTRP): Likewise.
18698         (ILL_PRVOPC): Likewise.
18699         (ILL_PRVREG): Likewise.
18700         (ILL_COPROC): Likewise.
18701         (ILL_BADSTK): Likewise.
18702         (FPE_INTDIV): Likewise.
18703         (FPE_INTOVF): Likewise.
18704         (FPE_FLTDIV): Likewise.
18705         (FPE_FLTOVF): Likewise.
18706         (FPE_FLTUND): Likewise.
18707         (FPE_FLTRES): Likewise.
18708         (FPE_FLTINV): Likewise.
18709         (FPE_FLTSUB): Likewise.
18710         (SEGV_MAPERR): Likewise.
18711         (SEGV_ACCERR): Likewise.
18712         (BUS_ADRALN): Likewise.
18713         (BUS_ADRERR): Likewise.
18714         (BUS_OBJERR): Likewise.
18715         (BUS_MCEERR_AR): Likewise.
18716         (BUS_MCEERR_AO): Likewise.
18717         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18718         (TRAP_TRACE): Likewise.
18719         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18720         __USE_XOPEN2K8].
18721         (CLD_KILLED): Likewise.
18722         (CLD_DUMPED): Likewise.
18723         (CLD_TRAPPED): Likewise.
18724         (CLD_STOPPED): Likewise.
18725         (CLD_CONTINUED): Likewise.
18726         (POLL_IN): Likewise.
18727         (POLL_OUT): Likewise.
18728         (POLL_MSG): Likewise.
18729         (POLL_ERR): Likewise.
18730         (POLL_PRI): Likewise.
18731         (POLL_HUP): Likewise.
18732         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18733         (ILL_ILLOPN): Likewise.
18734         (ILL_ILLADR): Likewise.
18735         (ILL_ILLTRP): Likewise.
18736         (ILL_PRVOPC): Likewise.
18737         (ILL_PRVREG): Likewise.
18738         (ILL_COPROC): Likewise.
18739         (ILL_BADSTK): Likewise.
18740         (FPE_INTDIV): Likewise.
18741         (FPE_INTOVF): Likewise.
18742         (FPE_FLTDIV): Likewise.
18743         (FPE_FLTOVF): Likewise.
18744         (FPE_FLTUND): Likewise.
18745         (FPE_FLTRES): Likewise.
18746         (FPE_FLTINV): Likewise.
18747         (FPE_FLTSUB): Likewise.
18748         (SEGV_MAPERR): Likewise.
18749         (SEGV_ACCERR): Likewise.
18750         (BUS_ADRALN): Likewise.
18751         (BUS_ADRERR): Likewise.
18752         (BUS_OBJERR): Likewise.
18753         (BUS_MCEERR_AR): Likewise.
18754         (BUS_MCEERR_AO): Likewise.
18755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18756         (TRAP_TRACE): Likewise.
18757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18758         __USE_XOPEN2K8].
18759         (CLD_KILLED): Likewise.
18760         (CLD_DUMPED): Likewise.
18761         (CLD_TRAPPED): Likewise.
18762         (CLD_STOPPED): Likewise.
18763         (CLD_CONTINUED): Likewise.
18764         (POLL_IN): Likewise.
18765         (POLL_OUT): Likewise.
18766         (POLL_MSG): Likewise.
18767         (POLL_ERR): Likewise.
18768         (POLL_PRI): Likewise.
18769         (POLL_HUP): Likewise.
18770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18771         (ILL_ILLOPN): Likewise.
18772         (ILL_ILLADR): Likewise.
18773         (ILL_ILLTRP): Likewise.
18774         (ILL_PRVOPC): Likewise.
18775         (ILL_PRVREG): Likewise.
18776         (ILL_COPROC): Likewise.
18777         (ILL_BADSTK): Likewise.
18778         (FPE_INTDIV): Likewise.
18779         (FPE_INTOVF): Likewise.
18780         (FPE_FLTDIV): Likewise.
18781         (FPE_FLTOVF): Likewise.
18782         (FPE_FLTUND): Likewise.
18783         (FPE_FLTRES): Likewise.
18784         (FPE_FLTINV): Likewise.
18785         (FPE_FLTSUB): Likewise.
18786         (SEGV_MAPERR): Likewise.
18787         (SEGV_ACCERR): Likewise.
18788         (BUS_ADRALN): Likewise.
18789         (BUS_ADRERR): Likewise.
18790         (BUS_OBJERR): Likewise.
18791         (BUS_MCEERR_AR): Likewise.
18792         (BUS_MCEERR_AO): Likewise.
18793         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18794         (TRAP_TRACE): Likewise.
18795         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18796         __USE_XOPEN2K8].
18797         (CLD_KILLED): Likewise.
18798         (CLD_DUMPED): Likewise.
18799         (CLD_TRAPPED): Likewise.
18800         (CLD_STOPPED): Likewise.
18801         (CLD_CONTINUED): Likewise.
18802         (POLL_IN): Likewise.
18803         (POLL_OUT): Likewise.
18804         (POLL_MSG): Likewise.
18805         (POLL_ERR): Likewise.
18806         (POLL_PRI): Likewise.
18807         (POLL_HUP): Likewise.
18808         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18809         (ILL_ILLOPN): Likewise.
18810         (ILL_ILLADR): Likewise.
18811         (ILL_ILLTRP): Likewise.
18812         (ILL_PRVOPC): Likewise.
18813         (ILL_PRVREG): Likewise.
18814         (ILL_COPROC): Likewise.
18815         (ILL_BADSTK): Likewise.
18816         (ILL_DBLFLT): Likewise.
18817         (ILL_HARDWALL): Likewise.
18818         (FPE_INTDIV): Likewise.
18819         (FPE_INTOVF): Likewise.
18820         (FPE_FLTDIV): Likewise.
18821         (FPE_FLTOVF): Likewise.
18822         (FPE_FLTUND): Likewise.
18823         (FPE_FLTRES): Likewise.
18824         (FPE_FLTINV): Likewise.
18825         (FPE_FLTSUB): Likewise.
18826         (SEGV_MAPERR): Likewise.
18827         (SEGV_ACCERR): Likewise.
18828         (BUS_ADRALN): Likewise.
18829         (BUS_ADRERR): Likewise.
18830         (BUS_OBJERR): Likewise.
18831         (BUS_MCEERR_AR): Likewise.
18832         (BUS_MCEERR_AO): Likewise.
18833         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18834         (TRAP_TRACE): Likewise.
18835         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18836         __USE_XOPEN2K8].
18837         (CLD_KILLED): Likewise.
18838         (CLD_DUMPED): Likewise.
18839         (CLD_TRAPPED): Likewise.
18840         (CLD_STOPPED): Likewise.
18841         (CLD_CONTINUED): Likewise.
18842         (POLL_IN): Likewise.
18843         (POLL_OUT): Likewise.
18844         (POLL_MSG): Likewise.
18845         (POLL_ERR): Likewise.
18846         (POLL_PRI): Likewise.
18847         (POLL_HUP): Likewise.
18848         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18849         (ILL_ILLOPN): Likewise.
18850         (ILL_ILLADR): Likewise.
18851         (ILL_ILLTRP): Likewise.
18852         (ILL_PRVOPC): Likewise.
18853         (ILL_PRVREG): Likewise.
18854         (ILL_COPROC): Likewise.
18855         (ILL_BADSTK): Likewise.
18856         (FPE_INTDIV): Likewise.
18857         (FPE_INTOVF): Likewise.
18858         (FPE_FLTDIV): Likewise.
18859         (FPE_FLTOVF): Likewise.
18860         (FPE_FLTUND): Likewise.
18861         (FPE_FLTRES): Likewise.
18862         (FPE_FLTINV): Likewise.
18863         (FPE_FLTSUB): Likewise.
18864         (SEGV_MAPERR): Likewise.
18865         (SEGV_ACCERR): Likewise.
18866         (BUS_ADRALN): Likewise.
18867         (BUS_ADRERR): Likewise.
18868         (BUS_OBJERR): Likewise.
18869         (BUS_MCEERR_AR): Likewise.
18870         (BUS_MCEERR_AO): Likewise.
18871         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18872         (TRAP_TRACE): Likewise.
18873         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18874         __USE_XOPEN2K8].
18875         (CLD_KILLED): Likewise.
18876         (CLD_DUMPED): Likewise.
18877         (CLD_TRAPPED): Likewise.
18878         (CLD_STOPPED): Likewise.
18879         (CLD_CONTINUED): Likewise.
18880         (POLL_IN): Likewise.
18881         (POLL_OUT): Likewise.
18882         (POLL_MSG): Likewise.
18883         (POLL_ERR): Likewise.
18884         (POLL_PRI): Likewise.
18885         (POLL_HUP): Likewise.
18886         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18887         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18889         [BZ #16670]
18890         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18891         before #include of <time.h>.
18892         [!__USE_XOPEN2K] (__need_timespec): Likewise.
18893         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18894         (test-xfail-UNIX98/sched.h/conform): Likewise.
18896 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18898         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18899         error absence of trapping exception support.
18900         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18902 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18904         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18905         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18906         * timezone/Makefile (testdata): Move definition above include of
18907         Rules.
18908         (test-zones): New variable.
18909         (tests-special): Add zone files.
18910         (build-testdata): Use $(evaluate-test).
18912         * elf/Makefile (tests-special): Rename tests to end with .out.
18913         ($(objpfx)noload-mem): Likewise.
18914         ($(objpfx)tst-leaks1-mem): Likewise.
18915         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18916         * iconv/Makefile (xtests-special): Change test-iconvconfig to
18917         $(objpfx)test-iconvconfig.out.
18918         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
18919         set -e inside subshell and redirect output to file.
18920         * iconvdata/Makefile (generated): Rename tests to end with .out.
18921         Correct type.
18922         (tests-special): Rename tests to end with .out.
18923         ($(objpfx)mtrace-tst-loading): Likewise.
18924         * intl/Makefile (generated): Likewise.
18925         (tests-special): Likewise.
18926         ($(objpfx)mtrace-tst-gettext): Likewise.
18927         * misc/Makefile (generated): Likewise.
18928         (tests-special): Likewise.
18929         ($(objpfx)tst-error1-mem): Likewise.
18930         * nptl/Makefile (tests-special): Likewise.
18931         ($(objpfx)tst-stack3-mem): Likewise.
18932         (generated): Likewise.
18933         * posix/Makefile (generated): Likewise.
18934         (tests-special): Likewise.
18935         (xtests-special): Likewise.
18936         ($(objpfx)tst-fnmatch-mem): Likewise.
18937         ($(objpfx)bug-regex2-mem): Likewise.
18938         ($(objpfx)bug-regex14-mem): Likewise.
18939         ($(objpfx)bug-regex21-mem): Likewise.
18940         ($(objpfx)bug-regex31-mem): Likewise.
18941         ($(objpfx)tst-vfork3-mem): Likewise.
18942         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18943         ($(objpfx)tst-pcre-mem): Likewise.
18944         ($(objpfx)tst-boost-mem): Likewise.
18945         ($(objpfx)bug-ga2-mem): Likewise.
18946         ($(objpfx)bug-glob2-mem): Likewise.
18947         * resolv/Makefile (generate): Likewise.
18948         (tests-special): Likewise.
18949         (xtests-special): Likewise.
18950         (generated): Likewise.
18951         ($(objpfx)mtrace-tst-leaks): Likewise.
18952         ($(objpfx)mtrace-tst-leaks2): Likewise.
18954         * scripts/merge-test-results.sh: New file.
18955         * Makefile (tests-special-notdir): New variable.
18956         (tests): Run merge-test-results.sh.
18957         (xtests): Likewise.
18958         * Rules (tests-special-notdir): New variable.
18959         (xtests-special-notdir): Likewise.
18960         (tests): Run merge-test-results.sh
18961         (xtests): Likewise.
18963         * Makeconfig (test-xfail-name): New variable.
18964         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18965         compute variable name for expected failures.
18966         * conform/Makefile (conformtest-headers-data): New variable.
18967         (conformtest-standards): Likewise.
18968         (conformtest-headers-ISO): Likewise.
18969         (conformtest-headers-ISO99): Likewise.
18970         (conformtest-headers-ISO11): Likewise.
18971         (conformtest-headers-POSIX): Likewise.
18972         (conformtest-headers-XPG3): Likewise.
18973         (conformtest-headers-XPG4): Likewise.
18974         (conformtest-headers-UNIX98): Likewise.
18975         (conformtest-headers-XOPEN2K): Likewise.
18976         (conformtest-headers-POSIX2008): Likewise.
18977         (conformtest-headers-XOPEN2K8): Likewise.
18978         (conformtest-header-list-base): Likewise.
18979         (conformtest-header-list-tests): Likewise.
18980         (conformtest-header-base): Likewise.
18981         (conformtest-header-tests): Likewise.
18982         (tests-special): Add $(conformtest-header-list-tests).  If
18983         [$(fast-check) && !$(cross-compiling)], add
18984         $(conformtest-header-tests) instead of
18985         $(objpfx)run-conformtest.out.
18986         (generated): Add $(conformtest-header-list-base).  If
18987         [$(fast-check) && !$(cross-compiling)], add
18988         $(conformtest-header-base).  Remove previous setting.
18989         ($(conformtest-header-list-tests)): New target.
18990         (test-xfail-run-conformtest): Remove variable.
18991         ($(objpfx)run-conformtest.out): Remove target.
18992         (test-xfail-ISO11/complex.h/conform): New variable.
18993         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18994         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18995         (test-xfail-XPG3/varargs.h/conform): Likewise.
18996         (test-xfail-XPG4/varargs.h/conform): Likewise.
18997         (test-xfail-UNIX98/varargs.h/conform): Likewise.
18998         (test-xfail-XPG4/ndbm.h/conform): Likewise.
18999         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19000         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19001         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19002         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19003         (test-xfail-XPG3/ftw.h/conform): Likewise.
19004         (test-xfail-XPG3/grp.h/conform): Likewise.
19005         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19006         (test-xfail-XPG3/limits.h/conform): Likewise.
19007         (test-xfail-XPG3/pwd.h/conform): Likewise.
19008         (test-xfail-XPG3/search.h/conform): Likewise.
19009         (test-xfail-XPG3/signal.h/conform): Likewise.
19010         (test-xfail-XPG3/stdio.h/conform): Likewise.
19011         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19012         (test-xfail-XPG3/string.h/conform): Likewise.
19013         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19014         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19015         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19016         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19017         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19018         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19019         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19020         (test-xfail-XPG3/termios.h/conform): Likewise.
19021         (test-xfail-XPG3/time.h/conform): Likewise.
19022         (test-xfail-XPG3/unistd.h/conform): Likewise.
19023         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19024         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19025         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19026         (test-xfail-XPG4/netdb.h/conform): Likewise.
19027         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19028         (test-xfail-XPG4/signal.h/conform): Likewise.
19029         (test-xfail-XPG4/stdio.h/conform): Likewise.
19030         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19031         (test-xfail-XPG4/stropts.h/conform): Likewise.
19032         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19033         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19034         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19035         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19036         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19037         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19038         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19039         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19040         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19041         (test-xfail-XPG4/termios.h/conform): Likewise.
19042         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19043         (test-xfail-XPG4/unistd.h/conform): Likewise.
19044         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19045         (test-xfail-POSIX/sched.h/conform): Likewise.
19046         (test-xfail-POSIX/signal.h/conform): Likewise.
19047         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19048         (test-xfail-POSIX/tar.h/conform): Likewise.
19049         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19050         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19051         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19052         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19053         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19054         (test-xfail-UNIX98/sched.h/conform): Likewise.
19055         (test-xfail-UNIX98/signal.h/conform): Likewise.
19056         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19057         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19058         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19059         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19060         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19061         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19062         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19063         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19064         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19065         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19066         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19067         (test-xfail-UNIX98/unistd.h/conform): Likewise.
19068         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19069         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19070         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19071         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19072         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19073         (test-xfail-XOPEN2K/math.h/conform): Likewise.
19074         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19075         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19076         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19077         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19078         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19079         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19080         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19081         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19082         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19083         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19084         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19085         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19086         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19087         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19088         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19089         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19090         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19091         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19092         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19093         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19094         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19095         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19096         (test-xfail-POSIX2008/signal.h/conform): Likewise.
19097         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19098         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19099         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19100         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19101         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19102         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19103         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19104         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19105         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19106         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19107         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19108         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19109         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19110         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19111         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19112         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19113         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19114         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19115         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19116         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19117         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19118         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19119         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19120         (conformtest-cc-flags): Likewise.
19121         ($(conformtest-header-tests): New target.
19122         * conform/check-header-lists.sh: New file.
19123         * conform/run-conformtest.sh: Remove.
19125         * conform/conformtest.pl: Allow ' and \ in values given for
19126         constants.
19127         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19128         inclusion.
19129         [POSIX] (sys/types.h): Likewise.
19130         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19131         inclusion.
19132         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19133         inclusion.
19134         * conform/data/signal.h-data (SIGIO): Remove expectation.
19135         [XPG3] (SIGBUS): Do not expect.
19136         [POSIX || XPG3] (SIGPOLL): Likewise.
19137         [POSIX || XPG3] (SIGPROF): Likewise.
19138         [POSIX || XPG3] (SIGSYS): Likewise.
19139         [XPG3] (SIGTRAP): Likewise.
19140         [POSIX || XPG3] (SIGURG): Likewise.
19141         [POSIX || XPG3] (SIGVTALRM): Likewise.
19142         [POSIX || XPG3] (SIGXCPU): Likewise.
19143         [POSIX || XPG3] (SIGXFSZ): Likewise.
19144         [POSIX] (SA_SIGINFO): Expect.
19145         [XPG3] (siginfo_t): Do not expect type or contents.
19146         [POSIX] (si_pid): Do not expect element.
19147         [POSIX] (si_uid): Likewise.
19148         [POSIX] (si_addr): Likewise.
19149         [POSIX] (si_status): Likewise.
19150         [POSIX] (si_band): Likewise.
19151         [XPG4] (si_value): Likewise.
19152         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19153         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19154         [POSIX || XPG3] (ILL_ILLADR): Likewise.
19155         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19156         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19157         [POSIX || XPG3] (ILL_PRVREG): Likewise.
19158         [POSIX || XPG3] (ILL_COPROC): Likewise.
19159         [POSIX || XPG3] (ILL_BADSTK): Likewise.
19160         [POSIX || XPG3] (FPE_INTDIV): Likewise.
19161         [POSIX || XPG3] (FPE_INTOVF): Likewise.
19162         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19163         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19164         [POSIX || XPG3] (FPE_FLTUND): Likewise.
19165         [POSIX || XPG3] (FPE_FLTRES): Likewise.
19166         [POSIX || XPG3] (FPE_FLTINV): Likewise.
19167         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19168         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19169         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19170         [POSIX || XPG3] (BUS_ADRALN): Likewise.
19171         [POSIX || XPG3] (BUS_ADRERR): Likewise.
19172         [POSIX || XPG3] (BUS_OBJERR): Likewise.
19173         [POSIX || XPG3] (CLD_EXITED): Likewise.
19174         [POSIX || XPG3] (CLD_KILLED): Likewise.
19175         [POSIX || XPG3] (CLD_DUMPED): Likewise.
19176         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19177         [POSIX || XPG3] (CLD_STOPPED): Likewise.
19178         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19179         [POSIX || XPG3] (POLL_IN): Likewise.
19180         [POSIX || XPG3] (POLL_OUT): Likewise.
19181         [POSIX || XPG3] (POLL_MSG): Likewise.
19182         [POSIX || XPG3] (POLL_ERR): Likewise.
19183         [POSIX || XPG3] (POLL_PRI): Likewise.
19184         [POSIX || XPG3] (POLL_HUP): Likewise.
19185         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19186         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19187         (SIG*): Do not allow.
19188         [XPG3] (si_*): Likewise.
19189         [XPG3] (SI_*): Likewise.
19190         [XPG3 || XPG4] (sigev_*): Likewise.
19191         [XPG3 || XPG4] (SIGEV_*): Likewise.
19192         [XPG3 || XPG4] (sival_*): Likewise.
19193         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19194         [POSIX || XPG3] (BUS_*): Likewise.
19195         [POSIX || XPG3] (CLD_*): Likewise.
19196         [POSIX || XPG3] (FPE_*): Likewise.
19197         [POSIX || XPG3] (ILL_*): Likewise.
19198         [POSIX || XPG3] (POLL_*): Likewise.
19199         [POSIX || XPG3] (SEGV_*): Likewise.
19200         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19201         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19202         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19203         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19204         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19205         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19206         Specify type and value.
19207         (TVERSLEN): Likewise.
19208         (REGTYPE): Likewise.
19209         (AREGTYPE): Likewise.
19210         (LNKTYPE): Likewise.
19211         (SYMTYPE): Likewise.
19212         (CHRTYPE): Likewise.
19213         (BLKTYPE): Likewise.
19214         (DIRTYPE): Likewise.
19215         (FIFOTYPE): Likewise.
19216         (CONTTYPE): Likewise.
19217         (TSUID): Likewise.
19218         (TSGID): Likewise.
19219         (TSVTX): Likewise.
19220         (TUREAD): Likewise.
19221         (TUWRITE): Likewise.
19222         (TUEXEC): Likewise.
19223         (TGREAD): Likewise.
19224         (TGWRITE): Likewise.
19225         (TGEXEC): Likewise.
19226         (TOREAD): Likewise.
19227         (TOWRITE): Likewise.
19228         (TOEXEC): Likewise.
19229         [POSIX] (TSVTX): Expect constant.
19231 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
19233         * Makefile (tests): Change dependencies to ....
19234         (tests-special): ... additions to this variable.
19235         (tests): Depend on $(tests-special).
19236         * Makerules (check-abi-list): New variable.
19237         (check-abi): Depend on $(check-abi-list).
19238         [$(subdir) = elf] (tests-special): Add
19239         $(objpfx)check-abi-libc.out.
19240         [$(build-shared) = yes && subdir] (tests-special): Add
19241         $(check-abi-list).
19242         [$(build-shared) = yes && subdir] (tests): Do not depend on
19243         check-abi.
19244         * Rules (tests): Depend on $(tests-special).
19245         (xtests): Depend on $(xtests-special).
19246         * catgets/Makefile (tests): Change dependencies to ....
19247         (tests-special): ... additions to this variable.
19248         * conform/Makefile (tests): Change dependencies to ....
19249         (tests-special): ... additions to this variable.
19250         * elf/Makefile (tests): Change dependencies to ....
19251         (tests-special): ... additions to this variable.
19252         * grp/Makefile (tests): Change dependencies to ....
19253         (tests-special): ... additions to this variable.
19254         * iconv/Makefile (xtests): Change dependencies to ....
19255         (xtests-special): ... additions to this variable.
19256         * iconvdata/Makefile (tests): Change dependencies to ....
19257         (tests-special): ... additions to this variable.
19258         * intl/Makefile (tests): Change dependencies to ....
19259         (tests-special): ... additions to this variable.  Also add
19260         $(objpfx)tst-gettext.out.
19261         * io/Makefile (tests): Change dependencies to ....
19262         (tests-special): ... additions to this variable.
19263         * libio/Makefile (tests): Change dependencies to ....
19264         (tests-special): ... additions to this variable.
19265         * malloc/Makefile (tests): Change dependencies to ....
19266         (tests-special): ... additions to this variable.
19267         * misc/Makefile (tests): Change dependencies to ....
19268         (tests-special): ... additions to this variable.
19269         * nptl/Makefile (tests): Change dependencies to ....
19270         (tests-special): ... additions to this variable.
19271         * nptl_db/Makefile (tests): Change dependencies to ....
19272         (tests-special): ... additions to this variable.
19273         * posix/Makefile (tests): Change dependencies to ....
19274         (tests-special): ... additions to this variable.
19275         (xtests): Change dependencies to ....
19276         (xtests-special): ... additions to this variable.
19277         * resolv/Makefile (tests): Change dependencies to ....
19278         (tests-special): ... additions to this variable.
19279         (xtests): Change dependencies to ....
19280         (xtests-special): ... additions to this variable.
19281         * stdio-common/Makefile (tests): Change dependencies to ....
19282         (tests-special): ... additions to this variable.
19283         (do-tst-unbputc): Remove target.
19284         (do-tst-printf): Likewise.
19285         * stdlib/Makefile (tests): Change dependencies to ....
19286         (tests-special): ... additions to this variable.
19287         * string/Makefile (tests): Change dependencies to ....
19288         (tests-special): ... additions to this variable.
19289         * sysdeps/x86/Makefile (tests): Change dependencies to ....
19290         (tests-special): ... additions to this variable.
19292         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19293         whole file.
19294         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19295         whole file.
19296         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19297         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19299         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19300         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19301         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19302         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19303         * conform/data/libgen.h-data [XPG3]: Likewise.
19304         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19305         * conform/data/ndbm.h-data [XPG3]: Likewise.
19306         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19307         * conform/data/netdb.h-data [XPG3]: Likewise.
19308         * conform/data/netinet/in.h-data [XPG3]: Likewise.
19309         * conform/data/poll.h-data [XPG3]: Likewise.
19310         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19311         * conform/data/strings.h-data [XPG3]: Likewise.
19312         * conform/data/stropts.h-data [XPG3]: Likewise.
19313         * conform/data/sys/mman.h-data [XPG3]: Likewise.
19314         * conform/data/sys/resource.h-data [XPG3]: Likewise.
19315         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19316         Likewise.
19317         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19318         * conform/data/sys/time.h-data [XPG3]: Likewise.
19319         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19320         * conform/data/sys/uio.h-data [XPG3]: Likewise.
19321         * conform/data/sys/un.h-data [XPG3]: Likewise.
19322         * conform/data/syslog.h-data [XPG3]: Likewise.
19323         * conform/data/ucontext.h-data [XPG3]: Likewise.
19324         * conform/data/utmpx.h-data [XPG3]: Likewise.
19325         * conform/data/varargs.h-data [UNIX98]: Enable file.
19327         * manual/Makefile (INSTALL_INFO): Remove variable setting.
19329         * math/libm-test.inc (struct test_f_f_data): Move expected results
19330         into structure for each rounding mode.
19331         (struct test_ff_f_data): Likewise.
19332         (struct test_ff_f_data_nexttoward): Likewise.
19333         (struct test_fi_f_data): Likewise.
19334         (struct test_fl_f_data): Likewise.
19335         (struct test_if_f_data): Likewise.
19336         (struct test_fff_f_data): Likewise.
19337         (struct test_c_f_data): Likewise.
19338         (struct test_f_f1_data): Likewise.
19339         (struct test_fF_f1_data): Likewise.
19340         (struct test_ffI_f1_data): Likewise.
19341         (struct test_c_c_data): Likewise.
19342         (struct test_cc_c_data): Likewise.
19343         (struct test_f_i_data): Likewise.
19344         (struct test_ff_i_data): Likewise.
19345         (struct test_f_l_data): Likewise.
19346         (struct test_f_L_data): Likewise.
19347         (struct test_fFF_11_data): Likewise.
19348         (RM_): New macro.
19349         (RM_FE_DOWNWARD): Likewise.
19350         (RM_FE_TONEAREST): Likewise.
19351         (RM_FE_TOWARDZERO): Likewise.
19352         (RM_FE_UPWARD): Likewise.
19353         (RUN_TEST_LOOP_f_f): Update references to expected results.
19354         (RUN_TEST_LOOP_2_f): Likewise.
19355         (RUN_TEST_LOOP_fff_f): Likewise.
19356         (RUN_TEST_LOOP_c_f): Likewise.
19357         (RUN_TEST_LOOP_f_f1): Likewise.
19358         (RUN_TEST_LOOP_fF_f1): Likewise.
19359         (RUN_TEST_LOOP_fI_f1): Likewise.
19360         (RUN_TEST_LOOP_ffI_f1): Likewise.
19361         (RUN_TEST_LOOP_c_c): Likewise.
19362         (RUN_TEST_LOOP_cc_c): Likewise.
19363         (RUN_TEST_LOOP_f_i): Likewise.
19364         (RUN_TEST_LOOP_f_i_tg): Likewise.
19365         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19366         (RUN_TEST_LOOP_f_b): Likewise.
19367         (RUN_TEST_LOOP_f_b_tg): Likewise.
19368         (RUN_TEST_LOOP_f_l): Likewise.
19369         (RUN_TEST_LOOP_f_L): Likewise.
19370         (RUN_TEST_LOOP_fFF_11): Likewise.
19371         * math/gen-libm-test.pl (parse_args): Output four copies of
19372         expected results for each test.
19374         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19375         (__ASSUME_UTIMES): Remove.
19376         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19377         (__ASSUME_UTIMES): Likewise.
19379         * math/gen-auto-libm-tests.c: Update comment on output format.
19380         (output_for_one_input_case): Generate before-rounding and
19381         after-rounding information as conditions on output flags not
19382         floating-point format.
19383         * math/auto-libm-test-out: Regenerated.
19384         * math/gen-libm-test.pl (cond_value): New function.
19385         (or_cond_value): Use cond_value.
19386         (generate_testfile): Handle conditional exceptions.
19388 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
19390         * math/libm-test.inc (max_valid_error): New variable.
19391         (init_max_error): Take new argument specifying whether function
19392         results are exactly determined.  Set max_valid_error and bound
19393         other variables for errors based on this argument.
19394         (set_max_error): Do not record results above max_valid_error.
19395         (check_float_internal): Only accept errors of up to 0.5ulps if
19396         also at most max_valid_error.
19397         (START): Take new argument EXACT and pass it to init_max_error.
19398         (acos_test): Update call to START.
19399         (acos_test_tonearest): Likewise.
19400         (acos_test_towardzero): Likewise.
19401         (acos_test_downward): Likewise.
19402         (acos_test_upward): Likewise.
19403         (acosh_test): Likewise.
19404         (asin_test): Likewise.
19405         (asin_test_tonearest): Likewise.
19406         (asin_test_towardzero): Likewise.
19407         (asin_test_downward): Likewise.
19408         (asin_test_upward): Likewise.
19409         (asinh_test): Likewise.
19410         (atan_test): Likewise.
19411         (atanh_test): Likewise.
19412         (atan2_test): Likewise.
19413         (cabs_test): Likewise.
19414         (cacos_test): Likewise.
19415         (cacosh_test): Likewise.
19416         (carg_test): Likewise.
19417         (casin_test): Likewise.
19418         (casinh_test): Likewise.
19419         (catan_test): Likewise.
19420         (catanh_test): Likewise.
19421         (cbrt_test): Likewise.
19422         (ccos_test): Likewise.
19423         (ccosh_test): Likewise.
19424         (ceil_test): Likewise.
19425         (cexp_test): Likewise.
19426         (cimag_test): Likewise.
19427         (clog_test): Likewise.
19428         (clog10_test): Likewise.
19429         (conj_test): Likewise.
19430         (copysign_test): Likewise.
19431         (cos_test): Likewise.
19432         (cos_test_tonearest): Likewise.
19433         (cos_test_towardzero): Likewise.
19434         (cos_test_downward): Likewise.
19435         (cos_test_upward): Likewise.
19436         (cosh_test): Likewise.
19437         (cosh_test_tonearest): Likewise.
19438         (cosh_test_towardzero): Likewise.
19439         (cosh_test_downward): Likewise.
19440         (cosh_test_upward): Likewise.
19441         (cpow_test): Likewise.
19442         (cproj_test): Likewise.
19443         (creal_test): Likewise.
19444         (csin_test): Likewise.
19445         (csinh_test): Likewise.
19446         (csqrt_test): Likewise.
19447         (ctan_test): Likewise.
19448         (ctan_test_tonearest): Likewise.
19449         (ctan_test_towardzero): Likewise.
19450         (ctan_test_downward): Likewise.
19451         (ctan_test_upward): Likewise.
19452         (ctanh_test): Likewise.
19453         (ctanh_test_tonearest): Likewise.
19454         (ctanh_test_towardzero): Likewise.
19455         (ctanh_test_downward): Likewise.
19456         (ctanh_test_upward): Likewise.
19457         (erf_test): Likewise.
19458         (erfc_test): Likewise.
19459         (exp_test): Likewise.
19460         (exp_test_tonearest): Likewise.
19461         (exp_test_towardzero): Likewise.
19462         (exp_test_downward): Likewise.
19463         (exp_test_upward): Likewise.
19464         (exp10_test): Likewise.
19465         (exp10_test_tonearest): Likewise.
19466         (exp10_test_towardzero): Likewise.
19467         (exp10_test_downward): Likewise.
19468         (exp10_test_upward): Likewise.
19469         (pow10_test): Likewise.
19470         (exp2_test): Likewise.
19471         (expm1_test): Likewise.
19472         (expm1_test_tonearest): Likewise.
19473         (expm1_test_towardzero): Likewise.
19474         (expm1_test_downward): Likewise.
19475         (expm1_test_upward): Likewise.
19476         (fabs_test): Likewise.
19477         (fdim_test): Likewise.
19478         (floor_test): Likewise.
19479         (fma_test): Likewise.
19480         (fma_test_towardzero): Likewise.
19481         (fma_test_downward): Likewise.
19482         (fma_test_upward): Likewise.
19483         (fmax_test): Likewise.
19484         (fmin_test): Likewise.
19485         (fmod_test): Likewise.
19486         (fpclassify_test): Likewise.
19487         (frexp_test): Likewise.
19488         (hypot_test): Likewise.
19489         (ilogb_test): Likewise.
19490         (isfinite_test): Likewise.
19491         (finite_test): Likewise.
19492         (isgreater_test): Likewise.
19493         (isgreaterequal_test): Likewise.
19494         (isinf_test): Likewise.
19495         (isless_test): Likewise.
19496         (islessequal_test): Likewise.
19497         (islessgreater_test): Likewise.
19498         (isnan_test): Likewise.
19499         (isnormal_test): Likewise.
19500         (issignaling_test): Likewise.
19501         (isunordered_test): Likewise.
19502         (j0_test): Likewise.
19503         (j1_test): Likewise.
19504         (jn_test): Likewise.
19505         (ldexp_test): Likewise.
19506         (lgamma_test): Likewise.
19507         (gamma_test): Likewise.
19508         (lrint_test): Likewise.
19509         (lrint_test_tonearest): Likewise.
19510         (lrint_test_towardzero): Likewise.
19511         (lrint_test_downward): Likewise.
19512         (lrint_test_upward): Likewise.
19513         (llrint_test): Likewise.
19514         (llrint_test_tonearest): Likewise.
19515         (llrint_test_towardzero): Likewise.
19516         (llrint_test_downward): Likewise.
19517         (llrint_test_upward): Likewise.
19518         (log_test): Likewise.
19519         (log10_test): Likewise.
19520         (log1p_test): Likewise.
19521         (log2_test): Likewise.
19522         (logb_test): Likewise.
19523         (logb_test_downward): Likewise.
19524         (lround_test): Likewise.
19525         (llround_test): Likewise.
19526         (modf_test): Likewise.
19527         (nearbyint_test): Likewise.
19528         (nextafter_test): Likewise.
19529         (nexttoward_test): Likewise.
19530         (pow_test): Likewise.
19531         (pow_test_tonearest): Likewise.
19532         (pow_test_towardzero): Likewise.
19533         (pow_test_downward): Likewise.
19534         (pow_test_upward): Likewise.
19535         (remainder_test): Likewise.
19536         (drem_test): Likewise.
19537         (remainder_test_tonearest): Likewise.
19538         (drem_test_tonearest): Likewise.
19539         (remainder_test_towardzero): Likewise.
19540         (drem_test_towardzero): Likewise.
19541         (remainder_test_downward): Likewise.
19542         (drem_test_downward): Likewise.
19543         (remainder_test_upward): Likewise.
19544         (drem_test_upward): Likewise.
19545         (remquo_test): Likewise.
19546         (rint_test): Likewise.
19547         (rint_test_tonearest): Likewise.
19548         (rint_test_towardzero): Likewise.
19549         (rint_test_downward): Likewise.
19550         (rint_test_upward): Likewise.
19551         (round_test): Likewise.
19552         (scalb_test): Likewise.
19553         (scalbn_test): Likewise.
19554         (scalbln_test): Likewise.
19555         (signbit_test): Likewise.
19556         (sin_test): Likewise.
19557         (sin_test_tonearest): Likewise.
19558         (sin_test_towardzero): Likewise.
19559         (sin_test_downward): Likewise.
19560         (sin_test_upward): Likewise.
19561         (sincos_test): Likewise.
19562         (sinh_test): Likewise.
19563         (sinh_test_tonearest): Likewise.
19564         (sinh_test_towardzero): Likewise.
19565         (sinh_test_downward): Likewise.
19566         (sinh_test_upward): Likewise.
19567         (sqrt_test): Likewise.
19568         (sqrt_test_tonearest): Likewise.
19569         (sqrt_test_towardzero): Likewise.
19570         (sqrt_test_downward): Likewise.
19571         (sqrt_test_upward): Likewise.
19572         (tan_test): Likewise.
19573         (tan_test_tonearest): Likewise.
19574         (tan_test_towardzero): Likewise.
19575         (tan_test_downward): Likewise.
19576         (tan_test_upward): Likewise.
19577         (tanh_test): Likewise.
19578         (tgamma_test): Likewise.
19579         (trunc_test): Likewise.
19580         (y0_test): Likewise.
19581         (y1_test): Likewise.
19582         (yn_test): Likewise.
19583         (significand_test): Likewise.
19585         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19586         individual tests in comment.
19587         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19588         (prev_max_error): New variable.
19589         (prev_real_max_error): Likewise.
19590         (prev_imag_max_error): Likewise.
19591         (compare_ulp_data): Don't refer to test names in comment.
19592         (find_test_ulps): Remove function.
19593         (find_function_ulps): Likewise.
19594         (find_complex_function_ulps): Likewise.
19595         (init_max_error): Take function name as argument.  Look up ulps
19596         for that function.
19597         (print_ulps): Remove function.
19598         (print_max_error): Use prev_max_error instead of calling
19599         find_function_ulps.
19600         (print_complex_max_error): Use prev_real_max_error and
19601         prev_imag_max_error instead of calling find_complex_function_ulps.
19602         (check_float_internal): Take max_ulp parameter instead of calling
19603         find_test_ulps.  Don't call print_ulps.
19604         (check_float): Update call to check_float_internal.
19605         (check_complex): Update calls to check_float_internal.
19606         (START): Pass argument to init_max_error.
19607         * math/gen-libm-test.pl (%results): Don't include "kind"
19608         information.
19609         (parse_ulps): Don't handle ulps of individual tests.
19610         (print_ulps_file): Likewise.
19611         (output_ulps): Likewise.
19612         * math/README.libm-test: Update.
19613         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19614         individual tests.
19615         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19616         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19617         * sysdeps/arm/libm-test-ulps: Likewise.
19618         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19619         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19620         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19621         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19622         * sysdeps/microblaze/libm-test-ulps: Likewise.
19623         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19624         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19625         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19626         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19627         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19628         * sysdeps/sh/libm-test-ulps: Likewise.
19629         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19630         * sysdeps/tile/libm-test-ulps: Likewise.
19631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19633 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
19635         * math/libm-test.inc (print_complex_max_error): Check separately
19636         whether real and imaginary errors are within allowed range and
19637         pass 0 to print_complex_function_ulps instead of value within
19638         allowed range.
19640 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19642         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19643         formatting.
19644         (get_handles_fopen): Likewise.
19645         (do_write_test): Likewise.
19647         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19649         * libio/fileops.c (do_ftell): Use cached offset when
19650         available.
19651         * libio/iofwide.c (do_ftell_wide): Likewise.
19652         * libio/iofdopen.c (_IO_new_fdopen): Don't use
19653         _IO_file_attach.
19654         * libio/wfileops.c (_IO_fwide): Don't cache offset.
19656         [BZ #16532]
19657         * libio/libioP.h (get_file_offset): New function.
19658         * libio/fileops.c (get_file_offset): Likewise.
19659         (do_ftell): Likewise.
19660         (_IO_new_file_seekoff): Split out ftell logic.
19661         * libio/wfileops.c (do_ftell_wide): Likewise.
19662         (_IO_wfile_seekoff): Split out ftell logic.
19663         * libio/tst-ftell-active-handler.c: New test case.
19664         * libio/Makefile (tests): Add it.
19666 2014-03-03  Roland McGrath  <roland@hack.frob.com>
19668         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19669         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19671 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19673         [BZ #16639]
19674         * nscd/connections.c (nscd_init): Call do_exit.
19675         (start_threads): Call do_exit and notify_parent.
19676         (begin_drop_privileges): Call do_exit.
19677         (finish_drop_privileges): Likewise.
19678         * nscd/selinux.c (preserve_capabilities): Likewise.
19679         (install_real_capabilities): Likewise.
19680         (nscd_selinux_enabled): Likewise.
19681         (avc_create_thread): Likewise.
19682         (avc_alloc_lock): Likewise.
19683         (nscd_avc_init): Likewise.
19684         * nscd/nscd.c (parent_fd): New static variable.
19685         (main): Create a pipe between parent and child processes.
19686         Skip closing parent_fd.
19687         (monitor_child): New function.
19688         (do_exit): Likewise.
19689         (notify_parent): Likewise.
19690         * nscd/nscd.h (notify_parent): Likewise.
19691         (do_exit): Likewise.
19693 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
19695         * malloc/malloc.c (__libc_calloc): Revert last change.
19697 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19701 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19703         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19705         implementation.
19706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19707         (__libc_ifunc_impl_list): Likewise.
19708         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19709         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19710         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19711         * string/strrchr.c: Define STRRCHR.
19713 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
19715         * benchtest/bench-strtok.c (simple_strtok): Delete.
19716         (strtok_string): Use as benchmark.
19717         * string/strtok (STRTOK): New macro.
19719 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
19721         * manual/threads.texi: Add header and standard comments to all
19722         functions.
19724         * elf/dl-lookup.c (check_match): New function.
19725         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19726         (do_lookup_x): Remove nested function check_match. Use non-nested
19727         function check_match.
19729 2014-02-28  Roland McGrath  <roland@hack.frob.com>
19731         * csu/Makefile (generated, before-compile): Use += rather than =.
19732         * catgets/Makefile (generated, generated-dirs): Likewise.
19733         * debug/Makefile (generated): Likewise.
19734         * dlfcn/Makefile (generated): Likewise.
19735         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19736         * iconvdata/Makefile (before-compile, generated): Likewise.
19737         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19738         * libio/Makefile (generated): Likewise.
19739         * malloc/Makefile (generated): Likewise.
19740         * manual/Makefile (generated, generated-dirs): Likewise.
19741         * misc/Makefile (generated): Likewise.
19742         * posix/Makefile (generated): Likewise.
19743         * resolv/Makefile (generated): Likewise.
19744         * sunrpc/Makefile (generated, generated-dirs): Likewise.
19745         * timezone/Makefile (generated, generated-dirs): Likewise.
19747         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19749 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19752         power8 implementation.
19753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19754         file: POWER8 llround ifunc implementation.
19755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19756         (__lllround): Add POWER8 implementation.
19757         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19758         POWER8 llround implementation.
19760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19761         power8 implementation.
19762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19763         file: POWER8 llrint ifunc implementation.
19764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19765         Add POWER8 implementation.
19766         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19767         POWER8 llrint implementation.
19769         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19770         power8 implementation.
19771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19772         file: POWER8 finite ifunc implementation.
19773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19774         Add POWER8 implementation.
19775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19776         Likewise.
19777         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19778         POWER8 finite implementation.
19779         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19782         power8 implementation.
19783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19784         file: POWER8 isinf ifunc implementation.
19785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19786         POWER8 implementation.
19787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19788         Likewise.
19789         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19790         isinf implementation.
19791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19793         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19794         (INIT_ARCH): Add hwcap2 initialization.
19795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19796         power8 implementation.
19797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19798         file: POWER8 isnan ifunc implementation.
19799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19800         POWER8 implementation.
19801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19802         Likewise.
19803         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19804         isnan implementation.
19805         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19807 2014-02-27  Joey Ye  <joey.ye@arm.com>
19809         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19810         (_FP_NANFRAC_Q): Set to zero.
19812 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19814         [BZ #16623]
19815         * math/auto-libm-test-in: New test inputs.
19816         * math/auto-libm-test-out: Regenerate.
19817         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19818         and DA.
19819         (__cos): Likewise.
19820         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19822 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
19824         * scripts/evaluate-test.sh: Take new argument indicating whether
19825         failure is expected.
19826         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19827         indicating whether failure is expected.
19828         * conform/Makefile (test-xfail-run-conformtest): New variable.
19829         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19830         level.
19831         * posix/Makefile (test-xfail-annexc): New variable.
19832         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19834 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
19836         * argp/Makefile: Include Makeconfig immediately after defining
19837         subdir.
19838         * assert/Makefile: Likewise.
19839         * benchtests/Makefile: Likewise.
19840         * catgets/Makefile: Likewise.
19841         * conform/Makefile: Likewise.
19842         * crypt/Makefile: Likewise.
19843         * csu/Makefile: Likewise.
19844         (all): Remove target.
19845         * ctype/Makefile: Include Makeconfig immediately after defining
19846         subdir.
19847         * debug/Makefile: Likewise.
19848         * dirent/Makefile: Likewise.
19849         * dlfcn/Makefile: Likewise.
19850         * gmon/Makefile: Likewise.
19851         * gnulib/Makefile: Likewise.
19852         * grp/Makefile: Likewise.
19853         * gshadow/Makefile: Likewise.
19854         * hesiod/Makefile: Likewise.
19855         * hurd/Makefile: Likewise.
19856         (all): Remove target.
19857         * iconvdata/Makefile: Include Makeconfig immediately after
19858         defining subdir.
19859         * inet/Makefile: Likewise.
19860         * intl/Makefile: Likewise.
19861         * io/Makefile: Likewise.
19862         * libio/Makefile: Likewise.
19863         (all): Remove target.
19864         * locale/Makefile: Include Makeconfig immediately after defining
19865         subdir.
19866         * login/Makefile: Likewise.
19867         * mach/Makefile: Likewise.
19868         (all): Remove target.
19869         * malloc/Makefile: Include Makeconfig immediately after defining
19870         subdir.
19871         (all): Remove target.
19872         * manual/Makefile: Include Makeconfig immediately after defining
19873         subdir.
19874         * math/Makefile: Likewise.
19875         * misc/Makefile: Likewise.
19876         * nis/Makefile: Likewise.
19877         * nss/Makefile: Likewise.
19878         * po/Makefile: Likewise.
19879         (all): Remove target.
19880         * posix/Makefile: Include Makeconfig immediately after defining
19881         subdir.
19882         * pwd/Makefile: Likewise.
19883         * resolv/Makefile: Likewise.
19884         * resource/Makefile: Likewise.
19885         * rt/Makefile: Likewise.
19886         * setjmp/Makefile: Likewise.
19887         * shadow/Makefile: Likewise.
19888         * signal/Makefile: Likewise.
19889         * socket/Makefile: Likewise.
19890         * soft-fp/Makefile: Likewise.
19891         * stdio-common/Makefile: Likewise.
19892         * stdlib/Makefile: Likewise.
19893         * streams/Makefile: Likewise.
19894         * string/Makefile: Likewise.
19895         * sunrpc/Makefile: Likewise.
19896         (all): Remove target.
19897         * sysvipc/Makefile: Include Makeconfig immediately after defining
19898         subdir.
19899         * termios/Makefile: Likewise.
19900         * time/Makefile: Likewise.
19901         * timezone/Makefile: Likewise.
19902         (all): Remove target.
19903         * wcsmbs/Makefile: Include Makeconfig immediately after defining
19904         subdir.
19905         * wctype/Makefile: Likewise.
19907 2014-02-26  Steve Ellcey  <sellcey@mips.com>
19909         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19910         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19911         (libc_feholdexcept_setround_mips): Ditto.
19912         (libc_feholdsetround): New.
19913         (libc_feholdsetroundf): New.
19914         (libc_feholdsetroundl): New.
19915         (libc_feupdateenv_test_mips): New.
19916         (libc_feupdateenv_test): New.
19917         (libc_feupdateenv_testf): New.
19918         (libc_feupdateenv_testl): New.
19919         (libc_feresetround): New.
19920         (libc_feresetroundf): New.
19921         (libc_feresetroundl): New.
19922         (libc_fetestexcept_mips): New.
19923         (libc_fetestexcept): New.
19924         (libc_fetestexceptf): New.
19925         (libc_fetestexceptl): New.
19926         (HAVE_RM_CTX): New.
19927         (libc_feholdexcept_setround_mips_ctx): New.
19928         (libc_feholdexcept_setround_ctx): New.
19929         (libc_feholdexcept_setroundf_ctx): New.
19930         (libc_feholdexcept_setroundl_ctx): New.
19931         (libc_fesetenv_mips_ctx): New.
19932         (libc_fesetenv_ctx): New.
19933         (libc_fesetenv_ctxf): New.
19934         (libc_fesetenv_ctxl): New.
19935         (libc_feupdateenv_mips_ctx): New.
19936         (libc_feupdateenv_ctx): New.
19937         (libc_feupdateenvf_ctx): New.
19938         (libc_feupdateenvl_ctx): New.
19939         (libc_feholdsetround_mips_ctx): New.
19940         (libc_feholdsetround_ctx): New.
19941         (libc_feholdsetroundf_ctx): New.
19942         (libc_feholdsetroundl_ctx): New.
19943         (libc_feresetround_mips_ctx): New.
19944         (libc_feresetround_ctx): New.
19945         (libc_feresetroundf_ctx): New.
19946         (libc_feresetroundl_ctx): New.
19948 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
19950         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19952         * manual/ipc.texi: New file.
19953         * manual/Makefile (chapters): Add ipc.
19954         * manual/job.texi: Add "Inter-Process Communication" to next.
19955         * manual/process.texi: Add "Inter-Process Communication" to prev.
19957 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19961 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
19963         * malloc/malloc.c (__libc_calloc): Simplify implementation.
19965         * manual/arith.texi: Fix spaces after sentences.
19966         * manual/charset.texi: Likewise.
19967         * manual/errno.texi: Likewise.
19968         * manual/install.texi: Likewise.
19969         * manual/llio.texi: Likewise.
19970         * manual/locale.texi: Likewise.
19971         * manual/maint.texi: Likewise.
19972         * manual/math.texi: Likewise.
19973         * manual/memory.texi: Likewise.
19974         * manual/message.texi: Likewise.
19975         * manual/probes.texi: Likewise.
19976         * manual/resource.texi: Likewise.
19977         * manual/signal.texi: Likewise.
19978         * manual/socket.texi: Likewise.
19979         * manual/stdio.texi: Likewise.
19980         * manual/string.texi: Likewise.
19981         * manual/time.texi: Likewise.
19982         * manual/users.texi: Likewise.
19984 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
19986         [BZ #16632]
19987         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19988         _DEFAULT_SOURCE is defined.
19990 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
19991             Carlos O'Donell  <carlos@redhat.com>
19993         [BZ #16613]
19994         * elf/dl-tls.c (_dl_count_modids): New function.
19995         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19996         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19997         audit library and increment generation counter.
19998         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19999         * elf/tst-audit9.c: New file.
20000         * elf/tst-auditmod9a.c: New file.
20001         * elf/tst-auditmod9b.c: New file.
20002         * elf/Makefile: Add rules to build and run tst-audit9.
20004 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20006         [BZ #15347]
20007         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20009 2014-02-25  Will Newton  <will.newton@linaro.org>
20011         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20012         (__longjmp): Restore sp and lr before restoring callee
20013         saved registers.  Add longjmp and longjmp_target
20014         SystemTap probe point.
20015         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20016         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20017         Define to zero to match jmpbuf layout.
20018         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20019         (__sigsetjmp): Save sp and lr before saving callee
20020         saved registers.  Add setjmp SystemTap probe point.
20022 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20024         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20026 2014-02-24  Andreas Schwab  <schwab@suse.de>
20028         [BZ #15804]
20029         * elf/pldd.c (wait_for_ptrace_stop): New function.
20030         (main): Call it after attaching.
20032 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20034         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20035         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20036         Versions files is now verboten.
20037         * hurd/Versions (libc: GLIBC_2.0):
20038         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20039         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20040         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20041         * mach/Versions: Likewise.
20043         * csu/Versions: Remove unused %include.
20044         * resolv/Versions: Likewise.
20046 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20048         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20049         ($(objpfx)check-local-headers.out): Likewise.
20050         ($(objpfx)begin-end-check.out): Likewise.
20051         * Makerules (check-abi-%.out): Likewise.
20052         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20053         ($(objpfx)test2.cat): Likewise.
20054         ($(objpfx)de/libc.cat): Likewise.
20055         ($(objpfx)test-gencat.out): Likewise.
20056         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20057         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20058         ($(objpfx)noload-mem): Likewise.
20059         ($(objpfx)tst-pathopt.out): Likewise.
20060         ($(objpfx)tst-rtld-load-self.out): Likewise.
20061         ($(objpfx)tst-array1-cmp.out): Likewise.
20062         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20063         ($(objpfx)tst-array2-cmp.out): Likewise.
20064         ($(objpfx)tst-array3-cmp.out): Likewise.
20065         ($(objpfx)tst-array4-cmp.out): Likewise.
20066         ($(objpfx)tst-array5-cmp.out): Likewise.
20067         ($(objpfx)tst-array5-static-cmp.out): Likewise.
20068         ($(objpfx)check-textrel.out): Likewise.
20069         ($(objpfx)check-execstack.out): Likewise.
20070         ($(objpfx)check-localplt.out): Likewise.
20071         ($(objpfx)order2-cmp.out): Likewise.
20072         ($(objpfx)tst-leaks1-mem): Likewise.
20073         ($(objpfx)tst-leaks1-static-mem): Likewise.
20074         ($(objpfx)tst-initorder-cmp.out): Likewise.
20075         ($(objpfx)tst-initorder2-cmp.out): Likewise.
20076         ($(objpfx)tst-unused-dep.out): Likewise.
20077         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20078         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20079         * iconv/Makefile (test-iconvconfig): Likewise.
20080         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20081         ($(objpfx)iconv-test.out): Likewise.
20082         ($(objpfx)tst-tables.out): Likewise.
20083         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20084         ($(objpfx)tst-gettext.out): Likewise.
20085         ($(objpfx)tst-translit.out): Likewise.
20086         ($(objpfx)tst-gettext2.out): Likewise.
20087         ($(objpfx)tst-gettext4.out): Likewise.
20088         ($(objpfx)tst-gettext6.out): Likewise.
20089         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20090         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20091         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20092         ($(objpfx)tst-fopenloc-mem.out): Likewise.
20093         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20094         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20095         * posix/Makefile ($(objpfx)globtest.out): Likewise.
20096         ($(objpfx)wordexp-tst.out): Likewise.
20097         ($(objpfx)annexc.out): Likewise.
20098         ($(objpfx)tst-fnmatch-mem): Likewise.
20099         ($(objpfx)bug-regex2-mem): Likewise.
20100         ($(objpfx)bug-regex14-mem): Likewise.
20101         ($(objpfx)bug-regex21-mem): Likewise.
20102         ($(objpfx)bug-regex31-mem): Likewise.
20103         ($(objpfx)tst-vfork3-mem): Likewise.
20104         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20105         ($(objpfx)tst-pcre-mem): Likewise.
20106         ($(objpfx)tst-boost-mem): Likewise.
20107         ($(objpfx)tst-getconf.out): Likewise.
20108         ($(objpfx)bug-ga2-mem): Likewise.
20109         ($(objpfx)bug-glob2-mem): Likewise.
20110         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20111         ($(objpfx)mtrace-tst-leaks2): Likewise.
20112         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20113         ($(objpfx)tst-printf.out): Likewise.
20114         ($(objpfx)tst-setvbuf1.out): Likewise.
20115         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20116         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20117         ($(objpfx)tst-fmtmsg.out): Likewise.
20118         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20119         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20121         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20122         * bits/sigaction.h [__USE_MISC]: Likewise.
20123         * bits/waitstatus.h: Update #endif comments.
20124         * ctype/ctype.h: Likewise.
20125         * dirent/dirent.h: Likewise.
20126         [__USE_MISC]: Remove redundant conditionals.
20127         * grp/grp.h: Update #endif comments.
20128         [__USE_GNU]: Remove redundant conditionals.
20129         [__USE_MISC]: Likewise.
20130         * inet/netinet/in.h [__USE_GNU]: Likewise.
20131         * io/sys/stat.h [__USE_MISC]: Likewise.
20132         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20133         * libio/bits/stdio.h: Update #endif comments.
20134         [__USE_MISC]: Remove redundant conditionals.
20135         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20136         * libio/stdio.h: Update #endif comments.
20137         [__USE_MISC]: Remove redundant conditionals.
20138         * math/bits/math-finite.h [__USE_MISC]: Likewise.
20139         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20140         * math/math.h: Update #else and #endif comments.
20141         [__USE_MISC]: Remove redundant conditionals.
20142         * misc/sys/uio.h: Update #endif comments.
20143         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20144         * posix/glob.h [__USE_MISC]: Likewise.
20145         * posix/sys/types.h: Update #endif comments.
20146         [__USE_MISC]: Remove redundant conditionals.
20147         * posix/sys/wait.h: Update #endif comments.
20148         [__USE_MISC]: Remove redundant conditionals.
20149         * posix/unistd.h: Update #endif comments.
20150         [__USE_MISC]: Remove redundant conditionals.
20151         * pwd/pwd.h [__USE_GNU]: Likewise.
20152         [__USE_MISC]: Likewise.
20153         * resolv/netdb.h [__USE_GNU]: Likewise.
20154         * signal/signal.h: Update #endif comments.
20155         [__USE_MISC]: Remove redundant conditionals.
20156         * stdlib/stdlib.h: Update #else and #endif comments.
20157         [__USE_MISC]: Remove redundant conditionals.
20158         [__USE_GNU]: Likewise.
20159         * string/bits/string2.h [__USE_MISC]: Likewise.
20160         * string/string.h: Update #endif comments.
20161         [__USE_MISC]: Remove redundant conditionals.
20162         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20163         Likewise.
20164         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20165         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20166         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20167         Likewise.
20168         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20169         Likewise.
20170         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20171         comments.
20172         [__USE_MISC]: Remove redundant conditionals.
20173         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20174         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20175         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20176         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20177         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20178         Likewise.
20179         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20180         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20181         Likewise.
20182         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20183         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20184         Likewise.
20185         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20186         Likewise.
20187         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20188         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20189         Likewise.
20190         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20191         Likewise.
20192         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20193         * sysdeps/x86/bits/string.h: Update #endif comments.
20194         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20195         conditionals.
20196         * time/sys/time.h: Update #endif comments.
20197         * time/time.h: Likewise.
20198         [__USE_MISC]: Remove redundant conditionals.
20200 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
20202         [BZ #16600]
20203         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20205 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
20207         * Versions.def (librt): Add GLIBC_2.17.
20209 2014-02-21  Adam Conrad  <adconrad@0c3.net>
20211         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20212         synonym for _SYS_AUXV_H to allow direct inclusion.
20213         * sysdeps/sparc/bits/hwcap.h: Likewise.
20214         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20215         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20216         * sysdeps/sparc/sysdep.h: Likewise.
20218 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20220         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20222 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20224         * benchtests/bench-strrchr.c: Print length instead of position.
20226 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
20228         [BZ #16611]
20229         * sysdeps/unix/sysv/linux/kernel-features.h
20230         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20231         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20232         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20233         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20234         Likewise.
20235         [__i386__ || __powerpc__ || __sh__ || __sparc__]
20236         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20237         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20238         (__ASSUME_SENDMMSG): Define instead of using previous
20239         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20240         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20241         (__ASSUME_SENDMMSG_SYSCALL): Define.
20242         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20243         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20244         Likewise.
20245         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20246         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20247         Likewise.
20248         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20249         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20250         Likewise.
20251         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20252         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20253         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20254         [__ASSUME_SENDMMSG]: Change conditionals to
20255         [__ASSUME_SENDMMSG_SOCKETCALL].
20256         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20257         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20258         Define.
20259         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20260         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20261         Likewise.
20262         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20263         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20264         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20265         [!__ASSUME_SENDMMSG]: Change conditional to
20266         [!__ASSUME_SENDMMSG_SOCKETCALL].
20267         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20268         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20269         Define.
20271         [BZ #16610]
20272         * sysdeps/unix/sysv/linux/kernel-features.h
20273         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20274         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20275         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20276         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20277         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20278         [__i386__ || __sparc__]
20279         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20280         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20281         (__ASSUME_RECVMMSG): Define instead of using previous
20282         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20283         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20284         (__ASSUME_RECVMMSG_SYSCALL): Define.
20285         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20287         Likewise.
20288         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20289         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20290         Likewise.
20291         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20292         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20293         Likewise.
20294         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20295         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20296         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20297         [__ASSUME_RECVMMSG]: Change condition to
20298         [__ASSUME_RECVMMSG_SOCKETCALL].
20299         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20300         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20301         Define.
20302         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20303         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20304         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20305         Likewise.
20306         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20307         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20308         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20309         [!__ASSUME_RECVMMSG]: Change condition to
20310         [!__ASSUME_RECVMMSG_SOCKETCALL].
20311         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20312         (__ASSUME_RECVMMSG_SYSCALL): Define.
20314         [BZ #16609]
20315         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20316         __powerpc__ || __s390__ || __sh__ || __sparc__]
20317         (__ASSUME_SOCKETCALL): Define.
20318         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20319         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20320         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20321         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20322         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20323         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20324         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20325         (__ASSUME_ACCEPT4): Define instead of using previous
20326         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20327         __powerpc__ || __sparc__ || __s390__)] condition.
20328         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20329         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20330         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20331         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20332         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20333         [!__ASSUME_ACCEPT4]: Change condition to
20334         [!__ASSUME_ACCEPT4_SOCKETCALL].
20335         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20336         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
20337         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20338         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20339         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20340         __ASSUME_ACCEPT4_SYSCALL.
20341         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20342         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20343         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20344         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20345         __ASSUME_ACCEPT4_SYSCALL.
20346         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20347         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20348         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20349         [__ASSUME_ACCEPT4]: Change condition to
20350         [__ASSUME_ACCEPT4_SOCKETCALL].
20351         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20352         (__ASSUME_SOCKETCALL): Define.
20353         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20354         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20355         (__ASSUME_SOCKETCALL): Define.
20356         (__ASSUME_ACCEPT4): Remove.
20357         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20358         Define.
20359         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20360         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20361         Likewise.
20362         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20363         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20365         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20366         macro.
20367         (HWCAP_ARM_LPAE): Likewise.
20368         (HWCAP_ARM_EVTSTRM): Likewise.
20369         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20370         Add vpfd32, lpae and evtstrm.
20371         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20372         Increase to 22.
20374 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
20376         * math/auto-libm-test-in: Add tests of clog10.
20377         * math/auto-libm-test-out: Regenerated.
20378         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20379         * sysdeps/i386/fpu/libm-test-ulps: Update.
20380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20382 2014-02-18  Andreas Schwab  <schwab@suse.de>
20384         [BZ #16574]
20385         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20386         Store non-zero if the second buffer was newly allocated.
20387         (send_dg): Likewise.
20388         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20389         to send_vc and send_dg.
20390         (res_nsend): Pass NULL for ansp2_malloced.
20391         * resolv/res_query.c (__libc_res_nquery): Add parameter
20392         answerp2_malloced and pass it down to __libc_res_nsend.
20393         (res_nquery): Pass additional NULL to __libc_res_nquery.
20394         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20395         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
20396         second answer buffer if answerp2_malloced was set.
20397         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20398         (__libc_res_nquerydomain): Add parameter
20399         answerp2_malloced and pass it down to __libc_res_nquery.
20400         (res_nquerydomain): Pass additional NULL to
20401         __libc_res_nquerydomain.
20402         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20403         additional NULL to __libc_res_nsend and __libc_res_nquery.
20404         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20405         additional NULL to __libc_res_nsearch.
20406         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
20407         parameter of __libc_res_nsearch to check for separately allocated
20408         second buffer.
20409         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20410         __libc_res_nquery.
20411         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20412         additional NULL to __libc_res_nquery.
20413         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20414         __libc_res_nsearch.
20415         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20416         * include/resolv.h: Update prototypes of __libc_res_nquery,
20417         __libc_res_nsearch, __libc_res_nsend.
20419 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
20421         * math/auto-libm-test-in: Add tests of fma.
20422         * math/auto-libm-test-out: Regenerated.
20423         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20424         (fma_towardzero_test_data): Likewise.
20425         (fma_downward_test_data): Likewise.
20426         (fma_upward_test_data): Likewise.
20427         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20428         mpc_mode.
20429         (rounding_modes): Add values for new field.
20430         (func_calc_method): Add value mpfr_fff_f.
20431         (func_calc_desc): Add mpfr_fff_f union field.
20432         (test_function): Add field exact_args.
20433         (FUNC): Add macro argument EXACT_ARGS.
20434         (FUNC_mpfr_f_f): Update call to FUNC.
20435         (FUNC_mpfr_f_f): Likewise.
20436         (FUNC_mpfr_ff_f): Likewise.
20437         (FUNC_mpfr_if_f): Likewise.
20438         (FUNC_mpc_c_f): Likewise.
20439         (FUNC_mpc_c_c): Likewise.
20440         (test_functions): Add fma.  Update calls to FUNC.
20441         (handle_input_arg): Add argument exact_args.
20442         (add_test): Update call to handle_input_arg.
20443         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
20444         (output_for_one_input_case): Update call to calc_generic_results.
20445         Recalculate exact zero results in each rounding mode.
20447         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20448         non-negative before setting low bit.
20449         * math/auto-libm-test-in: Mark one asin test possibly having
20450         spurious underflow.
20451         * math/auto-libm-test-out: Regenerated.
20452         * sysdeps/i386/fpu/libm-test-ulps: Update.
20453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20455 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
20457         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20458         * sysdeps/unix/sysv/linux/microblaze: Move directory from
20459         ports/sysdeps/unix/sysv/linux/microblaze.
20460         * README: Add missing listing for microblaze*-*-linux-gnu.
20462 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
20464         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20465         duplicate code
20467 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
20469         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20470         * sysdeps/unix/sysv/linux/ia64: Move directory from
20471         ports/sysdeps/unix/sysv/linux/ia64.
20472         * README: Update listing for ia64-*-linux-gnu.
20474 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
20475             Joseph Myers  <joseph@codesourcery.com>
20477         * Makeconfig (test-name): New variable.
20478         (evaluate-test): Likewise.
20479         * Makerules (do-test-clean): Remove .test-result files.
20480         (common-mostlyclean): Likewise.
20481         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20482         * scripts/evaluate-test.sh: New file.
20484 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
20486         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20487         separate $(objpfx)tst-fopenloc-cmp.out and
20488         $(objpfx)tst-fopenloc-mem.out targets.
20489         (tests): Update dependencies.
20490         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20491         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20492         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20493         (tst-rxspencer-no-utf8-ARGS): New variable.
20494         (tst-rxspencer-no-utf8-ENV): Likewise.
20495         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20496         instead of $(objpfx)tst-rxspencer-mem.
20497         ($(objpfx)tst-rxspencer-mem): Change target to
20498         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
20499         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20500         * posix/tst-rxspencer-no-utf8.c: New file.
20502         * elf/Makefile ($(objpfx)order.out): Remove rule.
20503         [$(run-built-tests) = yes] (tests): Depend on
20504         $(objpfx)order-cmp.out.
20505         ($(objpfx)order-cmp.out): New rule.
20506         [$(run-built-tests) = yes] (tests): Depend on
20507         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20508         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20509         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20510         $(objpfx)tst-array5-static-cmp.out.
20511         ($(objpfx)tst-array1.out): Remove rule.
20512         ($(objpfx)tst-array1-cmp.out): New rule.
20513         ($(objpfx)tst-array1-static.out): Remove rule.
20514         ($(objpfx)tst-array1-static-cmp.out): New rule.
20515         ($(objpfx)tst-array2.out): Remove rule.
20516         ($(objpfx)tst-array2-cmp.out): New rule.
20517         ($(objpfx)tst-array3.out): Remove rule.
20518         ($(objpfx)tst-array3-cmp.out): New rule.
20519         ($(objpfx)tst-array4.out): Remove rule.
20520         ($(objpfx)tst-array4-cmp.out): New rule.
20521         ($(objpfx)tst-array5.out): Remove rule.
20522         ($(objpfx)tst-array5-cmp.out): New rule.
20523         ($(objpfx)tst-array5-static.out): Remove rule.
20524         ($(objpfx)tst-array5-static-cmp.out): New rule.
20525         [$(run-built-tests) = yes] (tests): Depend on
20526         $(objpfx)order2-cmp.out.
20527         ($(objpfx)order2.out): Remove rule.
20528         ($(objpfx)order2-cmp.out): New rule.
20529         ($(objpfx)tst-initorder.out): Remove rule.
20530         [$(run-built-tests) = yes] (tests): Depend on
20531         $(objpfx)tst-initorder-cmp.out.
20532         ($(objpfx)tst-initorder-cmp.out): New rule.
20533         ($(objpfx)tst-initorder2.out): Remove rule.
20534         [$(run-built-tests) = yes] (tests): Depend on
20535         $(objpfx)tst-initorder2-cmp.out.
20536         ($(objpfx)tst-initorder2-cmp.out): New rule.
20537         [$(run-built-tests) = yes] (tests): Depend on
20538         $(objpfx)tst-unused-dep-cmp.out.
20539         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20540         ($(objpfx)tst-unused-dep-cmp.out): New rule.
20541         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20542         on $(objpfx)tst-setvbuf1-cmp.out.
20543         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20544         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20545         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20546         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20547         ($(objpfx)tst-svc.out): Remove rule.
20548         ($(objpfx)tst-svc-cmp.out): New rule.
20550 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
20552         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20553         * ctype/ctype.h [__USE_MISC]: Likewise.
20554         * dirent/dirent.h [__USE_MISC]: Likewise.
20555         * grp/grp.h [__USE_MISC]: Likewise.
20556         * io/fcntl.h [__USE_MISC]: Likewise.
20557         * io/sys/stat.h [__USE_MISC]: Likewise.
20558         * libio/stdio.h [__USE_MISC]: Likewise.
20559         * posix/unistd.h [__USE_MISC]: Likewise.
20560         * pwd/pwd.h [__USE_MISC]: Likewise.
20561         * stdlib.h [__USE_MISC]: Likewise.
20562         * string/bits/string2.h [__USE_MISC]: Likewise.
20563         * string/string.h [__USE_MISC]: Likewise.
20564         * time/time.h [__USE_MISC]: Likewise.
20566 2014-02-13  Andreas Schwab  <schwab@suse.de>
20568         [BZ #16574]
20569         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20570         second answer buffer if it was separately allocated.
20572 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
20574         * sysdeps/mips/math-tests.h: Include <features.h>.
20575         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20576         (ROUNDING_TESTS_long_double): Do not define.
20577         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20578         (EXCEPTION_TESTS_long_double): Likewise.
20579         * sysdeps/mips/mips64/libm-test-ulps: Update.
20581         * include/features.h (__USE_BSD): Remove macro definitions.
20582         (__USE_SVID): Likewise.
20583         (_BSD_SOURCE): Likewise.
20584         (_SVID_SOURCE): Likewise.
20585         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20586         from definition of _DEFAULT_SOURCE.
20587         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20588         [_DEFAULT_SOURCE].
20589         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20590         * bits/mman.h [__USE_BSD]: Likewise.
20591         * bits/termios.h [__USE_BSD]: Likewise.
20592         * bits/waitstatus.h [__USE_BSD]: Likewise.
20593         * ctype/ctype.h [__USE_SVID]: Likewise.
20594         * dirent/dirent.h [__USE_BSD]: Likewise.
20595         * grp/grp.h [__USE_SVID]: Likewise.
20596         [__USE_BSD]: Likewise.
20597         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20598         * io/fcntl.h [__USE_BSD]: Likewise.
20599         * io/ftw.h [__USE_BSD]: Likewise.
20600         * io/sys/stat.h [__USE_BSD]: Likewise.
20601         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20602         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20603         * libio/stdio.h [__USE_SVID]: Likewise.
20604         [__USE_BSD]: Likewise.
20605         * math/math.h [__USE_SVID]: Likewise.
20606         [__USE_BSD]: Likewise.
20607         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20608         * misc/bits/syslog.h [__USE_BSD]: Likewise.
20609         * misc/search.h [__USE_SVID]: Likewise.
20610         * misc/sys/mman.h [__USE_BSD]: Likewise.
20611         * misc/sys/syslog.h [__USE_BSD]: Likewise.
20612         * misc/sys/uio.h [__USE_BSD]: Likewise.
20613         * posix/bits/unistd.h [__USE_BSD]: Likewise.
20614         * posix/glob.h [__USE_BSD]: Likewise.
20615         * posix/regex.h [__USE_BSD]: Likewise.
20616         * posix/sys/types.h [__USE_BSD]: Likewise.
20617         [__USE_SVID]: Likewise.
20618         * posix/sys/utsname.h [__USE_SVID]: Likewise.
20619         * posix/sys/wait.h [__USE_BSD]: Likewise.
20620         [__USE_SVID]: Likewise.
20621         * posix/unistd.h [__USE_BSD]: Likewise.
20622         [__USE_SVID]: Likewise.
20623         * pwd/pwd.h [__USE_SVID]: Likewise.
20624         * resolv/netdb.h [__USE_BSD]: Likewise.
20625         * setjmp/setjmp.h [__USE_BSD]: Likewise.
20626         * signal/signal.h [__USE_BSD]: Likewise.
20627         [__USE_SVID]: Likewise.
20628         * socket/sys/socket.h [__USE_BSD]: Likewise.
20629         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20630         * stdlib/stdlib.h [__USE_BSD]: Likewise.
20631         [__USE_SVID]: Likewise.
20632         * string/bits/string2.h [__USE_BSD]: Likewise.
20633         [__USE_SVID]: Likewise.
20634         * string/bits/string3.h [__USE_BSD]: Likewise.
20635         * string/endian.h [__USE_BSD]: Likewise.
20636         * string/string.h [__USE_SVID]: Likewise.
20637         [__USE_BSD]: Likewise.
20638         * string/strings.h [__USE_BSD]: Likewise.
20639         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20640         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20641         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20642         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20643         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20644         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20645         Likewise.
20646         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20647         Likewise.
20648         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20649         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20650         Likewise.
20651         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20652         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20653         Likewise.
20654         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20655         Likewise.
20656         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20657         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20658         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20659         Likewise.
20660         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20661         Likewise.
20662         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20663         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20664         * termios/termios.h [__USE_BSD]: Likewise.
20665         * time/sys/time.h [__USE_BSD]: Likewise.
20666         * time/time.h [__USE_BSD]: Likewise.
20667         [__USE_SVID]: Likewise.
20669         * Makefile (subdir_targets): Remove subdir_lint.out.
20671         * stdio-common/Makefile (do-tst-unbputc): Remove target.
20672         (do-tst-printf): Likewise.
20673         (tests): Depend directly on $(objpfx)tst-unbputc.out and
20674         $(objpfx)tst-printf.out.
20676         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20678         * Makerules (check-abi-%): Change target to
20679         $(objpfx)check-abi-%.out.
20680         (check-abi target): Update dependencies.
20681         (check-abi-pattern variable): Redirect output of diff to $@.
20682         (check-abi variable): Likewise.
20683         * elf/Makefile (check-abi): Update dependencies.
20685         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20686         unused.
20687         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20688         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20689         subnormal range.
20690         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20691         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20692         value has largest subnormal exponent.
20693         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20694         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20695         * sysdeps/aarch64/soft-fp/sfp-machine.h
20696         (_FP_TININESS_AFTER_ROUNDING): New macro.
20697         * sysdeps/alpha/soft-fp/sfp-machine.h
20698         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20699         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20700         Likewise.
20701         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20702         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20703         * sysdeps/mips/soft-fp/sfp-machine.h
20704         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20705         * sysdeps/powerpc/soft-fp/sfp-machine.h
20706         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20707         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20708         Likewise.
20709         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20710         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20711         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20712         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20713         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20714         Likewise.
20716 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
20718         [BZ #16545]
20719         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20720         model 1.
20722 2014-02-12  Richard Henderson  <rth@redhat.com>
20724         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20725         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20726         * sysdeps/unix/sysv/linux/alpha: Move directory from
20727         ports/sysdeps/unix/sysv/linux/alpha.
20728         * README: Update listing for alpha-*-linux-gnu.
20730 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
20732         * include/features.h: Update comment documenting feature test
20733         macros.
20734         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
20735         _DEFAULT_SOURCE.
20736         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20737         (_SVID_SOURCE): Likewise.
20738         (_DEFAULT_SOURCE): Update description of default features.
20739         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20740         with _GNU_SOURCE.
20741         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20742         (S_ISVTX): Likewise.
20743         * manual/math.texi (Mathematical Constants): Likewise.
20744         * manual/signal.texi (Interrupted Primitives): Likewise.
20745         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20746         * math/test-matherr.c (_SVID_SOURCE): Do not define.
20747         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20748         Don't refer to _SVID_SOURCE in warning text.
20750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20752         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20753         already defined.
20754         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20755         * sysdeps/mips/dl-lookup.c: Remove.
20756         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20758 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20760         [BZ #16447]
20761         * math/auto-libm-test-in: Add testcase for expl.
20762         * math/auto-libm-test-out: Regenerate.
20763         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20764         calculation of unsafe.
20765         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20767 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20769         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20770         * sysdeps/unix/sysv/linux/aarch64: Move directory from
20771         ports/sysdeps/unix/sysv/linux/aarch64.
20772         * README: Update listing for aarch64*-*-linux-gnu.
20774 2014-02-11  Will Newton  <will.newton@linaro.org>
20776         * manual/probes.texi (Mathematical Function Probes): Use
20777         "triggered" instead of "hit".
20779         * manual/probes.texi (Internal Probes): Add documentation
20780         of setjmp, longjmp and longjmp_target probes.
20782         * include/stap-probe.h: Add comment about probe argument
20783         format.
20785         * malloc/mtrace.c (attribute_hidden): Remove unused macro
20786         definition.  (tr_where, tr_freehook, tr_mallochook,
20787         tr_reallochook, tr_memalignhook): Use ANSI protoype.
20789 2014-02-11  David S. Miller  <davem@davemloft.net>
20791         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20792         processing int_tests.
20794 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
20796         * sysdeps/mips: Move directory from ports/sysdeps/mips.
20797         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20798         * sysdeps/unix/sysv/linux/mips: Move directory from
20799         ports/sysdeps/unix/sysv/linux/mips.
20800         * README: Update listing for mips-*-linux-gnu and
20801         mips64-*-linux-gnu.
20803 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
20805         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20806         * sysdeps/unix/sysv/linux/m68k: Move directory from
20807         ports/sysdeps/unix/sysv/linux/m68k.
20808         * README: Update listing for m68k-*-linux-gnu.
20810 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
20812         * sysdeps/tile: Move directory from ports/sysdeps/tile.
20813         * sysdeps/unix/sysv/linux/generic: Move directory from
20814         ports/sysdeps/unix/sysv/linux/generic.
20815         * sysdeps/unix/sysv/linux/tile: Move directory from
20816         ports/sysdeps/unix/sysv/linux/tile.
20817         * README: Update listing for tile*-*-linux-gnu.
20819 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
20821         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20822         __builtin_expect.
20823         * benchtests/bench-memmem.c (simple_memmem): Likewise.
20824         * catgets/open_catalog.c (__open_catalog): Likewise.
20825         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20826         * debug/confstr_chk.c: Likewise.
20827         * debug/fread_chk.c (__fread_chk): Likewise.
20828         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20829         * debug/getgroups_chk.c: Likewise.
20830         * debug/mbsnrtowcs_chk.c: Likewise.
20831         * debug/mbsrtowcs_chk.c: Likewise.
20832         * debug/mbstowcs_chk.c: Likewise.
20833         * debug/memcpy_chk.c: Likewise.
20834         * debug/memmove_chk.c: Likewise.
20835         * debug/mempcpy_chk.c: Likewise.
20836         * debug/memset_chk.c: Likewise.
20837         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20838         * debug/strcat_chk.c (__strcat_chk): Likewise.
20839         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20840         * debug/strncat_chk.c (__strncat_chk): Likewise.
20841         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20842         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20843         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20844         * debug/wcpncpy_chk.c: Likewise.
20845         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20846         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20847         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20848         * debug/wcsncpy_chk.c: Likewise.
20849         * debug/wcsnrtombs_chk.c: Likewise.
20850         * debug/wcsrtombs_chk.c: Likewise.
20851         * debug/wcstombs_chk.c: Likewise.
20852         * debug/wmemcpy_chk.c: Likewise.
20853         * debug/wmemmove_chk.c: Likewise.
20854         * debug/wmempcpy_chk.c: Likewise.
20855         * debug/wmemset_chk.c: Likewise.
20856         * dirent/scandirat.c (SCANDIRAT): Likewise.
20857         * dlfcn/dladdr1.c (dladdr1): Likewise.
20858         * dlfcn/dladdr.c (dladdr): Likewise.
20859         * dlfcn/dlclose.c (dlclose_doit): Likewise.
20860         * dlfcn/dlerror.c (__dlerror): Likewise.
20861         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20862         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20863         * dlfcn/dlopen.c (dlopen_doit): Likewise.
20864         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20865         * dlfcn/dlsym.c (dlsym_doit): Likewise.
20866         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20867         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20868         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20869         Likewise.
20870         * elf/dl-conflict.c: Likewise.
20871         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20872         * elf/dl-dst.h: Likewise.
20873         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20874         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20875         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20876         * elf/dl-init.c (call_init, _dl_init): Likewise.
20877         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
20878         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20879         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20880         Likewise.
20881         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20882         Likewise.
20883         * elf/dl-minimal.c (__libc_memalign): Likewise.
20884         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20885         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20886         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20887         * elf/dl-sym.c (do_sym): Likewise.
20888         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20889         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
20890         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20891         * elf/dl-writev.h (_dl_writev): Likewise.
20892         * elf/ldconfig.c (search_dir): Likewise.
20893         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20894         (dl_main): Likewise.
20895         * elf/setup-vdso.h (setup_vdso): Likewise.
20896         * grp/compat-initgroups.c (compat_call): Likewise.
20897         * grp/fgetgrent.c (fgetgrent): Likewise.
20898         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20899         * grp/putgrent.c (putgrent): Likewise.
20900         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20901         Likewise.
20902         * hurd/hurdinit.c: Likewise.
20903         * iconvdata/8bit-gap.c (struct): Likewise.
20904         * iconvdata/ansi_x3.110.c : Likewise.
20905         * iconvdata/big5.c : Likewise.
20906         * iconvdata/big5hkscs.c : Likewise.
20907         * iconvdata/cp1255.c: Likewise.
20908         * iconvdata/cp1258.c : Likewise.
20909         * iconvdata/cp932.c : Likewise.
20910         * iconvdata/euc-cn.c: Likewise.
20911         * iconvdata/euc-jisx0213.c : Likewise.
20912         * iconvdata/euc-jp.c: Likewise.
20913         * iconvdata/euc-jp-ms.c : Likewise.
20914         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20915         * iconvdata/gb18030.c : Likewise.
20916         * iconvdata/gbbig5.c (const): Likewise.
20917         * iconvdata/gbgbk.c: Likewise.
20918         * iconvdata/gbk.c : Likewise.
20919         * iconvdata/ibm1364.c : Likewise.
20920         * iconvdata/ibm930.c : Likewise.
20921         * iconvdata/ibm932.c: Likewise.
20922         * iconvdata/ibm933.c : Likewise.
20923         * iconvdata/ibm935.c : Likewise.
20924         * iconvdata/ibm937.c : Likewise.
20925         * iconvdata/ibm939.c : Likewise.
20926         * iconvdata/ibm943.c: Likewise.
20927         * iconvdata/iso_11548-1.c: Likewise.
20928         * iconvdata/iso-2022-cn.c : Likewise.
20929         * iconvdata/iso-2022-cn-ext.c : Likewise.
20930         * iconvdata/iso-2022-jp-3.c: Likewise.
20931         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20932         * iconvdata/iso-2022-kr.c : Likewise.
20933         * iconvdata/iso646.c (gconv_end): Likewise.
20934         * iconvdata/iso_6937-2.c : Likewise.
20935         * iconvdata/iso_6937.c : Likewise.
20936         * iconvdata/iso8859-1.c: Likewise.
20937         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20938         * iconvdata/shift_jisx0213.c : Likewise.
20939         * iconvdata/sjis.c : Likewise.
20940         * iconvdata/t.61.c : Likewise.
20941         * iconvdata/tcvn5712-1.c : Likewise.
20942         * iconvdata/tscii.c: Likewise.
20943         * iconvdata/uhc.c : Likewise.
20944         * iconvdata/unicode.c (gconv_end): Likewise.
20945         * iconvdata/utf-16.c (gconv_end): Likewise.
20946         * iconvdata/utf-32.c (gconv_end): Likewise.
20947         * iconvdata/utf-7.c (base64): Likewise.
20948         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20949         * iconv/gconv_close.c (__gconv_close): Likewise.
20950         * iconv/gconv_open.c (__gconv_open): Likewise.
20951         * iconv/gconv_simple.c (internal_ucs4_loop_single)
20952         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20953         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20954         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20955         (ucs4le_internal_loop_single): Likewise.
20956         * iconv/iconv.c (iconv): Likewise.
20957         * iconv/iconv_close.c: Likewise.
20958         * iconv/loop.c (SINGLE): Likewise.
20959         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20960         * include/atomic.h: Likewise.
20961         * inet/inet6_option.c (option_alloc): Likewise.
20962         * intl/bindtextdom.c (set_binding_values): Likewise.
20963         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20964         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20965         * intl/localealias.c (read_alias_file): Likewise.
20966         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20967         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20968         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20969         * libio/fmemopen.c (fmemopen): Likewise.
20970         * libio/iofgets.c (_IO_fgets): Likewise.
20971         * libio/iofgets_u.c (fgets_unlocked): Likewise.
20972         * libio/iofgetws.c (fgetws): Likewise.
20973         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20974         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20975         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20976         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20977         * locale/findlocale.c (_nl_find_locale): Likewise.
20978         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20979         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20980         Likewise.
20981         * locale/setlocale.c (setlocale): Likewise.
20982         * login/programs/pt_chown.c (main): Likewise.
20983         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20984         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20985         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20986         (mmap, mmap64, mremap, munmap): Likewise.
20987         * math/e_exp2l.c: Likewise.
20988         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20989         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20990         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20991         * math/s_catan.c (__catan): Likewise.
20992         * math/s_catanf.c (__catanf): Likewise.
20993         * math/s_catanh.c (__catanh): Likewise.
20994         * math/s_catanhf.c (__catanhf): Likewise.
20995         * math/s_catanhl.c (__catanhl): Likewise.
20996         * math/s_catanl.c (__catanl): Likewise.
20997         * math/s_ccosh.c (__ccosh): Likewise.
20998         * math/s_ccoshf.c (__ccoshf): Likewise.
20999         * math/s_ccoshl.c (__ccoshl): Likewise.
21000         * math/s_cexp.c (__cexp): Likewise.
21001         * math/s_cexpf.c (__cexpf): Likewise.
21002         * math/s_cexpl.c (__cexpl): Likewise.
21003         * math/s_clog10.c (__clog10): Likewise.
21004         * math/s_clog10f.c (__clog10f): Likewise.
21005         * math/s_clog10l.c (__clog10l): Likewise.
21006         * math/s_clog.c (__clog): Likewise.
21007         * math/s_clogf.c (__clogf): Likewise.
21008         * math/s_clogl.c (__clogl): Likewise.
21009         * math/s_csin.c (__csin): Likewise.
21010         * math/s_csinf.c (__csinf): Likewise.
21011         * math/s_csinh.c (__csinh): Likewise.
21012         * math/s_csinhf.c (__csinhf): Likewise.
21013         * math/s_csinhl.c (__csinhl): Likewise.
21014         * math/s_csinl.c (__csinl): Likewise.
21015         * math/s_csqrt.c (__csqrt): Likewise.
21016         * math/s_csqrtf.c (__csqrtf): Likewise.
21017         * math/s_csqrtl.c (__csqrtl): Likewise.
21018         * math/s_ctan.c (__ctan): Likewise.
21019         * math/s_ctanf.c (__ctanf): Likewise.
21020         * math/s_ctanh.c (__ctanh): Likewise.
21021         * math/s_ctanhf.c (__ctanhf): Likewise.
21022         * math/s_ctanhl.c (__ctanhl): Likewise.
21023         * math/s_ctanl.c (__ctanl): Likewise.
21024         * math/w_pow.c: Likewise.
21025         * math/w_powf.c: Likewise.
21026         * math/w_powl.c: Likewise.
21027         * math/w_scalb.c (sysv_scalb): Likewise.
21028         * math/w_scalbf.c (sysv_scalbf): Likewise.
21029         * math/w_scalbl.c (sysv_scalbl): Likewise.
21030         * misc/error.c (error_tail): Likewise.
21031         * misc/pselect.c (__pselect): Likewise.
21032         * nis/nis_callback.c (__nis_create_callback): Likewise.
21033         * nis/nis_call.c (__nisfind_server): Likewise.
21034         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21035         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21036         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21037         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21038         * nis/nis_lookup.c (nis_lookup): Likewise.
21039         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21040         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21041         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21042         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21043         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21044         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21045         * nis/nss_compat/compat-initgroups.c (add_group)
21046         (internal_getgrent_r): Likewise.
21047         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21048         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21049         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21050         (internal_getspnam_r): Likewise.
21051         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21052         (_nss_nis_getaliasbyname_r): Likewise.
21053         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21054         (_nss_nis_getntohost_r): Likewise.
21055         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21056         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21057         (_nss_nis_getgrgid_r): Likewise.
21058         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21059         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21060         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21061         (_nss_nis_gethostbyname4_r): Likewise.
21062         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21063         (initgroups_netid): Likewise.
21064         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21065         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21066         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21067         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21068         (_nss_nis_getprotobynumber_r): Likewise.
21069         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21070         (_nss_nis_getsecretkey): Likewise.
21071         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21072         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21073         (_nss_nis_getpwuid_r): Likewise.
21074         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21075         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21076         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21077         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21078         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21079         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21080         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21081         Likewise.
21082         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21083         (_nss_nisplus_getntohost_r): Likewise.
21084         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21085         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21086         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21087         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21088         Likewise.
21089         * nis/nss_nisplus/nisplus-initgroups.c
21090         (_nss_nisplus_initgroups_dyn): Likewise.
21091         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21092         (_nss_nisplus_getnetbyaddr_r): Likewise.
21093         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21094         (_nss_nisplus_getprotobynumber_r): Likewise.
21095         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21096         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21097         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21098         Likewise.
21099         * nis/nss_nisplus/nisplus-service.c
21100         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21101         (_nss_nisplus_getservbyport_r): Likewise.
21102         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21103         (_nss_nisplus_getspnam_r): Likewise.
21104         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21105         Likewise.
21106         * nscd/aicache.c (addhstaiX): Likewise.
21107         * nscd/cache.c (cache_search, prune_cache): Likewise.
21108         * nscd/connections.c (register_traced_file, send_ro_fd)
21109         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21110         (main_loop_epoll): Likewise.
21111         * nscd/grpcache.c (addgrbyX): Likewise.
21112         * nscd/hstcache.c (addhstbyX): Likewise.
21113         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21114         * nscd/mem.c (gc, mempool_alloc): Likewise.
21115         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21116         (addinnetgrX): Likewise.
21117         * nscd/nscd-client.h (__nscd_acquire_maplock)
21118         (__nscd_drop_map_ref): Likewise.
21119         * nscd/nscd_getai.c (__nscd_getai): Likewise.
21120         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21121         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21122         Likewise.
21123         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21124         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21125         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21126         (__nscd_get_map_ref): Likewise.
21127         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21128         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21129         Likewise.
21130         * nscd/pwdcache.c (addpwbyX): Likewise.
21131         * nscd/selinux.c (preserve_capabilities): Likewise.
21132         * nscd/servicescache.c (addservbyX): Likewise.
21133         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21134         * posix/fnmatch.c (fnmatch): Likewise.
21135         * posix/getopt.c (_getopt_internal_r): Likewise.
21136         * posix/glob.c (glob, glob_in_dir): Likewise.
21137         * posix/wordexp.c (exec_comm_child): Likewise.
21138         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21139         (getanswer_r, gaih_getanswer_slice): Likewise.
21140         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21141         * resolv/res_init.c: Likewise.
21142         * resolv/res_mkquery.c (res_nmkquery): Likewise.
21143         * resolv/res_query.c (__libc_res_nquery): Likewise.
21144         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21145         Likewise.
21146         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21147         * stdio-common/perror.c (perror): Likewise.
21148         * stdio-common/printf_fp.c (___printf_fp): Likewise.
21149         * stdio-common/tmpnam.c (tmpnam): Likewise.
21150         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21151         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21152         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21153         Likewise.
21154         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21155         * stdlib/putenv.c (putenv): Likewise.
21156         * stdlib/setenv.c (__add_to_environ): Likewise.
21157         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21158         * stdlib/strtol_l.c (INTERNAL): Likewise.
21159         * string/memmem.c (memmem): Likewise.
21160         * string/strerror.c (strerror): Likewise.
21161         * string/strnlen.c (__strnlen): Likewise.
21162         * string/test-memmem.c (simple_memmem): Likewise.
21163         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21164         * sunrpc/pm_getport.c (__get_socket): Likewise.
21165         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21166         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21167         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21168         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21169         Likewise.
21170         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21171         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21172         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21173         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21174         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21175         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21176         Likewise.
21177         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21178         Likewise.
21179         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21180         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21181         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21182         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21183         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21185         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21186         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21187         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21188         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21189         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21190         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21191         Likewise.
21192         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21193         Likewise.
21194         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21195         Likewise.
21196         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21197         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21198         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21199         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21200         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21201         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21202         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21203         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21204         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21205         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21206         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21207         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21208         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21209         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21210         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21211         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21212         Likewise.
21213         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21214         Likewise.
21215         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21216         Likewise.
21217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21218         Likewise.
21219         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21221         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21222         Likewise.
21223         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21224         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21225         * sysdeps/posix/opendir.c (__opendirat): Likewise.
21226         * sysdeps/posix/sleep.c: Likewise.
21227         * sysdeps/posix/tempname.c: Likewise.
21228         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21229         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21230         Likewise.
21231         * sysdeps/powerpc/powerpc32/dl-machine.h
21232         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21233         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21234         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21235         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21236         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21237         Likewise.
21238         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21239         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21240         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21241         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21242         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21243         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21244         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21245         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21246         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21247         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21248         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21249         (elf_machine_lazy_rel): Likewise.
21250         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21252         (elf_machine_lazy_rel): Likewise.
21253         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21254         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21255         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21256         * sysdeps/unix/grantpt.c (grantpt): Likewise.
21257         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21258         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21259         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21260         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21261         Likewise.
21262         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21263         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21264         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21265         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21266         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21267         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21268         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21269         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21270         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21271         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21272         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21273         Likewise.
21274         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21275         (__posix_fallocate64_l64): Likewise.
21276         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21277         (posix_fallocate): Likewise.
21278         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21279         Likewise.
21280         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21281         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21282         (getifaddrs_internal): Likewise.
21283         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21284         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21285         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21286         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21287         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21288         (__posix_fallocate64_l64): Likewise.
21289         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21290         Likewise.
21291         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21292         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21293         (__get_clockfreq): Likewise.
21294         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21295         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21296         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21298         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21299         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21300         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21301         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21302         Likewise.
21303         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21304         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21305         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21306         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21307         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21308         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21309         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21310         Likewise.
21311         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21312         (posix_fallocate): Likewise.
21313         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21314         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21315         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21316         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21317         (elf_machine_rela, elf_machine_rela_relative)
21318         (elf_machine_lazy_rel): Likewise.
21319         * time/asctime.c (asctime_internal): Likewise.
21320         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21321         * time/tzset.c (__tzset_parse_tz): Likewise.
21322         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21323         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21324         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21325         * wcsmbs/wcsmbsload.h: Likewise.
21327         [BZ #15894]
21328         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21330         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21331         (arena_get2): Remove THREAD_STATS conditionals.
21332         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21333         (__malloc_stats, int): Likewise.
21335 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
21337         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21338         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
21340         * manual/setjmp.texi: Fix typos/grammar errors.
21342         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21343         Only return early when n is <= 0.  Delete unused return statement.
21345         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21346         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21347         * debug/tst-longjmp_chk3.c: New file.
21349         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21350         (test_main): Replace code with set_fortify_handler call.
21351         * debug/test-strcpy_chk.c: Likewise.
21352         * debug/tst-chk1.c: Likewise.
21353         * debug/tst-longjmp_chk.c: Likewise.
21354         * test-skeleton.c: Include fcntl.h & paths.h
21355         (set_fortify_handler): Define.
21357         * debug/tst-longjmp_chk.c: Add header comment and include
21358         ../test-skeleton.c.
21359         (do_test): Mark static.
21360         (TEST_FUNCTION): Define.
21362         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21363         (IP_PMTUDISC_INTERFACE): Likewise.
21364         (IP_MULTICAST_IF): Likewise.
21365         (IP_MULTICAST_TTL): Likewise.
21366         (IP_MULTICAST_LOOP): Likewise.
21367         (IP_ADD_MEMBERSHIP): Likewise.
21368         (IP_DROP_MEMBERSHIP): Likewise.
21369         (IP_UNBLOCK_SOURCE): Likewise.
21370         (IP_BLOCK_SOURCE): Likewise.
21371         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21372         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21373         (IP_MSFILTER): Likewise.
21374         (MCAST_JOIN_GROUP): Likewise.
21375         (MCAST_BLOCK_SOURCE): Likewise.
21376         (MCAST_UNBLOCK_SOURCE): Likewise.
21377         (MCAST_LEAVE_GROUP): Likewise.
21378         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21379         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21380         (MCAST_MSFILTER): Likewise.
21381         (IP_MULTICAST_ALL): Likewise.
21382         (IP_UNICAST_IF): Likewise.
21384         * timezone/Makefile: Delete $(have-ksh) check.
21385         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21386         * timezone/tzselect.ksh: Add +x mode bits.
21388         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21389         (ANON_INODE_FS_MAGIC): Likewise.
21390         (BDEVFS_MAGIC): Likewise.
21391         (BINFMTFS_MAGIC): Likewise.
21392         (BTRFS_TEST_MAGIC): Likewise.
21393         (CRAMFS_MAGIC_WEND): Likewise.
21394         (DEBUGFS_MAGIC): Likewise.
21395         (ECRYPTFS_SUPER_MAGIC): Likewise.
21396         (EXT3_SUPER_MAGIC): Likewise.
21397         (EXT4_SUPER_MAGIC): Likewise.
21398         (FUTEXFS_SUPER_MAGIC): Likewise.
21399         (HOSTFS_SUPER_MAGIC): Likewise.
21400         (HUGETLBFS_MAGIC): Likewise.
21401         (MINIX3_SUPER_MAGIC): Likewise.
21402         (MTD_INODE_FS_MAGIC): Likewise.
21403         (NILFS_SUPER_MAGIC): Likewise.
21404         (OPENPROM_SUPER_MAGIC): Likewise.
21405         (PIPEFS_MAGIC): Likewise.
21406         (PSTOREFS_MAGIC): Likewise.
21407         (QNX6_SUPER_MAGIC): Likewise.
21408         (RAMFS_MAGIC): Likewise.
21409         (REISERFS_SUPER_MAGIC_STRING): Likewise.
21410         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21411         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21412         (SECURITYFS_MAGIC): Likewise.
21413         (SELINUX_MAGIC): Likewise.
21414         (SMACK_MAGIC): Likewise.
21415         (SOCKFS_MAGIC): Likewise.
21416         (SQUASHFS_MAGIC): Likewise.
21417         (STACK_END_MAGIC): Likewise.
21418         (TMPFS_MAGIC): Likewise.
21419         (USBDEVICE_SUPER_MAGIC): Likewise.
21420         (V9FS_MAGIC): Likewise.
21421         (XENFS_SUPER_MAGIC): Likewise.
21422         (CRAMFS_MAGIC): Fix typo in comment.
21423         (EXT2_SUPER_MAGIC): Update comment.
21424         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21426 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
21428         * sysdeps/arm: Move directory from ports/sysdeps/arm.
21429         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21430         * sysdeps/unix/sysv/linux/arm: Move directory from
21431         ports/sysdeps/unix/sysv/linux/arm.
21432         * README: Update listing for arm-*-linux-gnueabi.
21434         * README: Remove mention of am33.
21436 2014-02-07  Roland McGrath  <roland@hack.frob.com>
21438         * bits/sigset.h (__sigemptyset): Use a statement expression rather
21439         than the comma operator, to avoid "rhs of comma has no effect"
21440         compiler warnings.
21441         (__sigfillset, __sigandset, __sigorset): Likewise.
21442         * include/signal.h (__sigemptyset): Likewise.
21443         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21445 2014-02-07  Allan McRae  <allan@archlinux.org>
21447         * version.h (RELEASE): Set to "development".
21448         (VERSION): Set to "2.19.90"
21449         * NEWS: Add 2.20 section.
21451 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
21453         [BZ #16529]
21454         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21456 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21458         * manual/contrib.texi: Update entry for Carlos O'Donell,
21459         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21461 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
21463         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21465         * sysdeps/unix/sysv/linux/kernel-features.h
21466         [__LINUX_KERNEL_VERSION >= 0x020621]
21467         (__ASSUME_PROC_PID_TASK_COMM): Define.
21469 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21471         [BZ #16398]
21472         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21473         conversion when destination buffer does not have enough space.
21474         * libio/tst-ftell-partial-wide.c: New test case.
21475         * libio/Makefile (tests): Add tst-ftell-partial-wide.
21477         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21478         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
21479         Leonard and Allan McRae.
21481 2014-02-04  David S. Miller  <davem@davemloft.net>
21483         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21484         32-bit.
21486 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21489         New file
21490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21491         New file
21492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21493         New file.
21494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21495         New file.
21496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21497         New file.
21498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21499         New file.
21500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21501         New file.
21502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21503         New file.
21504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21505         New file.
21506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21507         New file.
21508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21509         New file.
21510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21511         New file.
21512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21513         New file.
21515 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21517         * nptl/shlib-versions: Change powerpc*le start to 2.17.
21518         * shlib-versions: Likewise.
21520 2014-02-04  Roland McGrath  <roland@hack.frob.com>
21521             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21523         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21524         (abilist-pattern): New variable, set to %-le.abilist.
21526         * Makerules (abilist-pattern): New variable.
21527         (vpath): Use $(abilist-pattern) in place of %.abilist.
21528         (check-abi-% pattern rule): Likewise.
21529         (check-abi, update-abi): Likewise.
21531 2014-02-04  Eric Wong  <normalperson@yhbt.net>
21533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21535 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
21537         * manual/startup.texi: Add next, previous, and top entries for
21538         the `Program Arguments' and `Environment Variables' nodes.
21540 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
21542         * manual/macros.texi: Add comments before MTASC-safety macros.
21544         * manual/users.texi: Document MTASC-safety properties.
21546         * manual/threads.texi (pthread_key_create, pthread_key_delete)
21547         (pthread_getspecific, pthread_setspecific): Format with
21548         @deftypefun, and add @safety note.
21549         * manual/signal.texi: Move comments that analyze the above
21550         functions to their home place.
21552 2014-02-03  Allan McRae  <allan@archlinux.org>
21554         * po/sl.po: Update Slovenian translation from translation project.
21556 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
21558         * manual/time.texi (timegm): Add missing blank after @c.
21559         Reported by Joseph Myers <joseph@codesourcery.com>.
21561 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
21563         * manual/check-safety.sh: New.
21564         * manual/Makefile ($(objpfx)stamp-summary): Run it.
21566         * manual/terminal.texi: Document MTASC-safety properties.
21568         * manual/filesys.texi: Document MTASC-safety properties.
21570         * manual/errno.texi: Document MTASC-safety properties.
21572         * manual/intro.texi: Document safety identifiers and
21573         conditionals.
21575         * manual/string.texi (wcstok): Fix prototype.
21576         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21578         * manual/time.texi: Document MTASC-safety properties.
21580         * manual/string.texi: Document MTASC-safety properties.
21582         * manual/threads.texi: Document MTASC-safety properties.
21584         * manual/stdio.texi: Document MTASC-safety properties.
21586         * manual/syslog.texi: Document MTASC-safety properties.
21588         * manual/sysinfo.texi: Document MTASC-safety properties.
21590         * manual/startup.texi: Document MTASC-safety properties.
21592         * manual/socket.texi: Document MTASC-safety properties.
21594         * manual/signal.texi: Document MTASC-safety properties.
21596 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
21598         * manual/setjmp.texi: Document MTASC-safety properties.
21600         * manual/search.texi: Document MTASC-safety properties.
21602         * manual/resource.texi: Document MTASC-safety properties.
21604         * manual/process.texi: Document MTASC-safety properties.
21606         * manual/platform.texi: Document MTASC-safety properties.
21608         * manual/pipe.texi: Document MTASC-safety properties.
21610         * manual/pattern.texi: Document MTASC-safety properties.
21612         * manual/message.texi: Document MTASC-safety properties.
21614         [BZ #12751]
21615         * manual/memory.texi: Document MTASC-safety properties.
21617         * manual/math.texi: Document MTASC-safety properties.
21619         * manual/locale.texi: Document MTASC-safety properties.
21621         * manual/llio.texi: Document MTASC-safety properties.
21623         * manual/libdl.texi: New.
21625         * manual/lang.texi: Document MTASC-safety properties.
21627         * manual/job.texi: Document MTASC-safety properties.
21629         * manual/getopt.texi: Document MTASC-safety properties.
21631         * manual/ctype.texi: Document MTASC-safety properties.
21633 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
21635         [BZ #16046]
21636         * csu/libc-tls.c (static_map): Remove variable.
21637         (__libc_setup_tls): Use main executable's link map for TLS data.
21638         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21639         casing for LM_ID_BASE and GL(dl_nns).
21640         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21641         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
21642         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21643         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21644         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21645         member.
21646         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21647         l_phnum members.
21649 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
21651         * manual/debug.texi: Document MTASC-safety properties.
21653 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
21655         [BZ #16510]
21656         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21657         of __x86_64__ when disabling x87 inline functions.
21659 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
21661         * manual/charset.texi: Document MTASC-safety properties.
21663         * manual/crypt.texi: Document MTASC-safety properties.
21665         * manual/conf.texi: Document MTASC-safety properties.
21667         * manual/arith.texi: Document MTASC-safety properties.
21669         * manual/argp.texi: Document MTASC-safety properties.
21671         * manual/macros.texi: Introduce macros to document multi
21672         thread, asynchronous signal and asynchronous cancellation
21673         safety properties.
21674         * manual/intro.texi: Introduce the properties themselves.
21676 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21678         * sysdeps/sh/sh4/Makefile: New file.
21680 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
21682         * math/gen-libm-test.pl ($srcdir): New variable.
21683         ($auto_input): Use it.
21685 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21687         [BZ #16506]
21688         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21689         access beyond array bounds when parsing netgroups file.
21691         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21692         the old buffer before realloc.
21694 2014-01-27  Allan McRae  <allan@archlinux.org>
21696         * po/fr.po: Update French translation from translation project.
21698 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21700         * sysdeps/sh/libm-test-ulps: Regenerate.
21702 2014-01-24  David S. Miller  <davem@davemloft.net>
21704         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21706 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21708         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21709         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21711 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21713         [BZ #16474]
21714         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21715         string pointers after reallocation.
21717 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21719         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21720         __SH4A__ instead of __SH_FPU_ANY__.
21722 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21724         * sysdeps/sh/fpu_control.h: New file.
21725         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21726         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21727         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21728         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21729         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21730         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21731         * sysdeps/sh/sys/ucontext.h: Remove.
21732         * sysdeps/sh/sys: Remove directory.
21734 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21736         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21737         s390/sys/ucontext.h.
21738         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21739         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21741 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
21743         [BZ #15605]
21744         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21746 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21748         [BZ#16431]
21749         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21750         Adjust the vDSO correctly for internal calls.
21751         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21753 2014-01-20  Allan McRae  <allan@archlinux.org>
21755         * po/ca.po: Update Catalan translation from translation project.
21757 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
21759         * sysdeps/s390/sotruss-lib.c: New file.
21761 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21763         [BZ#16430]
21764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21765         (__GI___gettimeofday): Alias for a different internal symbol to avoid
21766         local calls issues by not having a PLT stub required for IFUNC calls.
21767         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21769 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
21771         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21772         * math/test-fpucw-static.c: Likewise.
21774 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21776         [BZ #16453]
21777         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21779 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21781         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21782         implementation for powerpc.
21784 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
21786         [BZ #14782]
21787         * sysdeps/posix/system.c (__libc_system): Do not enable
21788         asynchronous cancellation.
21790 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21792         [BZ #16427]
21793         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21794         handling only for numbers special also in the IEEE case.
21796 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21798         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21800 2014-01-11  Allan McRae  <allan@archlinux.org>
21802         * po/bg.po: Update Bulgarian translation from translation project.
21804         * po/de.po: Update German translation from translation project.
21806 2014-01-10  Roland McGrath  <roland@hack.frob.com>
21808         * sysdeps/generic/gcc-compat.h: New file.
21810 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21812         * benchtests/asin-inputs: Correct slow inputs.
21813         * benchtests/acos-inputs: Likewise.
21815 2014-01-10  Allan McRae  <allan@archlinux.org>
21817         * po:sv.po: Update Swedish translation from translation project.
21819         * po/vi.po: Update Vietnamese translation from translation project.
21821         * po/eo.po: Update Esperanto translation from translation project.
21823         * po/cs.po: Update Czech translation from translation project.
21825         * po/nl.po: Update Dutch translation from translation project.
21827         * po/pl.po: Update Polish translation from translation project.
21829         * po/ru.po: Update Russian translation from translation project.
21831         * po/uk.po: Update Ukrainian translation from translation project.
21833 2014-01-08  Brooks Moses  <bmoses@google.com>
21835         * elf/dl-load.c: Fix comment typo.
21837 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
21839         * po/header.pot: Rename to...
21840         * po/pot.header: ... this.
21841         * po/Makefile: Use pot.header.
21843 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
21844             Maxim Kuvyrkov  <maxim@kugelworks.com>
21846         [BZ #16394]
21847         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21848         SRC and DEST against LEN.
21850 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21852         [BZ #16414]
21853         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21854         implementation.
21855         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21857 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21861 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
21863         [BZ #16408]
21864         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21865         for large positive arguments.
21867 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
21869         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21871         * math/auto-libm-test-in: Mark various tests with
21872         xfail-rounding:ldbl-128ibm.
21873         * math/auto-libm-test-out: Regenerated.
21875         [BZ #16407]
21876         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21877         Increase overflow threshold.
21879 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
21881         [BZ #14286]
21882         * stdio-common/vfprintf.c: Check for integer overflow.
21884 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21886         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21887         the first argument and return value of __tls_get_addr_internal.
21889 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21891         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21892         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21894 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21896         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21897         * sysdeps/s390/rtld-global-offsets.sym: New file.
21898         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21899         GLIBC_2.19 symbol.
21900         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21901         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21902         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21903         ... this.
21904         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21905         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21906         ... this.
21907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21908         Regenerate.
21909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21910         Regenerate.
21911         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21912         halfs of GPRs for high_gprs contexts.
21913         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21914         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
21915         field.
21916         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21917         uc_flags field.
21918         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21919         64 bit versions:
21920         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21921         for high GPRs (uc_high_gprs) and for future extensions
21922         (__reserved).
21923         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21924         for future extensions (__reserved).
21925         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21926         64 bit versions:
21927         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21928         SC_HIGHGPRS offset definition.
21929         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21930         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21932         * Versions.def: Add GLIBC_2.19 for libpthread.
21933         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21934         siglongjmp for libpthread with GLIBC_2.19 symver.
21935         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21936         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21937         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21938         * sysdeps/s390/__longjmp.c: New file.
21939         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21940         * sysdeps/s390/longjmp.c: New file.
21941         * sysdeps/s390/setjmp.S: New file.
21942         * sysdeps/s390/sigjmp.S: New file.
21943         * sysdeps/s390/v1-longjmp.c: New file.
21944         * sysdeps/s390/v1-setjmp.h: New file.
21945         * sysdeps/s390/v1-sigjmp.c: New file.
21946         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21947         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21948         GLIBC_2.19 version.
21949         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21950         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21951         versioned symbols for ____longjmp_chk.
21952         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21953         Likewise.
21954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21955         Regenerate.
21956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21957         Regenerate.
21958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21959         Regenerate.
21960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21961         Regenerate.
21962         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21963         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21964         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21965         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21966         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21967         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21968         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21969         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21970         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21971         * sysdeps/s390/rtld-__longjmp.c: New file.
21972         * sysdeps/s390/rtld-setjmp.S: New file.
21974 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
21976         [BZ #16400]
21977         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21978         Return -__logl (x) for small positive arguments without evaluating
21979         a polynomial.
21981 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
21983         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21984         Rename to ...
21985         (__ptrace_peeksiginfo_args): ... this.
21986         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21987         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21988         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21990 2014-01-06  Allan McRae  <allan@archlinux.org>
21992         * inet/netinet/in.h: Fix typo in comment.
21994 2014-01-05  Andreas Jaeger  <aj@suse.de>
21996         * sysdeps/i386/fpu/libm-test-ulps: Update.
21998 2014-01-05  Allan McRae  <allan@archlinux.org>
22000         * po/libc.pot: Regenerated.
22002         * malloc/memusagestat.c: Fix gettext call formatting.
22004 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22006         * nscd/nscd.c: Improve usage() output.
22008 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22010         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22011         * sysdeps/unix/sysv/linux/configure: Regenerated.
22012         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22013         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22015 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22017         [BZ #16390]
22018         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22019         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22021 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22023         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22024         extra tokens at end of #undef directive.
22025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22026         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22027         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22029 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22031         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22033         * math/auto-libm-test-in: Mark various tests with
22034         xfail-rounding:ldbl-128ibm.
22035         * math/auto-libm-test-out: Regenerated.
22037 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22039         [BZ #16386]
22040         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22041         numbers with subnormal high part when calculating exponent.
22043         [BZ #16385]
22044         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22045         fabs.
22047         [BZ #16384]
22048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22049         M_LN2l.
22050         (__ieee754_acoshl): Use __log1pl not __log1p.
22052 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22054         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22055         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22056         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22057         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22058         (reused_arena, arena_get2): Convert to GNU style.
22059         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22060         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22061         (memalign_check, __malloc_set_state): Likewise.
22062         * malloc/mallocbug.c (main): Likewise.
22063         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22064         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22065         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22066         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22067         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22068         (__posix_memalign, malloc_info): Likewise.
22069         * malloc/malloc.h: Likewise.
22070         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22071         (mallochook, memalignhook, reallochook, mabort): Likewise.
22072         * malloc/mcheck.h: Likewise.
22073         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22074         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22075         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22076         * malloc/morecore.c (__default_morecore): Likewise.
22077         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22078         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22079         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22080         (print_and_abort): Likewise.
22081         * malloc/obstack.h: Likewise.
22082         * malloc/set-freeres.c (__libc_freeres): Likewise.
22083         * malloc/tst-mallocstate.c (main): Likewise.
22084         * malloc/tst-mtrace.c (main): Likewise.
22085         * malloc/tst-realloc.c (do_test): Likewise.
22087 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22089         [BZ #16366]
22090         * nscd/netgroupcache.c (do_notfound): New function.
22091         (addgetnetgrentX): Use it.
22093         [BZ # 16365]
22094         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22095         NSS_STATUS_NOTFOUND.
22097 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
22099         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22102 2014-01-01  Allan McRae  <allan@archlinux.org>
22104         * scripts/update-copyrights: Update configure input file suffix.
22106         * NEWS: Update copyright year.
22107         * catgets/gencat.c: Likewise.
22108         * csu/version.c: Likewise.
22109         * debug/catchsegv.sh: Likewise.
22110         * debug/pcprofiledump.c: Likewise.
22111         * debug/xtrace.sh: Likewise.
22112         * elf/ldconfig.c: Likewise.
22113         * elf/ldd.bash.in: Likewise.
22114         * elf/pldd.c: Likewise.
22115         * elf/sotruss.ksh: Likewise.
22116         * elf/sprof.c: Likewise.
22117         * iconv/iconv_prog.c: Likewise.
22118         * iconv/iconvconfig.c: Likewise.
22119         * locale/programs/locale.c: Likewise.
22120         * locale/programs/localedef.c: Likewise.
22121         * login/programs/pt_chown.c: Likewise.
22122         * malloc/memusage.sh: Likewise.
22123         * malloc/memusagestat.c: Likewise.
22124         * malloc/mtrace.pl: Likewise.
22125         * manual/libc.texinfo: Likewise.
22126         * nscd/nscd.c: Likewise.
22127         * nss/getent.c: Likewise.
22128         * nss/makedb.c: Likewise.
22129         * posix/getconf.c: Likewise.
22130         * scripts/test-installation.pl: Likewise.
22132         * All files with FSF copyright notices: Update copyright dates
22133         using scripts/update-copyrights.
22134         * intl/plural.c: Regenerated.
22135         * locale/programs/charmap-kw.h: Likewise.
22136         * locale/programs/locfile-kw.h: Likewise.
22138 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
22140         * sysdeps/unix/sysv/linux/configure: Regenerated.
22141         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22142         the linux/fanotify.h header.
22143         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22144         HAVE_LINUX_FANOTIFY_H is defined.
22146 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22148         * benchtests/cos-inputs: New inputs.
22149         * benchtests/sin-inputs: Likewise.
22151         * benchtests/atan-inputs: New inputs. Fix name of multiple
22152         precision fallback inputs.
22154         * benchtests/atanh-inputs: New inputs.
22155         * benchtests/tanh-inputs: Likewise.
22157         * benchtests/acosh-inputs: New inputs.
22158         * benchtests/asinh-inputs: Likewise.
22160         * benchtests/cosh-inputs: New inputs.
22161         * benchtests/sinh-inputs: Likewise.
22163         * benchtests/acos-inputs: Add more inputs.
22164         * benchtests/asin-inputs: Likewise.
22166 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
22168         [BZ #16375]
22169         * manual/arith.texi: Fix spelling.
22170         * manual/charset.texi: Likewise.
22171         * manual/errno.texi: Likewise.
22172         * manual/filesys.texi: Likewise.
22173         * manual/lang.texi: Likewise.
22174         * manual/llio.texi: Likewise.
22175         * manual/locale.texi: Likewise.
22176         * manual/message.texi: Likewise.
22177         * manual/resource.texi: Likewise.
22178         * manual/search.texi: Likewise.
22179         * manual/setjmp.texi: Likewise.
22180         * manual/stdio.texi: Likewise.
22181         * manual/string.texi: Likewise.
22182         * manual/sysinfo.texi: Likewise.
22183         * manual/time.texi: Likewise.
22185 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
22187         * po/sl.po: New file.
22189 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
22191         * .gitignore: Add core/.gdbinit/.gdb_history.
22193 2013-12-27  Allan McRae  <allan@archlinux.org>
22195         [BZ #16369]
22196         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22197         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22199 2013-12-24  Brooks Moses  <bmoses@google.com>
22201         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22202         all compilers that claim C++98 compliance, not just GCC.
22203         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22204         Likewise.
22206 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22208         * NEWS: Restore accidentally deleted bug-fix entries.
22210 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22211             Ondřej Bílka  <neleai@seznam.cz>
22213         [BZ #15073]
22214         * malloc/malloc.c (_int_free): Perform sanity check only if we
22215         have_lock.
22217 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
22219         [BZ #12986]
22220         * manual/stdio.texi (String Input Conversions): Clarify that character
22221         classes are not supported.
22223 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22227 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
22229         [BZ #16337]
22230         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22231         Calculate results for small negative arguments directly rather
22232         than using reflection formula with special underflow handling.
22234         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22235         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22236         sysdeps/unix/bsd/bsd4.4/syscalls.list.
22237         (fchflags): Likewise.
22238         (revoke): Likewise.
22239         (setlogin): Likewise.
22240         (sigaltstack): Likewise.
22241         (wait4): Likewise.
22242         (sigblock): Remove.
22243         (sigsetmask): Likewise.
22244         (wait3): Likewise.
22245         (waitpid): Likewise.
22246         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22247         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22248         file.
22249         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22250         * sysdeps/unix/bsd/Makefile: ... here.
22251         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22252         * sysdeps/unix/bsd/Versions: ... here.
22253         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22254         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22255         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22256         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22257         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22258         * sysdeps/unix/bsd/sigblock.c: ... here.
22259         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22260         * sysdeps/unix/bsd/sigsetmask.c: ... here.
22261         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22262         * sysdeps/unix/bsd/sigvec.c: ... here.
22263         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22264         * sysdeps/unix/bsd/tcdrain.c: ... here.
22265         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22266         * sysdeps/unix/bsd/tcgetattr.c: ... here.
22267         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22268         * sysdeps/unix/bsd/tcsetattr.c: ... here.
22269         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22270         * sysdeps/unix/bsd/wait.c: ... here.
22271         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22272         * sysdeps/unix/bsd/wait3.c: ... here.
22273         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22274         * sysdeps/unix/bsd/waitpid.c: ... here.
22276 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
22278         [BZ #16356]
22279         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22280         round-to-nearest for [!USE_AS_EXPM1L].
22281         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22282         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
22283         more tests of exp and exp10.  Expect some exp10 tests to miss
22284         exceptions or fail in directed rounding modes.
22285         * math/auto-libm-test-out: Regenerated.
22286         * math/libm-test.inc (exp10_tonearest_test_data): New array.
22287         (exp10_test_tonearest): New function.
22288         (exp10_towardzero_test_data): New array.
22289         (exp10_test_towardzero): New function.
22290         (exp10_downward_test_data): New array.
22291         (exp10_test_downward): New function.
22292         (exp10_upward_test_data): New array.
22293         (exp10_test_upward): New function.
22294         (main): Call the new functions.
22295         * sysdeps/i386/fpu/libm-test-ulps: Update.
22296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22298 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
22300         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22301         asinh, atan, atan2, atanh, cbrt, cos and cosh.
22302         * math/auto-libm-test-out: Regenerated.
22303         * math/libm-test.inc (acosh_test_data): Add more tests.
22304         (atanh_test_data): Likewise.
22305         (ceil_test_data): Likewise.
22306         (copysign_test_data): Likewise.
22307         * sysdeps/i386/fpu/libm-test-ulps: Update.
22308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22310         * timezone/checktab.awk: Update from tzcode 2013i.
22311         * timezone/private.h: Likewise.
22312         * timezone/scheck.c: Likewise.
22313         * timezone/tzfile.h: Likewise.
22314         * timezone/tzselect.ksh: Likewise.
22315         * timezone/zdump.c: Likewise.
22316         * timezone/zic.c: Likewise.
22318         * math/auto-libm-test-in: Add tests of cpow.
22319         * math/auto-libm-test-out: Regenerated.
22320         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22321         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22322         mpc_cc_c.
22323         (func_calc_desc): Add mpc_cc_c union field.
22324         (test_functions): Add cpow.
22325         (special_fill_2pi): New function.
22326         (special_real_inputs): Add 2pi.
22327         (calc_generic_results): Handle mpc_cc_c.
22328         * sysdeps/i386/fpu/libm-test-ulps: Update.
22329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22331         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22332         csqrt, ctan and ctanh.
22333         * math/auto-libm-test-out: Regenerated.
22334         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22335         (TEST_COND_x86): Likewise.
22336         (ccos_test_data): Use AUTO_TESTS_c_c.
22337         (ccosh_test_data): Likewise.
22338         (cexp_test_data): Likewise.
22339         (clog_test_data): Likewise.
22340         (csqrt_test_data): Likewise.
22341         (ctan_test_data): Likewise.
22342         (ctan_tonearest_test_data): Likewise.
22343         (ctan_towardzero_test_data): Likewise.
22344         (ctan_downward_test_data): Likewise.
22345         (ctan_upward_test_data): Likewise.
22346         (ctanh_test_data): Likewise.
22347         (ctanh_tonearest_test_data): Likewise.
22348         (ctanh_towardzero_test_data): Likewise.
22349         (ctanh_downward_test_data): Likewise.
22350         (ctanh_upward_test_data): Likewise.
22351         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22352         mpc_c_c.
22353         (func_calc_desc): Add mpc_c_c union field.
22354         (FUNC_mpc_c_c): New macro.
22355         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22356         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22357         ctanh.
22358         (special_fill_min_subnorm_p120): New function.
22359         (special_real_inputs): Add min_subnorm_p120.
22360         (calc_generic_results): Handle mpc_c_c.
22361         * sysdeps/i386/fpu/libm-test-ulps: Update.
22362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22364 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22366         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22367         (do_sin_slow): New functions.
22368         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22369         (cslow2, csloww1, csloww2): Use the new functions.
22371         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22372         Use M to change sign of result instead of X.  Assume X is
22373         positive.
22374         (csloww1): Likewise.
22375         (__sin): Adjust.
22376         (__cos): Adjust.
22378         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22379         arguments A and DA.
22380         (__sin): Adjust.
22381         (__cos): Likewise.
22383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22384         (__cos): Likewise.
22385         (sloww1): Don't adjust sign of DX.
22386         (csloww1): Likewise.
22387         (sloww2): Use X directly and don't adjust sign of DX.
22388         (csloww2): Likewise.
22390 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22392         * math/auto-libm-test-in: Add tests of cabs and carg.
22393         * math/auto-libm-test-out: Regenerated.
22394         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22395         (carg_test_data): Likewise.
22396         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22397         mpc_c_f.
22398         (func_calc_desc): Add mpc_c_f union field.
22399         (test_functions): Add cabs and carg.
22400         (calc_generic_results): Handle mpc_c_f.
22402         * sysdeps/powerpc/powerpc32/libgcc-compat.S
22403         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22404         as a macro and a compat symbol.
22405         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22406         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22407         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22408         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22409         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22410         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22411         not use .hidden.
22412         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22413         Likewise.
22414         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22415         Likewise.
22416         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22417         Likewise.
22418         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22419         Likewise.
22420         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22421         Likewise.
22422         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22423         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22424         from GLIBC_2.3.2.
22426 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22430 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22432         * manual/texinfo.tex: Update to version 2013-11-26.10 with
22433         trailing whitespace removed.
22434         * scripts/config.guess: Update to version 2013-11-29.
22435         * scripts/config.sub: Update to version 2013-10-01.
22437         * math/auto-libm-test-in: Add tests of sincos.
22438         * math/auto-libm-test-out: Regenerated.
22439         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22440         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22441         mpfr_f_11.
22442         (func_calc_desc): Add mpfr_f_11 union field.
22443         (test_functions): Add sincos.
22444         (calc_generic_results): Handle mpfr_f_11.
22445         * sysdeps/i386/fpu/libm-test-ulps: Update.
22446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22448 2013-12-19  Andreas Schwab  <schwab@suse.de>
22450         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22451         CALL_MCOUNT.
22452         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22453         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22454         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22456 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22458         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22459         * sysdeps/i386/fpu/libm-test-ulps: Update.
22460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22462         [BZ #16293]
22463         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22464         round-to-nearest mode when using frndint.
22465         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22466         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22467         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22468         Likewise.
22469         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
22470         sinh test to fail.
22471         * math/auto-libm-test-out: Regenerated.
22472         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22473         (TEST_COND_x86): Likewise.
22474         (expm1_tonearest_test_data): New array.
22475         (expm1_test_tonearest): New function.
22476         (expm1_towardzero_test_data): New array.
22477         (expm1_test_towardzero): New function.
22478         (expm1_downward_test_data): New array.
22479         (expm1_test_downward): New function.
22480         (expm1_upward_test_data): New array.
22481         (expm1_test_upward): New function.
22482         (main): Run the new test functions.
22483         * sysdeps/i386/fpu/libm-test-ulps: Update.
22484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22486         * include/features.h: Update comment documenting feature test
22487         macros.  Mention _DEFAULT_SOURCE in comment.
22488         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22489         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22490         _BSD_SOURCE and _SVID_SOURCE.
22491         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22492         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22493         !_SVID_SOURCE]: Likewise.
22494         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22495         (__USE_POSIX_IMPLICITLY): Define.
22496         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22497         (_POSIX_SOURCE): Undefine and redefine.
22498         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22499         (_POSIX_C_SOURCE): Likewise.
22500         * manual/creature.texi (_DEFAULT_SOURCE): Document.
22501         (Feature Test Macros): Update documentation of default features.
22503 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22505         * benchtests/Makefile: Add bench-strtok.
22506         * benchtests/bench-strtok.c: New file: strtok benchtest.
22508 2013-12-19  Allan McRae  <allan@archlinux.org>
22510         * manual/install.texi: Suppress menu for plain text output.
22511         * INSTALL: Regenerated.
22513 2013-12-18  Brooks Moses  <bmoses@google.com>
22515         [BZ #15846]
22516         * misc/getauxval.c: Include errno.h.
22517         (__getauxval): Set errno to ENOENT if the requested type is not
22518         found.
22519         * misc/sys/auxv.h (getauxval): Document that it may set errno;
22520         don't declare with __attribute_const__.
22521         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22522         * manual/startup.texi: Document that getauxval sets errno.
22524 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22526         * math/auto-libm-test-in: Add tests of jn and yn.
22527         * math/auto-libm-test-out: Regenerated.
22528         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22529         (yn_test_data): Likewise.
22530         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22531         mpfr_if_f.
22532         (func_calc_desc): Add mpfr_if_f union field.
22533         (FUNC_mpfr_if_f): New macro.
22534         (test_functions): Add jn and yn.
22535         (calc_generic_results): Assert type of second input for
22536         mpfr_ff_f.  Handle mpfr_if_f.
22537         (output_for_one_input_case): Disable all checking for arguments
22538         fitting floating-point types in case of an integer argument.
22539         * sysdeps/i386/fpu/libm-test-ulps: Update.
22540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22543         Don't expect fegetround reference in libm.so.
22545 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22547         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22548         $(config-cflags-nofma).
22550 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22552         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22553         * math/auto-libm-test-out: Regenerated.
22555         [BZ #16338]
22556         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22557         to determine exponent and adjust argument to have exponent of -1.
22558         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22559         log2.
22560         * math/auto-libm-test-out: Regenerated.
22561         * sysdeps/i386/fpu/libm-test-ulps: Update.
22562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22564 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
22566         * manual/probes.texi: Remove cases when per-thread arenas are
22567         disabled.
22569 2013-12-18  Andreas Schwab  <schwab@suse.de>
22571         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22572         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22573         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22574         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22575         * sysdeps/i386/i686/multiarch/Makefile: Update.
22576         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22578 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22580         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22581         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22583 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
22585         [BZ #15968]
22586         Support TZ transition times < 00:00:00.
22587         This is needed for version-3 tz-format files; it supports time
22588         stamps past 2037 for America/Godthab (the only entry in the tz
22589         database for which this change is relevant).
22590         * manual/time.texi (TZ Variable): Document transition times
22591         from -167:59:59 through -00:00:01.
22592         * time/tzset.c (tz_rule): Time of day is now signed.
22593         (__tzset_parse_tz): Parse negative time of day.
22595         Document TZ transition times >= 25:00:00.
22596         * manual/time.texi (TZ Variable): Document transition times from
22597         25:00:00 through 167:59:59.  These are already supported, and this
22598         support will help with version-3 tz-format files.
22600         * manual/time.texi (TZ Variable): Modernize North America example
22601         to reflect current (i.e., 2007-and-later) daylight saving rules.
22603         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22605 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22607         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22608         * sysdeps/unix/bsd/bits/stat.h: Likewise.
22609         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22611         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22612         * sysdeps/unix/bsd/bsdstat.h: Likewise.
22613         * sysdeps/unix/bsd/clock.c: Likewise.
22614         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22615         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22616         * sysdeps/unix/bsd/init-posix.c: Likewise.
22617         * sysdeps/unix/bsd/poll.c: Likewise.
22618         * sysdeps/unix/bsd/ptsname.c: Likewise.
22619         * sysdeps/unix/bsd/seekdir.c: Likewise.
22620         * sysdeps/unix/bsd/setegid.c: Likewise.
22621         * sysdeps/unix/bsd/seteuid.c: Likewise.
22622         * sysdeps/unix/bsd/setgid.c: Likewise.
22623         * sysdeps/unix/bsd/setrgid.c: Likewise.
22624         * sysdeps/unix/bsd/setruid.c: Likewise.
22625         * sysdeps/unix/bsd/setsid.c: Likewise.
22626         * sysdeps/unix/bsd/setuid.c: Likewise.
22627         * sysdeps/unix/bsd/sigaction.c: Likewise.
22628         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22629         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22630         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22631         * sysdeps/unix/bsd/telldir.c: Likewise.
22632         * sysdeps/unix/bsd/times.c: Likewise.
22633         * sysdeps/unix/bsd/usleep.c: Likewise.
22635         * misc/Makefile (install-lib): Remove libbsd-compat.a.
22636         ($(objpfx)libbsd-compat.a): Remove rule.
22638         * include/features.h (__FAVOR_BSD): Do not define.
22639         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22640         features conflicting with POSIX.
22641         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22642         (_BSD_SOURCE): Remove description of not being a subset of other
22643         feature test macros.
22644         * manual/job.texi (getpgrp): Do not document BSD version.
22645         (getpgid): Do not document by reference to BSD getpgrp.
22646         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22647         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22648         * signal/signal.h [__FAVOR_BSD]: Likewise.
22649         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22650         instead of making contents conditional on [__FAVOR_BSD].
22651         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22653 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22657 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22659         [BZ #16314]
22660         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22661         values below 2**-450, not 2**-500.
22662         * math/auto-libm-test-in: Don't allow spurious underflow from
22663         hypot.
22664         * math/auto-libm-test-out: Regenerated.
22666         [BZ #16316]
22667         [BZ #16330]
22668         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22669         values of ha and hb and sort them after adjusting subnormal
22670         arguments.
22671         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22672         Likewise.
22673         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22674         values of ea and eb and sort them after adjusting subnormal
22675         arguments.
22676         * math/auto-libm-test-in: Do not expect some hypot tests of
22677         subnormals to fail.  Add more hypot tests.
22678         * math/auto-libm-test-out: Regenerated.
22680 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22682         [BZ #13304]
22683         * sysdeps/sh/s_fma.c: New file.
22684         * sysdeps/sh/s_fmaf.c: New file.
22685         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
22686         version.
22687         * sysdeps/sh/Implies: Add sh/soft-fp.
22689 2013-12-16  Roland McGrath  <roland@hack.frob.com>
22691         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
22692         level of indirection to members `objname', `errstring', `malloced'.
22693         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22694         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
22695         it as the __longjmp argument (just pass 1 instead).
22696         (_dl_catch_error): Initialize C with argument pointers and address of
22697         volatile local ERRCODE rather than copying values out of C at return.
22699 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
22701         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22702         * math/auto-libm-test-out: Regenerated.
22703         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22704         (hypot_test_data): Likewise.
22705         (pow_test_data): Likewise.
22706         (pow_tonearest_test_data): Likewise.
22707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22708         mpfr_ff_f.
22709         (func_calc_desc): Add mpfr_ff_f union field.
22710         (FUNC_mpfr_ff_f): New macro.
22711         (test_functions): Add atan2, hypot and pow.
22712         (special_fill_min): New function.
22713         (special_fill_minus_min): Likewise.
22714         (special_fill_min_subnorm): Likewise.
22715         (special_fill_minus_min_subnorm): Likewise.
22716         (special_real_inputs): Add min, -min, min_subnorm and
22717         -min_subnorm.
22718         (calc_generic_results): Handle mpfr_ff_f.
22719         * sysdeps/i386/fpu/libm-test-ulps: Update.
22720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22722 2013-12-16  Will Newton  <will.newton@linaro.org>
22724         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22725         (Aligned Memory Blocks): Add documentation for aligned_alloc
22726         and suggest it as an alternative to posix_memalign.
22727         (Hooks for Malloc): Document __memalign_hook is also called
22728         for aligned_alloc.  (Summary of Malloc): Add summary for
22729         aligned alloc.  Document __memalign_hook is also called
22730         for aligned_alloc.
22732 2013-12-16  Will Newton  <will.newton@linaro.org>
22734         * manual/memory.texi (Malloc Examples): Clarify default
22735         alignment documentation.  Suggest posix_memalign rather
22736         than memalign or valloc.
22737         (Aligned Memory Blocks): Remove suggestion to use memalign
22738         or valloc.  Remove obsolete comment about BSD.
22739         Document memalign errno values and mark the function obsolete.
22740         Document posix_memalign returned error codes.  Mark valloc
22741         as obsolete.  (Hooks for Malloc): __memalign_hook is also
22742         called for posix_memalign and valloc.
22743         (Summary of Malloc): Add posix_memalign to function summary.
22744         __memalign_hook is also called for posix_memalign and valloc.
22746 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22748         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22749         TAYLOR_SIN.
22750         (__sin): Adjust.
22751         (__cos): Likewise.
22752         (sloww): Use mynumber union.  Expand ternary operator into
22753         if-else statements.
22754         (cslow): use mynumber union.
22756 2013-12-16  Allan McRae  <allan@archlinux.org>
22758         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22759         * configure: Regenerated.
22761         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22763         [BZ #14120]
22764         * configure.ac: Added --enable-maintainer-mode. Check for
22765         autoconf when enabled.
22766         * configure: Regenerated.
22768         * nscd/nscd.service: New file.
22769         * nscd/nscd.tmpfiles: New file.
22771 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
22773         [BZ #12100]
22774         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22775         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22776         * sysdeps/x86_64/multiarch/strstr.c: ... here.
22777         (strstr): Add __strstr_sse2_unaligned ifunc.
22778         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22779         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22780         (strcasestr): Remove __strcasestr_sse42 ifunc.
22781         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22785 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22787         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22788         * sysdeps/sh/bits/fenv.h: ... here.
22789         * sysdeps/sh/sh4/fpu/bits: Remove directory.
22791 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22793         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22796         hypotf multiarch implementations.
22797         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22798         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22799         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22800         multiarch hypot for PPC64.
22801         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22802         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22804         multiarch hypotf for PPC64.
22806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22807         modff multiarch implementations.
22808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22811         multiarch modf for PPC64.
22812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22815         multiarch modff for PPC64.
22817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22818         and logl multiarch implementations.
22819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22822         multiarch logb for PPC64.
22823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22826         multiarch logb for PPC64.
22827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22830         multiarch logb for PPC64.
22832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22833         isinff multiarch implementation.
22834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22835         file.
22836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22838         multiarch isinf for PPC64.
22839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22840         file.
22841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22842         multiarch isinff for PPC64.
22844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22845         finitef multiarch implementation.
22846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22847         file.
22848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22850         multiarch finite for PPC64.
22851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22852         file.
22853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22854         multiarch finitef for PPC64.
22856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22857         lrint multiarch implementation.
22858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22859         file.
22860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22862         multiarch llrint for PPC64.
22863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22864         multiarch lrint for PPC64.
22866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22867         copysignf multiarch implementation.
22868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22869         file.
22870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22871         file.
22872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22873         multiarch copysign for PPC64.
22874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22875         multiarch copysignf for PPC64.
22877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22878         multiarch implementation.
22879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22880         file.
22881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22882         file.
22883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22884         file.
22885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22886         file.
22887         multiarch llround for PPC64.
22888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22889         multiarch trunc for PPC64.
22890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22891         multiarch truncf for PPC64.
22893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22894         multiarch implementation.
22895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22896         file.
22897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22898         file.
22899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22900         file.
22901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22902         file.
22903         multiarch llround for PPC64.
22904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22905         multiarch round for PPC64.
22906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22907         multiarch roundf for PPC64.
22909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22910         multiarch implementation.
22911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22912         file.
22913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22914         file.
22915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22916         file.
22917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22918         file.
22919         multiarch llround for PPC64.
22920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22921         multiarch floor for PPC64.
22922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22923         multiarch floorf for PPC64.
22925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22926         multiarch implementation.
22927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22928         file.
22929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22930         file.
22931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22932         file.
22933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22934         file.
22935         multiarch llround for PPC64.
22936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22937         multiarch ceil for PPC64.
22938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22939         multiarch ceilf for PPC64.
22941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22942         multiarch implementation.
22943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22944         file.
22945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22946         file.
22947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22948         file.
22949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22950         multiarch llround for PPC64.
22951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22952         multiarch lround for PPC64.
22954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22955         multiarch implementation.
22956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22959         file.
22960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22963         multiarch isnan for PPC64.
22964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22965         multiarch isnanf for PPC64.
22967         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22968         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22969         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22970         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22971         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22974         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22975         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22976         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22977         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22980         multiarch implementations.
22981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22982         (__libc_ifunc_impl_list): Likewise.
22983         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22984         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22985         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22986         multiarch stpcpy for PPC64.
22988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22989         multiarch implementations.
22990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22991         (__libc_ifunc_impl_list): Likewise.
22992         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22993         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22994         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22995         multiarch strcpy for PPC64.
22997         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22998         redefine function name.
22999         (_wordcopy_fwd_dest_aligned): Likewise.
23000         (_wordcopy_bwd_aligned): Likewise.
23001         (_wordcopy_bwd_dest_aligned): Likewise.
23002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23003         multiarch implementations.
23004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23005         (__libc_ifunc_impl_list): Likewise.
23006         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23007         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23008         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23010         multiarch wcscpy for PPC64.
23012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23013         multiarch implementations.
23014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23015         (__libc_ifunc_impl_list): Likewise.
23016         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23017         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23018         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23019         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23020         multiarch wcscpy for PPC64.
23022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23023         multiarch implementations.
23024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23025         (__libc_ifunc_impl_list): Likewise.
23026         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23027         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23028         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23029         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23030         multiarch wcsrchr for PPC64.
23032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23033         multiarch implementations.
23034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23035         (__libc_ifunc_impl_list): Likewise.
23036         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23037         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23038         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23039         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23040         multiarch wcschr for PPC64.
23042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23043         multiarch implementations.
23044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23045         (__libc_ifunc_impl_list): Likewise.
23046         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23047         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23048         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23049         multiarch strchrnul for PPC64.
23051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23052         implementations.
23053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23054         (__libc_ifunc_impl_list): Likewise.
23055         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23056         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23057         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23058         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23059         strchr for PPC64.
23061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23062         implementations.
23063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23064         (__libc_ifunc_impl_list): Likewise.
23065         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23066         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23067         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23068         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23069         strncmp for PPC64.
23071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23072         multiarch implementations.
23073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23074         (__libc_ifunc_impl_list): Likewise.
23075         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23076         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23077         strncasecmp for PPC64.
23078         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23079         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23080         multiarch strncasecmp_l for PPC64.
23082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23083         multiarch implementations.
23084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23085         (__libc_ifunc_impl_list): Likewise.
23086         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23087         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23088         multiarch strcasecmp for PPC64.
23089         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23090         file.
23091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23092         multiarch strcasecmp_l for PPC64.
23094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23095         implementations.
23096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23097         (__libc_ifunc_impl_list): Likewise.
23098         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23099         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23100         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23101         strnlen for PPC64.
23103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23104         implementations.
23105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23106         (__libc_ifunc_impl_list): Likewise.
23107         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23108         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23109         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23110         strlen for PPC64.
23112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23113         implementations.
23114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23115         (__libc_ifunc_impl_list): Likewise.
23116         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23117         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23118         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23119         rawmemrchr for PPC64.
23121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23122         implementation.
23123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23124         (__libc_ifunc_impl_list): Likewise.
23125         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23126         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23127         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23128         memrchr for PPC64.
23130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23131         implementation.
23132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23133         (__libc_ifunc_impl_list): Likewise.
23134         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23135         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23136         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23137         memchr for PPC64.
23139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23140         implementation.
23141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23142         (__libc_ifunc_impl_list): Likewise.
23143         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23144         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23145         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23146         mempcpy for PPC64.
23148         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23149         avoid cretion of __bzero symbol.
23150         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23151         Likewise.
23152         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23153         Likewise.
23154         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23155         Likewise.
23156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23157         multiarch implementations.
23158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23159         (__libc_ifunc_impl_list): Likewise.
23160         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23161         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23162         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23163         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23164         bzero for PPC32.
23165         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23166         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23167         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23168         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23169         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23170         memset for PPC64.
23171         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23173         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23175         implementations.
23176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23177         (__libc_ifunc_impl_list): Likewise.
23178         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23179         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23180         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23181         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23182         memcmp for PPC64.
23184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23185         multiarch for POWER/PPC64.
23186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23187         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23188         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23189         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23190         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23191         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23193         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23194         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23195         memcpy for PPC64.
23197         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23198         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23199         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23200         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23201         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23202         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23203         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23204         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23205         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23206         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23207         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23208         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23209         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23210         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23211         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23220 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23222         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23224 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23226         * benchtests/Makefile (bench): Add exp2 and log2.
23227         (LDLIBS-bench-exp2): Add -lm.
23228         (LDLIBS-bench-log2): Likewise.
23229         * benchtests/exp2-inputs: New inputs file.
23230         * benchtests/log2-inputs: New inputs file.
23231         * benchtests/log-inputs: Add new inputs.
23232         * benchtests/tan-inputs: Likewise.
23234 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23236         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23237         definition...
23238         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23239         (csloww2): ... from here.
23241         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23242         instead of structures.
23243         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23244         (POLYNOMIAL): Likewise.
23245         (TAYLOR_SLOW): Likewise.
23246         (__sin): Likewise.
23247         (__cos): Likewise.
23248         (slow1): Likewise.
23249         (slow2): Likewise.
23250         (sloww): Likewise.
23251         (sloww1); Likewise.
23252         (sloww2): Likewise.
23253         (bsloww1): Likewise.
23254         (bsloww2): Likewise.
23255         (cslow2): Likewise.
23256         (csloww): Likewise.
23257         (csloww1): Likewise.
23258         (csloww2): Likewise.
23260 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
23262         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23263         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23264         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23265         * malloc/hooks.c (realloc_check): Likewise.
23267         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23268         * malloc/arena.c: Remove PER_THREAD conditional.
23269         [!PER_THREAD]: Remove code.
23270         (ptmalloc_unlock_all2): Likewise.
23271         (ptmalloc_init): Likewise.
23272         (_int_new_arena): Likewise.
23273         (arena_get2): Likewise.
23274         * malloc/hooks.c (__malloc_get_state): Likewise.
23275         (__malloc_set_state): Likewise.
23276         * malloc/malloc.c: Likewise.
23277         (struct malloc_state): Likewise.
23278         (struct malloc_par): Likewise.
23279         (__libc_realloc): Likewise.
23280         (__libc_mallopt): Likewise.
23282 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23284         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23286 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
23288         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23289         macro to a function.  Check for zero perturb_byte.
23290         (_int_malloc, _int_free): Remove zero perturb_byte checks.
23292         * malloc/malloc.c: (force_reg): Remove.
23293         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23294         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23295         force_reg by atomic_forced_read.
23296         * malloc/arena.c (ptmalloc_init): Likewise.
23297         * malloc/hooks.c (top_check): Likewise.
23299 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23303 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
23305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23307 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
23309         * math/auto-libm-test-in: Add tests of lgamma.
23310         * math/auto-libm-test-out: Regenerated.
23311         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23312         (M_LOG_2_SQRT_PIl): Likewise.
23313         (lgamma_test_data): Use AUTO_TESTS_f_f1.
23314         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23315         mpfr_f_f1.
23316         (func_calc_desc): Add mpfr_f_f1 union field.
23317         (ARGS1): New macro.
23318         (ARGS2): Likewise.
23319         (ARGS3): Likewise.
23320         (ARGS4): Likewise.
23321         (RET1): Likewise.
23322         (RET2): Likewise.
23323         (CALC): Likewise.
23324         (FUNC): Likewise.
23325         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23326         (test_functions): Add lgamma.
23327         (calc_generic_results): Handle mpfr_f_f1.
23328         * sysdeps/i386/fpu/libm-test-ulps: Update.
23329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23331 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23333         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23334         __mpn_add_n for PowerPC64/POWER7.
23335         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23336         __mpn_sub_n for PowerPC64/POWER7.
23338         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23339         __mpn_addmul_1 for PowerPC64.
23340         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23341         __mpn_submul_1 for PowerPC64.
23342         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23343         for PowerPC64.
23344         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23345         for PowerPC64.
23347 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
23349         [BZ #15089]
23350         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23352 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23354         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23356         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23357         add multiarch folders.
23358         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23359         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23360         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23361         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23362         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23363         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23364         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23365         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23366         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23367         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23368         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23377         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23379         New file.
23380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23381         New file.
23382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23383         multiarch __ieee754_hypot for PowerPC32.
23384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23385         New file.
23386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23387         New file.
23388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23389         multiarch __ieee754_hypotf for PowerPC32.
23391         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23392         long_double_symbol only if __logbl is defined.
23393         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23394         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23395         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23396         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23398         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23399         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23400         path for implementation.
23401         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23402         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23404         logb, and logbl multiarch implementations for PowerPC32.
23405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23406         file.
23407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23408         file.
23409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23410         multiarch logb for PowerPC32.
23411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23412         file.
23413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23414         file.
23415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23416         multiarch logbf for PowerPC32.
23417         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23419         file.
23420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23421         multiarch logbl implementation for PowerPC32.
23423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23424         and modff multiarch implementations.
23425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23426         New file.
23427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23428         New file.
23429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23430         multiarch modf for PowerPC32.
23431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23432         New file.
23433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23434         New file.
23435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23436         multiarch modff for PowerPC32.
23438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23439         and lrintf multiarch implementations.
23440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23441         New file.
23442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23443         New file.
23444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23445         multiarch lrint for PowerPC32.
23446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23447         file: multiarch lrintf for PowerPC32.
23449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23450         and lroundf multiarch implementations.
23451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23452         New file.
23453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23454         New file.
23455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23456         New file.
23457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23458         multiarch lround for PowerPC32.
23459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23460         file: multiarch lroundf for PowerPC32.
23462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23463         copysign and copysignf multiarch implementations.
23464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23465         New file.
23466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23467         New file.
23468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23469         file: multiarch copysign for PowerPC32.
23470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23471         file: multiarch copysignf for PowerPC32.
23473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23474         and truncf multiarch implementations.
23475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23476         New file.
23477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23478         file.
23479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23480         multiarch trunc for PowerPC32.
23481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23482         New file.
23483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23484         New file.
23485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23486         multiarch truncf for PowerPC32.
23488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23489         and roundf multiarch implementations.
23490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23491         New file.
23492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23493         file.
23494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23495         multiarch round for PowerPC32.
23496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23497         New file.
23498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23499         New file.
23500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23501         multiarch roundf for PowerPC32.
23503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23504         and floorf multiarch implementations.
23505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23506         New file.
23507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23508         file.
23509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23510         multiarch floor for PowerPC32.
23511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23512         New file.
23513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23514         New file.
23515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23516         multiarch floorf for PowerPC32.
23518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23519         and ceilf multiarch implementations.
23520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23521         New file.
23522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23523         file.
23524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23525         multiarch ceil for PowerPC32.
23526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23527         New file.
23528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23529         file.
23530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23531         multiarch ceilf for PowerPC32.
23533         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23534         is defined.
23535         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23536         FINITEF is defined.
23537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23538         and finitef multiarch implementations.
23539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23540         New file.
23541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23542         file.
23543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23544         multiarch finite for PowerPC32.
23545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23546         New file.
23547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23548         file: multiarch finitef for PowerPC32.
23550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23551         and isinff multiarch implementations.
23552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23553         file.
23554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23555         file.
23556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23557         multiarch isinf for PowerPC32.
23558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23559         New file.
23560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23561         multiarch isinff for PowerPC32.
23563         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23564         alias when __isnan is defined.
23565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23566         and isnanf multiarch implementations.
23567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23568         file.
23569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23570         file.
23571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23572         file.
23573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23574         file.
23575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23576         multiarch isnan for PowerPC32.
23577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23578         New file.
23579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23580         New file.
23581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23582         multiarch isnanf for PowerPC32.
23584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23585         and sqrtf multiarch implementations.
23586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23587         file.
23588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23589         file.
23590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23591         multiarch sqrt for PowerPC32.
23592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23593         file.
23594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23595         file.
23596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23597         multiarch sqrtf for PowerPC32.
23599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23600         and llroundf multiarch implementations.
23601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23602         New file.
23603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23604         New file.
23605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23606         New file.
23607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23608         file: multiarch llround for PowerPC32.
23609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23610         file: multiarch llroundf for PowerPC32.
23612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23613         multiarch PowerPC32 fpu implementations.
23614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23615         New file.
23616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23617         New file.
23618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23619         multiarch llrint for PowerPC32.
23620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23621         New file.
23622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23623         New file.
23624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23625         file.
23627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23629         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23630         file.
23631         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23632         file.
23633         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23634         file.
23635         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23636         multiarch wordcopy for PPC32.
23637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23638         wordcopy objects.
23639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23640         (__libc_ifunc_impl_list): Likewise.
23641         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23642         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23643         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23644         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23645         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23646         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23648         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23650         file.
23651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23652         file.
23653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23654         file.
23655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23656         multiarch wcscpy for PPC32.
23657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23658         multiarch objects.
23659         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23660         (__libc_ifunc_impl_list): Likewise.
23661         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23662         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23663         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23664         sysdeps/powerpc/power6/wcscpy.c.
23666         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23668         file.
23669         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23670         file.
23671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23672         file.
23673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23674         multiarch wcsrchr for PPC32.
23675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23676         multiarch objects.
23677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23678         (__libc_ifunc_impl_list): Likewise.
23679         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23680         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23681         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23682         sysdeps/powerpc/power6/wcsrchr.c.
23684         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23685         file.
23686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23687         file.
23688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23690         multiarch wcschr for PPc32.
23691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23692         multiarch objects.
23693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23694         (__libc_ifunc_impl_list): Likewise.
23695         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23696         * sysdeps/powerpc/power6/wcschr.c: ... to here.
23697         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23698         sysdeps/powerpc/power6/wcschr.c.
23700         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23701         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23702         file.
23703         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23704         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23705         file: multiarch strchr for PPC32.
23706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23707         multiarch objects.
23708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23709         (__libc_ifunc_impl_list): Likewise.
23711         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23712         name.
23713         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23714         file.
23715         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23716         file.
23717         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23718         multiarch strchrnul for PPC32.
23719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23720         multiarch objects.
23721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23722         (__libc_ifunc_impl_list): Likewise.
23724         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23725         file.
23726         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23727         multiarch strncasecmp for PPC32.
23728         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23729         file.
23730         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23731         multiarch strncasecmp_l for PPC32.
23732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23733         strncasecmp multiarch objects.
23734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23735         (__libc_ifunc_impl_list): Likewise.
23737         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23738         file.
23739         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23740         multiarch strncasecmp for PPC32.
23741         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23742         New file.
23743         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23744         multiarch strcasecmp_l for PPC32.
23745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23746         multiarch objects.
23747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23748         (__libc_ifunc_impl_list): Likewise.
23750         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23751         file.
23752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23753         file.
23754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23755         multiarch strncmp for PPC32.
23756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23757         multiarch objects.
23758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23759         (__libc_ifunc_impl_list): Likewise.
23761         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23762         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23763         file.
23764         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23765         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23767         multiarch objects.
23768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23769         (__libc_ifunc_impl_list): Likewise.
23771         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23772         file.
23773         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23774         file.
23775         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23777         multiarch objects.
23778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23779         (__libc_ifunc_impl_list): Likewise.
23781         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23782         file.
23783         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23784         file.
23785         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23786         multiarch rawmemchr for PPC32.
23787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23788         multiarch objects.
23789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23790         (__libc_ifunc_impl_list): Likewise.
23792         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23793         file.
23794         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23795         file.
23796         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23797         file: memrchr multiarch for PPC32.
23798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23799         multiarch objects.
23800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23801         (__libc_ifunc_impl_list): Likewise.
23803         * string/memchr.c (__memchr): Using macro to redefine symbol name.
23804         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23805         file.
23806         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23807         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23808         multiarch memchr for PPC32.
23809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23810         multiarch objects.
23811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23812         (__libc_ifunc_impl_list): Likewise.
23814         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23815         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23816         file.
23817         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23818         file.
23819         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23820         file: multiarch mempcpy for PPC32.
23821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23822         multiarch objects.
23823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23824         (__libc_ifunc_impl_list): Likewise.
23826         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23827         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23828         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23829         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23830         multiarch bzero for PPC32.
23831         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23832         file.
23833         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23834         file.
23835         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23836         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23837         file: multiarch memset for PPC32.
23838         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23840         memset multiarch objects.
23841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23842         (__libc_ifunc_impl_list): Likewise.
23844         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23845         file.
23846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23848         memcmp for PPC32.
23849         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23851         multiarch objects.
23852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23853         (__libc_ifunc_impl_list): Likewise.
23855         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23857         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23858         file.
23859         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23860         file.
23861         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23862         file.
23863         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23864         multiarch memcpy for PPC32.
23865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23866         multiarch objects.
23867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23868         (__libc_ifunc_impl_list): Likewise.
23870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23871         support multiarch for POWER/PPC32.
23872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23873         Likewise.
23874         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23876         Implies file to make multiarch folder appers before the fpu and
23877         default folder for power4 configuration.
23879 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23881         * scripts/bench.pl: Append volatile keyword to type.
23883 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23885         * sysdeps/sh/sotruss-lib.c: New file.
23886         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23888 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23892 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
23894         [BZ #6810]
23895         * math/w_tgamma.c: Include <errno.h>.
23896         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
23897         * math/w_tgammaf.c: Include <errno.h>.
23898         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
23899         * math/w_tgammal.c: Include <errno.h>.
23900         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
23901         * math/auto-libm-test-in: Do not allow missing errno on tgamma
23902         underflow.  Add more tgamma tests.
23903         * math/auto-libm-test-out: Regenerated.
23904         * sysdeps/i386/fpu/libm-test-ulps: Update.
23905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23907         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23908         sin, sinh, tan, tanh, tgamma, y0 and y1.
23909         * math/auto-libm-test-out: Regenerated.
23910         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23911         (TEST_COND_x86): Likewise.
23912         (M_E2l): Remove macro.
23913         (M_E3l): Likewise.
23914         (M_2_SQRT_PIl): Likewise.
23915         (M_SQRT_PIl): Likewise.
23916         (M_1_DIV_El): Likewise.
23917         (log_test_data): Use AUTO_TESTS_f_f.
23918         (log10_test_data): Likewise.
23919         (log1p_test_data): Likewise.
23920         (log2_test_data): Likewise.
23921         (sin_test_data): Likewise.
23922         (sin_tonearest_test_data): Likewise.
23923         (sin_towardzero_test_data): Likewise.
23924         (sin_downward_test_data): Likewise.
23925         (sin_upward_test_data): Likewise.
23926         (sinh_test_data): Likewise.
23927         (sinh_tonearest_test_data): Likewise.
23928         (sinh_towardzero_test_data): Likewise.
23929         (sinh_downward_test_data): Likewise.
23930         (sinh_upward_test_data): Likewise.
23931         (tan_test_data): Likewise.
23932         (tan_tonearest_test_data): Likewise.
23933         (tan_towardzero_test_data): Likewise.
23934         (tan_downward_test_data): Likewise.
23935         (tan_upward_test_data): Likewise.
23936         (tanh_test_data): Likewise.
23937         (tgamma_test_data): Likewise.
23938         (y0_test_data): Likewise.
23939         (y1_test_data): Likewise.
23940         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23941         (special_real_inputs): Add pi/4.
23942         * sysdeps/i386/fpu/libm-test-ulps: Update.
23943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23945 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23947         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23948         "longjmp_target" static probes.
23949         (__longjmp): Rename to __longjmp_symbol.
23950         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23951         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23952         on which longjmp to generate.
23953         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23954         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23955         probe.
23956         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23957         (__sigjmp_save): Rename to __sigjmp_save_symbol.
23958         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23959         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23960         and __sigjmp_save_symbol based on which sigsetjmp to generated.
23961         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23963         __longjmp_symbol based on which __longjmp to generate.
23964         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23965         probe.
23966         (setjmp): Rename to setjmp_symbol.
23967         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23968         (_setjmp): Rename to _setjmp_symbol.
23969         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23970         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23971         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23972         which setjmp to generate.
23973         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23974         "longjmp_target" static probes.
23976 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23978         * benchtests/README: Add note about output arguments.
23979         * benchtests/bench-sincos.c: Remove file.
23980         * benchtests/sincos-inputs: New file.
23981         * scripts/bench.pl: Identify output arguments and define
23982         static variables for them.
23984         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23986         [BZ #15941]
23987         * Makefile (INSTALL): Add install-plain.texi as the primary
23988         dependency.
23989         * manual/install-plain.texi: New file.
23990         * manual/install.texi: Include node directive only for
23991         non-plaintext output.
23993 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
23995         * stdlib/longlong.h: Update from GCC.
23997         [BZ #6807]
23998         [BZ #15901]
23999         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24000         * math/w_j0f.c (y0f): Likewise.
24001         * math/w_j0l.c (__y0l): Likewise.
24002         * math/w_j1.c (y1): Likewise.
24003         * math/w_j1f.c (y1f): Likewise.
24004         * math/w_j1l.c (__y1l): Likewise
24005         * math/w_jn.c (yn): Likewise.
24006         * math/w_jnf.c (ynf): Likewise.
24007         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24008         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24009         value for Bessel function domain errors outside _SVID_ mode.
24010         Adjust sign of return value for yn (negative integer, 0).
24011         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24012         by zero in return for negative x and set sign appropriately for
24013         negative n.
24014         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24015         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24016         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24017         expectations in error cases.
24018         (y1_test_data): Likewise.
24019         (yn_test_data): Likewise.
24020         * sysdeps/i386/fpu/libm-test-ulps: Update.
24021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24023 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24025         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24026         "64" to "64-v1".  Add "64-v2".
24027         (abi-64-options): Rename to ...
24028         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24029         (abi-64-condition): Rename to ...
24030         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24031         (abi-64-ld-soname): Rename to ...
24032         (abi-64-v1-ld-soname): ... this.
24033         (abi-64-v2-options): Define.
24034         (abi-64-v2-condition): Likewise.
24035         (abi-64-v2-ld-soname): Likewise.
24036         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24037         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24042 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24043             Alan Modra  <amodra@gmail.com>
24045         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24046         New versions for use with the ELFv2 ABI.
24047         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24048         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24049         declaration.
24050         (struct La_ppc64v2_retval): Likewise.
24051         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24052         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24053         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24054         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24055         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24056         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24057         Do not save or restore CR.
24058         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24059         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24060         return values for ELFv2 ABI.  Fix location of FPR return registers.
24061         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24062         updated values for _CALL_ELF == 2.
24063         (La_regs, La_retval, int_retval): Likewise.
24065 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24067         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24068         (FRAME_MIN_SIZE_PARM): Likewise.
24069         (FRAME_BACKCHAIN): Likewise.
24070         (FRAME_CR_SAVE): Likewise.
24071         (FRAME_LR_SAVE): Likewise.
24072         (FRAME_TOC_SAVE): Likewise.
24073         (FRAME_PARM_SAVE): Likewise.
24074         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24075         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24076         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24077         (call_mcount_parm_offset): New macro.
24078         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24079         (PROF): Use symbolic stack frame offsets.
24080         (TAIL_CALL_SYSCALL_ERROR): Likewise.
24081         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24082         Redefine in terms of FRAME_MIN_SIZE.
24083         (_dl_runtime_resolve): Use symbolic stack frame offsets.
24084         (_dl_profile_resolve): Likewise.  Update comment.
24085         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24086         symbols stack frame offsets.
24087         (__sigsetjmp): Likewise.
24088         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24089         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24090         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24091         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24094         (FRAME_BACKCHAIN): Remove.
24095         (FRAME_CR_SAVE): Likewise.
24096         (FRAME_LR_SAVE): Likewise.
24097         (FRAME_COMPILER_DW): Likewise.
24098         (FRAME_LINKER_DW): Likewise.
24099         (FRAME_TOC_SAVE): Likewise.
24100         (FRAME_PARM_SAVE): Likewise.
24101         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24102         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24103         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24105         (CHECK_SP): Use symbolic stack frame offsets.
24106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24107         zone" instead of caller's parameter save area for temp storage.
24108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24109         Likewise.  Also, use symbolic stack frame offsets.
24110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24111         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24112         our own stack frame instead of the caller's.
24113         (__socket): Use symbolic stack frame offsets.
24115 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24116             Alan Modra  <amodra@gmail.com>
24118         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24119         Define.
24120         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24121         (PPC64_LOCAL_ENTRY_OFFSET): Define.
24122         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24123         New function.
24124         (elf_machine_fixup_plt): Call it.
24125         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
24126         reloc arguments.
24127         (elf_machine_rela): Update call to elf_machine_plt_conflict.
24128         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24129         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24130         r2 before calling target.
24132 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24133             Alan Modra  <amodra@gmail.com>
24135         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24136         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24137         versions of macros to support ELFv2 ABI.
24138         (LOCALENTRY): New macro.
24139         (ENTRY, EALIGN): Use it.
24140         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24141         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24142         fall through into ENTRY entry point.
24143         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24144         Only define if _CALL_ELF != 2.
24146         (elf_machine_matches_host): Verify ABI version matches.
24147         (RTLD_START): Use LOCALENTRY.
24148         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24149         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24150         (PLT_ENTRY_WORDS): New macro.
24151         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24152         (elf_machine_runtime_setup): Support ELFv2 ABI.
24153         (elf_machine_fixup_plt): Likewise.
24154         (elf_machine_plt_conflict): Likewise.
24155         (resolve_ifunc): Likewise.
24156         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24157         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24158         Likewise.
24159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24160         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24162         (makecontext): Support ELFv2 ABI.
24163         * elf/elf.h (EF_PPC64_ABI): Define.
24165 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24167         * sysdeps/powerpc/powerpc64/sysdep.h
24168         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24169         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24170         (ENTRY) [ASSEMBLER]: ... but instead here ...
24171         (EALIGN) [ASSEMBLER]: ... and here.
24172         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24173         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24174         (ENTRY_2) [!ASSEMBLER]: Use it.
24175         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24176         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
24177         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24178         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24179         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24181         Use PPC64_LOAD_FUNCPTR.
24183         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24185 2013-12-04  Alan Modra  <amodra@gmail.com>
24187         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24188         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24189         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24190         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24193         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24194         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24195         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24196         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24197         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24199 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24202         (__makecontext): Fix incorrect CFI when backtracing out of
24203         context created via makecontext.
24204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24205         (__setcontext): Fix incorrect CFI during switch to new context.
24206         (__novec_setcontext): Likewise.
24208 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24210         [BZ #4772]
24211         * time/strptime_l.c (__strptime_internal): Allow modifiers
24212         in strptime.
24213         * time/tst-strptime.c (day_tests): Add testcase.
24215 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24217         * scripts/bench.pl: Skip over blank lines.
24219 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24221         [BZ #926]
24222         * manual/time.texi (Calendar Time): Clarify what timezone functions
24223         use.
24225 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24229 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24231         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24232         implementation.
24233         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24234         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24235         * debug/memset_chk.c (__memset_chk): Likewise.
24236         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24237         * debug/strncpy_chk.c: Likewise.
24239 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24241         [BZ #15268]
24242         [BZ #15425]
24243         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24244         (__ieee754_exp): For possibly underflowing results, check size of
24245         result and force underflow exception if required.
24246         * math/auto-libm-test-in: Add more tests of exp.
24247         * math/auto-libm-test-out: Regenerated.
24248         * sysdeps/i386/fpu/libm-test-ulps: Update.
24249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24251         [BZ #16283]
24252         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24253         * math/w_exp2f.c (__exp2f): Likewise.
24254         * math/w_exp2l.c (__exp2l): Likewise.
24255         * math/auto-libm-test-in: Do not allow missing errno on exp2
24256         underflow.
24257         * math/auto-libm-test-out: Regenerated.
24259 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
24261         [BZ #16274]
24262         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24263         handle filename validation.
24264         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24265         (do_open): Delete.
24267 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24269         [BZ #6786]
24270         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24271         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24272         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24273         <float.h>.
24274         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24275         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24276         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24277         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24278         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24279         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24280         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24281         * math/auto-libm-test-in: Don't allow missing errno from erfc.
24282         Add more erfc tests.
24283         * math/auto-libm-test-out: Regenerated.
24284         * sysdeps/i386/fpu/libm-test-ulps: Update.
24285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24287         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24288         exp2, expm1, j0 and j1.
24289         * math/auto-libm-test-out: Regenerated.
24290         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24291         (erfc_test_data): Likewise.
24292         (exp_test_data): Likewise.
24293         (exp_tonearest_test_data): Likewise.
24294         (exp_towardzero_test_data): Likewise.
24295         (exp_downward_test_data): Likewise.
24296         (exp_upward_test_data): Likewise.
24297         (exp10_test_data): Likewise.
24298         (exp2_test_data): Likewise.
24299         (expm1_test_data): Likewise.
24300         (j0_test_data): Likewise.
24301         (j1_test_data): Likewise.
24302         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24303         (input_flag_type): Add flag_xfail_rounding.
24304         (input_flags): Add xfail-rounding.
24305         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24306         (output_for_one_input_case): Handle flag_xfail_rounding.
24307         * sysdeps/i386/fpu/libm-test-ulps: Update.
24308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24310 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
24312         [BZ #16289]
24313         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24314         division by 0.
24316 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24318         [BZ #16195]
24319         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24320         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24321         (STAP_PROBE0): New macro.
24322         (STAP_PROBE1): Likewise.
24323         (STAP_PROBE2): Likewise.
24324         (STAP_PROBE3): Likewise.
24325         (STAP_PROBE4): Likewise.
24327 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
24329         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24331 2013-12-02  Steve Ellcey  <sellcey@mips.com>
24333         * benchtests/Makefile (bench): Add sqrt.
24334         (LDLIBS-bench-sqrt): New.
24335         * benchtests/sqrt-input: New.
24337 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
24339         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24340         (GAIH_EAI): Likewise.
24341         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24342         (gaih_inet): Likewise.
24343         (getaddrinfo): Don't use GAIH_EAI.
24345         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24346         (struct gaih): Remove definition.
24348 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24350         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24351         Use HERRNOP directly.
24353 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24357 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
24359         * math/gen-auto-libm-tests.c (test_functions): Add more
24360         single-argument functions.
24361         (special_fill_pi_2): New function.
24362         (special_fill_minus_pi_2): Likewise.
24363         (special_fill_pi_6): Likewise.
24364         (special_fill_minus_pi_6): Likewise.
24365         (special_fill_pi_3): Likewise.
24366         (special_fill_2pi_3): Likewise.
24367         (special_fill_e): Likewise.
24368         (special_fill_1_e): Likewise.
24369         (special_fill_e_minus_1): Likewise.
24370         (special_real_inputs): Add more special inputs.
24371         (output_for_one_input_case): Do not require ERANGE on underflow to
24372         zero if round-to-nearest result does not underflow to zero, unless
24373         exact results required.
24374         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24375         atan, atanh, cbrt, cos and cosh.
24376         * math/auto-libm-test-out: Regenerated.
24377         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24378         (acos_tonearest_test_data): Likewise.
24379         (acos_towardzero_test_data): Likewise.
24380         (acos_downward_test_data): Likewise.
24381         (acos_upward_test_data): Likewise.
24382         (acosh_test_data): Likewise.
24383         (asin_test_data): Likewise.
24384         (asin_tonearest_test_data): Likewise.
24385         (asin_towardzero_test_data): Likewise.
24386         (asin_upward_test_data): Likewise.
24387         (asinh_test_data): Likewise.
24388         (atan_test_data): Likewise.
24389         (atanh_test_data): Likewise.
24390         (cbrt_test_data): Likewise.
24391         (cos_test_data): Likewise.
24392         (cos_tonearest_test_data): Likewise.
24393         (cos_towardzero_test_data): Likewise.
24394         (cos_downward_test_data): Likewise.
24395         (cos_upward_test_data): Likewise.
24396         (cosh_test_data): Likewise.
24397         (cosh_tonearest_test_data): Likewise.
24398         (cosh_towardzero_test_data): Likewise.
24399         (cosh_downward_test_data): Likewise.
24400         (cosh_upward_test_data): Likewise.
24401         * sysdeps/i386/fpu/libm-test-ulps: Update.
24402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24404 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
24406         [BZ #6787]
24407         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24408         * math/w_exp10f.c (__exp10f): Likewise.
24409         * math/w_exp10l.c (__exp10l): Likewise.
24410         * math/libm-test.inc (exp10_test_data): Add more tests and expect
24411         errno settings in existing tests.
24413         [BZ #14032]
24414         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24415         precision control set to double precision.
24416         * sysdeps/i386/fpu/w_sqrt.c: New file.
24417         * math/auto-libm-test-in: Add more tests.
24418         * math/auto-libm-test-out: Update.
24420         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24421         (sqrt_test_tonearest): New function.
24422         (sqrt_towardzero_test_data): New variable.
24423         (sqrt_test_towardzero): New function.
24424         (sqrt_downward_test_data): New variable.
24425         (sqrt_test_downward): New function.
24426         (sqrt_upward_test_data): New variable.
24427         (sqrt_test_upward): New function.
24428         (main): Call the new functions.
24430         * math/gen-auto-libm-tests.c: New file.
24431         * math/auto-libm-test-in: Likewise.
24432         * math/auto-libm-test-out: New generated file.
24433         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24434         variables.
24435         (%beautify): Add generated representations of zero.
24436         (top level): Set $auto_input and call parse_auto_input.
24437         (beautify): Remove trailing "f" from hex float constants.
24438         (parse_args): Handle XFAIL_TEST.
24439         (convert_condition): New function.
24440         (or_value): Likewise.
24441         (or_cond_value): Likewise.
24442         (generate_testfile): Handle AUTO_TESTS_* lines.
24443         (parse_auto_input): New function.
24444         * math/libm-test.inc (XFAIL_TEST): New macro.
24445         (ERRNO_UNCHANGED): Update value.
24446         (ERRNO_EDOM): Likewise.
24447         (ERRNO_ERANGE): Likewise.
24448         (IGNORE_RESULT): Likewise.
24449         (TEST_COND_flt_32): New macro.
24450         (TEST_COND_dbl_64): Likewise.
24451         (TEST_COND_ldbl_96_intel): Likewise.
24452         (TEST_COND_ldbl_96_m68k): Likewise.
24453         (TEST_COND_ldbl_128): Likewise.
24454         (TEST_COND_ldbl_128ibm): Likewise.
24455         (TEST_COND_long32): Likewise.
24456         (TEST_COND_long64): Likewise.
24457         (TEST_COND_before_rounding): Likewise.
24458         (TEST_COND_after_rounding): Likewise.
24459         (enable_test): Handle XFAIL_TEST flag.
24460         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24461         with finite results.
24462         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24463         auto-libm-test-out.
24465 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24466             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24468         [BZ #16214]
24469         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24470         __tls_get_addr_internal instead of __tls_get_offset in order to
24471         avoid GOT pointer dependency.  Make rtld export
24472         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24473         __tls_get_addr since we are a __tls_get_offset platform.
24474         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24475         GOT pointer being set up before.
24476         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24478 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
24480         * manual/math.texi (Errors in Math Functions): Document accuracy
24481         goals.
24483         [BZ #15004]
24484         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24485         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24486         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24487         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24488         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24489         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24490         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24491         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24492         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24493         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24494         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24495         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24496         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24497         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24498         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24499         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24501         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24502         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24503         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24504         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24505         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24506         Likewise.
24507         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24508         Likewise.
24509         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24510         Likewise.
24511         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24512         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24513         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24514         atomic-feupdateenv and flt-rounds.
24515         * sysdeps/powerpc/nofpu/Versions (libc): Add
24516         __atomic_feholdexcept, __atomic_feclearexcept,
24517         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24518         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24519         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24520         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24521         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24522         here.
24523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24524         Update.
24526         * manual/arith.texi (FP Exceptions): Document that exceptions may
24527         not be raised when matherr is used.
24528         (Math Error Reporting): Document overflow in directed rounding
24529         modes.  Document that errno may not be set when finite values are
24530         returned on overflow.  Document intent to set errno on underflow
24531         only for underflow to zero.
24533         [BZ #16271]
24534         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24535         round-to-nearest then adjust result for other rounding modes.
24536         * include/fenv.h (fegetround): Use libm_hidden_proto.
24537         * math/fegetround.c (fegetround): Use libm_hidden_def.
24538         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24539         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24540         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24541         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24542         Likewise.
24543         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24544         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24545         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24546         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24548 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24550         [BZ #16077]
24551         * nss/Versions (libnss_files): Add
24552         _nss_files_gethostbyname3_r.
24553         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24554         New function.
24555         (HOST_DB_LOOKUP): Remove macro.
24556         (_nss_files_gethostbyname_r): Implement function without the
24557         HOST_DB_LOOKUP macro.
24558         (_nss_files_gethostbyname2_r): Likewise.
24560 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
24562         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24564 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
24566         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24567         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24568         warning.
24570 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24572         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24573         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24574         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24575         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24576         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24577         __fe_nomask_env_priv and attribute_hidden.
24578         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24579         (libc_feupdateenv_test_ppc): Likewise.
24580         (libc_feresetround_ppc): Likewise.
24581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24582         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24583         compat_symbol macro.
24584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24585         (__fe_nomask_env): Likewise.
24586         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24588 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24590         * string/Makefile: Remove ifunc tests.
24591         * string/test-string.h: Define TEST_IFUNC.
24592         * string/test-bcopy-ifunc.c: Remove.
24593         * string/test-bzero-ifunc.c: Likewise.
24594         * string/test-memccpy-ifunc.c: Likewise.
24595         * string/test-memchr-ifunc.c: Likewise.
24596         * string/test-memcmp-ifunc.c: Likewise.
24597         * string/test-memcpy-ifunc.c: Likewise.
24598         * string/test-memmem-ifunc.c: Likewise.
24599         * string/test-memmove-ifunc.c: Likewise.
24600         * string/test-mempcpy-ifunc.c: Likewise.
24601         * string/test-memrchr-ifunc.c: Likewise.
24602         * string/test-memset-ifunc.c: Likewise.
24603         * string/test-rawmemchr-ifunc.c: Likewise.
24604         * string/test-stpcpy-ifunc.c: Likewise.
24605         * string/test-stpncpy-ifunc.c: Likewise.
24606         * string/test-strcasecmp-ifunc.c: Likewise.
24607         * string/test-strcasestr-ifunc.c: Likewise.
24608         * string/test-strcat-ifunc.c: Likewise.
24609         * string/test-strchr-ifunc.c: Likewise.
24610         * string/test-strchrnul-ifunc.c: Likewise.
24611         * string/test-strcmp-ifunc.c: Likewise.
24612         * string/test-strcpy-ifunc.c: Likewise.
24613         * string/test-strcspn-ifunc.c: Likewise.
24614         * string/test-strlen-ifunc.c: Likewise.
24615         * string/test-strncasecmp-ifunc.c: Likewise.
24616         * string/test-strncat-ifunc.c: Likewise.
24617         * string/test-strncmp-ifunc.c: Likewise.
24618         * string/test-strncpy-ifunc.c: Likewise.
24619         * string/test-strnlen-ifunc.c: Likewise.
24620         * string/test-strpbrk-ifunc.c: Likewise.
24621         * string/test-strrchr-ifunc.c: Likewise.
24622         * string/test-strspn-ifunc.c: Likewise.
24623         * string/test-strstr-ifunc.c: Likewise.
24625 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24627         * benchtests/Makefile: Remove ifunc tests.
24628         * benchtests/bench-string.h: Define TEST_IFUNC.
24629         * benchtests/bench-bcopy-ifunc.c: Remove.
24630         * benchtests/bench-bzero-ifunc.c: Likewise.
24631         * benchtests/bench-memccpy-ifunc.c: Likewise.
24632         * benchtests/bench-memchr-ifunc.c: Likewise.
24633         * benchtests/bench-memcmp-ifunc.c: Likewise.
24634         * benchtests/bench-memcpy-ifunc.c: Likewise.
24635         * benchtests/bench-memmem-ifunc.c: Likewise.
24636         * benchtests/bench-memmove-ifunc.c: Likewise.
24637         * benchtests/bench-mempcpy-ifunc.c: Likewise.
24638         * benchtests/bench-memrchr-ifunc.c: Likewise.
24639         * benchtests/bench-memset-ifunc.c: Likewise.
24640         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24641         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24642         * benchtests/bench-stpcpy-ifunc.c: Likewise.
24643         * benchtests/bench-stpncpy-ifunc.c: Likewise.
24644         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24645         * benchtests/bench-strcasestr-ifunc.c: Likewise.
24646         * benchtests/bench-strcat-ifunc.c: Likewise.
24647         * benchtests/bench-strchr-ifunc.c: Likewise.
24648         * benchtests/bench-strchrnul-ifunc.c: Likewise.
24649         * benchtests/bench-strcmp-ifunc.c: Likewise.
24650         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24651         * benchtests/bench-strcpy-ifunc.c: Likewise.
24652         * benchtests/bench-strcspn-ifunc.c: Likewise.
24653         * benchtests/bench-strlen-ifunc.c: Likewise.
24654         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24655         * benchtests/bench-strncat-ifunc.c: Likewise.
24656         * benchtests/bench-strncmp-ifunc.c: Likewise.
24657         * benchtests/bench-strncpy-ifunc.c: Likewise.
24658         * benchtests/bench-strnlen-ifunc.c: Likewise.
24659         * benchtests/bench-strpbrk-ifunc.c: Likewise.
24660         * benchtests/bench-strrchr-ifunc.c: Likewise.
24661         * benchtests/bench-strsep-ifunc.c: Likewise.
24662         * benchtests/bench-strspn-ifunc.c: Likewise.
24663         * benchtests/bench-strstr-ifunc.c: Likewise.
24665 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24667         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24669 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24671         * resolv/netdb.h: Use __glibc_reserved instead __unused.
24672         * rt/aio.h: Likewise.
24673         * sysdeps/gnu/bits/utmp.h: Likewise.
24674         * sysdeps/gnu/bits/utmpx.h: Likewise.
24675         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24676         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24677         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24678         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24679         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24680         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24681         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24682         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24683         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24684         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24685         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24686         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24687         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24689         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24690         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24691         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24692         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24693         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24694         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24695         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24696         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24697         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24698         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24699         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24701         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24702         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24703         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24704         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24705         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24706         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24707         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24708         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24709         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24710         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24711         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24712         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24713         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24714         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24715         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24716         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24718 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
24720         [BZ #16245]
24721         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24722         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24724 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
24726         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24727         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24728         Likewise.
24730 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24732         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24733         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24734         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24735         (__fesetround): Remove define.
24736         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24737         rounding and exceptions handling.
24738         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24739         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24740         (__fe_nomask_env): Likewise.
24741         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24742         __fegetround instead of fegetround.
24743         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24744         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24746 2013-11-21  Roland McGrath  <roland@hack.frob.com>
24748         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24749         it's there.
24751         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24753 2013-11-21  Meador Inge  <meadori@codesourcery.com>
24755         [BZ #11157]
24756         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24757         (encrypt_r): Likewise.
24758         * malloc/obstack.h (obstack_free): Likewise.
24759         * posix/unistd.h (encrypt): Likewise.
24761 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
24763         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24764         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24765         DL_CALL_DT_FINI() that call the functions directly.
24766         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24767         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24768         * elf/dl-fini.c: Likewise.
24770 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
24772         * malloc/hooks.c (memalign_check): Add alignment rounding.
24773         * malloc/malloc.c (_mid_memalign): New function.
24774         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24775         Implement by calling _mid_memalign.
24776         * manual/probes.texi (Memory Allocation Probes): Remove
24777         memory_valloc_retry and memory_pvalloc_retry.
24779 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24781         * locale/programs/locarchive.c (open_archive): Add const
24782         qualifier to ARCHIVEFNAME and copy default fname to
24783         DEFAULT_FNAME.
24785         [BZ #15601]
24786         * libio/tst-widetext.input: Rename Oriya to Odia.
24787         * locale/iso-639.def: Likewise.
24789         * manual/probes.texi (Mathematical Function Probes): Add
24790         documentation for sin, cos, asin and acos probes.
24791         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24792         (__sin32): Add slowasin probe.
24793         (__cos32): Add slowacos probe.
24794         (__mpsin): Add slowsin probe.
24795         (__mpcos): Add slowcos probe.
24797 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
24799         [BZ #15483]
24800         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24801         thread-local __sim_exceptions_thread and global
24802         __sim_exceptions_global.
24803         (__sim_disabled_exceptions): Change to thread-local
24804         __sim_disabled_exceptions_thread and global
24805         __sim_disabled_exceptions_global.
24806         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24807         and global __sim_round_mode_global.
24808         (__simulate_exceptions): Use thread-local floating-point state and
24809         set global state from it as needed.
24810         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24811         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24812         __sim_round_mode_thread.
24813         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24814         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24815         and global __sim_exceptions_global.
24816         (__sim_disabled_exceptions): Change to thread-local
24817         __sim_disabled_exceptions_thread and global
24818         __sim_disabled_exceptions_global.
24819         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24820         and global __sim_round_mode_global.
24821         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24822         (SIM_SET_GLOBAL): Likewise.
24823         * sysdeps/powerpc/soft-fp/sfp-machine.h
24824         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24825         __sim_round_mode_thread.
24826         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24827         __sim_disabled_exceptions_thread.
24828         (__sim_exceptions): Change to __sim_exceptions_thread.
24829         (__sim_disabled_exceptions): Change to
24830         __sim_disabled_exceptions_thread.
24831         (__sim_round_mode): Change to __sim_round_mode_thread.
24832         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24833         thread-local floating-point state and set global state from it as
24834         needed.
24835         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24836         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24837         (__sim_disabled_exceptions): Remove extern declaration.
24838         (feenableexcept): Use thread-local floating-point state and set
24839         global state from it as needed.
24840         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24841         extern declaration.
24842         (__sim_disabled_exceptions): Likewise.
24843         (__sim_round_mode): Likewise.
24844         (__fegetenv): Use thread-local floating-point state.
24845         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24846         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24847         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24848         floating-point state and set global state from it as needed.
24849         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24850         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24851         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24852         Likewise.
24853         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24854         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24855         Likewise.
24856         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24857         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24858         Use __sim_round_mode_thread.
24859         * math/test-fenv-tls.c: New file.
24860         * math/Makefile (tests): Add test-fenv-tls.
24861         ($(objpfx)test-fenv-tls): Depend on
24862         $(common-objpfx)nptl/libpthread.so.
24864 2013-11-19  Andreas Schwab  <schwab@suse.de>
24866         * locale/programs/locale.c (show_info): Decode wordarray elements.
24867         * locale/categories.def (LC_MONETARY): Add element for
24868         _NL_MONETARY_CRNCYSTR.
24869         * locale/C-monetary.c (conversion_rate): New variable.
24870         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24871         element.
24873 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
24875         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24876         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24878 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24880         * elf/Makefile (tst-auxv): New test.
24881         * elf/tst-auxv.c: New
24882         * elf/rtld.c (dl_main): Adjust AT_EXECFN
24884 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
24886         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24887         (hidden_proto): Caller changed.
24888         (hidden_tls_proto): New macro.
24889         (libc_hidden_tls_proto): Likewise.
24890         (rtld_hidden_tls_proto): Likewise.
24891         (libm_hidden_tls_proto): Likewise.
24892         (libresolv_hidden_tls_proto): Likewise.
24893         (librt_hidden_tls_proto): Likewise.
24894         (libdl_hidden_tls_proto): Likewise.
24895         (libnss_files_hidden_tls_proto): Likewise.
24896         (libnsl_hidden_tls_proto): Likewise.
24897         (libnss_nisplus_hidden_tls_proto): Likewise.
24898         (libutil_hidden_tls_proto): Likewise.
24900 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
24902         [BZ #10253]
24903         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24904         (decompose_rpath): Defer expansion to fillin_rpath.
24905         (_dl_init_paths): Pass linkmap to fillin_rpath.
24907 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24909         * benchtests/Makefile: Add strsep.
24910         * benchtests/bench-strsep.c: New file: strsep benchtest.
24911         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24913 2013-11-18  Andreas Schwab  <schwab@suse.de>
24915         * locale/programs/locale.c (show_info) [case byte]: Check for
24916         '\377' instead of '\177'.
24917         * locale/C-monetary.c (not_available): Always use "\377".
24918         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24919         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
24920         detect unavailable sign_posn locale elements.
24921         * locale/localeconv.c (__localeconv): For grouping and
24922         mon_grouping handle "\177" and "\377" like no grouping.
24923         (INT_ELEM): New macro.  Use it to set all numeric members.
24924         * locale/programs/ld-monetary.c (monetary_read)
24925         <tok_mon_grouping>: Normalize single -1 to the empty string.
24926         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24927         Likewise.
24929 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24931         [BZ #16055]
24932         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24933         when we match (nil).
24934         * stdio-common/tst-sscanf.c (struct test): Add testcase.
24936 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
24938         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24939         (NO_TEST_INLINE): Update value.
24940         (ERRNO_UNCHANGED): Likewise.
24941         (ERRNO_EDOM): Likewise.
24942         (ERRNO_ERANGE): Likewise.
24943         (IGNORE_RESULT): Likewise.
24944         (check_float_internal): Check signs of NaN results if
24945         TEST_NAN_SIGN used.
24946         (check_complex): Pass TEST_NAN_SIGN flag through to second
24947         check_float_internal call.
24948         (copysign_test_data): Add tests with quiet NaNs as second
24949         argument.  Use TEST_NAN_SIGN.
24950         (fabs_test_data): Add test of negative quiet NaN argument.  Use
24951         TEST_NAN_SIGN.
24952         (signbit_test_data): Add tests of quiet NaN argument.
24953         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24955         * math/gen-libm-test.pl (show_exceptions): Take extra argument
24956         $ignore_result.
24957         (parse_args): Handle function results specified as IGNORE.
24958         * math/libm-test.inc (IGNORE_RESULT): New macro.
24959         (check_float_internal): Do not check numerical result if flag
24960         IGNORE_RESULT set.
24961         (check_complex): Pass through IGNORE_RESULT to second
24962         check_float_internal call.
24963         (check_int): Do not check numerical result if flag IGNORE_RESULT
24964         set.
24965         (check_long): Likewise.
24966         (check_bool): Likewise.
24967         (check_longlong): Likewise.
24968         (lrint_test_data): Add tests of infinite and NaN arguments.
24969         (lrint_tonearest_test_data): Likewise.
24970         (lrint_towardzero_test_data): Likewise.
24971         (lrint_downward_test_data): Likewise.
24972         (lrint_upward_test_data): Likewise.
24973         (llrint_test_data): Likewise.
24974         (llrint_tonearest_test_data): Likewise.
24975         (llrint_towardzero_test_data): Likewise.
24976         (llrint_downward_test_data): Likewise.
24977         (llrint_upward_test_data): Likewise.
24978         (lround_test_data): Likewise.
24979         (llround_test_data): Likewise.
24981         * math/libm-test.inc (NO_TEST_INLINE): New macro.
24982         (ERRNO_UNCHANGED): Update value.
24983         (ERRNO_EDOM): Likewise.
24984         (ERRNO_ERANGE): Likewise.
24985         (NO_TEST_INLINE_FLOAT): New macro.
24986         (NO_TEST_INLINE_DOUBLE): Likewise.
24987         (enable_test): New function.
24988         (RUN_TEST_f_f): Check enable_test before running test.
24989         (RUN_TEST_2_f): Likewise.
24990         (RUN_TEST_fff_f): Likewise.
24991         (RUN_TEST_c_f): Likewise.
24992         (RUN_TEST_f_f1): Likewise.
24993         (RUN_TEST_fF_f1): Likewise.
24994         (RUN_TEST_fI_f1): Likewise.
24995         (RUN_TEST_ffI_f1): Likewise.
24996         (RUN_TEST_c_c): Likewise.
24997         (RUN_TEST_cc_c): Likewise.
24998         (RUN_TEST_f_i): Likewise.
24999         (RUN_TEST_f_i_tg): Likewise.
25000         (RUN_TEST_ff_i_tg): Likewise.
25001         (RUN_TEST_f_b): Likewise.
25002         (RUN_TEST_f_b_tg): Likewise.
25003         (RUN_TEST_f_l): Likewise.
25004         (RUN_TEST_f_L): Likewise.
25005         (RUN_TEST_fFF_11): Likewise.
25006         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25007         conditionals.
25008         (cosh_test_data): Likewise.
25009         (exp_test_data): Likewise.
25010         (expm1_test_data): Likewise.
25011         (hypot_test_data): Likewise.
25012         (pow_test_data): Likewise.
25013         (sinh_test_data): Likewise.
25014         (tanh_test_data): Likewise.
25015         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25016         flags argument.
25018         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25019         tests with quiet NaN input and output.
25020         (acosh_test_data): Likewise.
25021         (asin_test_data): Likewise.
25022         (asinh_test_data): Likewise.
25023         (atan_test_data): Likewise.
25024         (atanh_test_data): Likewise.
25025         (atan2_test_data): Likewise.
25026         (cbrt_test_data): Likewise.
25027         (cos_test_data): Likewise.
25028         (cosh_test_data): Likewise.
25029         (erf_test_data): Likewise.
25030         (erfc_test_data): Likewise.
25031         (exp_test_data): Likewise.
25032         (exp10_test_data): Likewise.
25033         (exp2_test_data): Likewise.
25034         (expm1_test_data): Likewise.
25035         (hypot_test_data): Likewise.
25036         (j0_test_data): Likewise.
25037         (j1_test_data): Likewise.
25038         (jn_test_data): Likewise.
25039         (lgamma_test_data): Likewise.
25040         (log_test_data): Likewise.
25041         (log10_test_data): Likewise.
25042         (log1p_test_data): Likewise.
25043         (log2_test_data): Likewise.
25044         (pow_test_data): Likewise.
25045         (scalb_test_data): Likewise.
25046         (sin_test_data): Likewise.
25047         (sincos_test_data): Likewise.
25048         (sinh_test_data): Likewise.
25049         (tan_test_data): Likewise.
25050         (tanh_test_data): Likewise.
25051         (tgamma_test_data): Likewise.
25052         (y0_test_data): Likewise.
25053         (y1_test_data): Likewise.
25054         (yn_test_data): Likewise.
25056         [BZ #16167]
25057         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25058         argument being NaN and avoid computations with second argument in
25059         that case.
25060         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25061         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25062         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25064 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25066         * locale/iso-639.def: Add Chitwani Tharu (the).
25068 2013-11-14  Andreas Schwab  <schwab@suse.de>
25070         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25071         word instead of empty string.
25073 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25076         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25078         (__fe_nomask_env): Likewise.
25080 2013-11-13  Steve Ellcey  <sellcey@mips.com>
25082         * benchtests/bench-timing.h: Include time.h.
25084 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
25086         [BZ #15997]
25087         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25088         to 3.4.0 for x32.
25089         * sysdeps/unix/sysv/linux/configure: Regenerated.
25091 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
25093         [BZ #16151]
25094         * stdlib/strtod_l.c (round_and_return): Do not consider
25095         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25096         exponent one less than half the least subnormal exponent.
25097         * stdlib/test-strtod-round-data: Add more tests.
25098         * stdlib/tst-strtod-round.c (tests): Regenerated.
25100 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25102         [BZ #14143]
25103         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25104         (__fe_mask_env): Likewise.
25105         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25106         libm_hidden_proto and add function prototype.
25107         (__fe_mask_env): Add function prototype.
25108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25109         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25111         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25113         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25115 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25117         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25118         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25120 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25122         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25123         of htab_find_slot().
25125 2013-11-11  David S. Miller  <davem@davemloft.net>
25127         [BZ #16150]
25128         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25129         symbol in the non-vis3 case in static builds.
25130         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25131         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25132         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25133         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25135 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
25137         [BZ #387]
25138         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25139         it is empty.
25141 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25143         * benchtests/Makefile: Add bench-strtod.
25144         * benchtests/bench-strtod.c: New file: strtod benchtest
25146 2013-11-11  Andreas Schwab  <schwab@suse.de>
25148         [BZ #16153]
25149         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25150         terminating NUL in key length.
25152 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25154         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25155         Add artificial ODP entry for vDSO symbol for PPC64.
25156         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25157         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25159 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25161         [BZ #15374]
25162         * nss/getent.c (services_keys): Recognize services starting with digit.
25164 2013-11-06  David S. Miller  <davem@davemloft.net>
25166         [BZ #15985]
25167         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25168         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25170 2013-11-06  Will Newton  <will.newton@linaro.org>
25172         * manual/memory.texi (Malloc Examples): Remove register
25173         keyword from examples.
25175 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
25177         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25179 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
25181         [BZ #6981]
25182         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25183         depending on [__GCC_IEC_559 > 0].
25184         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25185         depending on [__GCC_IEC_559_COMPLEX > 0].
25187 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
25189         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25190         to iso-639.def.
25192 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
25194         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25196 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
25198         [BZ #16112]
25199         * malloc/malloc (malloc_info): Do not handle first bin as
25200         special case.
25202 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
25204         * locale/iso-639.def: Add Central Nahuatl (nhn).
25206 2013-11-01  Bruno Haible  <bruno@clisp.org>
25208         [BZ #7003]
25209         * manual/math.texi (BSD Random): Specify range upper bound as
25210         in POSIX.
25212 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
25214         * locale/iso-639.def: Add Meadow Mari (mhr).
25216 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
25218         [BZ #14752], [BZ #15763]
25219         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25220         Validate name.
25221         * rt/tst_shm.c: Add test for escaping directory.
25223 2013-10-31  Andreas Schwab  <schwab@suse.de>
25225         [BZ #15917]
25226         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25227         followed by 'x' as part of digit sequence.
25228         * stdio-common/tst-sscanf.c (double_tests2): New tests.
25230 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25232         [BZ #16037]
25233         * configure.ac: allow GNU Make 4.0 and greater.
25234         * configure: Regenerated.
25236 2013-10-30  Will Newton  <will.newton@linaro.org>
25238         [BZ #16038]
25239         * malloc/hooks.c (memalign_check): Limit alignment to the
25240         maximum representable power of two.
25241         * malloc/malloc.c (__libc_memalign): Likewise.
25242         * malloc/tst-memalign.c (do_test): Add test for very
25243         large alignment values.
25244         * malloc/tst-posix_memalign.c (do_test): Likewise.
25246 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25248         [BZ #11087]
25249         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25250         (munmap_chunk): Likewise.
25251         (mremap_chunk): Likewise.
25253 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25255         [BZ #15799]
25256         * stdlib/div.c (div): Remove obsolete code.
25257         * stdlib/ldiv.c (ldiv): Likewise.
25258         * stdlib/lldiv.c (lldiv): Likewise.
25260 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25262         [BZ #16071]
25263         * nss/nss_files/files-XXX.c (get_contents_ret): New
25264         enumerator.
25265         (get_contents): New function.
25266         (internal_getent): Use it.  Expand size of LINEBUFLEN.
25268 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
25270         * configure.in: Moved to ...
25271         * configure.ac: ... here. Change reference to configure.in
25272         to configure.ac.
25273         * sysdeps/arm/preconfigure.ac: ... here.
25274         configure.in to configure.ac.
25275         * sysdeps/gnu/configure.in: Moved to ...
25276         * sysdeps/gnu/configure.ac: ... here.
25277         * sysdeps/i386/configure.in: Moved to ...
25278         * sysdeps/i386/configure.ac: ... here.
25279         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25280         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25281         * sysdeps/mach/configure.in: Moved to ...
25282         * sysdeps/mach/configure.ac: ... here.
25283         * sysdeps/mach/hurd/configure.in: Moved to ...
25284         * sysdeps/mach/hurd/configure.ac: ... here.
25285         * sysdeps/powerpc/configure.in: Moved to ...
25286         * sysdeps/powerpc/configure.ac: ... here.
25287         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25288         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25289         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25290         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25291         * sysdeps/s390/s390-32/configure.in: Moved to ...
25292         * sysdeps/s390/s390-32/configure.ac: ... here.
25293         * sysdeps/s390/s390-64/configure.in: Moved to ...
25294         * sysdeps/s390/s390-64/configure.ac: ... here.
25295         * sysdeps/sh/configure.in: Moved to ...
25296         * sysdeps/sh/configure.ac: ... here.
25297         * sysdeps/sparc/configure.in: Moved to ...
25298         * sysdeps/sparc/configure.ac: ... here.
25299         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25300         * sysdeps/unix/sysv/linux/configure.ac: ... here.
25301         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25302         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25303         * sysdeps/x86_64/configure.in: Moved to ...
25304         * sysdeps/x86_64/configure.ac: ... here.
25305         * sysdeps/x86_64/preconfigure.in: Moved to ...
25306         * sysdeps/x86_64/preconfigure.ac: ... here.
25307         * aclocal.m4: Change reference to configure.in to configure.ac.
25308         * config.h.in: Likewise.
25309         * manual/install.texi: Likewise.
25310         * manual/maint.texi: Likewise.
25311         * Makefile: Likewise.
25312         * malloc/Makefile: Likewise.
25313         * nscd/Makefile: Likewise.
25314         * Makeconfig: Change reference to configure.in and
25315         preconfigure.in to configure.ac and preconfigure.ac
25316         respectively.
25317         * INSTALL: Regenerated.
25318         * configure: Likewise.
25319         * sysdeps/gnu/configure: Likewise.
25320         * sysdeps/i386/configure: Likewise.
25321         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25322         * sysdeps/mach/configure: Likewise.
25323         * sysdeps/mach/hurd/configure: Likewise.
25324         * sysdeps/powerpc/configure: Likewise.
25325         * sysdeps/powerpc/powerpc32/configure: Likewise.
25326         * sysdeps/powerpc/powerpc64/configure: Likewise.
25327         * sysdeps/s390/s390-32/configure: Likewise.
25328         * sysdeps/s390/s390-64/configure: Likewise.
25329         * sysdeps/sh/configure: Likewise.
25330         * sysdeps/sparc/configure: Likewise.
25331         * sysdeps/unix/sysv/linux/configure: Likewise.
25332         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25333         * sysdeps/x86_64/configure: Likewise.
25334         * sysdeps/x86_64/preconfigure: Likewise.
25336 2013-10-29  Andreas Schwab  <schwab@suse.de>
25338         * stdio-common/Makefile (tst-swscanf-ENV): Define.
25340 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25342         * benchtests/pow-inputs: Add new inputs.
25344         * benchtests/exp-inputs: Add new inputs.
25346         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25347         conditional check for return value.
25348         (__cos32): Likewise.
25350 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25352         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25353         to provide a boost for large inputs with word alignment.
25354         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25355         implementation based on optimized PPC64 strcpy.
25356         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25357         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25358         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25359         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25361 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25363         [BZ #2801]
25364         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25366 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25368         [BZ #14876]
25369         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25370         * time/tst-strptime.c (day_tests): Add testcase.
25372 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25374         [BZ #14029]
25375         * manual/pattern.texi: Acknowledge that fnmatch can fail.
25377 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
25379         [BZ #16074]
25380         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25381         MAP_FAILED on error.
25383 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25385         [BZ #16072]
25386         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25387         heap for large requests.
25389 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
25391         [BZ #9954]
25392         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25393         result if the result has no associated interface.
25394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25395         interface for all 127.X.Y.Z addresses.
25397 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
25399         * locale/iso-639.def: Add Ligurian (lij)
25401 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
25403         [BZ #15825]
25404         * sunrpc/rpc_main.c: Document rpcgen -5.
25406 2013-10-19  Michael Stahl  <mstahl@redhat.com>
25408         * elf/rtld.c (do_preload): Print the reason why preloading failed.
25410 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25412         [BZ #10278]
25413         * posix/glob.c: Match only directories when trailing slash is present.
25414         * posix/tst-gnuglob.c (my_opendir): Do not open files.
25415         (main): Add testcase.
25417 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25419         [BZ #15670]
25420         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25422 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
25424         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25425         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25426         AUTH_DES and cindex for FIPS 140-2.
25427         (DES Encryption): Add cindex FIPS 46-3.
25429         * locale/locarchive.h (struct locarhandle): Add fname.
25430         * locale/programs/localedef.c (main): Pass ARGV[remaining]
25431         if an optional argument was specified to --list-archive,
25432         otherwise NULL.
25433         * locale/programs/locarchive.c (show_archive_content): Take new
25434         argument fname and pass it via ah.fname to open_archive.
25435         * locale/programs/localedef.h: Update decl.
25436         (open_archive): If AH->fname is non-null, open that file
25437         rather than the default file name, and don't ignore ENOENT.
25438         (create_archive): Set AH.fname to NULL.
25439         (delete_locales_from_archive): Likewise.
25440         (add_locales_to_archive): Likewise.
25441         * locale/programs/locfile.c (write_all_categories): Likewise.
25443 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
25444             Aldy Hernandez  <aldyh@redhat.com>
25446         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25447         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25448         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25449         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25450         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25451         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25452         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25453         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25454         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25455         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25456         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25457         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25458         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25459         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25460         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25461         Likewise.
25462         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25463         Likewise.
25464         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25465         Likewise.
25466         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25467         Likewise.
25468         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25469         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25470         Likewise.
25471         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25472         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25473         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25474         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25475         Likewise.
25476         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25477         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25478         * sysdeps/powerpc/preconfigure: Likewise.
25479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25480         Likewise.
25481         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25482         Replace contents of file by #include of <fenv_libc.h>.
25483         * sysdeps/powerpc/soft-fp/sfp-machine.h
25484         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25485         and <sys/prctl.h>.
25486         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25487         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25488         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25491         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25493         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25494         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25495         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25497         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25499         Allow copysignl PLT reference to be missing.
25501 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
25502             Joseph Myers  <joseph@codesourcery.com
25504         [BZ #15948]
25505         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25506         single character.
25507         (add_to_tablewc): Assert sequence of wide characters is nonempty.
25509 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25511         * elf/tst-tls-dlinfo.c: Don't include tls.h.
25512         * elf/tst-tls1.c: Likewise.
25513         * elf/tst-tls10.h: Likewise.
25514         * elf/tst-tls14.c: Likewise.
25515         * elf/tst-tls2.c: Likewise.
25516         * elf/tst-tls3.c: Likewise.
25517         * elf/tst-tls4.c: Likewise.
25518         * elf/tst-tls5.c: Likewise.
25519         * elf/tst-tls6.c: Likewise.
25520         * elf/tst-tls7.c: Likewise.
25521         * elf/tst-tls8.c: Likewise.
25522         * elf/tst-tls9.c: Likewise.
25523         * elf/tst-tlsmod1.c: Likewise.
25524         * elf/tst-tlsmod13.c: Likewise.
25525         * elf/tst-tlsmod13a.c: Likewise.
25526         * elf/tst-tlsmod14a.c: Likewise.
25527         * elf/tst-tlsmod16a.c: Likewise.
25528         * elf/tst-tlsmod16b.c: Likewise.
25529         * elf/tst-tlsmod2.c: Likewise.
25530         * elf/tst-tlsmod3.c: Likewise.
25531         * elf/tst-tlsmod4.c: Likewise.
25532         * elf/tst-tlsmod5.c: Likewise.
25533         * elf/tst-tlsmod6.c: Likewise.
25535 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
25537         [BZ #12486]
25538         * malloc/malloc.c: remove checks for statistics.
25540 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25542         [BZ #15277]
25543         * inet/inet_net.c (inet_network): Detect additional invalid strings.
25544         * inet/tst-network.c: Add testcase.
25546 2013-10-17  Andreas Schwab  <schwab@suse.de>
25548         [BZ #15218]
25549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25550         to determine canonical name.
25552 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25554         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25555         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25557         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25559         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25560         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25561         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25562         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25563         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25564         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25565         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25566         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25567         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25568         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25569         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25571         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25572         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25573         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25574         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25575         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25576         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25577         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25578         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25579         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25580         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25581         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25582         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25583         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25584         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25585         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25586         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25587         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25588         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25589         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25590         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25591         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25592         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25593         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25594         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25595         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25596         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25597         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25598         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25599         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25600         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25601         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25602         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25603         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25604         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25605         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25606         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25607         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25608         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25609         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25611         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25613 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
25615         [BZ #16041]
25616         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25617         make result into a quiet NaN.
25619 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
25621         * soft-fp/adddf3.c: Fix horizontal whitespace.
25622         * soft-fp/addsf3.c: Likewise.
25623         * soft-fp/addtf3.c: Likewise.
25624         * soft-fp/divdf3.c: Likewise.
25625         * soft-fp/divsf3.c: Likewise.
25626         * soft-fp/divtf3.c: Likewise.
25627         * soft-fp/double.h: Likewise.
25628         * soft-fp/eqdf2.c: Likewise.
25629         * soft-fp/eqsf2.c: Likewise.
25630         * soft-fp/eqtf2.c: Likewise.
25631         * soft-fp/extenddftf2.c: Likewise.
25632         * soft-fp/extended.h: Likewise.
25633         * soft-fp/extendsfdf2.c: Likewise.
25634         * soft-fp/extendsftf2.c: Likewise.
25635         * soft-fp/extendxftf2.c: Likewise.
25636         * soft-fp/fixdfdi.c: Likewise.
25637         * soft-fp/fixdfsi.c: Likewise.
25638         * soft-fp/fixdfti.c: Likewise.
25639         * soft-fp/fixsfdi.c: Likewise.
25640         * soft-fp/fixsfsi.c: Likewise.
25641         * soft-fp/fixsfti.c: Likewise.
25642         * soft-fp/fixtfdi.c: Likewise.
25643         * soft-fp/fixtfsi.c: Likewise.
25644         * soft-fp/fixtfti.c: Likewise.
25645         * soft-fp/fixunsdfdi.c: Likewise.
25646         * soft-fp/fixunsdfsi.c: Likewise.
25647         * soft-fp/fixunsdfti.c: Likewise.
25648         * soft-fp/fixunssfdi.c: Likewise.
25649         * soft-fp/fixunssfsi.c: Likewise.
25650         * soft-fp/fixunssfti.c: Likewise.
25651         * soft-fp/fixunstfdi.c: Likewise.
25652         * soft-fp/fixunstfsi.c: Likewise.
25653         * soft-fp/fixunstfti.c: Likewise.
25654         * soft-fp/floatdidf.c: Likewise.
25655         * soft-fp/floatdisf.c: Likewise.
25656         * soft-fp/floatditf.c: Likewise.
25657         * soft-fp/floatsidf.c: Likewise.
25658         * soft-fp/floatsisf.c: Likewise.
25659         * soft-fp/floatsitf.c: Likewise.
25660         * soft-fp/floattidf.c: Likewise.
25661         * soft-fp/floattisf.c: Likewise.
25662         * soft-fp/floattitf.c: Likewise.
25663         * soft-fp/floatundidf.c: Likewise.
25664         * soft-fp/floatundisf.c: Likewise.
25665         * soft-fp/floatunditf.c: Likewise.
25666         * soft-fp/floatunsidf.c: Likewise.
25667         * soft-fp/floatunsisf.c: Likewise.
25668         * soft-fp/floatunsitf.c: Likewise.
25669         * soft-fp/floatuntidf.c: Likewise.
25670         * soft-fp/floatuntisf.c: Likewise.
25671         * soft-fp/floatuntitf.c: Likewise.
25672         * soft-fp/fmadf4.c: Likewise.
25673         * soft-fp/fmasf4.c: Likewise.
25674         * soft-fp/fmatf4.c: Likewise.
25675         * soft-fp/gedf2.c: Likewise.
25676         * soft-fp/gesf2.c: Likewise.
25677         * soft-fp/getf2.c: Likewise.
25678         * soft-fp/ledf2.c: Likewise.
25679         * soft-fp/lesf2.c: Likewise.
25680         * soft-fp/letf2.c: Likewise.
25681         * soft-fp/muldf3.c: Likewise.
25682         * soft-fp/mulsf3.c: Likewise.
25683         * soft-fp/multf3.c: Likewise.
25684         * soft-fp/negdf2.c: Likewise.
25685         * soft-fp/negsf2.c: Likewise.
25686         * soft-fp/negtf2.c: Likewise.
25687         * soft-fp/op-1.h: Likewise.
25688         * soft-fp/op-2.h: Likewise.
25689         * soft-fp/op-4.h: Likewise.
25690         * soft-fp/op-8.h: Likewise.
25691         * soft-fp/op-common.h: Likewise.
25692         * soft-fp/quad.h: Likewise.
25693         * soft-fp/single.h: Likewise.
25694         * soft-fp/soft-fp.h: Likewise.
25695         * soft-fp/sqrtdf2.c: Likewise.
25696         * soft-fp/sqrtsf2.c: Likewise.
25697         * soft-fp/sqrttf2.c: Likewise.
25698         * soft-fp/subdf3.c: Likewise.
25699         * soft-fp/subsf3.c: Likewise.
25700         * soft-fp/subtf3.c: Likewise.
25701         * soft-fp/truncdfsf2.c: Likewise.
25702         * soft-fp/trunctfdf2.c: Likewise.
25703         * soft-fp/trunctfsf2.c: Likewise.
25704         * soft-fp/trunctfxf2.c: Likewise.
25705         * soft-fp/unorddf2.c: Likewise.
25706         * soft-fp/unordsf2.c: Likewise.
25707         * soft-fp/unordtf2.c: Likewise.
25709 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
25711         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25712         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25714 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
25716         * elf/dl-libc.c: Clear initfini list after freeing.
25718 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
25720         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25721         * soft-fp/addsf3.c: Likewise.
25722         * soft-fp/addtf3.c: Likewise.
25723         * soft-fp/divdf3.c: Likewise.
25724         * soft-fp/divsf3.c: Likewise.
25725         * soft-fp/divtf3.c: Likewise.
25726         * soft-fp/double.h: Likewise.
25727         * soft-fp/eqdf2.c: Likewise.
25728         * soft-fp/eqsf2.c: Likewise.
25729         * soft-fp/eqtf2.c: Likewise.
25730         * soft-fp/extenddftf2.c: Likewise.
25731         * soft-fp/extended.h: Likewise.
25732         * soft-fp/extendsfdf2.c: Likewise.
25733         * soft-fp/extendsftf2.c: Likewise.
25734         * soft-fp/extendxftf2.c: Likewise.
25735         * soft-fp/fixdfdi.c: Likewise.
25736         * soft-fp/fixdfsi.c: Likewise.
25737         * soft-fp/fixdfti.c: Likewise.
25738         * soft-fp/fixsfdi.c: Likewise.
25739         * soft-fp/fixsfsi.c: Likewise.
25740         * soft-fp/fixsfti.c: Likewise.
25741         * soft-fp/fixtfdi.c: Likewise.
25742         * soft-fp/fixtfsi.c: Likewise.
25743         * soft-fp/fixtfti.c: Likewise.
25744         * soft-fp/fixunsdfdi.c: Likewise.
25745         * soft-fp/fixunsdfsi.c: Likewise.
25746         * soft-fp/fixunsdfti.c: Likewise.
25747         * soft-fp/fixunssfdi.c: Likewise.
25748         * soft-fp/fixunssfsi.c: Likewise.
25749         * soft-fp/fixunssfti.c: Likewise.
25750         * soft-fp/fixunstfdi.c: Likewise.
25751         * soft-fp/fixunstfsi.c: Likewise.
25752         * soft-fp/fixunstfti.c: Likewise.
25753         * soft-fp/floatdidf.c: Likewise.
25754         * soft-fp/floatdisf.c: Likewise.
25755         * soft-fp/floatditf.c: Likewise.
25756         * soft-fp/floatsidf.c: Likewise.
25757         * soft-fp/floatsisf.c: Likewise.
25758         * soft-fp/floatsitf.c: Likewise.
25759         * soft-fp/floattidf.c: Likewise.
25760         * soft-fp/floattisf.c: Likewise.
25761         * soft-fp/floattitf.c: Likewise.
25762         * soft-fp/floatundidf.c: Likewise.
25763         * soft-fp/floatundisf.c: Likewise.
25764         * soft-fp/floatunsidf.c: Likewise.
25765         * soft-fp/floatunsisf.c: Likewise.
25766         * soft-fp/floatuntidf.c: Likewise.
25767         * soft-fp/floatuntisf.c: Likewise.
25768         * soft-fp/floatuntitf.c: Likewise.
25769         * soft-fp/fmadf4.c: Likewise.
25770         * soft-fp/fmasf4.c: Likewise.
25771         * soft-fp/fmatf4.c: Likewise.
25772         * soft-fp/gedf2.c: Likewise.
25773         * soft-fp/gesf2.c: Likewise.
25774         * soft-fp/getf2.c: Likewise.
25775         * soft-fp/ledf2.c: Likewise.
25776         * soft-fp/lesf2.c: Likewise.
25777         * soft-fp/letf2.c: Likewise.
25778         * soft-fp/muldf3.c: Likewise.
25779         * soft-fp/mulsf3.c: Likewise.
25780         * soft-fp/multf3.c: Likewise.
25781         * soft-fp/negdf2.c: Likewise.
25782         * soft-fp/negsf2.c: Likewise.
25783         * soft-fp/negtf2.c: Likewise.
25784         * soft-fp/op-1.h: Likewise.
25785         * soft-fp/op-2.h: Likewise.
25786         * soft-fp/op-4.h: Likewise.
25787         * soft-fp/op-8.h: Likewise.
25788         * soft-fp/op-common.h: Likewise.
25789         * soft-fp/quad.h: Likewise.
25790         * soft-fp/single.h: Likewise.
25791         * soft-fp/soft-fp.h: Likewise.
25792         * soft-fp/sqrtdf2.c: Likewise.
25793         * soft-fp/sqrtsf2.c: Likewise.
25794         * soft-fp/sqrttf2.c: Likewise.
25795         * soft-fp/subdf3.c: Likewise.
25796         * soft-fp/subsf3.c: Likewise.
25797         * soft-fp/subtf3.c: Likewise.
25798         * soft-fp/truncdfsf2.c: Likewise.
25799         * soft-fp/trunctfdf2.c: Likewise.
25800         * soft-fp/trunctfsf2.c: Likewise.
25801         * soft-fp/trunctfxf2.c: Likewise.
25802         * soft-fp/unorddf2.c: Likewise.
25803         * soft-fp/unordsf2.c: Likewise.
25804         * soft-fp/unordtf2.c: Likewise.
25806 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
25808         [BZ #15672]
25809         * misc/error.c (error_tail): Fix possible buffer overflow.
25811 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
25813         [BZ #13028]
25814         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25815         address.
25817 2013-10-14  P. J. McDermott  <pj@pehjota.net>
25819         [BZ #832]
25820         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
25821         testing pipefail option.
25823 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
25825         * soft-fp/double.h: Indent preprocessor directives inside #if.
25826         * soft-fp/extended.h: Likewise.
25827         * soft-fp/op-2.h: Likewise.
25828         * soft-fp/op-4.h: Likewise.
25829         * soft-fp/op-common.h: Likewise.
25830         * soft-fp/quad.h: Likewise.
25831         * soft-fp/single.h: Likewise.
25832         * soft-fp/soft-fp.h: Likewise.
25834 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
25836         * iconv/iconv_prog.c: Fix typos.
25837         * stdio-common/psiginfo-data.h: Likewise.
25839 2013-10-12   Reuben Thomas <rrt@sc3d.org>
25841         [BZ #15764]
25842         * locale/setlocale.c: Fix typo.
25844 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
25846         [BZ #16036]
25847         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25848         signaling NaN arguments.
25849         * soft-fp/unordsf2.c (__unordsf2): Likewise.
25850         * soft-fp/unordtf2.c (__unordtf2): Likewise.
25852         [BZ #14910]
25853         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25854         unordered operands.
25855         * soft-fp/gesf2.c (__gesf2): Likewise.
25856         * soft-fp/getf2.c (__getf2): Likewise.
25857         * soft-fp/ledf2.c (__ledf2): Likewise.
25858         * soft-fp/lesf2.c (__lesf2): Likewise.
25859         * soft-fp/letf2.c (__letf2): Likewise.
25861         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25862         * soft-fp/eqsf2.c (__eqsf2): Likewise.
25863         * soft-fp/eqtf2.c (__eqtf2): Likewise.
25864         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25865         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25866         * soft-fp/fixdfti.c (__fixdfti): Likewise.
25867         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25868         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25869         * soft-fp/fixsfti.c (__fixsfti): Likewise.
25870         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25871         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25872         * soft-fp/fixtfti.c (__fixtfti): Likewise.
25873         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25874         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25875         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25876         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25877         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25878         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25879         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25880         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25881         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25882         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25883         * soft-fp/floatdisf.c (__floatdisf): Likewise.
25884         * soft-fp/floatsisf.c (__floatsisf): Likewise.
25885         * soft-fp/floattidf.c (__floattidf): Likewise.
25886         * soft-fp/floattisf.c (__floattisf): Likewise.
25887         * soft-fp/floattitf.c (__floattitf): Likewise.
25888         * soft-fp/floatundidf.c (__floatundidf): Likewise.
25889         * soft-fp/floatundisf.c (__floatundisf): Likewise.
25890         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25891         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25892         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25893         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25894         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25895         * soft-fp/gesf2.c (__gesf2): Likewise.
25896         * soft-fp/getf2.c (__getf2): Likewise.
25897         * soft-fp/ledf2.c (__ledf2): Likewise.
25898         * soft-fp/lesf2.c (__lesf2): Likewise.
25899         * soft-fp/letf2.c (__letf2): Likewise.
25901         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25902         Undefine and redefine.
25903         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25904         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25905         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25906         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25907         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25908         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25909         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25910         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25911         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25912         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25913         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25914         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25915         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25916         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25917         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25919         [BZ #16032]
25920         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25921         without decrementing exponent if mantissa >= that for the
25922         denominator, not >.
25923         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25924         denominator, not >.  Decrement exponent in < case instead of
25925         incrementing in >= case.
25926         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25927         without decrementing exponent if mantissa >= that for the
25928         denominator, not >.
25930         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25931         computing saturated result for unsigned overflow.
25933 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25934             Jeff Law  <law@redhat.com>
25936         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25937         (atan2Mp): Add systemtap probe marker.
25938         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25939         (__ieee754_log): Add systemtap probe marker.
25940         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25941         (atanMp): Add systemtap probe marker.
25942         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25943         (tanMp): Add systemtap probe marker.
25944         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25945         (__slowexp): Add systemtap probe marker.
25946         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25947         (__slowpow): Add systemtap probe marker.
25948         * manual/probes.texi: Document probes.
25950 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
25952         [BZ #15362]
25953         * libio/fileops.c (_IO_new_file_write): Return count of bytes
25954         written.
25955         (_IO_new_file_xsputn): Don't return EOF if nothing has been
25956         written.
25957         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25958         written to buffer but not flushed.
25959         * libio/iofwrite_u.c:  Likewise.
25960         * libio/iopadn.c:  Return bytes returned even if EOF was
25961         encountered.
25962         * libio/iowpadn.c:  Likewise.
25963         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25964         if _IO_padn does not write the whole buffer.
25965         [!COMPILE_WPRINTF] (PAD): Likewise.
25967 2013-10-10  David S. Miller  <davem@davemloft.net>
25969         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25970         directory block.
25972 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25974         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
25975         instead of FSF address.
25976         * soft-fp/fixdfti.c: Likewise.
25977         * soft-fp/fixsfti.c: Likewise.
25978         * soft-fp/fixtfti.c: Likewise.
25979         * soft-fp/fixunsdfti.c: Likewise.
25980         * soft-fp/fixunssfti.c: Likewise.
25981         * soft-fp/fixunstfti.c: Likewise.
25982         * soft-fp/floattidf.c: Likewise.
25983         * soft-fp/floattisf.c: Likewise.
25984         * soft-fp/floattitf.c: Likewise.
25985         * soft-fp/floatuntidf.c: Likewise.
25986         * soft-fp/floatuntisf.c: Likewise.
25987         * soft-fp/floatuntitf.c: Likewise.
25988         * soft-fp/trunctfxf2.c: Likewise.
25990         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
25991         * soft-fp/fixdfti.c: Likewise.
25992         * soft-fp/fixsfti.c: Likewise.
25993         * soft-fp/fixtfti.c: Likewise.
25994         * soft-fp/fixunsdfti.c: Likewise.
25995         * soft-fp/fixunssfti.c: Likewise.
25996         * soft-fp/fixunstfti.c: Likewise.
25997         * soft-fp/floattidf.c: Likewise.
25998         * soft-fp/floattisf.c: Likewise.
25999         * soft-fp/floattitf.c: Likewise.
26000         * soft-fp/floatuntidf.c: Likewise.
26001         * soft-fp/floatuntisf.c: Likewise.
26002         * soft-fp/floatuntitf.c: Likewise.
26003         * soft-fp/trunctfxf2.c: Likewise.
26005 2013-10-10  David S. Miller  <davem@davemloft.net>
26007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26009 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26011         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26012         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26013         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26014         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26015         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26016         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26017         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26019         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26020         for NaNs before doing comparisons on argument.
26021         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26022         Likewise.
26024 2013-10-10  Will Newton  <will.newton@linaro.org>
26026         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26027         passed to _int_memalign does not overflow.
26029 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26031         * scripts/bench.pl: Add include-sources directive.
26032         * benchtests/README: Update documentation.
26034 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26036         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26037         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26038         instead of FP_INIT_ROUNDMODE.
26039         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26040         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26042         [BZ #16034]
26043         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26044         copy class of input value.
26045         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26046         not handle exceptions.
26047         * soft-fp/negsf2.c (__negsf2): Likewise.
26048         * soft-fp/negtf2.c (__negtf2): Likewise.
26049         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26051 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26053         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26054         semicolon.  From Linux kernel.
26056 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26058         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26060 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26062         [BZ #156]
26063         * manual/socket.texi: Added statement about buffer
26064         for gethostbyname2_r.
26066 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
26068         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26069         Use .p2align directive instead, throughout.
26070         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26071         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26072         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26075         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26076         * sysdeps/x86_64/strchr.S: Likewise.
26077         * sysdeps/x86_64/strrchr.S: Likewise.
26079 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26081         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26083         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26085         * sysdeps/generic/math_private.h (__mpsin1): Remove
26086         declaration.
26087         (__mpcos1): Likewise.
26088         (__mpsin): New argument __range_reduce.
26089         (__mpcos): Likewise.
26090         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26091         (slow): Use __mpsin and __mpcos.
26092         (slow1): Likewise.
26093         (slow2): Likewise.
26094         (sloww): Likewise.
26095         (sloww1): Likewise.
26096         (sloww2): Likewise.
26097         (bsloww): Likewise.
26098         (bsloww1): Likewise.
26099         (bsloww2): Likewise.
26100         (cslow2): Likewise.
26101         (csloww): Likewise.
26102         (csloww1): Likewise.
26103         (csloww2): Likewise.
26104         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26105         range_reduce.  Merge in __mpsin1.
26106         (__mpcos): Likewise.
26107         (__mpsin1): Remove.
26108         (__mpcos1): Likewise.
26110 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
26112         * locale/loadlocale.c (_nl_intern_locale_data): Use
26113         LOCFILE_ALIGNED_P.
26114         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26115         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26116         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26117         obstack data is appropriately aligned.
26118         (obstack_int32_grow_fast): Likewise.
26119         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26120         * locale/programs/locfile.c (add_locale_uint32): Likewise.
26121         (add_locale_uint32_array): Likewise.
26123 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26125         * benchtests/Makefile: Remove ARGLIST and RET variables.
26126         ($(objpfx)bench-%.c): Pass only function name to the script.
26127         * benchtests/README: Update documentation.
26128         * benchtests/acos-inputs: Add new directives.
26129         * benchtests/acosh-inputs: Likewise.
26130         * benchtests/asin-inputs: Likewise.
26131         * benchtests/asinh-inputs: Likewise.
26132         * benchtests/atan-inputs: Likewise.
26133         * benchtests/atanh-inputs: Likewise.
26134         * benchtests/cos-inputs: Likewise.
26135         * benchtests/cosh-inputs: Likewise.
26136         * benchtests/exp-inputs: Likewise.
26137         * benchtests/log-inputs: Likewise.
26138         * benchtests/pow-inputs: Likewise.
26139         * benchtests/rint-inputs: Likewise.
26140         * benchtests/sin-inputs: Likewise.
26141         * benchtests/sinh-inputs: Likewise.
26142         * benchtests/tan-inputs: Likewise.
26143         * benchtests/tanh-inputs: Likewise.
26144         * scripts/bench.pl: Add support for new directives.
26146 2013-10-07  Alan Modra  <amodra@gmail.com>
26148         * README: Fix careless merge.
26150 2013-10-05  Alan Modra  <amodra@gmail.com>
26152         * NEWS: Mention powerpc64le support and bugs fixed.
26153         * README: Both big-endian and little-endian powerpc64 supported.
26155 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26157         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26158         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26159         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26160         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26162 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
26164         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26165         match prototype.
26167 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
26169         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26170         Move -mhard-float appending from
26171         ports/sysdeps/powerpc/powerpc32/Makefile.
26172         [$(with-fp) = yes] (ASFLAGS): Likewise.
26173         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26174         * sysdeps/powerpc/nofpu: Move directory from
26175         ports/sysdeps/powerpc/nofpu.
26176         * sysdeps/powerpc/soft-fp: Move directory from
26177         ports/sysdeps/powerpc/soft-fp.
26178         * sysdeps/powerpc/powerpc32/405: Move directory from
26179         ports/sysdeps/powerpc/powerpc32/405.
26180         * sysdeps/powerpc/powerpc32/440: Move directory from
26181         ports/sysdeps/powerpc/powerpc32/440.
26182         * sysdeps/powerpc/powerpc32/464: Move directory from
26183         ports/sysdeps/powerpc/powerpc32/464.
26184         * sysdeps/powerpc/powerpc32/476: Move directory from
26185         ports/sysdeps/powerpc/powerpc32/476.
26186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26187         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26189         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26191         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26193         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26195         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26196         * README: Update for powerpc-*-linux-gnu software floating point
26197         support in libc.
26199         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26200         case to powerpc/powerpc32*.
26201         * sysdeps/unix/sysv/linux/configure: Regenerated.
26203         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26204         (_FPU_MASK_OM): Define as 0x04.
26205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26207         0x00c10080.
26208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26209         0x0000003c.
26210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26213         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26214         getcontext_e500.
26215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26216         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26217         setcontext_e500.
26218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26219         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26220         and setcontext_e500.
26222 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
26224         * locale/iso-3166.def: Update iso-1366.def and related occurrences
26226 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26228         * manual/threads.texi (Default Thread Attributes): Fix typo.
26230 2013-10-04  Will Newton  <will.newton@linaro.org>
26232         * malloc/Makefile: Add tst-memalign.
26233         * malloc/tst-memalign.c: New file.
26235         * malloc/tst-posix_memalign.c: Add comments.
26236         (do_test): Add comments and call free on all potentially
26237         allocated pointers. Add space after cast.
26239         * malloc/tst-pvalloc.c: Add comments.
26240         (do_test): Add comments and call free on all potentially
26241         allocated pointers. Remove duplicate check for NULL pointer.
26242         Add space after cast.
26244         * malloc/tst-valloc.c: Add comments.
26245         (do_test): Add comments and call free on all potentially
26246         allocated pointers. Remove duplicate check for NULL pointer.
26247         Add space after cast.
26249 2013-10-04  Alan Modra  <amodra@gmail.com>
26251         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26252         Use stdint types in rather than __attribute__((mode())).
26253         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26255 2013-10-04  Alan Modra  <amodra@gmail.com>
26257         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26258         Correct handling of unaligned relocs for little-endian.
26259         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26261 2013-10-04  Alan Modra  <amodra@gmail.com>
26263         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26264         * configure: Regenerate.
26265         * nptl/shlib-versions: Powerpc*le starts at 2.18.
26266         * shlib-versions: Likewise.
26268 2013-10-04  Alan Modra  <amodra@gmail.com>
26270         * string/tester.c (test_memrchr): Increment reported test cycle.
26272 2013-10-04  Alan Modra  <amodra@gmail.com>
26274         * string/test-memcpy.c (do_one_test): When reporting errors, print
26275         string address and don't overrun end of string.
26277 2013-10-04  Alan Modra  <amodra@gmail.com>
26279         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26280         insrdi.  Make better use of reg selection to speed exit slightly.
26281         Schedule entry path a little better.  Remove useless "are we done"
26282         checks on entry to main loop.  Handle wrapping around zero address.
26283         Correct main loop count.  Handle single left-over word from main
26284         loop inline rather than by using loop_small.  Remove extra word
26285         case in loop_small caused by wrong loop count.  Add little-endian
26286         support.
26287         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26288         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
26289         cache hint.
26290         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26291         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26292         support.  Avoid rlwimi.
26293         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26295 2013-10-04  Alan Modra  <amodra@gmail.com>
26297         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26298         insrdi.  Formatting.
26299         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26300         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26301         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26302         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26303         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26304         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26306 2013-10-04  Alan Modra  <amodra@gmail.com>
26308         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26309         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26310         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26311         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26312         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26313         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26314         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26315         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26316         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
26317         use of regs.  Use power7 mtocrf.  Tidy function tails.
26319 2013-10-04  Alan Modra  <amodra@gmail.com>
26321         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26322         Formatting.  Consistently use rXXX register defines or rN defines.
26323         Use early exit labels that avoid restoring unused non-volatile regs.
26324         Make cr field use more consistent with rWORDn compares.  Rename
26325         regs used as shift registers for unaligned loop, using rN defines
26326         for short lifetime/multiple use regs.
26327         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26328         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
26329         addi 1,1,64 to pop stack frame.  Simplify return value code.
26330         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26332 2013-10-04  Alan Modra  <amodra@gmail.com>
26334         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26335         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
26336         rather than rlwimi.
26337         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26338         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26339         little-endian support.  Correct typos.
26340         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
26341         rather than rlwimi.
26342         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
26343         in loop and entry code to keep "and." results.
26344         (strchr): Add little-endian support.  Comment.  Move cntlzd
26345         earlier in tail.
26346         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26348 2013-10-04  Alan Modra  <amodra@gmail.com>
26350         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26351         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26352         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26353         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26355 2013-10-04  Alan Modra  <amodra@gmail.com>
26357         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26358         (rTMP): Define as r11.
26359         (strcmp): Add little-endian support.  Optimise tail.
26360         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26361         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26362         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26363         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26364         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26365         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26366         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26368 2013-10-04  Alan Modra  <amodra@gmail.com>
26370         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26371         little-endian support.  Remove unnecessary "are we done" tests.
26372         Handle "s" wrapping around zero and extremely large "size".
26373         Correct main loop count.  Handle single left-over word from main
26374         loop inline rather than by using small_loop.  Correct comments.
26375         Delete "zero" tail, use "end_max" instead.
26376         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26378 2013-10-04  Alan Modra  <amodra@gmail.com>
26380         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26381         support.  Don't branch over align.
26382         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26383         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26384         support.  Rearrange tmp reg use to suit.  Comment.
26385         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26387 2013-10-04  Alan Modra  <amodra@gmail.com>
26389         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26391 2013-10-04  Alan Modra  <amodra@gmail.com>
26393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26394         conditional form of branch and link when obtaining pc.
26395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26397 2013-10-04  Alan Modra  <amodra@gmail.com>
26399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26400         HIWORD/LOWORD.
26401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26404 2013-10-04  Alan Modra  <amodra@gmail.com>
26406         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26407         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26408         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26409         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26410         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26411         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26412         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26413         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26414         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26415         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26417 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26418             Alistair Popple <alistair@ozlabs.au.ibm.com>
26419             Alan Modra <amodra@gmail.com>
26421         [BZ #15723]
26422         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26423         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26424         _dl_hwcap access for little-endian.
26425         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
26426         destroy vmx regs when saving unaligned.
26427         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26428         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
26429         destroy vmx regs when saving unaligned.
26431 2013-10-04  Alan Modra  <amodra@gmail.com>
26433         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26434         Don't use a union to pack hi/low value.
26436 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26438         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26439         for little-endian.
26440         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26441         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26442         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26443         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26444         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26446 2013-10-04  Alan Modra  <amodra@gmail.com>
26448         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26449         constants to usual value for .cst8 section, and remove redundant
26450         high address load.
26451         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26452         constant for 0x1p52.  Load little-endian words of double from
26453         correct stack offsets.
26455 2013-10-04  Alan Modra  <amodra@gmail.com>
26457         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26458         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26459         words of double from correct stack offsets.
26460         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26461         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26462         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26465         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26466         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26467         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26468         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26470         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26471         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26472         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26473         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26474         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26475         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26476         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26478 2013-10-04  Alan Modra  <amodra@gmail.com>
26480         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26481         64-bit int/double union.
26482         (_FPU_SETCW): Likewise.
26483         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26484         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26486 2013-10-04  Alan Modra  <amodra@gmail.com>
26488         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26489         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26491 2013-10-04  Alan Modra  <amodra@gmail.com>
26493         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26494         use vector int constants.
26495         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26497 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26499         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26500         array with long long.
26501         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26502         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26503         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26504         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26505         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26506         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26507         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26508         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26509         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26510         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26511         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26512         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26513         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26515 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26517         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26518         (__signbit): Likewise.  Correct for little-endian.
26519         (__signbitl): Call __signbit.
26520         (lrint): Correct for little-endian.
26521         (lrintf): Call lrint.
26523 2013-10-04  Alan Modra  <amodra@gmail.com>
26525         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26526         union 32-bit int array member with 64-bit int array.
26527         (t515, tm256): Double rather than long double.
26528         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26530 2013-10-04  Alan Modra  <amodra@gmail.com>
26532         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26533         Delete.
26534         (IEEE854_LONG_DOUBLE_BIAS): Delete.
26535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26536         version of math_ldbl.h.
26538 2013-10-04  Alan Modra  <amodra@gmail.com>
26540         [BZ #15734], [BZ #15735]
26541         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26542         all uses of ieee875 long double macros and unions.  Simplify test
26543         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
26544         ldbl_extract_mantissa value for ix,iy exponents.  Properly
26545         normalize after ldbl_extract_mantissa, and don't add hidden bit
26546         already handled.  Don't treat low word of ieee854 mantissa like
26547         low word of IBM long double and mask off bit when testing for
26548         zero.
26549         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26550         all uses of ieee875 long double macros and unions.  Simplify tests
26551         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
26552         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
26553         two1022, instead use their values.  Recognise that tests for large
26554         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
26555         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26556         Rewrite all uses of ieee875 long double macros and unions.  Simplify
26557         test for 0.0L and nan.  Correct negation.
26558         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26559         ieee875 long double macros and unions.  Correct output for large
26560         magnitude x.  Correct absolute value calculation.
26561         (__erfcl): Likewise.
26562         * math/libm-test.inc: Add tests for errors discovered in IBM long
26563         double versions of fmodl, remainderl, erfl and erfcl.
26565 2013-10-04  Alan Modra  <amodra@gmail.com>
26567         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26568         all uses of ieee854 long double macros and unions.  Simplify tests
26569         for long doubles that are fully specified by the high double.
26570         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26571         Likewise.
26572         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26573         Remove dead code too.
26574         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26575         (__ieee754_ynl): Likewise.
26576         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26577         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26578         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26579         Remove dead code too.
26580         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26581         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26582         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26583         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26584         Simplify.
26585         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26586         Simplify.
26587         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26588         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26589         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26590         Comment on variable precision.
26591         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26592         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26593         Likewise.
26594         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26595         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26596         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26597         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26598         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26600 2013-10-04  Alan Modra  <amodra@gmail.com>
26602         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26603         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26604         all uses of ieee854 long double macros and unions.
26605         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26606         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26607         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26608         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26609         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26610         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26611         Likewise.
26612         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26613         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26614         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26615         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26616         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26617         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26618         Simplify sign and nan test too.
26619         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26620         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26621         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26622         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26623         Likewise.
26624         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26625         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26626         Likewise.
26627         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26628         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26629         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26630         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26631         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26632         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26634 2013-10-04  Alan Modra  <amodra@gmail.com>
26636         * stdio-common/printf_size.c (__printf_size): Don't use
26637         union ieee854_long_double in fpnum union.
26638         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
26639         signbit macro to retrieve sign from long double.
26640         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26641         retrieve sign from long double.
26642         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26643         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26644         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26645         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26646         * math/test-misc.c (main): Don't use union ieee854_long_double.
26648 2013-10-04  Alan Modra  <amodra@gmail.com>
26650         [BZ #15680]
26651         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26652         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26653         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26654         calculation.  Remove unnecessary test for denormal exponent.
26655         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26656         Correct handling of denormals.  Avoid undefined shift behaviour.
26657         Correct normalisation of low mantissa when low double is denormal.
26658         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26659         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
26660         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26661         Correct normalisation of low mantissa.  Test for overflow of high
26662         mantissa and normalise.
26663         (ldbl_nearbyint): Use more readable constant for two52.
26664         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26665         (__mpn_construct_long_double): Fix test for overflow of high
26666         mantissa and correct normalisation.  Avoid undefined shift.
26668 2013-10-04  Alan Modra  <amodra@gmail.com>
26670         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26671         (union ibm_extended_long_double): Define as an array of ieee754_double.
26672         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26673         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26674         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26675         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26676         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26677         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26679         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26680         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26681         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26682         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26684 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
26686         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26687         page size instead of calling getpagesize.
26689         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26690         (LOCFILE_ALIGN_MASK): Likewise.
26691         (LOCFILE_ALIGN_UP): Likewise.
26692         (LOCFILE_ALIGNED_P): Likewise.
26693         * locale/programs/ld-collate.c (collate_output): Use the new
26694         macros instead of __alignof__ (int32_t).
26695         * locale/weight.h (findidx): Likewise.
26697 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
26699         [BZ #431]
26700         * manual/string.texi: Fix strncat and wcsncat.
26702 2013-10-03  Brooks Moses  <bmoses@google.com>
26704         [BZ #15915]
26705         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26706         * Makerules: ...here, and adjust associated comments.
26708 2013-10-02  Will Newton  <will.newton@linaro.org>
26710         * malloc/Makefile: Add tst-pvalloc.
26711         * malloc/tst-pvalloc.c: New file.
26713 2013-10-02  Will Newton  <will.newton@linaro.org>
26715         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26716         improve test coverage.
26718 2013-10-02  Will Newton  <will.newton@linaro.org>
26720         * malloc/Makefile: Add tst-posix_memalign.
26721         * malloc/tst-posix_memalign.c: New file.
26723 2013-10-01  Eric Blake  <eblake@redhat.com>
26725         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26726         Use __THROWNL rather than __THROW on static functions.
26728 2013-09-30  Petr Machata  <pmachata@redhat.com>
26730         * elf/elf.h (R_AARCH64_ABS16): New macro.
26731         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26732         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26733         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26734         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26735         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26736         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26737         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26738         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26739         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26740         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26741         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26742         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26743         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26744         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26745         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26746         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26747         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26748         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26749         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26750         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26751         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26752         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26753         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26754         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26755         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26756         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26757         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26758         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26759         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26760         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26761         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26762         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26763         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26764         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26765         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26766         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26767         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26768         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26769         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26770         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26771         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26772         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26773         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26774         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26775         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26776         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26777         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26778         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26779         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26780         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26781         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26782         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26783         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26784         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26785         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26786         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26787         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26788         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26789         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26790         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26791         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26792         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26793         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26794         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26795         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26796         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26797         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26798         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26799         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26800         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26801         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26802         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26803         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26804         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26805         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26806         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26807         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26808         (R_AARCH64_TLSDESC_LDR): Likewise.
26809         (R_AARCH64_TLSDESC_ADD): Likewise.
26810         (R_AARCH64_TLSDESC_CALL): Likewise.
26812 2013-09-30  Andreas Schwab  <schwab@suse.de>
26814         [BZ #15048]
26815         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26816         the nss database lookup.
26817         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26820 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
26822         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26824 2013-09-28  P. J. McDermott  <pj@pehjota.net>
26826         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26827         ${Bash-specific parameter/pattern/string} parameter expansion.
26828         * sysdeps/unix/make-syscalls.sh: Likewise.
26830 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26832         * sysdeps/sh/stackguard-macros.h: New file.
26834 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
26836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26838         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26839         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26840         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26841         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26843 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26845         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26846         Fix thread ID register.
26848 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
26850         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26851         [POSIX || UNIX98]: Require rather than permitting all symbols from
26852         <time.h>.
26853         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26854         element of struct sched_param.
26855         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26856         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26857         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26858         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26859         constant.
26861 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
26863         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26864         argument calculation.
26866 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
26868         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26869         Expect macro.
26870         [POSIX] (pthread_attr_t): Do not require type.
26871         [POSIX] (pthread_cond_t): Likewise.
26872         [POSIX] (pthread_condattr_t): Likewise.
26873         [POSIX] (pthread_key_t): Likewise.
26874         [POSIX] (pthread_mutex_t): Likewise.
26875         [POSIX] (pthread_mutexattr_t): Likewise.
26876         [POSIX] (pthread_once_t): Likewise.
26877         [POSIX] (pthread_t): Likewise.
26878         [POSIX-based standards] (pthread_atfork): Expect function.
26880 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
26881             Richard Sandiford  <richard@codesourcery.com>
26883         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26884         (swap_endianness_p): New extern variable.
26885         (set_big_endian): New inline function.
26886         (maybe_swap_uint32): Likewise.
26887         (maybe_swap_uint32_array): Likewise.
26888         (maybe_swap_uint32_obstack): Likewise.
26889         * locale/programs/locfile.c: Include <stdbool.h>.
26890         (swap_endianness_p): New variable.
26891         (add_locale_uint32): Call maybe_swap_uint32.
26892         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26893         (write_locale_data): Call maybe_swap_uint32_array.
26894         * locale/programs/ld-collate.c (obstack_int32_grow): Call
26895         maybe_swap_uint32.
26896         (obstack_int32_grow_fast): Likewise.
26897         (output_weightwc): Call maybe_swap_uint32_obstack.
26898         (collate_output): Likewise.
26899         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26900         (OPT_LITTLE_ENDIAN): Likewise.
26901         (options): Add --little-endian and --big-endian options.
26902         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26903         * locale/programs/locarchive.c: Include "locfile.h".
26904         (GET): New macro.
26905         (SET): Likewise.
26906         (INC): Likewise.
26907         (create_archive): Use the new macros to access fields of
26908         structures directly mapped from or written to locale archives.
26909         (oldlocrecentcmp): Likewise.
26910         (enlarge_archive): Likewise.
26911         (insert_name): Likewise.
26912         (add_alias): Likewise.
26913         (add_locale): Likewise.
26914         (delete_locales_from_archive): Likewise.
26915         (show_archive_content): Likewise.
26916         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
26917         locale data.
26919 2013-09-24  Roland McGrath  <roland@hack.frob.com>
26921         * manual/freemanuals.texi: Updated from (newly) canonical copy at
26922         http://www.gnu.org/doc/freemanuals.texi.
26923         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26925 2013-09-24  Will Newton  <will.newton@linaro.org>
26927         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26928         macro.
26930 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
26932         * locale/hashval.h (compute_hashval): Interpret bytes of key as
26933         unsigned char.
26935 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
26937         * manual/threads.texi (POSIX Threads): Fix a typo.
26939 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26941         [BZ #14547]
26942         * string/tst-strcoll-overflow.c: New test case.
26943         * string/Makefile (xtests): Add tst-strcoll-overflow.
26944         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26945         cache if string sizes may cause integer overflow.
26947         [BZ #14547]
26948         * string/strcoll_l.c (coll_seq): New members rule, idx,
26949         save_idx and back_us.
26950         (get_next_seq_nocache): New function.
26951         (do_compare_nocache): New function.
26952         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26953         when malloc fails.
26955 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
26957         [BZ #15754]
26958         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26959         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26960         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26962         [BZ #15754]
26963         * elf/Makefile (tests): Add tst-ptrguard1.
26964         (tests-static): Add tst-ptrguard1-static.
26965         (tst-ptrguard1-ARGS): Define.
26966         (tst-ptrguard1-static-ARGS): Define.
26967         * elf/tst-ptrguard1.c: New file.
26968         * elf/tst-ptrguard1-static.c: New file.
26969         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26970         * sysdeps/i386/stackguard-macros.h: Likewise.
26971         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26972         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26973         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26974         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26975         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26976         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26978 2013-09-23  Hector Marco  <hecmargi@upv.es>
26979             Ismael Ripoll  <iripoll@disca.upv.es>
26980             Carlos O'Donell  <carlos@redhat.com>
26982         [BZ #15754]
26983         * sysdeps/generic/stackguard-macros.h: Define
26984         __pointer_chk_guard_local and POINTER_CHK_GUARD.
26985         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26986         Define __pointer_chk_guard_local.
26987         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26988         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26990 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
26992         [BZ #15859]
26993         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26995 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
26997         * include/string.h (__ffs): Declare as hidden.
26998         * string/ffs.c (__ffs): Define as hidden.
26999         * sysdeps/i386/ffs.c (__ffs): Likewise.
27000         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27001         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27002         * sysdeps/s390/ffs.c (__ffs): Likewise.
27003         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27005 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27007         * NEWS: Mention malloc probes.
27009         * malloc/arena.c (new_heap): New memory_heap_new probe.
27010         (grow_heap): New memory_heap_more probe.
27011         (shrink_heap): New memory_heap_less probe.
27012         (heap_trim): New memory_heap_free probe.
27013         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27014         (systrim): New memory_sbrk_less probe.
27015         * manual/probes.texi: Document them.
27017         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27018         * manual/probes.texi: Document it.
27020         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27021         (__libc_realloc): Add memory_realloc_retry probe.
27022         (__libc_memalign): Add memory_memalign_retry probe.
27023         (__libc_valloc): Add memory_valloc_retry probe.
27024         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27025         (__libc_calloc): Add memory_calloc_retry probe.
27026         * manual/probes.texi: Document them.
27028         * malloc/arena.c (get_free_list): Add probe
27029         memory_arena_reuse_free_list.
27030         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27031         and memory_arena_reuse.
27032         (arena_get2) [!PER_THREAD]: Likewise.
27033         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27034         memory_arena_reuse_realloc.
27035         * manual/probes.texi: Document them.
27037         * malloc/malloc.c (__libc_free): Add
27038         memory_mallopt_free_dyn_thresholds probe.
27039         (__libc_mallopt): Add multiple memory_mallopt probes.
27040         * manual/probes.texi: Document them.
27042         * malloc/malloc.c: Include stap-probe.h.
27043         (__libc_mallopt): Add memory_mallopt probe.
27044         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27045         * manual/probes.texi: New.
27046         * manual/Makefile (chapters): Add probes.
27047         * manual/threads.texi: Set next node.
27049 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27051         [BZ #15963, #13985]
27052         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27053         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27054         Add `Chinese' to `nan' entry name.
27056 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27058         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27059         (POLYNOMIAL): Likewise.
27060         (TAYLOR_SINCOS): Likewise.
27061         (TAYLOR_SLOW): Likewise.
27062         (__sin): Use TAYLOR_SINCOS.
27063         (__cos): Likewise.
27064         (slow): Use TAYLOR_SLOW.
27065         (sloww): Likewise.
27066         (bsloww): Likewise.
27067         (csloww): Likewise.
27069 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27071         * stdlib/strtod_l.c: Fix buffer overrun.
27073 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27075         * benchtests/Makefile (bench): Add sincos.
27076         * benchtests/bench-sincos.c: New file.
27078         * math/libm-test.inc (cos_test_data): New test inputs.
27079         (sin_test_data): Likewise.
27081         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27082         macro.
27083         (__sin): Use it.
27084         (__cos): Likewise.
27085         (slow1): Likewise.
27086         (slow2): Likewise.
27087         (sloww1): Likewise.
27088         (sloww2): Likewise.
27089         (bsloww1): Likewise.
27090         (bsloww2): Likewise.
27091         (cslow2): Likewise.
27092         (csloww1): Likewise.
27093         (csloww2): Likewise.
27095         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27096         function.
27097         (__sin): Use it.
27098         (__cos): Likewise.
27100         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27101         gotos.
27102         (__cos): Likewise.
27104 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
27106         * config.h.in (HAVE_MIPS_NAN2008): New macro.
27107         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27108         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27109         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27110         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27111         * elf/cache.c (print_entry): Handle the new cache flags.
27113 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27114             Aldy Hernandez  <aldyh@redhat.com>
27116         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27117         Change condition to [_SOFT_FLOAT].
27118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27130         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27133         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27134         declaration.
27136 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27138         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27139         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27140         (__longjmp): Use LOAD_GP to load saved GPRs.
27141         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27142         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27143         (__sigsetjmp): Use SAVE_GP to save GPRs.
27145         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27146         Do not append -msoft-float.
27147         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27149 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27151         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27153 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
27155         [BZ #15966]
27156         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27157         (_FPU_GETCW): Use initial "__" on variable and field names but not
27158         on macro parameter name.
27159         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
27160         parentheses around reference to macro parameter.
27162 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
27164         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27165         prototype.
27166         (ctype_startup): Use uint32_t in cast and sizeof for
27167         ctype->charnames.
27169 2013-09-11  Jia Liu  <proljc@gmail.com>
27171         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27172         __daddr_t_defined.
27173         [__FreeBSD__]: Likewise.
27175 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
27177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27178         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27179         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27180         (strchr): Remove __strchr_sse42 ifunc selection.
27181         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27182         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27184 2013-09-11  Will Newton  <will.newton@linaro.org>
27186         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27187         parameter to RES. Remove hardcoded 1000 value.
27188         * benchtests/bench-skeleton.c (main): Pass RES parameter
27189         to TIMING_INIT and multiply result by 1000.
27191 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27195 2013-09-11  Andreas Schwab  <schwab@suse.de>
27197         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27198         if not defined.
27199         (O_TMPFILE) [__USE_GNU]: Define.
27200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27201         Define.
27203 2013-09-11  Will Newton  <will.newton@linaro.org>
27205         [BZ #15857]
27206         * malloc/malloc.c (__libc_memalign): Check the value of bytes
27207         does not overflow.
27209 2013-09-11  Will Newton  <will.newton@linaro.org>
27211         [BZ #15856]
27212         * malloc/malloc.c (__libc_valloc): Check the value of bytes
27213         does not overflow.
27215 2013-09-11  Will Newton  <will.newton@linaro.org>
27217         [BZ #15855]
27218         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27219         does not overflow.
27221 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
27223         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27224         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27225         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27226         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27227         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27229 2013-09-10  Allan McRae  <allan@archlinux.org>
27231         [BZ #15748]
27232         * manual/arith.texi (Parsing of Floats): Clarify
27233         cross-reference.
27235         [BZ #15849]
27236         * manual/install.texi (Running make install): Mention
27237         --enable-pt-chown.
27238         * INSTALL: Regenerated.
27240 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
27242         * csu/init-first.c (_init): Remove the !SHARED condition around
27243         FPU control word initialization.
27244         * elf/dl-support.c (_dl_fpu_control): New variable.
27245         (_dl_aux_init) <AT_FPUCW>: Initialize it.
27246         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27247         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27248         * math/test-fpucw-static.c: New file.
27249         * math/test-fpucw-ieee.c: New file.
27250         * math/test-fpucw-ieee-static.c: New file.
27251         * math/Makefile (tests): Add `test-fpucw-ieee' and
27252         `$(tests-static)'.
27253         (tests-static): New variable.
27254         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27255         dependency to...
27256         [($(build-shared),yes)]
27257         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27258         ... this.
27259         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27260         New dependency.
27262 2013-09-09  Allan McRae  <allan@archlinux.org>
27264         [BZ #15939]
27265         * manual/string.texi (Collation Functions): Fix typo in
27266         strcoll example.
27267         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27269         [BZ #15893]
27270         * stdlib/isomac.c (get_null_defines): Fix memory leak.
27272         [BZ #15892]
27273         * libio/memstream.c (open_memstream): Fix memory leak.
27274         * libio/wmemstream.c (open_wmemstream): Likewise.
27276         [BZ #15895]
27277         * nscd/netgroupcache.c: Fix nesting of ifdefs.
27279 2013-09-09  Will Newton  <will.newton@linaro.org>
27281         * malloc/Makefile: Add tst-realloc to tests.
27282         * malloc/tst-realloc.c: New file.
27284 2013-09-09  Allan McRae  <allan@archlinux.org>
27286         [BZ #15844]
27287         * COPYING: Update from GNU website to fix FSF address.
27288         * COPYING.LIB: Likewise.
27290 2013-09-06  David S. Miller  <davem@davemloft.net>
27292         * po/zh_TW.po: Update Chinese (traditional) translation from
27293         translation project.
27295 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
27296             Joseph Myers  <joseph@codesourcery.com>
27298         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27299         "localeinfo.h".
27300         (obstack_chunk_alloc): New macro.
27301         (obstack_chunk_free): Likewise.
27302         (record_offset): New function.
27303         (init_locale_data): Likewise.
27304         (align_locale_data): Likewise.
27305         (add_locale_empty): Likewise.
27306         (add_locale_raw_data): Likewise.
27307         (add_locale_raw_obstack): Likewise.
27308         (add_locale_string): Likewise.
27309         (add_locale_wstring): Likewise.
27310         (add_locale_uint32): Likewise.
27311         (add_locale_uint32_array): Likewise.
27312         (add_locale_char): Likewise.
27313         (start_locale_structure): Likewise.
27314         (end_locale_structure): Likewise.
27315         (start_locale_prelude): Likewise.
27316         (end_locale_prelude): Likewise.
27317         (write_locale_data): Take locale_file structure rather than an
27318         iovec.
27319         * locale/programs/locfile.h: Include "obstack.h".
27320         (struct locale_file): Change to store locale file contents instead
27321         of header.
27322         (init_locale_data): New prototype.
27323         (align_locale_data): Likewise.
27324         (add_locale_empty): Likewise.
27325         (add_locale_raw_data): Likewise.
27326         (add_locale_raw_obstack): Likewise.
27327         (add_locale_string): Likewise.
27328         (add_locale_wstring): Likewise.
27329         (add_locale_uint32): Likewise.
27330         (add_locale_uint32_array): Likewise.
27331         (add_locale_char): Likewise.
27332         (start_locale_structure): Likewise.
27333         (end_locale_structure): Likewise.
27334         (start_locale_prelude): Likewise.
27335         (end_locale_prelude): Likewise.
27336         (write_locale_data): Update prototype.
27337         * locale/programs/3level.h (struct TABLE): Remove result field.
27338         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27339         Use new locale_file interface.
27340         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27341         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27342         * locale/programs/ld-address.c (address_output): Use new
27343         locale_file interface.
27344         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27345         NO_ADD_LOCALE.
27346         (collate_finish): Don't call collseq_table_finalize.
27347         (collate_output): Use new locale_file interface.
27348         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27349         in file.
27350         (NO_FINALIZE): Change to NO_ADD_LOCALE.
27351         (TABLE): Move defines earlier in file.
27352         (ELEMENT): Likewise.
27353         (DEFAULT): Likewise.
27354         (wctrans_table_add): Move macro and inline function earlier in
27355         file.
27356         (struct wctype_table): Move type earlier in file.
27357         (add_locale_wctype_table): New static prototype.
27358         (struct locale_ctype_t): Use logical types instead of struct iovec
27359         pointers for members.
27360         (ctype_output): Use new locale_file interface.
27361         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
27362         new locale_file interface.
27363         (allocate_arrays): Update for use of new locale_file interface.
27364         * locale/programs/ld-identification.c (identification_output): Use
27365         new locale_file interface.
27366         * locale/programs/ld-measurement.c (measurement_output): Likewise.
27367         * locale/programs/ld-messages.c (messages_output): Likewise.
27368         * locale/programs/ld-monetary.c (monetary_output): Likewise.
27369         * locale/programs/ld-name.c (name_output): Likewise.
27370         * locale/programs/ld-numeric.c (numeric_output): Likewise.
27371         * locale/programs/ld-paper.c (paper_output): Likewise.
27372         * locale/programs/ld-telephone.c (telephone_output): Likewise.
27373         * locale/programs/ld-time.c (time_output): Likewise.
27375 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27377         * benchtests/Makefile: Add memrchr benchmark.
27378         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27379         benchmark as memrchr.
27380         * benchtests/bench-memrchr-ifunc.c: New file.
27381         * benchtests/bench-memrchr.c: New file.
27383 2013-09-06   Will Newton  <will.newton@linaro.org>
27385         * benchtests/Makefile (string-bench): Add memcpy.
27387 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
27388             Cong Wang  <amwang@redhat.com>
27390         [BZ #15850]
27391         * sysdeps/unix/sysv/linux/bits/in.h
27392         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27393         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27394         before __USE_KERNEL_IPV6_DEFS uses.
27395         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27396         IPPROTO_BEETPH.
27397         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27398         sockaddr_in6, or ipv6_mreq.
27400 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27402         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27403         memory access for final bytes in some large inputs.
27404         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27406 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27408         * string/test-memrchr.c: New file.
27409         * string/test-memrchr-ifunc.c: New file.
27410         * string/Makefile: Add new memrchr testcase.
27412 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
27414         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27415         fanotify_init returns EPERM.
27417 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27419         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27420         errors.
27421         (top level): Treat second token from macro or constant entries for
27422         allowed headers as allowed.
27423         * include/complex.h: Condition internal declarations on
27424         [!_ISOMAC].
27425         * include/fenv.h: Condition include of <stdbool.h> and internal
27426         declarations on [!_ISOMAC].
27428 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
27430         [BZ #15923]
27431         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27433 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27435         * configure.in (--enable-versioning): Remove configure option.
27436         (libc_cv_asm_symver_directive): Remove configure test.
27437         (libc_cv_ld_version_script_option): Likewise.
27438         (VERSIONING): Remove variable and AC_SUBST.
27439         (DO_VERSIONING): Remove AC_DEFINE.
27440         * configure: Regenerated.
27441         * config.h.in (DO_VERSIONING): Remove macro.
27442         * Makerules [$(versioning) = yes]: Change conditionals to
27443         [$(build-shared) = yes].
27444         * config.make.in (versioning): Remove variable.
27445         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27446         [$(build-shared) = yes].
27447         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27448         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27449         * elf/Makefile [$(versioning) = yes]: Change conditionals to
27450         [$(build-shared) = yes].
27451         * extra-lib.mk [$(versioning) = yes]: Likewise.
27452         * hurd/Makefile [$(versioning) = yes]: Likewise.
27453         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27454         [SHARED].
27455         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27456         [SHARED].
27457         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27458         [SHARED && !NO_HIDDEN].
27459         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27460         [SHARED].
27461         [SHARED && DO_VERSIONING]: Likewise..
27462         * libio/Makefile [$(versioning) = yes]: Change conditionals to
27463         [$(build-shared) = yes].
27464         * manual/install.texi (--disable-versioning): Remove
27465         documentation.
27466         * INSTALL: Regenerated.
27467         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27468         to [SHARED].
27469         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27470         [$(build-shared) = yes].
27471         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27472         * sysdeps/i386/i686/multiarch/strstr-c.c
27473         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27474         [SHARED && !NO_HIDDEN].
27475         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27476         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27477         * sysdeps/powerpc/powerpc32/dl-machine.c
27478         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27479         * sysdeps/powerpc/powerpc32/sysdep.h
27480         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27481         to [SHARED && PIC && !NO_HIDDEN].
27482         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27483         conditional to [SHARED].
27485 2013-09-04   Will Newton  <will.newton@linaro.org>
27487         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27488         * benchtests/bench-string.h: Include bench-timing.h instead
27489         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27490         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27491         call to HP_TIMING_DIFF_INIT.
27492         * benchtests/bench-memccpy.c: Use bench-timing.h macros
27493         instead of hp-timing.h macros.
27494         * benchtests/bench-memchr.c: Likewise.
27495         * benchtests/bench-memcmp.c: Likewise.
27496         * benchtests/bench-memcpy.c: Likewise.
27497         * benchtests/bench-memmem.c: Likewise.
27498         * benchtests/bench-memmove.c: Likewise.
27499         * benchtests/bench-memset.c: Likewise.
27500         * benchtests/bench-rawmemchr.c: Likewise.
27501         * benchtests/bench-strcasecmp.c: Likewise.
27502         * benchtests/bench-strcasestr.c: Likewise.
27503         * benchtests/bench-strcat.c: Likewise.
27504         * benchtests/bench-strchr.c: Likewise.
27505         * benchtests/bench-strcmp.c: Likewise.
27506         * benchtests/bench-strcpy.c: Likewise.
27507         * benchtests/bench-strcpy_chk.c: Likewise.
27508         * benchtests/bench-strlen.c: Likewise.
27509         * benchtests/bench-strncasecmp.c: Likewise.
27510         * benchtests/bench-strncat.c: Likewise.
27511         * benchtests/bench-strncmp.c: Likewise.
27512         * benchtests/bench-strncpy.c: Likewise.
27513         * benchtests/bench-strnlen.c: Likewise.
27514         * benchtests/bench-strpbrk.c: Likewise.
27515         * benchtests/bench-strrchr.c: Likewise.
27516         * benchtests/bench-strspn.c: Likewise.
27517         * benchtests/bench-strstr.c: Likewise.
27519 2013-09-04  Will Newton  <will.newton@linaro.org>
27521         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27523 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
27525         [BZ #15427]
27526         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27527         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27528         * math/libm-test.inc (lgamma_test_data): Add more tests.
27529         * sysdeps/i386/fpu/libm-test-ulps: Update.
27530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27532 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
27534         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27536         Add ifunc.
27537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27538         Add strcmp-sse2-unaligned
27539         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27541 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27543         * Versions.def (libc): Add GLIBC_2.19.
27545 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27547         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27548         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27550 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
27552         [BZ #14155]
27553         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27554         intermediate calculations in recurrence.
27555         (__ieee754_ynf): Likewise.
27556         * math/libm-test.inc (jn_test_data): Do not allow spurious
27557         underflow exception.  Add more tests.
27558         (yn_test_data): Add more tests.
27559         * sysdeps/i386/fpu/libm-test-ulps: Update.
27560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27562 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
27564         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27566 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27568         * csu/init-first.c: Fix then/than typos.
27569         * locale/programs/ld-collate.c: Likewise.
27570         * locale/programs/linereader.h: Likewise.
27571         * manual/charset.texi: Likewise.
27572         * manual/filesys.texi: Likewise.
27573         * manual/stdio.texi: Likewise.
27574         * manual/string.texi: Likewise.
27575         * stdlib/fmtmsg.c: Likewise.
27576         * sysdeps/i386/stpncpy.S: Likewise.
27577         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27578         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27580         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27582 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27584         * elf/dl-open.c: Fix typos.
27585         * iconvdata/gbbig5.c: Likewise.
27586         * iconvdata/iso-2022-jp.c: Likewise.
27587         * iconv/gconv_int.h: Likewise.
27588         * iconv/loop.c: Likewise.
27589         * nis/rpcsvc/nis.h: Likewise.
27590         * resolv/ns_name.c: Likewise.
27591         * stdio-common/vfscanf.c: Likewise.
27592         * streams/stropts.h: Likewise.
27593         * sunrpc/rpc_thread.c: Likewise.
27594         * sysdeps/i386/strpbrk.S: Likewise.
27595         * sysdeps/ieee754/k_standard.c: Likewise.
27596         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27597         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27598         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27599         * sysdeps/mach/hurd/profil.c: Likewise.
27600         * sysdeps/s390/dl-procinfo.h: Likewise.
27601         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27602         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27603         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27604         * sysdeps/x86_64/dl-trampoline.S: Likewise.
27605         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27607 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
27609         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27612 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
27614         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27615         aix specific files.
27616         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27617         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27618         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27619         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27620         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27621         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27622         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27623         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27625 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27626             Roland McGrath  <roland@hack.frob.com>
27628         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27629         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27631 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27633         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27634         __executable_start symbol instead of _start.
27636 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27638         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27639         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27640         Move macros to...
27641         * sysdeps/gnu/ldsodefs.h: ... this new file.
27643         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27644         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27645         instead of ELFOSABI_LINUX.
27647         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27648         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27649         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27650         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27651         Likewise.
27652         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27653         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27654         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27655         Likewise.
27656         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27657         (ibm_extended_long_double): Add ieee_nan member.
27658         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27659         (do_test): New function.
27661         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27662         TEST_TRUNC.
27663         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27664         functions, renamed from truncdfsf_test, trunctfsf_test,
27665         trunctfdf_test.
27666         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27667         functions.
27668         (do_test): Run all these.
27670 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
27672         * argp/argp-help.c: Fix typos.
27673         * argp/argp-parse.c: Likewise.
27674         * debug/backtracesyms.c: Likewise.
27675         * elf/elf.h: Likewise.
27676         * malloc/malloc.c: Likewise.
27677         * nis/nis_print.c: Likewise.
27678         * resolv/res_comp.c: Likewise.
27679         * stdlib/stdlib.h: Likewise.
27680         * sunrpc/clnt_tcp.c: Likewise.
27681         * sunrpc/clnt_udp.c: Likewise.
27682         * sunrpc/clnt_unix.c: Likewise.
27683         * sysdeps/unix/bsd/ptsname.c: Likewise.
27684         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27685         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27687         Likewise.
27688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27689         Likewise.
27690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27691         Likewise.
27692         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27694 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27696         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27699 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
27701         [BZ #15897]
27702         * dlfcn/Makefile (tests): Add bug-dl-leaf.
27703         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27704         ($(objpfx)bug-dl-leaf): New rule.
27705         ($(objpfx)bug-dl-leaf.so): Likewise.
27706         ($(objpfx)bug-dl-leaf.out): Likewise.
27707         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27708         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27709         * dlfcn/bug-dl-leaf.c: New test.
27710         * dlfcn/bug-dl-leaf-lib.c: Likewise.
27711         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27712         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27713         (dlclose): Likewise.
27714         (dlmopen): Likewise.
27716 2013-08-27  Roland McGrath  <roland@hack.frob.com>
27718         * include/netdb.h [!_ISOMAC]:
27719         Don't include <tls.h>.
27720         (h_errno, __libc_h_errno): Move declaration and macros out of
27721         [_LIBC_REENTRANT].
27723         * include/resolv.h [_RESOLV_H_]:
27724         Don't include <tls.h>.
27725         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27726         * resolv/res_libc.c: Don't include <tls.h>.
27727         (_res): Use __attribute__ ((nocommon)) in place of
27728         __attribute__ ((section (".bss"))).
27730         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27731         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27733         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27735         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27736         only under [SIOCGIFCONF && SIOCGIFNETMASK].
27738         * resolv/res_mkquery.c: Include <sys/time.h>.
27740         * inet/ifreq.c: Moved to ...
27741         * sysdeps/unix/ifreq.c: ... here.
27742         * inet/ifreq.c: New file, true stub version.
27744         * socket/sa_len.c: New file.
27745         * socket/Makefile (aux): Add it.
27746         * sysdeps/unix/sysv/linux/Makefile
27747         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27748         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27749         and #include <socket/sa_len.c>.
27750         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27751         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27753         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27754         * bits/socket.h: ... here.
27756         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27757         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27758         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27760 2013-08-27  Andreas Schwab  <schwab@suse.de>
27762         [BZ #15736]
27763         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27764         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27765         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27766         * string/test-strcasecmp.c (test_main): Run tests in several
27767         locales.
27768         * string/test-strncasecmp.c (test_main): Likewise.
27770         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27771         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27772         to __strcasecmp_nonascii and __strncasecmp_nonascii.
27773         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27774         (__strncasecmp_ssse3) [PIC]: Likewise.
27776 2013-08-26  Roland McGrath  <roland@hack.frob.com>
27778         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27780         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27781         instead of explicitly declaring xdecrypt.
27782         * nis/nss_nis/nis-publickey.c: Likewise.
27784 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27786         [BZ #15890]
27787         * nscd/aicache.c: Include res_hconf.h.
27788         (addhstaiX): Initialize res_hconf.
27790 2013-08-26  Andreas Schwab  <schwab@suse.de>
27792         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27793         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27795 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27797         * nscd/aicache.c (addhstaiX): Fix indentation.
27799 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
27801         * configure.ac: Quote $build_pt_chown test.
27802         * configure: Regenerated.
27804 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
27806         [BZ #15532]
27807         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27808         * math/s_cexpf.c (__cexpf): Likewise.
27809         * math/s_cexpl.c (__cexpl): Likewise.
27810         * math/libm-test.inc (cexp_test_data): Correct expected return
27811         value for NaN + i0.  Add another test.
27813 2013-08-22  David S. Miller  <davem@davemloft.net>
27815         * po/ca.po: Update Catalan translation from translation project.
27816         * po/uk.po: Add Ukrainian translations from translation project.
27818 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
27820         [BZ #15797]
27821         * math/s_fdim.c (__fdim): Check for infinite arguments if result
27822         is infinite, not alongside NaN test.
27823         * math/s_fdimf.c (__fdimf): Likewise.
27824         * math/s_fdiml.c (__fdiml): Likewise.
27825         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
27826         errno is unchanged.
27828 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
27830         * argp/argp-help.c: Fix typos.
27831         * crypt/speeds.c: Likewise.
27832         * csu/check_fds.c: Likewise.
27833         * elf/dl-load.c: Likewise.
27834         * elf/dl-open.c: Likewise.
27835         * elf/reldep3.c: Likewise.
27836         * elf/reldep.c: Likewise.
27837         * elf/sprof.c: Likewise.
27838         * iconv/iconv_charmap.c: Likewise.
27839         * iconv/skeleton.c: Likewise.
27840         * iconv/strtab.c: Likewise.
27841         * io/lockf64.c: Likewise.
27842         * libio/libioP.h: Likewise.
27843         * resolv/gai_notify.c: Likewise.
27844         * resolv/ns_name.c: Likewise.
27845         * resolv/ns_samedomain.c: Likewise.
27846         * resolv/res_send.c: Likewise.
27847         * stdlib/random.c: Likewise.
27848         * sunrpc/rpc/xdr.h: Likewise.
27849         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27850         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27851         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27852         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27853         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27854         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27855         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27856         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27857         * sysdeps/mach/hurd/check_fds.c: Likewise.
27858         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27859         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27860         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27861         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27862         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27863         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27864         * sysdeps/pthread/aio_notify.c: Likewise.
27865         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27866         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27867         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27868         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27869         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27871 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27873         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27874         version if bit_Slow_SSE4_2 is set.
27875         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27876         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27878 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27880         [BZ #15867]
27881         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27882         trampoline stack frame information.
27883         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27884         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27885         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27886         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27887         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27888         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27889         (_libc_vdso_platform_setup): Initialize the signal trampolines.
27890         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27891         sa_flags value.
27892         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27893         interrupting a syscall and set with option SA_SIGINFO.
27895 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
27897         [BZ #15531]
27898         * math/s_cproj.c (__cproj): Only return an infinity if one part of
27899         argument is infinite.
27900         * math/s_cprojf.c (__cprojf): Likewise.
27901         * math/s_cprojl.c (__cprojl): Likewise.
27902         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27903         * math/libm-test.inc (cproj_test_data): Add more tests.
27905         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27907         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27908         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27909         size.  Use __ffs to determine corresponding shift.
27911 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
27912             Roland McGrath  <roland@hack.frob.com>
27914         * Makefile (INSTALL): Remove trailing blank lines from output of
27915         makeinfo.
27917 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27919         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27920         Align 32 bit compat elf_greg to 8 bytes.
27922 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
27924         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27926 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27928         * string/strcoll_l.c (coll_seq): New structure.
27929         (get_next_seq_cached): New function.
27930         (get_next_seq): New function.
27931         (do_compare): New function.
27932         (STRCOLL): Use GNU style definition.  Simplify implementation
27933         by using get_next_seq, get_next_seq_cached and do_compare.
27935 2013-08-16  Florian Weimer  <fweimer@redhat.com>
27937         [BZ #14699]
27938         CVE-2013-4237
27939         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27940         member.
27941         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27942         member.
27943         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27944         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27945         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
27946         conditional.
27947         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27948         GETDENTS_64BIT_ALIGNED.
27949         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27950         * manual/filesys.texi (Reading/Closing Directory): Document
27951         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
27952         strongly.
27953         * manual/conf.texi (Limits for Files): Add portability note to
27954         NAME_MAX, PATH_MAX.
27955         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27957 2013-08-13  Andreas Schwab  <schwab@suse.de>
27959         [BZ #15749]
27960         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27961         of fabs.
27962         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27963         LDBL_MAX_EXP >= 16384]: Add tests for it.
27965 2013-08-12  David S. Miller  <davem@davemloft.net>
27967         * version.h (RELEASE): Set to "development".
27968         (VERSION): Set to "2.18.90".
27969         * NEWS: Add 2.19 section.
27971 2013-08-03  David S. Miller  <davem@davemloft.net>
27973         * po/ko.po: Update Korean translation from translation project.
27975 2013-08-01  David S. Miller  <davem@davemloft.net>
27977         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
27978         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27979         Bilka.
27981 2013-07-30  David S. Miller  <davem@davemloft.net>
27983         * po/fr.po: Update French translation from translation project.
27985 2013-07-28  David S. Miller  <davem@davemloft.net>
27987         * po/cs.po: Update Czech translation from translation project.
27989         * po/sv.po: Update Swedish translation from translation project.
27991 2013-07-27  David S. Miller  <davem@davemloft.net>
27993         * po/eo.po: Update Esperanto translation from translation project.
27995         * po/vi.po: Update Vietnamese translation from translation project.
27997         * po/de.po: Update German translation from translation project.
27999 2013-07-26  David S. Miller  <davem@davemloft.net>
28001         * po/bg.po: Update Bulgarian translation from translation project.
28003         * po/nl.po: Update Dutch translation from translation project.
28004         * po/pl.po: Update Polish translation from translation project.
28005         * po/ru.po: Update Russian translation from translation project.
28007 2013-07-24  David S. Miller  <davem@davemloft.net>
28009         * po/libc.pot: Update.
28011 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28013         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28014         variable page size.
28015         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28016         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28017         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28019 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28021         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28023 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28024             Andreas Schwab  <schwab@suse.de>
28025             Roland McGrath  <roland@hack.frob.com>
28026             Joseph Myers  <joseph@codesourcery.com>
28027             Carlos O'Donell  <carlos@redhat.com>
28029         [BZ #15755]
28030         * config.h.in: Define HAVE_PT_CHOWN.
28031         * config.make.in (build-pt-chown): New variable.
28032         * configure.in (--enable-pt_chown): New configure option.
28033         * configure: Regenerate.
28034         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28035         build-pt-chown is enabled.
28036         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28037         pt_chown to fix pty ownership.
28038         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28039         CLOSE_ALL_FDS.
28040         * manual/install.texi (Configuring and compiling): Mention
28041         --enable-pt_chown. Add @findex for grantpt.
28042         * INSTALL: Regenerate.
28044 2013-07-20  David S. Miller  <davem@davemloft.net>
28046         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28047         difference between 32-bit and 64-bit.
28049 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28051         [BZ #15711]
28052         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28053         Avoid system header dependency with -ffreestanding.
28054         ($(objpfx)bits/syscall%d): Likewise.
28056 2013-07-13  David S. Miller  <davem@davemloft.net>
28058         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28059         underflows from atanl/atan2l due to bug 15319.
28060         (casinh_test_data): Likewise.
28062 2013-07-07  David S. Miller  <davem@davemloft.net>
28064         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28066 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
28068         * sysdeps/i386/fpu/libm-test-ulps: Update.
28069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28071 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28073         * configure.in (--enable-lock-elision): Fix message text.
28074         * INSTALL: Regenerate.
28075         * configure: Regenerate.
28077 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28081 2013-07-03  Andreas Jaeger  <aj@suse.de>
28083         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28084         define.
28085         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28086         (ptrace_peeksiginfo_args): Add.
28087         (__ptrace_peeksiginfo_flags): Add.
28088         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28089         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28090         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28092 2013-07-03  Allan McRae  <allan@archlinux.org>
28094         * sysdeps/i386/fpu/libm-test-ulps: Update.
28096 2013-07-02  David S. Miller  <davem@davemloft.net>
28098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28100 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
28102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28104 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28106         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28109 2013-07-02  Andi Kleen <ak@linux.intel.com>
28111         * config.h.in (ENABLE_LOCK_ELISION): Add.
28112         * configure.in (--enable-lock-elision): Add option.
28113         * manual/install.texi: Document --enable lock elision.
28114         * configure: Regenerate
28115         * INSTALL: Regenerate.
28117 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
28119         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28120         SSE4.2 strcasecmp for libc.a.
28121         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28123 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28125         [BZ #13304]
28126         * soft-fp/op-common.h (_FP_FMA): New macro.
28127         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28128         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
28129         (_FP_MUL_MEAT_1_imm): ... here.
28130         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
28131         (_FP_MUL_MEAT_1_wide): ... here.
28132         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
28133         (_FP_MUL_MEAT_1_hard): ... here.
28134         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28135         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
28136         (_FP_MUL_MEAT_2_wide): ... here.
28137         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
28138         (_FP_MUL_MEAT_2_wide_3mul): ... here.
28139         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
28140         (_FP_MUL_MEAT_2_gmp): ... here.
28141         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28142         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
28143         (_FP_MUL_MEAT_4_wide): ... here.
28144         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
28145         (_FP_MUL_MEAT_4_gmp): ... here.
28146         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28147         (_FP_WFRACBITS_DW_S): Likewise.
28148         (_FP_WFRACXBITS_DW_S): Likewise.
28149         (_FP_HIGHBIT_DW_S): Likewise.
28150         (FP_FMA_S): Likewise.
28151         (_FP_FRAC_HIGH_DW_S): Likewise.
28152         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28153         (_FP_WFRACBITS_DW_D): Likewise.
28154         (_FP_WFRACXBITS_DW_D): Likewise.
28155         (_FP_HIGHBIT_DW_D): Likewise.
28156         (FP_FMA_D): Likewise.
28157         (_FP_FRAC_HIGH_DW_D): Likewise.
28158         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28159         (_FP_WFRACBITS_DW_E): Likewise.
28160         (_FP_WFRACXBITS_DW_E): Likewise.
28161         (_FP_HIGHBIT_DW_E): Likewise.
28162         (FP_FMA_E): Likewise.
28163         (_FP_FRAC_HIGH_DW_E): Likewise.
28164         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28165         (_FP_WFRACBITS_DW_Q): Likewise.
28166         (_FP_WFRACXBITS_DW_Q): Likewise.
28167         (_FP_HIGHBIT_DW_Q): Likewise.
28168         (FP_FMA_Q): Likewise.
28169         (_FP_FRAC_HIGH_DW_Q): Likewise.
28170         * soft-fp/fmasf4.c: New file.
28171         * soft-fp/fmadf4.c: Likewise.
28172         * soft-fp/fmatf4.c: Likewise.
28174 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28177         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28178         Silvermont.
28179         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28180         macro.
28181         (index_Slow_SSE4_2): Likewise.
28182         (index_Prefer_PMINUB_for_stringop): Likewise.
28183         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28184         bit_Slow_SSE4_2 is set.
28185         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28186         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28188 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28190         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28191         rtld_global._dl_hwcap2.
28192         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28193         POWER8.
28194         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28195         POWER8 feature descriptions defined in _dl_hwcap2.
28196         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28197         string handling for POWER8 feature bits.
28198         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28199         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28200         _dl_powerpc_cap_flags.
28201         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28202         * sysdeps/powerpc/rtld-global-offsets.sym
28203         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28204         _dl_hwcap2 in the rtld_global_ro structure.
28206 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28208         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28209         hardware capabilities in support of AT_HWCAP2.
28210         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28211         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28212         GLRO(dl_hwcap2).
28213         (_dl_show_auxv): Add support for calling _dl_procinfo to display
28214         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
28215         explicitly the unknown a_type display mechanism is used.
28216         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28217         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28218         struct member.
28219         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28220         to macro prototype for AT_HWCAP2 support.
28221         * sysdeps/i386/dl-procinfo.h: Likewise.
28222         * sysdeps/s390/dl-procinfo.h: Likewise.
28223         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28224         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
28225         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
28226         return -1 for unknown a_type display fallback.
28227         * sysdeps/sparc/dl-procinfo.h: Likewise.
28228         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28229         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28231 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
28233         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28234         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28236 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
28238         [BZ #12492]
28239         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28240         mprotect making __stack_prot writable.
28242 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
28243             Joseph Myers  <joseph@codesourcery.com>
28245         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28246         as being properly aligned.
28248 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
28250         * dlfcn/modstatic5.c: New file.
28251         * dlfcn/tststatic5.c: New file.
28252         * dlfcn/Makefile (tests): Add tststatic5.
28253         (tests-static): Likewise.
28254         (modules-names): Add modstatic5.
28255         (tststatic5-ENV): New variable.
28256         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28258         [BZ #15022]
28259         * elf/dl-support.c (_dl_main_map): New variable.
28260         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28261         (_dl_nns, _dl_load_adds): Set to 1.
28262         (_dl_initial_searchlist): Refer to _dl_main_map.
28263         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28264         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28265         call to _dl_get_origin.
28266         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28267         around call_map.
28268         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28269         * dlfcn/modstatic3.c: New file.
28270         * dlfcn/tststatic3.c: New file.
28271         * dlfcn/tststatic4.c: New file.
28272         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28273         (tests-static): Likewise.
28274         (modules-names): Add modstatic3.
28275         (tststatic3-ENV, tststatic4-ENV): New variables.
28276         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28277         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28279 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
28281         * configure.in (CC): Require GCC version 4.4 or later.
28282         * configure: Regenerated.
28283         * manual/install.texi (Tools for Compilation): Update GCC version
28284         requirement.
28285         * INSTALL: Regenerated.
28287 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28289         [BZ #15674]
28290         * string/test-memcmp.c (check2): New.
28291         (main): Call check2.
28293         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28295 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
28297         [BZ #15022]
28298         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28299         over to...
28300         (dl_open_worker) [!SHARED]: ... here.
28302 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28304         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28306 2013-06-25  Richard Henderson  <rth@redhat.com>
28308         * locale/programs/locarchive.c: Include <libc-internal.h>
28310 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
28312         * manual/texinfo.tex: Update to version 2013-06-21.17, with
28313         trailing whitespace removed.
28315 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28317         [BZ #10283]
28318         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28319         * locale/programs/locarchive.c: Include libc-mmap.h.
28320         (prepare_address_space): Take two new outputs (the mmap base and len).
28321         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
28322         values.
28323         (create_archive): Declare new mmap base and len values for
28324         prepare_address_space, and store the result in ah.
28325         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28326         (enlarge_archive): If ah->mmap_base is not NULL, use that and
28327         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28328         Declare new mmap base and len values for
28329         prepare_address_space, and store the result in new_ah.
28330         (open_archive): Declare new mmap base and len values for
28331         prepare_address_space, and store the result in ah.
28332         (close_archive): If ah->mmap_base is not NULL, use that and
28333         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28334         * sysdeps/generic/libc-mmap.h: New file.
28336 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28338         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28339         (ALIGN_UP): Likewise.
28340         (PTR_ALIGN_DOWN): Likewise.
28341         (PTR_ALIGN_UP): Likewise.
28343 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28345         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28346         entry mapped to PPC_PLATFORM_POWER8.
28347         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28348         POWER8.
28349         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28350         (_dl_string_platform): Add case for exporting platform position for
28351         POWER8.
28352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28353         search path to sysdeps/powerpc/powerpc32/power8 directory.
28354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28355         search path to sysdeps/powerpc/powerpc64/power8 directory.
28356         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28357         power7 directories.
28358         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28359         power7 directories.
28361 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28363         * INSTALL: Regenerate.
28365         * nscd/connections.c (nscd_init): Fix comment.
28367 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
28369         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28371         [BZ #15667]
28372         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28373         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28375 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28377         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28378         DL_DST_REQ_STATIC.
28379         (DL_DST_REQ_STATIC): Remove macro.
28381 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
28383         [BZ #7006]
28384         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28385         with a shift of 0 bits.
28387 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28389         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28390         $(tststatic-ENV).
28392 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28394         [BZ #15655]
28395         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28397 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28399         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28400         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28401         accepts -fno-tree-loop-distribute-patterns.
28402         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28403         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28404         recursive call.
28405         * string/memset.c (memset): Likewise.
28406         * string/test-memmove.c (simple_memmove): Disable loop transformation
28407         to library calls.
28408         * string/test-memset.c (simple_memset): Likewise.
28409         * benchtests/bench-memmove.c (simple_memmove): Likewise.
28410         * benchtests/bench-memset.c (simple_memset): Likewise.
28411         * configure: Regenerated.
28413 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
28415         * math/test-misc.c (main): Ignore fesetround failure when failures
28416         of subsequent rounding tests would be ignored.
28418         [BZ #15654]
28419         * math/fedisblxcpt.c (fedisableexcept): Return 0.
28420         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28421         * math/fegetenv.c (__fegetenv): Return 0.
28422         * math/fegetexcept.c (fegetexcept): Return 0.
28423         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28424         FE_TONEAREST.
28425         * math/feholdexcpt.c (feholdexcept): Return 0.
28426         * math/fesetenv.c (__fesetenv): Return 0.
28427         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28428         argument FE_TONEAREST.
28429         * math/feupdateenv.c (__feupdateenv): Return 0.
28430         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28432 2013-06-18  Roland McGrath  <roland@hack.frob.com>
28434         * elf/rtld-Rules (rtld-compile-command.S): New variable.
28435         (rtld-compile-command.s, rtld-compile-command.c): New variables.
28436         ($(objpfx)rtld-%.os rules): Use them.
28438 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28440         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28441         fields.
28443 2013-06-17  Roland McGrath  <roland@hack.frob.com>
28445         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28446         length of target pattern, then descending length of dependency pattern.
28447         * configure.in (AWK): Require gawk 3.1.2 or newer.
28448         * manual/install.texi (Tools for Compilation): Say that we do.
28449         * configure: Regenerated.
28451         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28452         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28453         * scripts/sysd-rules.awk: ... this new script.
28454         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28455         than a glob-style pattern.
28457 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
28459         * math/test-misc.c (main): Do not treat incorrectly rounded
28460         conversions as failure unless ROUNDING_TESTS passes.
28462 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
28464         [BZ #15631]
28465         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28466         restore exception state around main square root computation, then
28467         check for inexactness explicitly.
28469         * math/libm-test.inc (fma_test_data): Add another test.
28471 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28473         * manual/threads.texi (Non-POSIX Extensions): New document
28474         node.  Document pthread_getattr_default_np and
28475         pthread_setattr_default_np.
28477         * Versions.def (libpthread): Add GLIBC_2.18.
28478         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28480         Likewise.
28481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28482         Likewise.
28483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28484         Likewise.
28485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28486         Likewise.
28487         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28488         Likewise.
28489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28490         Likewise.
28491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28492         Likewise.
28493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28494         Likewise.
28495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28496         Likewise.
28498 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28501         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28503 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28504             H.J. Lu  <hjl.tools@gmail.com>
28506         [BZ #15627]
28507         * sysdeps/x86_64/rtld-memset.c: Remove file.
28508         * sysdeps/x86_64/rtld-memset.S: New file.
28510 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
28512         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28513         (test_in_one_mode): Take arguments for whether the rounding mode
28514         is supported for each floating-point type.
28515         (do_test): Pass new arguments to test_in_one_mode using
28516         ROUNDING_TESTS.
28518 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28520         * posix/tst-waitid.c (do_test): Distinguish different instances of
28521         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
28522         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28523         before entering the kernel for waitpid.
28525 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28527         * NEWS: Fix note on clock function precision.  Text by Roland
28528         McGrath.
28530 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28532         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28533         it into place only when and if the sanity check passes.
28535 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
28537         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28538         output for whether conversion result is exact.  Take argument
28539         indicating whether type is IBM long double.
28540         (round_for_all): Change need_exact field to ibm_ld.
28541         * stdlib/tst-strtod-round.c (struct exactness): New type.
28542         (struct test): Change bool ld_ok field to struct exactness exact.
28543         (TEST): Update all definitions for change to field.
28544         (tests): Regenerate array contents.
28545         (test_in_one_mode): Take pointer to new field instead of old ld_ok
28546         field value.  Check for IBM long double here.
28547         (do_test): Update calls to test_in_one_mode.
28549 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28551         [BZ #12515]
28552         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28553         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28555 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28557         [BZ #15605]
28558         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28559         generated by the compiler on loop optimizations.
28560         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28561         general definitions.
28563 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
28565         * math/bug-nextafter.c: Include <math-tests.h>.
28566         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28567         the relevant type.
28568         * math/bug-nexttoward.c: Include <math-tests.h>.
28569         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28570         the relevant type.
28571         * math/test-misc.c: Include <math-tests.h>.
28572         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28573         the relevant type.
28575 2013-06-12  Andreas Jaeger  <aj@suse.de>
28577         * po/ia.po: Update Interlingua translation from translation
28578         project.
28580 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28582         * include/fenv.h: Include stdbool.h.
28583         (struct rm_ctx): New structure.
28584         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28585         Define macro.
28586         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28587         (SET_RESTORE_ROUNDF): Likewise.
28588         (SET_RESTORE_ROUNDL): Likewise.
28589         (SET_RESTORE_ROUND_NOEX): Likewise.
28590         (SET_RESTORE_ROUND_NOEXF): Likewise.
28591         (SET_RESTORE_ROUND_NOEXL): Likewise.
28592         (SET_RESTORE_ROUND_53BIT): Likewise.
28593         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28594         (libc_feresetround_noexf_ctx): Likewise.
28595         (libc_feresetround_noexl_ctx): Likewise.
28596         (libc_feholdsetround_53bit_ctx): Likewise.
28597         (libc_feresetround_53bit_ctx): Likewise.
28598         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28599         (libc_feholdexcept_setround_sse_ctx): New function.
28600         (libc_fesetenv_sse_ctx): Likewise.
28601         (libc_feupdateenv_sse_ctx): Likewise.
28602         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28603         (libc_feholdexcept_setround_387_ctx): Likewise.
28604         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28605         (libc_feholdsetround_387_prec_ctx): Likewise.
28606         (libc_feholdsetround_387_ctx): Likewise.
28607         (libc_feholdsetround_387_53bit_ctx): Likewise.
28608         (libc_feholdsetround_sse_ctx): Likewise.
28609         (libc_feresetround_sse_ctx): Likewise.
28610         (libc_feresetround_387_ctx): Likewise.
28611         (libc_feupdateenv_387_ctx): Likewise.
28612         (libc_feholdexcept_setroundf_ctx): Define macro.
28613         (libc_fesetenvf_ctx): Likewise.
28614         (libc_feupdateenvf_ctx): Likewise.
28615         (libc_feholdsetroundf_ctx): Likewise.
28616         (libc_feresetroundf_ctx): Likewise.
28617         (libc_feholdexcept_setround_ctx): Likewise.
28618         (libc_fesetenv_ctx): Likewise.
28619         (libc_feupdateenv_ctx): Likewise.
28620         (libc_feholdsetround_ctx): Likewise.
28621         (libc_feresetround_ctx): Likewise.
28622         (libc_feholdexcept_setroundl_ctx): Likewise.
28623         (libc_feupdateenvl_ctx): Likewise.
28624         (libc_feholdsetroundl_ctx): Likewise.
28625         (libc_feresetroundl_ctx): Likewise.
28626         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28627         (libc_feresetround_53bit_ctx): Likewise.
28629 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28631         * locale/iso-639.def: Convert to UTF-8.
28633 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
28635         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28636         (EXCEPTION_TESTS_double): Likewise.
28637         (EXCEPTION_TESTS_long_double): Likewise.
28638         (EXCEPTION_TESTS): Likewise.
28639         * math/libm-test.inc (test_exceptions): Only test exceptions if
28640         EXCEPTION_TESTS (FLOAT).
28642 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28644         * benchtests/Makefile (string-bench): Add strcpy_chk and
28645         stpcpy_chk.
28646         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28647         * benchtests/bench-stpcpy_chk.c: New file.
28648         * benchtests/bench-strcpy_chk-ifunc.c: New file.
28649         * benchtests/bench-strcpy_chk.c: New file.
28650         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28651         code.
28652         (do_test): Likewise.
28654 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28656         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28657         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28658         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28659         with tabs where appropriate.
28660         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28661         dl-procinfo.h.
28662         [PPC_PLATFORM_PPC440]: Likewise.
28663         [PPC_PLATFORM_PPC464]: Likewise.
28664         [PPC_PLATFORM_PPC476]: Likewise.
28665         (_dl_string_platform): Add support for detecting ppc405, ppc440,
28666         ppc464, and ppc476 platform strings merging from ports/
28667         dl-procinfo.h.
28669 2013-06-11  Andreas Schwab  <schwab@suse.de>
28671         [BZ #14991]
28672         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28673         (from_ucs4_idx): Regenerate.
28674         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28675         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28676         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28677         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28678         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28679         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28680         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28681         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28682         from FROM_LOOP and TO_LOOP specific macros.
28683         (BODY): Handle combining characters.
28684         * iconvdata/BIG5HKSCS.irreversible: Update.
28685         * iconvdata/BIG5HKSCS.precomposed: New file.
28686         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28687         characters.
28688         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28690 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28692         * include/sys/time.h: Fix indentation and add copyright header.
28694         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28695         (do_test): Likewise.
28696         * string/test-memchr.c (do_one_test): Likewise.
28697         (do_test): Likewise.
28698         * string/test-memcmp.c (do_one_test): Likewise.
28699         (do_test): Likewise.
28700         * string/test-memcpy.c (do_one_test): Likewise.
28701         (do_test): Likewise.
28702         * string/test-memmem.c (do_one_test): Likewise.
28703         (do_test): Likewise.
28704         (do_random_tests): Likewise.
28705         * string/test-memmove.c (do_one_test): Likewise.
28706         (do_test): Likewise.
28707         * string/test-memset.c (do_one_test): Likewise.
28708         (do_test): Likewise.
28709         * string/test-rawmemchr.c (do_one_test): Likewise.
28710         (do_test): Likewise.
28711         * string/test-strcasecmp.c (do_one_test): Likewise.
28712         (do_test): Likewise.
28713         * string/test-strcasestr.c (do_one_test): Likewise.
28714         (do_test): Likewise.
28715         * string/test-strcat.c (do_one_test): Likewise.
28716         (do_test): Likewise.
28717         * string/test-strchr.c (do_one_test): Likewise.
28718         (do_test): Likewise.
28719         * string/test-strcmp.c (do_one_test): Likewise.
28720         (do_test): Likewise.
28721         * string/test-strcpy.c (do_one_test): Likewise.
28722         (do_test): Likewise.
28723         * string/test-string.h: Likewise.
28724         (test_init): Likewise.
28725         * string/test-strlen.c (do_one_test): Likewise.
28726         (do_test): Likewise.
28727         * string/test-strncasecmp.c (do_one_test): Likewise.
28728         (do_test): Likewise.
28729         * string/test-strncat.c (do_one_test): Likewise.
28730         (do_test): Likewise.
28731         * string/test-strncmp.c (do_one_test): Likewise.
28732         (do_test_limit): Likewise.
28733         (do_test): Likewise.
28734         * string/test-strncpy.c (do_one_test): Likewise.
28735         (do_test): Likewise.
28736         * string/test-strnlen.c (do_one_test): Likewise.
28737         (do_test): Likewise.
28738         * string/test-strpbrk.c (do_one_test): Likewise.
28739         (do_test): Likewise.
28740         * string/test-strrchr.c (do_one_test): Likewise.
28741         (do_test): Likewise.
28742         * string/test-strspn.c (do_one_test): Likewise.
28743         (do_test): Likewise.
28744         * string/test-strstr.c (do_one_test): Likewise.
28745         (do_test): Likewise.
28747         * benchtests/Makefile (string-bench): Add string benchmarks.
28748         * benchtests/bench-bcopy-ifunc.c: New file.
28749         * benchtests/bench-bcopy.c: New file.
28750         * benchtests/bench-bzero-ifunc.c: New file.
28751         * benchtests/bench-bzero.c: New file.
28752         * benchtests/bench-memccpy-ifunc.c: New file.
28753         * benchtests/bench-memccpy.c: New file.
28754         * benchtests/bench-memchr-ifunc.c: New file.
28755         * benchtests/bench-memchr.c: New file.
28756         * benchtests/bench-memcmp-ifunc.c: New file.
28757         * benchtests/bench-memcmp.c: New file.
28758         * benchtests/bench-memmem-ifunc.c: New file.
28759         * benchtests/bench-memmem.c: New file.
28760         * benchtests/bench-memmove-ifunc.c: New file.
28761         * benchtests/bench-memmove.c: New file.
28762         * benchtests/bench-mempcpy-ifunc.c: New file.
28763         * benchtests/bench-mempcpy.c: New file.
28764         * benchtests/bench-memset-ifunc.c: New file.
28765         * benchtests/bench-memset.c: New file.
28766         * benchtests/bench-rawmemchr-ifunc.c: New file.
28767         * benchtests/bench-rawmemchr.c: New file.
28768         * benchtests/bench-stpcpy-ifunc.c: New file.
28769         * benchtests/bench-stpcpy.c: New file.
28770         * benchtests/bench-stpncpy-ifunc.c: New file.
28771         * benchtests/bench-stpncpy.c: New file.
28772         * benchtests/bench-strcasecmp-ifunc.c: New file.
28773         * benchtests/bench-strcasecmp.c: New file.
28774         * benchtests/bench-strcasestr-ifunc.c: New file.
28775         * benchtests/bench-strcasestr.c: New file.
28776         * benchtests/bench-strcat-ifunc.c: New file.
28777         * benchtests/bench-strcat.c: New file.
28778         * benchtests/bench-strchr-ifunc.c: New file.
28779         * benchtests/bench-strchr.c: New file.
28780         * benchtests/bench-strchrnul-ifunc.c: New file.
28781         * benchtests/bench-strchrnul.c: New file.
28782         * benchtests/bench-strcmp-ifunc.c: New file.
28783         * benchtests/bench-strcmp.c: New file.
28784         * benchtests/bench-strcpy-ifunc.c: New file.
28785         * benchtests/bench-strcpy.c: New file.
28786         * benchtests/bench-strcspn-ifunc.c: New file.
28787         * benchtests/bench-strcspn.c: New file.
28788         * benchtests/bench-strlen-ifunc.c: New file.
28789         * benchtests/bench-strlen.c: New file.
28790         * benchtests/bench-strncasecmp-ifunc.c: New file.
28791         * benchtests/bench-strncasecmp.c: New file.
28792         * benchtests/bench-strncat-ifunc.c: New file.
28793         * benchtests/bench-strncat.c: New file.
28794         * benchtests/bench-strncmp-ifunc.c: New file.
28795         * benchtests/bench-strncmp.c: New file.
28796         * benchtests/bench-strncpy-ifunc.c: New file.
28797         * benchtests/bench-strncpy.c: New file.
28798         * benchtests/bench-strnlen-ifunc.c: New file.
28799         * benchtests/bench-strnlen.c: New file.
28800         * benchtests/bench-strpbrk-ifunc.c: New file.
28801         * benchtests/bench-strpbrk.c: New file.
28802         * benchtests/bench-strrchr-ifunc.c: New file.
28803         * benchtests/bench-strrchr.c: New file.
28804         * benchtests/bench-strspn-ifunc.c: New file.
28805         * benchtests/bench-strspn.c: New file.
28806         * benchtests/bench-strstr-ifunc.c: New file.
28807         * benchtests/bench-strstr.c: New file.
28809         * benchtests/Makefile: Disable parallel execution of targets.
28810         (string-bench): Add memcpy.
28811         (benchset): New variable to store a list of benchmark sets.
28812         (bench-func): Renamed from bench.
28813         (bench-set): New target.
28814         (bench): Depend on bench-func and bench-set.
28815         * benchtests/README: Add section on benchmark sets.
28816         * benchtests/bench-memcpy-ifunc.c: New file.
28817         * benchtests/bench-memcpy.c: New file.
28818         * benchtests/bench-string.h: New file.
28820 2013-06-11  Andreas Schwab  <schwab@suse.de>
28822         [BZ #15577]
28823         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28824         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28825         values in the triple.
28826         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28827         terminator in the group key.
28829 2013-06-11  Andreas Jaeger  <aj@suse.de>
28831         * po/zh_TW.po: Update Chinese (traditional) translation from
28832         translation project.
28834 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28836         * include/time.h (__clock_gettime): Add libc_hidden_proto.
28837         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28838         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
28839         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28840         (clock_getcpuclockid): Likewise.
28841         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28842         Add weak_alias and libc_hidden_def.
28843         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28844         * rt/clock_gettime.c (clock_gettime): Rename to
28845         __clock_gettime.  Add weak_alias and libc_hidden_def.
28846         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28847         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28848         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
28849         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28850         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28851         Likewise.
28852         * rt/clock_settime.c (clock_settime): Rename to
28853         __clock_settime.  Add weak_alias and libc_hidden_def.
28854         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28856 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
28858         * mach/err_boot.sub: Remove trailing whitespace.
28859         * mach/err_ipc.sub: Likewise.
28860         * mach/err_mach.sub: Likewise.
28862         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28863         (ROUNDING_TESTS_double): Likewise.
28864         (ROUNDING_TESTS_long_double): Likewise.
28865         (ROUNDING_TESTS): Likewise.
28866         * math/libm-test.inc: Include <math-tests.h>.
28867         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28868         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28869         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28870         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28872 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28874         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28875         of assigning.
28877 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
28879         * sysdeps/gnu/errlist.awk: Do not generate space at end of
28880         otherwise empty TRANS lines.
28881         * sysdeps/gnu/errlist.c: Regenerated.
28883         * catgets/gencat.c (error_print): Use (void) in function
28884         definition.
28885         * crypt/crypt_util.c (__init_des): Likewise.
28886         * crypt/speeds.c (Stop): Likewise.
28887         (main): Likewise.
28888         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28889         * inet/ruserpass.c (token): Likewise.
28890         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28891         * intl/localealias.c (extend_alias_table): Likewise.
28892         * intl/plural-exp.c (init_germanic_plural): Likewise.
28893         * libio/fcloseall.c (__fcloseall): Likewise.
28894         * libio/genops.c (_IO_flush_all): Likewise.
28895         (_IO_flush_all_linebuffered): Likewise.
28896         (_IO_cleanup): Likewise.
28897         (_IO_iter_begin): Likewise.
28898         (_IO_iter_end): Likewise.
28899         (_IO_list_lock): Likewise.
28900         (_IO_list_unlock): Likewise.
28901         (_IO_list_resetlock): Likewise.
28902         * libio/getchar.c (getchar): Likewise.
28903         * libio/getchar_u.c (getchar_unlocked): Likewise.
28904         * libio/getwchar.c (getwchar): Likewise.
28905         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28906         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28907         * login/getpt.c (__getpt): Likewise.
28908         * login/tst-utmp.c (main): Likewise.
28909         * malloc/hooks.c (__malloc_check_init): Likewise.
28910         * malloc/malloc.c (__malloc_stats): Likewise.
28911         * malloc/mtrace.c (tr_break): Likewise.
28912         (mtrace): Likewise.
28913         (muntrace): Likewise.
28914         * misc/fstab.c (endfsent): Likewise.
28915         * misc/getclktck.c (__getclktck): Likewise.
28916         * misc/getdtsz.c (__getdtablesize): Likewise.
28917         * misc/gethostid.c (gethostid): Likewise.
28918         * misc/getpagesize.c (__getpagesize): Likewise.
28919         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28920         (__get_nprocs): Likewise.
28921         (__get_phys_pages): Likewise.
28922         (__get_avphys_pages): Likewise.
28923         * misc/getttyent.c (getttyent): Likewise.
28924         (setttyent): Likewise.
28925         (endttyent): Likewise.
28926         * misc/getusershell.c (getusershell): Likewise.
28927         (endusershell): Likewise.
28928         (setusershell): Likewise.
28929         (initshells): Likewise.
28930         * misc/hsearch.c (__hdestroy): Likewise.
28931         * misc/sync.c (sync): Likewise.
28932         * misc/syslog.c (closelog_internal): Likewise.
28933         (closelog): Likewise.
28934         * misc/ttyslot.c (ttyslot): Likewise.
28935         * misc/vhangup.c (vhangup): Likewise.
28936         * posix/fork.c (__fork): Likewise.
28937         * posix/getegid.c (__getegid): Likewise.
28938         * posix/geteuid.c (__geteuid): Likewise.
28939         * posix/getgid.c (__getgid): Likewise.
28940         * posix/getpid.c (__getpid): Likewise.
28941         * posix/getppid.c (__getppid): Likewise.
28942         * posix/getuid.c (__getuid): Likewise.
28943         * posix/pause.c (pause): Likewise.
28944         * posix/setpgrp.c (setpgrp): Likewise.
28945         * posix/setsid.c (__setsid): Likewise.
28946         * posix/test-vfork.c (noop): Likewise.
28947         * resolv/gethnamaddr.c (_endhtent): Likewise.
28948         (_gethtent): Likewise.
28949         (ht_endhostent): Likewise.
28950         (gethostent): Likewise.
28951         (dns_service): Likewise.
28952         * stdlib/drand48.c (drand48): Likewise.
28953         * stdlib/lrand48.c (lrand48): Likewise.
28954         * stdlib/mrand48.c (mrand48): Likewise.
28955         * stdlib/rand.c (rand): Likewise.
28956         * stdlib/random.c (__random): Likewise.
28957         * stdlib/setenv.c (clearenv): Likewise.
28958         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28959         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28960         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28961         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28962         (__get_nprocs): Likewise.
28963         (__get_phys_pages): Likewise.
28964         (__get_avphys_pages): Likewise.
28965         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28966         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28967         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28968         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28969         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28970         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28971         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28972         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28973         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28974         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28975         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28976         * sysdeps/mach/hurd/sync.c (sync): Likewise.
28977         * sysdeps/posix/clock.c (clock): Likewise.
28978         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28979         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28980         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28981         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28982         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28983         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28984         (__get_nprocs_conf): Likewise.
28985         (__get_phys_pages): Likewise.
28986         (__get_avphys_pages): Likewise.
28987         * time/clock.c (clock): Likewise.
28988         * time/tzset.c (__tzname_max): Likewise.
28990 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
28992         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28993         (__bswap_32): Do not use "register".
28994         * crypt/crypt.c (_ufc_doit_r): Likewise.
28995         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28996         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28997         * gmon/gmon.c (__monstartup): Likewise.
28998         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28999         * hurd/hurdmalloc.c (more_memory): Likewise.
29000         (malloc): Likewise.
29001         (free): Likewise.
29002         (realloc): Likewise.
29003         (malloc_fork_prepare): Likewise.
29004         (malloc_fork_parent): Likewise.
29005         (malloc_fork_child): Likewise.
29006         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29007         (_svcauth_des): Likewise.
29008         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29009         * inet/inet_net.c (inet_network): Likewise.
29010         * inet/inet_netof.c (inet_netof): Likewise.
29011         * inet/rcmd.c (__validuser2_sa): Likewise.
29012         * io/fts.c (fts_open): Likewise.
29013         (fts_load): Likewise.
29014         (fts_close): Likewise.
29015         (fts_read): Likewise.
29016         (fts_children): Likewise.
29017         (fts_build): Likewise.
29018         (fts_stat): Likewise.
29019         (fts_sort): Likewise.
29020         (fts_alloc): Likewise.
29021         (fts_lfree): Likewise.
29022         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29023         (_IO_file_xsgetn): Likewise.
29024         (_IO_file_xsgetn_mmap): Likewise.
29025         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29026         (_IO_cookie_write): Likewise.
29027         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29028         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29029         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29030         * malloc/obstack.c (_obstack_begin): Likewise.
29031         (_obstack_begin_1): Likewise.
29032         (_obstack_newchunk): Likewise.
29033         (_obstack_allocated_p): Likewise.
29034         (obstack_free): Likewise.
29035         (_obstack_memory_used): Likewise.
29036         * misc/getttyent.c (getttynam): Likewise.
29037         (getttyent): Likewise.
29038         (skip): Likewise.
29039         (value): Likewise.
29040         * misc/getusershell.c (initshells): Likewise.
29041         * misc/syslog.c (__vsyslog_chk): Likewise.
29042         * misc/ttyslot.c (ttyslot): Likewise.
29043         * nis/nis_hash.c (__nis_hash): Likewise.
29044         * posix/fnmatch_loop.c (FCT): Likewise.
29045         * posix/getconf.c (print_all): Likewise.
29046         (main): Likewise.
29047         * posix/getopt.c (exchange): Likewise.
29048         * posix/glob.c (globfree): Likewise.
29049         (prefix_array): Likewise.
29050         (__glob_pattern_type): Likewise.
29051         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29052         (NS_GET32): Likewise.
29053         (NS_PUT16): Likewise.
29054         (NS_PUT32): Likewise.
29055         * resolv/gethnamaddr.c (getanswer): Likewise.
29056         (gethostbyname2): Likewise.
29057         (gethostbyaddr): Likewise.
29058         (_gethtent): Likewise.
29059         (_gethtbyname2): Likewise.
29060         (_gethtbyaddr): Likewise.
29061         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29062         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29063         * resolv/res_init.c (__res_vinit): Likewise.
29064         (net_mask): Likewise.
29065         * resolv/res_mkquery.c (outchar): Likewise.
29066         (PRINT): Likewise.
29067         * stdio-common/printf_fp.c (outchar): Likewise.
29068         (PRINT): Likewise.
29069         * stdio-common/printf_fphex.c (outchar): Likewise.
29070         (PRINT): Likewise.
29071         * stdio-common/printf_size.c (outchar): Likewise.
29072         (PRINT): Likewise.
29073         * stdio-common/test_rdwr.c (main): Likewise.
29074         * stdio-common/tfformat.c (matches): Likewise.
29075         * stdio-common/vfprintf.c (outchar): Likewise.
29076         (printf_unknown): Likewise.
29077         (buffered_vfprintf): Likewise.
29078         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29079         * stdio-common/xbug.c (AppendToBuffer): Likewise.
29080         (ReadFile): Likewise.
29081         * stdlib/qsort.c (SWAP): Likewise.
29082         (_quicksort): Likewise.
29083         * stdlib/setenv.c (__add_to_environ): Likewise.
29084         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29085         * stdlib/strtol_l.c (__strtol_l): Likewise.
29086         * stdlib/tst-strtod.c (main): Likewise.
29087         * stdlib/tst-strtol.c (main): Likewise.
29088         * stdlib/tst-strtoll.c (main): Likewise.
29089         * string/bits/string2.h (__strcmp_cc): Likewise.
29090         (__strcmp_cg): Likewise.
29091         (__strcspn_c1): Likewise.
29092         (__strcspn_c2): Likewise.
29093         (__strcspn_c3): Likewise.
29094         (__strspn_c1): Likewise.
29095         (__strspn_c2): Likewise.
29096         (__strspn_c3): Likewise.
29097         (__strsep_1c): Likewise.
29098         (__strsep_2c): Likewise.
29099         (__strsep_3c): Likewise.
29100         * string/memccpy.c (__memccpy): Likewise.
29101         * string/stpcpy.c (__stpcpy): Likewise.
29102         * string/strcmp.c (strcmp): Likewise.
29103         * string/strrchr.c (strrchr): Likewise.
29104         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29105         Likewise.
29106         * sysdeps/mach/hurd/getcwd.c
29107         (_hurd_canonicalize_directory_name_internal): Likewise.
29108         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29109         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29110         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29111         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29112         Likewise, in both definitions.
29113         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29114         definitions.
29115         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29116         64] (__bswap_64): Likewise.
29117         * time/test_time.c (main): Likewise.
29118         * time/tzfile.c (__tzfile_read): Likewise.
29119         (__tzfile_compute): Likewise.
29120         * time/tzset.c (__tzset_parse_tz): Likewise.
29121         (tzset_internal): Likewise.
29122         (compute_change): Likewise.
29123         * wcsmbs/wcscat.c (__wcscat): Likewise.
29124         * wcsmbs/wcschr.c (wcschr): Likewise.
29125         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29126         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29127         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29128         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29129         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29130         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29131         * wcsmbs/wmemchr.c (wmemchr): Likewise.
29132         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29133         * wcsmbs/wmemset.c (wmemset): Likewise.
29135 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
29137         * scripts/config.guess: Update to version 2013-05-16.
29138         * scripts/config.sub: Update to version 2013-04-24.
29139         * scripts/install-sh: Update to version 2011-11-20.07.
29140         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29141         * scripts/move-if-change: Update to version 2012-01-06 07:23.
29143 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
29145         * debug/fgetws_u_chk.c: Fix leading whitespaces.
29146         * elf/sln.c: Likewise.
29147         * hurd/hurd/ioctl.h: Likewise.
29148         * hurd/hurdmalloc.c: Likewise.
29149         * hurd/xattr.c: Likewise.
29150         * include/shlib-compat.h: Likewise.
29151         * inet/ruserpass.c: Likewise.
29152         * libio/iofgets_u.c: Likewise.
29153         * libio/iofgetws_u.c: Likewise.
29154         * locale/programs/ld-identification.c: Likewise.
29155         * locale/programs/ld-time.c: Likewise.
29156         * mach/msg-destroy.c: Likewise.
29157         * nss/nss_files/files-netgrp.c: Likewise.
29158         * resolv/res_data.c: Likewise.
29159         * soft-fp/op-1.h: Likewise.
29160         * soft-fp/op-2.h: Likewise.
29161         * soft-fp/op-4.h: Likewise.
29162         * soft-fp/op-common.h: Likewise.
29163         * stdio-common/printf_fphex.c: Likewise.
29164         * stdlib/strtod_l.c: Likewise.
29165         * sunrpc/rpc/clnt.h: Likewise.
29166         * sysdeps/generic/framestate.c: Likewise.
29167         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29168         * sysdeps/i386/bsd-setjmp.S: Likewise.
29169         * sysdeps/i386/__longjmp.S: Likewise.
29170         * sysdeps/i386/setjmp.S: Likewise.
29171         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29172         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29173         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29174         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29175         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29176         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29178         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29179         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29180         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29181         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29182         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29183         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29184         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29185         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29186         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29187         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29188         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29189         * sysdeps/ieee754/support.c: Likewise.
29190         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29191         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29192         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29193         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29194         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29195         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29196         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29197         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29198         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29199         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29200         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29201         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29202         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29203         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29204         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29205         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29206         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29209 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
29211         * posix/transbug.c: Remove executable mode.
29213 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
29215         * crypt/speeds.c: Remove trailing whitespace.
29216         * dlfcn/default.c: Likewise.
29217         * elf/ifuncdep2.c: Likewise.
29218         * elf/ifuncmain1.c: Likewise.
29219         * elf/ifuncmain1vis.c: Likewise.
29220         * elf/testobj.h: Likewise.
29221         * elf/tst-stackguard1.c: Likewise.
29222         * gmon/sys/gmon.h: Likewise.
29223         * hurd/hurdmsg.c: Likewise.
29224         * hurd/new-fd.c: Likewise.
29225         * hurd/ports-get.c: Likewise.
29226         * iconvdata/ibm1008_420.c: Likewise.
29227         * inet/tst-getni1.c: Likewise.
29228         * inet/tst-getni2.c: Likewise.
29229         * libio/ioungetc.c: Likewise.
29230         * libio/wfiledoalloc.c: Likewise.
29231         * manual/libm-err-tab.pl: Likewise.
29232         * math/w_dremf.c: Likewise.
29233         * misc/ftruncate.c: Likewise.
29234         * posix/bug-glob2.c: Likewise.
29235         * posix/tst-pcre.c: Likewise.
29236         * posix/wait4.c: Likewise.
29237         * resolv/README: Likewise.
29238         * resolv/res_debug.h: Likewise.
29239         * resolv/tst-inet_ntop.c: Likewise.
29240         * setjmp/bug269-setjmp.c: Likewise.
29241         * soft-fp/extended.h: Likewise.
29242         * soft-fp/op-1.h: Likewise.
29243         * soft-fp/op-2.h: Likewise.
29244         * soft-fp/op-4.h: Likewise.
29245         * soft-fp/op-8.h: Likewise.
29246         * soft-fp/testit.c: Likewise.
29247         * stdio-common/bug16.c: Likewise.
29248         * stdlib/random.c: Likewise.
29249         * sunrpc/rpcsvc/rquota.x: Likewise.
29250         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29251         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29252         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29253         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29254         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29255         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29256         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29257         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29258         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29259         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29260         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29261         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29262         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29263         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29264         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29265         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29266         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29267         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29268         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29269         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29270         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29271         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29272         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29275         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29276         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29277         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29278         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29279         * sysdeps/ieee754/s_lib_version.c: Likewise.
29280         * sysdeps/mach/hurd/check_fds.c: Likewise.
29281         * sysdeps/mach/hurd/getsockname.c: Likewise.
29282         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29283         * sysdeps/mach/hurd/recvfrom.c: Likewise.
29284         * sysdeps/powerpc/bits/link.h: Likewise.
29285         * sysdeps/powerpc/dl-procinfo.c: Likewise.
29286         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29287         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29288         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29289         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29290         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29291         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29292         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29293         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29294         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29295         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29296         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29297         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29298         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29299         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29300         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29301         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29302         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29303         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29304         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29305         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29306         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29307         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29308         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29309         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29310         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29311         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29312         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29313         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29314         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29315         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29316         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29317         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29318         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29319         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29320         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29321         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29322         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29323         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29324         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29325         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29326         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29327         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29328         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29329         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29330         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29331         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29332         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29333         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29334         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29335         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29336         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29337         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29338         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29339         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29340         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29341         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29342         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29343         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29344         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29345         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29346         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29347         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29348         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29349         * sysdeps/powerpc/sysdep.h: Likewise.
29350         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29351         * sysdeps/s390/s390-64/sub_n.S: Likewise.
29352         * sysdeps/sh/dl-trampoline.S: Likewise.
29353         * sysdeps/sh/memset.S: Likewise.
29354         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29355         * sysdeps/sh/strlen.S: Likewise.
29356         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29357         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29358         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29359         * sysdeps/sparc/sparc32/rem.S: Likewise.
29360         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29361         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29362         * sysdeps/sparc/sparc32/strchr.S: Likewise.
29363         * sysdeps/sparc/sparc32/udiv.S: Likewise.
29364         * sysdeps/sparc/sparc32/urem.S: Likewise.
29365         * sysdeps/sparc/sparc64/add_n.S: Likewise.
29366         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29367         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29368         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29369         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29370         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29371         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29372         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29373         * sysdeps/unix/bsd/times.c: Likewise.
29374         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29375         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29379         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29380         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29381         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29382         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29383         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29384         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29385         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29386         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29387         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29388         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29389         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29390         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29391         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29392         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29393         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29394         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29395         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29396         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29397         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29398         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29399         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29400         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29401         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29402         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29403         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29404         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29405         * sysdeps/x86_64/strcspn.S: Likewise.
29407 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29409         * locale/C-translit.h: Revert #include <stdint.h> because this is a
29410         generated file.  Regenerate properly from gen-translit.pl.
29411         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
29412         locale/C-translit.h.
29414 2013-06-05  Andreas Schwab  <schwab@suse.de>
29416         [BZ #15100]
29417         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29418         week as 6 instead of -1.
29419         * time/tst-strptime.c (day_tests): Add test case.
29421 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29423         * sysdeps/generic/math_private.h
29424         (libc_feholdexcept_setround_53bit): Replace with
29425         libc_feholdsetround_53bit.
29426         (libc_feupdateenv_53bit): Replace with
29427         libc_feresetround_53bit.
29428         (SET_RESTORE_ROUND_53BIT): Adjust.
29430 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29432         * string/test-strchrnul.c: Add copyright header.
29434         * posix/tst-getaddrinfo4.c: Increase test timeout.
29436 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
29438         [BZ #15536]
29439         * math/libm-test.inc (MAX_EXP): Remove
29440         (MIN_EXP): Define.
29441         (ulp): Use MIN_EXP - MANT_DIG.
29442         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29444 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
29446         * po/be.po: Revert last change.
29447         * po/zh_CN.po: Likewise.
29448         * po/header.pot: Likewise.
29450 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
29452         * Makefile ($(common-objpfx)linkobj/libc.so): Define
29453         link-libc-deps to empty as target-specific variable.
29454         * Makerules (link-libc-args): New variable.
29455         (libc-for-link): Likewise.
29456         (link-libc-deps): Likewise.
29457         (lib%.so): Depend on $(link-libc-deps).  Link with
29458         $(link-libc-args).
29459         (build-module): Link with $(link-libc-args).
29460         (build-module-asneeded): Likewise.
29461         (build-module-helper-objlist): Filter out $(link-libc-deps) from
29462         list of objects.
29463         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29464         target-specific variable.
29465         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29466         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29467         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29468         libc.
29469         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29470         libc and ld.so.
29471         ($(objpfx)libpcprofile.so): Likewise.
29472         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29473         libc_nonshared.a.
29474         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29475         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29476         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29477         $(link-libc-deps).
29478         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29479         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29480         * login/Makefile ($(objpfx)libutil.so): Likewise.
29481         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29482         * math/Makefile ($(objpfx)libm.so): Likewise.
29483         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29484         $(objpfx)libnsl.so): Define libc-for-link as target-specific
29485         variable instead of depending directly on libc.
29486         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29487         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29488         $(link-libc-deps).
29489         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29490         libc.
29491         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29492         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29493         ($(objpfx)libanl.so): Likewise.
29494         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29495         ld.so.
29496         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29497         $(link-libc-deps).
29498         * sysdeps/i386/fpu/Makefile: Remove file.
29499         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29500         ($(objpfx)libm.so): Remove dependency on ld.so.
29502 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
29504         [BZ # 15553]
29505         * nis/yp_xdr.c (XDRMAXNAME): Define.
29506         (XDRMAXRECORD): Define.
29507         (xdr_domainname): Use XDRMAXNAME.
29508         (xdr_mapname): Likewise.
29509         (xdr_peername): Likewise.
29510         (xdr_keydat): Use XDRMAXRECORD.
29511         (xdr_valdat): Likewise.
29513 2013-05-30  Jeff Law  <law@redhat.com>
29515         [BZ #14256]
29516         * manual/errno.texi (ESTALE): Update to account for more than
29517         just NFS file systems.
29518         * sysdeps/gnu/errlist.c: Regenerated.
29520 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29522         [BZ #15465]
29523         * elf/Makefile (tests): Add tst-null-argv.
29524         (modules-names):  Add tst-null-argv-lib.
29525         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29526         (tst-null-argv-ENV): Set environment for tst-null-argv.
29527         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29528         (RTLD_PROGNAME): New macro.
29529         * elf/tst-null-argv.c: New test case.
29530         * elf/tst-null-argv-lib.c: Library for test case.
29531         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29532         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29533         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29534         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29535         * elf/dl-init.c (call_init): Likewise.
29536         (_dl_init): Likewise.
29537         * elf/dl-load.c (print_search_path): Likewise.
29538         (_dl_map_object): Likewise.
29539         * elf/dl-lookup.c (do_lookup_x): Likewise.
29540         (add_dependency): Likewise.
29541         (_dl_lookup_symbol_x): Likewise.
29542         (_dl_debug_bindings): Likewise.
29543         * elf/dl-open.c (_dl_show_scope): Likewise.
29544         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29545         * elf/dl-version.c (match_symbol): Likewise.
29546         (_dl_check_map_versions): Likewise.
29547         * elf/rtld.c (dl_main): Likewise.
29548         (print_unresolved): Use RTLD_PROGNAME.
29549         (print_missing_version): Likewise.
29550         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29551         (elf_machine_rela): Likewise.
29552         * sysdeps/powerpc/powerpc32/dl-machine.c
29553         (__process_machine_rela): Likewise.
29554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29555         Likewise.
29556         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29557         Likewise.
29558         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29559         Likewise.
29560         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29561         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29562         Likewise.
29563         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29564         Likewise.
29565         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29567 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
29569         * po/be.po: Add descriptive title.
29570         * po/zh_CN.po: Likewise.
29571         * po/header.pot: Likewise.
29573 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
29575         * locale/programs/locarchive.c (create_archive): Inlucde fname in
29576         error message.
29577         (enlarge_archive): Likewise.
29579 2013-05-28  Ben North  <ben@redfrontdoor.org>
29581         * manual/arith.texi (frexp): It is the magnitude of the return
29582         value which lies in [0.5, 1), not the return value itself.
29584 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29588 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
29590         * stdio-common/bug26.c (main): Correct fscanf template.
29592         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29593         declare _dl_skip_args.
29595         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29596         Don't declare.
29598         * manual/platform.texi: Add missing @end deftypefun.
29600 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29602         [BZ #15529]
29603         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29604         bit of mantissa of 2^16382.
29605         * math/libm-test.inc (hypot_test_data): Add more tests.
29607         * math/libm-test.inc: Add drem and pow10 to list of tested
29608         functions.
29609         (pow10_test): New function.
29610         (drem_test): Likewise.
29611         (drem_test_tonearest): Likewise.
29612         (drem_test_towardzero): Likewise.
29613         (drem_test_downward): Likewise.
29614         (drem_test_upward): Likewise.
29615         (main): Call the new functions.
29617         * math/libm-test.inc (finite_test_data): Remove.
29618         (finite_test): Run tests from isfinite_test_data.
29619         (gamma_test_data): Remove.
29620         (gamma_test): Run tests from lgamma_test_data.
29621         * sysdeps/i386/fpu/libm-test-ulps: Update.
29622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29624 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29626         * manual/platform.texi: Add PowerPC PPR function set documentation.
29627         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29628         implementation.
29630 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
29632         * math/libm-test.inc (MAX_EXP): Define.
29633         (ULPDIFF): Define.
29634         (ulp): New function.
29635         (check_float_internal): Use ULPDIFF.
29636         (cpow_test): Disable failing test.
29637         (check_ulp): Test ulp() implemetnation.
29638         (main): Call check_ulp before starting tests.
29640 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29642         * math/gen-libm-test.pl (generate_testfile): Do not handle
29643         START_DATA and END_DATA.
29644         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29645         END_DATA.
29646         (acos_tonearest_test_data): Likewise.
29647         (acos_towardzero_test_data): Likewise.
29648         (acos_downward_test_data): Likewise.
29649         (acos_upward_test_data): Likewise.
29650         (acosh_test_data): Likewise.
29651         (asin_test_data): Likewise.
29652         (asin_tonearest_test_data): Likewise.
29653         (asin_towardzero_test_data): Likewise.
29654         (asin_downward_test_data): Likewise.
29655         (asin_upward_test_data): Likewise.
29656         (asinh_test_data): Likewise.
29657         (atan_test_data): Likewise.
29658         (atanh_test_data): Likewise.
29659         (atan2_test_data): Likewise.
29660         (cabs_test_data): Likewise.
29661         (cacos_test_data): Likewise.
29662         (cacosh_test_data): Likewise.
29663         (carg_test_data): Likewise.
29664         (casin_test_data): Likewise.
29665         (casinh_test_data): Likewise.
29666         (catan_test_data): Likewise.
29667         (catanh_test_data): Likewise.
29668         (cbrt_test_data): Likewise.
29669         (ccos_test_data): Likewise.
29670         (ccosh_test_data): Likewise.
29671         (ceil_test_data): Likewise.
29672         (cexp_test_data): Likewise.
29673         (cimag_test_data): Likewise.
29674         (clog_test_data): Likewise.
29675         (clog10_test_data): Likewise.
29676         (conj_test_data): Likewise.
29677         (copysign_test_data): Likewise.
29678         (cos_test_data): Likewise.
29679         (cos_tonearest_test_data): Likewise.
29680         (cos_towardzero_test_data): Likewise.
29681         (cos_downward_test_data): Likewise.
29682         (cos_upward_test_data): Likewise.
29683         (cosh_test_data): Likewise.
29684         (cosh_tonearest_test_data): Likewise.
29685         (cosh_towardzero_test_data): Likewise.
29686         (cosh_downward_test_data): Likewise.
29687         (cosh_upward_test_data): Likewise.
29688         (cpow_test_data): Likewise.
29689         (cproj_test_data): Likewise.
29690         (creal_test_data): Likewise.
29691         (csin_test_data): Likewise.
29692         (csinh_test_data): Likewise.
29693         (csqrt_test_data): Likewise.
29694         (ctan_test_data): Likewise.
29695         (ctan_tonearest_test_data): Likewise.
29696         (ctan_towardzero_test_data): Likewise.
29697         (ctan_downward_test_data): Likewise.
29698         (ctan_upward_test_data): Likewise.
29699         (ctanh_test_data): Likewise.
29700         (ctanh_tonearest_test_data): Likewise.
29701         (ctanh_towardzero_test_data): Likewise.
29702         (ctanh_downward_test_data): Likewise.
29703         (ctanh_upward_test_data): Likewise.
29704         (erf_test_data): Likewise.
29705         (erfc_test_data): Likewise.
29706         (exp_test_data): Likewise.
29707         (exp_tonearest_test_data): Likewise.
29708         (exp_towardzero_test_data): Likewise.
29709         (exp_downward_test_data): Likewise.
29710         (exp_upward_test_data): Likewise.
29711         (exp10_test_data): Likewise.
29712         (exp2_test_data): Likewise.
29713         (expm1_test_data): Likewise.
29714         (fabs_test_data): Likewise.
29715         (fdim_test_data): Likewise.
29716         (finite_test_data): Likewise.
29717         (floor_test_data): Likewise.
29718         (fma_test_data): Likewise.
29719         (fma_towardzero_test_data): Likewise.
29720         (fma_downward_test_data): Likewise.
29721         (fma_upward_test_data): Likewise.
29722         (fmax_test_data): Likewise.
29723         (fmin_test_data): Likewise.
29724         (fmod_test_data): Likewise.
29725         (fpclassify_test_data): Likewise.
29726         (frexp_test_data): Likewise.
29727         (gamma_test_data): Likewise.
29728         (hypot_test_data): Likewise.
29729         (ilogb_test_data): Likewise.
29730         (isfinite_test_data): Likewise.
29731         (isgreater_test_data): Likewise.
29732         (isgreaterequal_test_data): Likewise.
29733         (isinf_test_data): Likewise.
29734         (isless_test_data): Likewise.
29735         (islessequal_test_data): Likewise.
29736         (islessgreater_test_data): Likewise.
29737         (isnan_test_data): Likewise.
29738         (isnormal_test_data): Likewise.
29739         (issignaling_test_data): Likewise.
29740         (isunordered_test_data): Likewise.
29741         (j0_test_data): Likewise.
29742         (j1_test_data): Likewise.
29743         (jn_test_data): Likewise.
29744         (ldexp_test_data): Likewise.
29745         (lgamma_test_data): Likewise.
29746         (lrint_test_data): Likewise.
29747         (lrint_tonearest_test_data): Likewise.
29748         (lrint_towardzero_test_data): Likewise.
29749         (lrint_downward_test_data): Likewise.
29750         (lrint_upward_test_data): Likewise.
29751         (llrint_test_data): Likewise.
29752         (llrint_tonearest_test_data): Likewise.
29753         (llrint_towardzero_test_data): Likewise.
29754         (llrint_downward_test_data): Likewise.
29755         (llrint_upward_test_data): Likewise.
29756         (log_test_data): Likewise.
29757         (log10_test_data): Likewise.
29758         (log1p_test_data): Likewise.
29759         (log2_test_data): Likewise.
29760         (logb_test_data): Likewise.
29761         (logb_downward_test_data): Likewise.
29762         (lround_test_data): Likewise.
29763         (llround_test_data): Likewise.
29764         (modf_test_data): Likewise.
29765         (nearbyint_test_data): Likewise.
29766         (nextafter_test_data): Likewise.
29767         (nexttoward_test_data): Likewise.
29768         (pow_test_data): Likewise.
29769         (pow_tonearest_test_data): Likewise.
29770         (pow_towardzero_test_data): Likewise.
29771         (pow_downward_test_data): Likewise.
29772         (pow_upward_test_data): Likewise.
29773         (remainder_test_data): Likewise.
29774         (remainder_tonearest_test_data): Likewise.
29775         (remainder_towardzero_test_data): Likewise.
29776         (remainder_downward_test_data): Likewise.
29777         (remainder_upward_test_data): Likewise.
29778         (remquo_test_data): Likewise.
29779         (rint_test_data): Likewise.
29780         (rint_tonearest_test_data): Likewise.
29781         (rint_towardzero_test_data): Likewise.
29782         (rint_downward_test_data): Likewise.
29783         (rint_upward_test_data): Likewise.
29784         (round_test_data): Likewise.
29785         (scalb_test_data): Likewise.
29786         (scalbn_test_data): Likewise.
29787         (scalbln_test_data): Likewise.
29788         (signbit_test_data): Likewise.
29789         (sin_test_data): Likewise.
29790         (sin_tonearest_test_data): Likewise.
29791         (sin_towardzero_test_data): Likewise.
29792         (sin_downward_test_data): Likewise.
29793         (sin_upward_test_data): Likewise.
29794         (sincos_test_data): Likewise.
29795         (sinh_test_data): Likewise.
29796         (sinh_tonearest_test_data): Likewise.
29797         (sinh_towardzero_test_data): Likewise.
29798         (sinh_downward_test_data): Likewise.
29799         (sinh_upward_test_data): Likewise.
29800         (sqrt_test_data): Likewise.
29801         (tan_test_data): Likewise.
29802         (tan_tonearest_test_data): Likewise.
29803         (tan_towardzero_test_data): Likewise.
29804         (tan_downward_test_data): Likewise.
29805         (tan_upward_test_data): Likewise.
29806         (tanh_test_data): Likewise.
29807         (tgamma_test_data): Likewise.
29808         (trunc_test_data): Likewise.
29809         (y0_test_data): Likewise.
29810         (y1_test_data): Likewise.
29811         (yn_test_data): Likewise.
29812         (significand_test_data): Likewise.
29814         * math/gen-libm-test.pl (@functions): Remove variable.
29815         (generate_testfile): Don't handle START and END lines.
29816         * math/libm-test.inc (START): New macro.
29817         (END): Likewise.
29818         (END_COMPLEX): Likewise.
29819         (acos_test): Use END macro without arguments.
29820         (acos_test_tonearest): Likewise.
29821         (acos_test_towardzero): Likewise.
29822         (acos_test_downward): Likewise.
29823         (acos_test_upward): Likewise.
29824         (acosh_test): Likewise.
29825         (asin_test): Likewise.
29826         (asin_test_tonearest): Likewise.
29827         (asin_test_towardzero): Likewise.
29828         (asin_test_downward): Likewise.
29829         (asin_test_upward): Likewise.
29830         (asinh_test): Likewise.
29831         (atan_test): Likewise.
29832         (atanh_test): Likewise.
29833         (atan2_test): Likewise.
29834         (cabs_test): Likewise.
29835         (cacos_test): Use END_COMPLEX macro without arguments.
29836         (cacosh_test): Likewise.
29837         (carg_test): Use END macro without arguments.
29838         (casin_test): Use END_COMPLEX macro without arguments.
29839         (casinh_test): Likewise.
29840         (catan_test): Likewise.
29841         (catanh_test): Likewise.
29842         (cbrt_test): Use END macro without arguments.
29843         (ccos_test): Use END_COMPLEX macro without arguments.
29844         (ccosh_test): Likewise.
29845         (ceil_test): Use END macro without arguments.
29846         (cexp_test): Use END_COMPLEX macro without arguments.
29847         (cimag_test): Use END macro without arguments.
29848         (clog_test): Use END_COMPLEX macro without arguments.
29849         (clog10_test): Likewise.
29850         (conj_test): Likewise.
29851         (copysign_test): Use END macro without arguments.
29852         (cos_test): Likewise.
29853         (cos_test_tonearest): Likewise.
29854         (cos_test_towardzero): Likewise.
29855         (cos_test_downward): Likewise.
29856         (cos_test_upward): Likewise.
29857         (cosh_test): Likewise.
29858         (cosh_test_tonearest): Likewise.
29859         (cosh_test_towardzero): Likewise.
29860         (cosh_test_downward): Likewise.
29861         (cosh_test_upward): Likewise.
29862         (cpow_test): Use END_COMPLEX macro without arguments.
29863         (cproj_test): Likewise.
29864         (creal_test): Use END macro without arguments.
29865         (csin_test): Use END_COMPLEX macro without arguments.
29866         (csinh_test): Likewise.
29867         (csqrt_test): Likewise.
29868         (ctan_test): Likewise.
29869         (ctan_test_tonearest): Likewise.
29870         (ctan_test_towardzero): Likewise.
29871         (ctan_test_downward): Likewise.
29872         (ctan_test_upward): Likewise.
29873         (ctanh_test): Likewise.
29874         (ctanh_test_tonearest): Likewise.
29875         (ctanh_test_towardzero): Likewise.
29876         (ctanh_test_downward): Likewise.
29877         (ctanh_test_upward): Likewise.
29878         (erf_test): Use END macro without arguments.
29879         (erfc_test): Likewise.
29880         (exp_test): Likewise.
29881         (exp_test_tonearest): Likewise.
29882         (exp_test_towardzero): Likewise.
29883         (exp_test_downward): Likewise.
29884         (exp_test_upward): Likewise.
29885         (exp10_test): Likewise.
29886         (exp2_test): Likewise.
29887         (expm1_test): Likewise.
29888         (fabs_test): Likewise.
29889         (fdim_test): Likewise.
29890         (finite_test): Likewise.
29891         (floor_test): Likewise.
29892         (fma_test): Likewise.
29893         (fma_test_towardzero): Likewise.
29894         (fma_test_downward): Likewise.
29895         (fma_test_upward): Likewise.
29896         (fmax_test): Likewise.
29897         (fmin_test): Likewise.
29898         (fmod_test): Likewise.
29899         (fpclassify_test): Likewise.
29900         (frexp_test): Likewise.
29901         (gamma_test): Likewise.
29902         (hypot_test): Likewise.
29903         (ilogb_test): Likewise.
29904         (isfinite_test): Likewise.
29905         (isgreater_test): Likewise.
29906         (isgreaterequal_test): Likewise.
29907         (isinf_test): Likewise.
29908         (isless_test): Likewise.
29909         (islessequal_test): Likewise.
29910         (islessgreater_test): Likewise.
29911         (isnan_test): Likewise.
29912         (isnormal_test): Likewise.
29913         (issignaling_test): Likewise.
29914         (isunordered_test): Likewise.
29915         (j0_test): Likewise.
29916         (j1_test): Likewise.
29917         (jn_test): Likewise.
29918         (ldexp_test): Likewise.
29919         (lgamma_test): Likewise.
29920         (lrint_test): Likewise.
29921         (lrint_test_tonearest): Likewise.
29922         (lrint_test_towardzero): Likewise.
29923         (lrint_test_downward): Likewise.
29924         (lrint_test_upward): Likewise.
29925         (llrint_test): Likewise.
29926         (llrint_test_tonearest): Likewise.
29927         (llrint_test_towardzero): Likewise.
29928         (llrint_test_downward): Likewise.
29929         (llrint_test_upward): Likewise.
29930         (log_test): Likewise.
29931         (log10_test): Likewise.
29932         (log1p_test): Likewise.
29933         (log2_test): Likewise.
29934         (logb_test): Likewise.
29935         (logb_test_downward): Likewise.
29936         (lround_test): Likewise.
29937         (llround_test): Likewise.
29938         (modf_test): Likewise.
29939         (nearbyint_test): Likewise.
29940         (nextafter_test): Likewise.
29941         (nexttoward_test): Likewise.
29942         (pow_test): Likewise.
29943         (pow_test_tonearest): Likewise.
29944         (pow_test_towardzero): Likewise.
29945         (pow_test_downward): Likewise.
29946         (pow_test_upward): Likewise.
29947         (remainder_test): Likewise.
29948         (remainder_test_tonearest): Likewise.
29949         (remainder_test_towardzero): Likewise.
29950         (remainder_test_downward): Likewise.
29951         (remainder_test_upward): Likewise.
29952         (remquo_test): Likewise.
29953         (rint_test): Likewise.
29954         (rint_test_tonearest): Likewise.
29955         (rint_test_towardzero): Likewise.
29956         (rint_test_downward): Likewise.
29957         (rint_test_upward): Likewise.
29958         (round_test): Likewise.
29959         (scalb_test): Likewise.
29960         (scalbn_test): Likewise.
29961         (scalbln_test): Likewise.
29962         (signbit_test): Likewise.
29963         (sin_test): Likewise.
29964         (sin_test_tonearest): Likewise.
29965         (sin_test_towardzero): Likewise.
29966         (sin_test_downward): Likewise.
29967         (sin_test_upward): Likewise.
29968         (sincos_test): Likewise.
29969         (sinh_test): Likewise.
29970         (sinh_test_tonearest): Likewise.
29971         (sinh_test_towardzero): Likewise.
29972         (sinh_test_downward): Likewise.
29973         (sinh_test_upward): Likewise.
29974         (sqrt_test): Likewise.
29975         (tan_test): Likewise.
29976         (tan_test_tonearest): Likewise.
29977         (tan_test_towardzero): Likewise.
29978         (tan_test_downward): Likewise.
29979         (tan_test_upward): Likewise.
29980         (tanh_test): Likewise.
29981         (tgamma_test): Likewise.
29982         (trunc_test): Likewise.
29983         (y0_test): Likewise.
29984         (y1_test): Likewise.
29985         (yn_test): Likewise.
29986         (significand_test): Likewise.
29988 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
29990         [BZ #15381]
29991         * libio/genops.c (_IO_no_init): Initialize wide struct info.
29993 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29995         [BZ #14894]
29996         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29997         __ppc_mdoio and __ppc_mdoom.
29998         * manual/platform.texi: Document new functions __ppc_yield,
29999         __ppc_mdoio and __ppc_mdoom.
30001 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30003         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30004         (main): Mention "tls" pseudo-hwcap is legacy.
30005         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30007 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30009         * math/gen-libm-test.pl (parse_args): Output only string of
30010         arguments as text for test name, not full call or descriptions of
30011         tests for extra outputs.
30012         (generate_testfile): Do not pass function name to parse_args.
30013         Generate this_func variable from START.
30014         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30015         field to arg_str.
30016         (struct test_ff_f_data): Likewise.
30017         (test_ff_f_data_nexttoward): Likewise.
30018         (struct test_fi_f_data): Likewise.
30019         (struct test_fl_f_data): Likewise.
30020         (struct test_if_f_data): Likewise.
30021         (struct test_fff_f_data): Likewise.
30022         (struct test_c_f_data): Likewise.
30023         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30024         (struct test_fF_f1_data): Likewise.
30025         (struct test_ffI_f1_data): Likewise.
30026         (struct test_c_c_data): Rename test_name field to arg_str.
30027         (struct test_cc_c_data): Likewise.
30028         (struct test_f_i_data): Likewise.
30029         (struct test_ff_i_data): Likewise.
30030         (struct test_f_l_data): Likewise.
30031         (struct test_f_L_data): Likewise.
30032         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30033         and extra2_name.
30034         (COMMON_TEST_SETUP): New macro.
30035         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30036         (COMMON_TEST_CLEANUP): Likewise.
30037         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30038         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30039         macros.
30040         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30041         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30042         macros.
30043         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30044         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30045         cleanup macros.
30046         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30047         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30048         macros.
30049         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30050         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30051         macros.
30052         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30053         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30054         cleanup macros.
30055         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30056         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30057         cleanup macros.
30058         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30059         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30060         cleanup macros.
30061         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30062         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30063         macros.
30064         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30065         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30066         macros.
30067         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30068         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
30069         macros.
30070         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30071         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
30072         cleanup macros.
30073         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30074         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
30075         cleanup macros.
30076         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30077         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
30078         macros.
30079         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30080         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
30081         cleanup macros.
30082         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30083         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
30084         macros.
30085         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30086         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
30087         macros.
30088         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30089         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
30090         cleanup macros.
30091         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30093 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
30095         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30096         to _sifields.sigfault.
30097         (si_addr_lsb): Define new macro.
30098         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30099         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30100         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30102 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
30104         [BZ #15441]
30105         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30106         returns -1.
30107         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30108         null return -1.
30109         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30110         loading the domain.
30112 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30114         * math/gen-libm-test.pl (parse_args): Do not include expected
30115         result in test name.
30116         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30117         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30118         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30119         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30120         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30123 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30125         * benchtests/Makefile: Sort function entries.
30127         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30128         tanh, asinh, acosh, atanh.
30129         * benchtests/acos-inputs: New file.
30130         * benchtests/acosh-inputs: New file.
30131         * benchtests/asin-inputs: New file.
30132         * benchtests/asinh-inputs: New file.
30133         * benchtests/atanh-inputs: New file.
30134         * benchtests/cosh-inputs: New file.
30135         * benchtests/log-inputs: New file.
30136         * benchtests/sinh-inputs: New file.
30137         * benchtests/tanh-inputs: New file.
30139 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
30141         [BZ #15339]
30142         * posix/tst-getaddrinfo4.c: New test.
30143         * posix/Makefile (tests): Add it.
30145 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30147         [BZ #15339]
30148         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30149         when no services were used.
30150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30151         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30153 2013-05-21  Andreas Schwab  <schwab@suse.de>
30155         [BZ #15014]
30156         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30157         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30158         successful.
30159         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30160         redundant variable declarations and reallocation of buffer when
30161         parsing as IPv6 address.  Always set NSS status when called from
30162         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
30163         buffer too small.  Correct computation of needed size.
30164         * nss/Makefile (tests): Add test-digits-dots.
30165         * nss/test-digits-dots.c: New test.
30167 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30169         * benchtests/Makefile: Remove instructions for adding
30170         benchmark tests.
30171         * benchtests/README: New file to explain how to execute and
30172         enhance the benchmark tests.
30174 2013-05-21  Andreas Schwab  <schwab@suse.de>
30176         [BZ #15493]
30177         * setjmp/Makefile (tests): Add tst-sigsetjmp.
30178         * setjmp/tst-sigsetjmp.c: New test.
30180 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30182         * sysdeps/x86_64/memset.S (memset): New implementation.
30183         (__bzero): Likewise.
30184         (__memset_tail): New function.
30186 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30188         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30189         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30190         __memcpy_sse2_unaligned ifunc selection.
30191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30192         Add memcpy-sse2-unaligned.S.
30193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30194         Add: __memcpy_sse2_unaligned.
30196 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
30198         [BZ #15490]
30199         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30200         math_force_eval before restoring floating-point envrionment.
30201         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30203         Likewise.
30204         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30205         <math_private.h>.
30206         (__nearbyintl): Use math_force_eval before restoring
30207         floating-point environment.
30208         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30210         * math/gen-libm-test.pl (special_functions): Remove.
30211         (parse_args): Don't handle TEST_extra.  Handle functions with no
30212         return value.
30213         * math/libm-test.inc (struct test_sincos_data): Replace with
30214         struct test_fFF_11_data.
30215         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30216         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30217         (sincos_test_data): Change element type to struct
30218         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
30219         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30220         RUN_TEST_LOOP_sincos.
30221         * math/README.libm-test: Don't mention special handling of
30222         individual functions.
30223         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30224         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30225         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30226         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30227         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30230         * math/gen-libm-test.pl (get_variable): Remove function.
30231         (parse_args): Don't show pointer parameters to call in test
30232         names.  Use "extra output N" in test names for extra outputs
30233         rather than naming variables.
30235 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
30237         [BZ #15488]
30238         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30239         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30240         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30241         double tests.
30242         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30243         disable.
30244         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30245         check_long_double.
30247         * math/gen-libm-test.pl (@tests): Remove variable.
30248         ($count): Likewise.
30249         (new_test): Remove function.
30250         (show_exceptions): New function.
30251         (special_functions): Use show_exceptions instead of new_test.
30252         (parse_args): Likewise.
30253         (generate_testfile): Pass only function name in generated call to
30254         print_max_error or print_complex_max_error.
30255         (get_ulps): Do not handle complex tests specially.
30256         (output_test): Rename to ...
30257         (get_all_ulps_for_test): ... this.  Return a string rather than
30258         printing to a file.  Require ulps to be present.
30259         (output_ulps): Generate arrays rather than #defines.
30260         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30261         (struct ulp_data): New type.
30262         (BUILD_COMPLEX_ULP): Remove macro.
30263         (compare_ulp_data): New function.
30264         (find_ulps): Likewise.
30265         (find_test_ulps): Likewise.
30266         (find_function_ulps): Likewise.
30267         (find_complex_function_ulps): Likewise.
30268         (print_max_error): Determine allowed ulps using
30269         find_function_ulps.
30270         (print_complex_max_error): Determine allowed ulps using
30271         find_complex_function_ulps.
30272         (check_float_internal): Determine max ulps using find_test_ulps.
30273         (check_float): Do not take max_ulp parameter.  Update call to
30274         check_float_internal.
30275         (check_complex): Likewise.
30276         (check_int): Do not take max_ulp parameter.
30277         (check_long): Likewise.
30278         (check_bool): Likewise.
30279         (check_longlong): Likewise.
30280         (struct test_f_f_data): Remove max_ulp field.
30281         (struct test_ff_f_data): Likewise.
30282         (struct test_ff_f_data_nexttoward): Likewise.
30283         (struct test_fi_f_data): Likewise.
30284         (struct test_fl_f_data): Likewise.
30285         (struct test_if_f_data): Likewise.
30286         (struct test_fff_f_data): Likewise.
30287         (struct test_c_f_data): Likewise.
30288         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30289         (struct test_fF_f1_data): Likewise.
30290         (struct test_ffI_f1_data): Likewise.
30291         (struct test_c_c_data): Remove max_ulp field.
30292         (struct test_cc_c_data): Likewise.
30293         (struct test_f_i_data): Likewise.
30294         (struct test_ff_i_data): Likewise.
30295         (struct test_f_l_data): Likewise.
30296         (struct test_f_L_data): Likewise.
30297         (struct test_sincos_data): Likewise.
30298         (RUN_TEST_f_f): Do not handle ulps.
30299         (RUN_TEST_LOOP_f_f): Likewise.
30300         (RUN_TEST_2_f): Likewise.
30301         (RUN_TEST_LOOP_2_f): Likewise.
30302         (RUN_TEST_fff_f): Likewise.
30303         (RUN_TEST_LOOP_fff_f): Likewise.
30304         (RUN_TEST_c_f): Likewise.
30305         (RUN_TEST_LOOP_c_f): Likewise.
30306         (RUN_TEST_f_f1): Likewise.
30307         (RUN_TEST_LOOP_f_f1): Likewise.
30308         (RUN_TEST_fF_f1): Likewise.
30309         (RUN_TEST_LOOP_fF_f1): Likewise.
30310         (RUN_TEST_fI_f1): Likewise.
30311         (RUN_TEST_LOOP_fI_f1): Likewise.
30312         (RUN_TEST_ffI_f1): Likewise.
30313         (RUN_TEST_LOOP_ffI_f1): Likewise.
30314         (RUN_TEST_c_c): Likewise.
30315         (RUN_TEST_LOOP_c_c): Likewise.
30316         (RUN_TEST_cc_c): Likewise.
30317         (RUN_TEST_LOOP_cc_c): Likewise.
30318         (RUN_TEST_f_i): Likewise.
30319         (RUN_TEST_LOOP_f_i): Likewise.
30320         (RUN_TEST_f_i_tg): Likewise.
30321         (RUN_TEST_LOOP_f_i_tg): Likewise.
30322         (RUN_TEST_ff_i_tg): Likewise.
30323         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30324         (RUN_TEST_f_b): Likewise.
30325         (RUN_TEST_LOOP_f_b): Likewise.
30326         (RUN_TEST_f_b_tg): Likewise.
30327         (RUN_TEST_LOOP_f_b_tg): Likewise.
30328         (RUN_TEST_f_l): Likewise.
30329         (RUN_TEST_LOOP_f_l): Likewise.
30330         (RUN_TEST_f_L): Likewise.
30331         (RUN_TEST_LOOP_f_L): Likewise.
30332         (RUN_TEST_sincos): Likewise.
30333         (RUN_TEST_LOOP_sincos): Likewise.
30335 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
30337         [BZ #15480]
30338         [BZ #15485]
30339         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30340         main case of finite arguments, set rounding mode to FE_TONEAREST
30341         and discard exceptions.
30342         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30343         exceptions.
30344         (remainder_tonearest_test_data): New variable.
30345         (remainder_test_tonearest): New function.
30346         (remainder_towardzero_test_data): New variable.
30347         (remainder_test_towardzero): New function.
30348         (remainder_downward_test_data): New variable.
30349         (remainder_test_downward): New function.
30350         (remainder_upward_test_data): New variable.
30351         (remainder_test_upward): New function.
30352         (main): Call the new test functions.
30354         * math/libm-test.inc (struct test_f_f1_data): Remove field
30355         extra_init.
30356         (struct test_fF_f1_data): Likewise.
30357         (struct test_ffI_f1_data): Likewise.
30358         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
30359         based on value of EXTRA_EXPECTED.
30360         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30361         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
30362         EXTRA_VAR based on value of EXTRA_EXPECTED.
30363         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30364         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
30365         EXTRA_VAR based on value of EXTRA_EXPECTED.
30366         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30367         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
30368         EXTRA_VAR based on value of EXTRA_EXPECTED.
30369         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30370         * math/gen-libm-test.pl (parse_args): Don't output initializers
30371         for extra output values.
30373         * math/libm-test.inc (check_int): Expect result to be exactly
30374         equal to expected value and do not handle ulps.
30375         (check_long): Likewise.
30376         (check_longlong): Likewise.
30378         * math/libm-test.inc (ceil_test_data): Test for "inexact"
30379         exceptions.
30380         (cimag_test_data): Likewise.
30381         (conj_test_data): Likewise.
30382         (copysign_test_data): Likewise.
30383         (cproj_test_data): Likewise.
30384         (creal_test_data): Likewise.
30385         (fabs_test_data): Likewise.
30386         (fdim_test_data): Likewise.
30387         (finite_test_data): Likewise.
30388         (floor_test_data): Likewise.
30389         (fmax_test_data): Likewise.
30390         (fmin_test_data): Likewise.
30391         (fmod_test_data): Likewise.
30392         (fpclassify_test_data): Likewise.
30393         (frexp_test_data): Likewise.
30394         (ilogb_test_data): Likewise.
30395         (isfinite_test_data): Likewise.
30396         (isgreater_test_data): Likewise.
30397         (isgreaterequal_test_data): Likewise.
30398         (isinf_test_data): Likewise.
30399         (isless_test_data): Likewise.
30400         (islessequal_test_data): Likewise.
30401         (islessgreater_test_data): Likewise.
30402         (isnan_test_data): Likewise.
30403         (isnormal_test_data): Likewise.
30404         (issignaling_test_data): Likewise.
30405         (isunordered_test_data): Likewise.
30406         (ldexp_test_data): Likewise.
30407         (lrint_test_data): Likewise.
30408         (lrint_test_data) [TEST_FLOAT]: Disable one test.
30409         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30410         (lrint_tonearest_test_data): Test for "inexact" exceptions.
30411         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30412         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30413         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30414         test input.
30415         (lrint_towardzero_test_data): Test for "inexact" exceptions.
30416         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30417         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30418         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30419         that test input.
30420         (lrint_downward_test_data): Test for "inexact" exceptions.
30421         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30422         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30423         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30424         test input.
30425         (lrint_upward_test_data): Test for "inexact" exceptions.
30426         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30427         test input.
30428         (llrint_test_data): Test for "inexact" exceptions.
30429         (llrint_test_data) [TEST_FLOAT]: Disable one test.
30430         (llrint_tonearest_test_data): Test for "inexact" exceptions.
30431         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30432         (llrint_towardzero_test_data): Test for "inexact" exceptions.
30433         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30434         (llrint_downward_test_data): Test for "inexact" exceptions.
30435         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30436         (llrint_upward_test_data): Test for "inexact" exceptions.
30437         (logb_test_data): Likewise.
30438         (logb_downward_test_data): Likewise.
30439         (nextafter_test_data): Likewise.
30440         (nexttoward_test_data): Likewise.
30441         (remainder_test_data): Likewise.
30442         (remquo_test_data): Likewise.
30443         (scalbn_test_data): Likewise.
30444         (scalbln_test_data): Likewise.
30445         (signbit_test_data): Likewise.
30446         (sqrt_test_data): Likewise.
30447         (significand_test_data): Likewise.
30449 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30451         [BZ #15424]
30452         * benchtests/bench-modf.c (struct args): Mark arg0 as
30453         volatile.
30454         * scripts/bench.pl: Mark members of struct args as volatile.
30456 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30458         [BZ # 15497]
30459         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30460         negative infinity on POWER6 or lower.
30461         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30463 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30465         [BZ #15442]
30466         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30467         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30468         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30469         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30470         (_FP_SETQNAN): New macro.
30471         (_FP_SETQNAN_SEMIRAW): Likewise.
30472         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30473         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30474         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30475         (FP_EXTEND): Use _FP_FRAC_SNANP.
30476         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30477         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30478         into account.
30479         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30480         New macro.
30481         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30482         Likewise.
30484 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30486         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30487         with DIVIDE_BY_ZERO_EXCEPTION.
30488         (gamma_test_data): Likewise.
30489         (lgamma_test_data): Likewise.
30490         (log_test_data): Likewise.
30491         (log10_test_data): Likewise.
30492         (log2_test_data): Likewise.
30493         (tgamma_test_data): Likewise.
30495         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30496         (acos_test_tonearest): Likewise.
30497         (acos_test_towardzero): Likewise.
30498         (acos_test_downward): Likewise.
30499         (acos_test_upward): Likewise.
30500         (acosh_test): Likewise.
30501         (asin_test): Likewise.
30502         (asin_test_tonearest): Likewise.
30503         (asin_test_towardzero): Likewise.
30504         (asin_test_downward): Likewise.
30505         (asin_test_upward): Likewise.
30506         (asinh_test): Likewise.
30507         (atan_test): Likewise.
30508         (atanh_test): Likewise.
30509         (atan2_test): Likewise.
30510         (cabs_test): Likewise.
30511         (cacos_test): Likewise.
30512         (cacosh_test): Likewise.
30513         (casin_test): Likewise.
30514         (casinh_test): Likewise.
30515         (catan_test): Likewise.
30516         (catanh_test): Likewise.
30517         (cbrt_test): Likewise.
30518         (ccos_test): Likewise.
30519         (ccosh_test): Likewise.
30520         (cexp_test): Likewise.
30521         (clog_test): Likewise.
30522         (clog10_test): Likewise.
30523         (cos_test): Likewise.
30524         (cos_test_tonearest): Likewise.
30525         (cos_test_towardzero): Likewise.
30526         (cos_test_downward): Likewise.
30527         (cos_test_upward): Likewise.
30528         (cosh_test): Likewise.
30529         (cosh_test_tonearest): Likewise.
30530         (cosh_test_towardzero): Likewise.
30531         (cosh_test_downward): Likewise.
30532         (cosh_test_upward): Likewise.
30533         (cpow_test): Likewise.
30534         (csin_test): Likewise.
30535         (csinh_test): Likewise.
30536         (csqrt_test): Likewise.
30537         (ctan_test): Likewise.
30538         (ctan_test_tonearest): Likewise.
30539         (ctan_test_towardzero): Likewise.
30540         (ctan_test_downward): Likewise.
30541         (ctan_test_upward): Likewise.
30542         (ctanh_test): Likewise.
30543         (ctanh_test_tonearest): Likewise.
30544         (ctanh_test_towardzero): Likewise.
30545         (ctanh_test_downward): Likewise.
30546         (ctanh_test_upward): Likewise.
30547         (erf_test): Likewise.
30548         (erfc_test): Likewise.
30549         (exp_test): Likewise.
30550         (exp_test_tonearest): Likewise.
30551         (exp_test_towardzero): Likewise.
30552         (exp_test_downward): Likewise.
30553         (exp_test_upward): Likewise.
30554         (exp10_test): Likewise.
30555         (exp2_test): Likewise.
30556         (expm1_test): Likewise.
30557         (fmod_test): Likewise.
30558         (gamma_test): Likewise.
30559         (hypot_test): Likewise.
30560         (j0_test): Likewise.
30561         (j1_test): Likewise.
30562         (jn_test): Likewise.
30563         (lgamma_test): Likewise.
30564         (log_test): Likewise.
30565         (log10_test): Likewise.
30566         (log1p_test): Likewise.
30567         (log2_test): Likewise.
30568         (logb_test_downward): Likewise.
30569         (pow_test): Likewise.
30570         (pow_test_tonearest): Likewise.
30571         (pow_test_towardzero): Likewise.
30572         (pow_test_downward): Likewise.
30573         (pow_test_upward): Likewise.
30574         (remainder_test): Likewise.
30575         (remquo_test): Likewise.
30576         (sin_test): Likewise.
30577         (sin_test_tonearest): Likewise.
30578         (sin_test_towardzero): Likewise.
30579         (sin_test_downward): Likewise.
30580         (sin_test_upward): Likewise.
30581         (sincos_test): Likewise.
30582         (sinh_test): Likewise.
30583         (sinh_test_tonearest): Likewise.
30584         (sinh_test_towardzero): Likewise.
30585         (sinh_test_downward): Likewise.
30586         (sinh_test_upward): Likewise.
30587         (sqrt_test): Likewise.
30588         (tan_test): Likewise.
30589         (tan_test_tonearest): Likewise.
30590         (tan_test_towardzero): Likewise.
30591         (tan_test_downward): Likewise.
30592         (tan_test_upward): Likewise.
30593         (tanh_test): Likewise.
30594         (tgamma_test): Likewise.
30595         (y0_test): Likewise.
30596         (y1_test): Likewise.
30597         (yn_test): Likewise.
30599         * math/gen-libm-test.pl (adjust_arg): Remove function.
30600         (special_function): Remove argument $in_func.  Only handle
30601         generating output for tables of tests, not inside functions.
30602         (parse_args): Likewise.
30603         (generate_testfile): Remove variable $in_func.  Update call to
30604         parse_args.
30605         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30606         (MINUS_ZERO_INIT): Rename macro to minus_zero.
30607         (PLUS_INFTY_INIT): Rename macro to plus_infty.
30608         (MINUS_INFTY_INIT): Rename macro to minus_infty.
30609         (QNAN_VALUE_INIT): Rename macro to qnan_value.
30610         (MAX_VALUE_INIT): Rename macro to max_value.
30611         (MIN_VALUE_INIT): Rename macro to min_value.
30612         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30613         (plus_zero): Remove variable.
30614         (minus_zero): Likewise.
30615         (plus_infty): Likewise.
30616         (minus_infty): Likewise.
30617         (qnan_value): Likewise.
30618         (max_value): Likewise.
30619         (min_value): Likewise.
30620         (min_subnorm_value): Likewise.
30622 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30624         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30625         uint64_t or uint32_t usage.
30626         * crypt/sha256-block.c: Likewise.
30627         * crypt/sha256-crypt.c: Likewise.
30628         * crypt/sha256.c: Likewise.
30629         * crypt/sha512-block.c: Likewise.
30630         * crypt/sha512-crypt.c: Likewise.
30631         * crypt/sha512.c: Likewise.
30632         * debug/backtrace-tst.c: Likewise.
30633         * debug/pcprofiledump.c: Likewise.
30634         * elf/cache.c: Likewise.
30635         * elf/dl-cache.c: Likewise.
30636         * elf/dl-misc.c: Likewise.
30637         * elf/dl-profile.c: Likewise.
30638         * elf/dl-support.c: Likewise.
30639         * elf/ldconfig.c: Likewise.
30640         * elf/sprof.c: Likewise.
30641         * iconv/dummy-repertoire.c: Likewise.
30642         * iconv/iconv_charmap.c: Likewise.
30643         * iconv/skeleton.c: Likewise.
30644         * iconvdata/8bit-generic.c: Likewise.
30645         * iconvdata/cp737.h: Likewise.
30646         * iconvdata/cp775.h: Likewise.
30647         * iconvdata/ibm1008.h: Likewise.
30648         * iconvdata/ibm1025.h: Likewise.
30649         * iconvdata/ibm1046.h: Likewise.
30650         * iconvdata/ibm1097.h: Likewise.
30651         * iconvdata/ibm1112.h: Likewise.
30652         * iconvdata/ibm1122.h: Likewise.
30653         * iconvdata/ibm1123.h: Likewise.
30654         * iconvdata/ibm1124.h: Likewise.
30655         * iconvdata/ibm1129.h: Likewise.
30656         * iconvdata/ibm1130.h: Likewise.
30657         * iconvdata/ibm1132.h: Likewise.
30658         * iconvdata/ibm1133.h: Likewise.
30659         * iconvdata/ibm1137.h: Likewise.
30660         * iconvdata/ibm1140.h: Likewise.
30661         * iconvdata/ibm1141.h: Likewise.
30662         * iconvdata/ibm1142.h: Likewise.
30663         * iconvdata/ibm1143.h: Likewise.
30664         * iconvdata/ibm1144.h: Likewise.
30665         * iconvdata/ibm1145.h: Likewise.
30666         * iconvdata/ibm1146.h: Likewise.
30667         * iconvdata/ibm1147.h: Likewise.
30668         * iconvdata/ibm1148.h: Likewise.
30669         * iconvdata/ibm1149.h: Likewise.
30670         * iconvdata/ibm1153.h: Likewise.
30671         * iconvdata/ibm1154.h: Likewise.
30672         * iconvdata/ibm1155.h: Likewise.
30673         * iconvdata/ibm1156.h: Likewise.
30674         * iconvdata/ibm1157.h: Likewise.
30675         * iconvdata/ibm1158.h: Likewise.
30676         * iconvdata/ibm1160.h: Likewise.
30677         * iconvdata/ibm1161.h: Likewise.
30678         * iconvdata/ibm1162.h: Likewise.
30679         * iconvdata/ibm1163.h: Likewise.
30680         * iconvdata/ibm1164.h: Likewise.
30681         * iconvdata/ibm1166.h: Likewise.
30682         * iconvdata/ibm1167.h: Likewise.
30683         * iconvdata/ibm12712.h: Likewise.
30684         * iconvdata/ibm1390.h: Likewise.
30685         * iconvdata/ibm1399.h: Likewise.
30686         * iconvdata/ibm16804.h: Likewise.
30687         * iconvdata/ibm4517.h: Likewise.
30688         * iconvdata/ibm4899.h: Likewise.
30689         * iconvdata/ibm4909.h: Likewise.
30690         * iconvdata/ibm4971.h: Likewise.
30691         * iconvdata/ibm5347.h: Likewise.
30692         * iconvdata/ibm803.h: Likewise.
30693         * iconvdata/ibm856.h: Likewise.
30694         * iconvdata/ibm901.h: Likewise.
30695         * iconvdata/ibm902.h: Likewise.
30696         * iconvdata/ibm9030.h: Likewise.
30697         * iconvdata/ibm9066.h: Likewise.
30698         * iconvdata/ibm921.h: Likewise.
30699         * iconvdata/ibm922.h: Likewise.
30700         * iconvdata/ibm9448.h: Likewise.
30701         * iconvdata/isiri-3342.h: Likewise.
30702         * iconvdata/jis0201.h: Likewise.
30703         * include/link.h: Likewise.
30704         * include/netdb.h: Likewise.
30705         * inet/check_native.c: Likewise.
30706         * inet/check_pf.c: Likewise.
30707         * inet/getipv4sourcefilter.c: Likewise.
30708         * inet/getnameinfo.c: Likewise.
30709         * inet/getsourcefilter.c: Likewise.
30710         * inet/htonl.c: Likewise.
30711         * inet/setipv4sourcefilter.c: Likewise.
30712         * inet/setsourcefilter.c: Likewise.
30713         * inet/test-inet6_opt.c: Likewise.
30714         * inet/tst-network.c: Likewise.
30715         * locale/C-collate.c: Likewise.
30716         * locale/C-ctype.c: Likewise.
30717         * locale/C-time.c: Likewise.
30718         * locale/C-translit.h: Likewise.
30719         * locale/loadarchive.c: Likewise.
30720         * locale/programs/3level.h: Likewise.
30721         * locale/programs/charmap.c: Likewise.
30722         * locale/programs/charmap.h: Likewise.
30723         * locale/programs/ld-address.c: Likewise.
30724         * locale/programs/ld-collate.c: Likewise.
30725         * locale/programs/ld-ctype.c: Likewise.
30726         * locale/programs/ld-identification.c: Likewise.
30727         * locale/programs/ld-measurement.c: Likewise.
30728         * locale/programs/ld-messages.c: Likewise.
30729         * locale/programs/ld-monetary.c: Likewise.
30730         * locale/programs/ld-name.c: Likewise.
30731         * locale/programs/ld-numeric.c: Likewise.
30732         * locale/programs/ld-paper.c: Likewise.
30733         * locale/programs/ld-telephone.c: Likewise.
30734         * locale/programs/ld-time.c: Likewise.
30735         * locale/programs/linereader.c: Likewise.
30736         * locale/programs/locale.c: Likewise.
30737         * locale/programs/locarchive.c: Likewise.
30738         * locale/programs/locfile.h: Likewise.
30739         * locale/programs/repertoire.c: Likewise.
30740         * locale/programs/simple-hash.c: Likewise.
30741         * locale/programs/simple-hash.h: Likewise.
30742         * malloc/memusage.c: Likewise.
30743         * malloc/memusagestat.c: Likewise.
30744         * nis/nis_defaults.c: Likewise.
30745         * nis/nis_hash.c: Likewise.
30746         * nis/nis_print.c: Likewise.
30747         * nis/nis_xdr.c: Likewise.
30748         * nscd/connections.c: Likewise.
30749         * nscd/hstcache.c: Likewise.
30750         * nscd/nscd_gethst_r.c: Likewise.
30751         * nscd/nscd_getserv_r.c: Likewise.
30752         * nscd/nscd_helper.c: Likewise.
30753         * nscd/servicescache.c: Likewise.
30754         * nss/makedb.c: Likewise.
30755         * nss/nss_db/db-XXX.c: Likewise.
30756         * nss/nss_db/db-initgroups.c: Likewise.
30757         * nss/nss_db/db-netgrp.c: Likewise.
30758         * nss/nss_files/files-network.c: Likewise.
30759         * nss/nss_files/files-parse.c: Likewise.
30760         * posix/bug-regex5.c: Likewise.
30761         * posix/fnmatch_loop.c: Likewise.
30762         * posix/regcomp.c: Likewise.
30763         * posix/regexec.c: Likewise.
30764         * posix/tst-rfc3484-2.c: Likewise.
30765         * posix/tst-rfc3484-3.c: Likewise.
30766         * posix/tst-rfc3484.c: Likewise.
30767         * resolv/nss_dns/dns-canon.c: Likewise.
30768         * resolv/nss_dns/dns-network.c: Likewise.
30769         * resolv/res_init.c: Likewise.
30770         * resolv/res_mkquery.c: Likewise.
30771         * resolv/tst-aton.c: Likewise.
30772         * stdlib/cxa_atexit.c: Likewise.
30773         * stdlib/cxa_finalize.c: Likewise.
30774         * stdlib/gen-fpioconst.c: Likewise.
30775         * stdlib/strtol_l.c: Likewise.
30776         * string/tst-endian.c: Likewise.
30777         * sunrpc/auth_des.c: Likewise.
30778         * sunrpc/clnt_udp.c: Likewise.
30779         * sunrpc/rtime.c: Likewise.
30780         * sunrpc/svcauth_des.c: Likewise.
30781         * sunrpc/xdr.c: Likewise.
30782         * sunrpc/xdr_intXX_t.c: Likewise.
30783         * sunrpc/xdr_rec.c: Likewise.
30784         * sysdeps/generic/ldconfig.h: Likewise.
30785         * sysdeps/generic/ldsodefs.h: Likewise.
30786         * sysdeps/generic/memusage.h: Likewise.
30787         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30788         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30789         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30790         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30791         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30792         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30793         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30794         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30795         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30796         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30797         * sysdeps/posix/getaddrinfo.c: Likewise.
30798         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30799         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30800         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30801         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30802         * sysdeps/powerpc/test-gettimebase.c: Likewise.
30803         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30804         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30805         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30806         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30807         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30808         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30809         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30810         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30811         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30812         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30813         * sysdeps/x86_64/dl-tls.h: Likewise.
30814         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30815         * time/alt_digit.c: Likewise.
30816         * time/era.c: Likewise.
30817         * wcsmbs/tst-c16c32-1.c: Likewise.
30819 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30821         * math/libm-test.inc (struct test_sincos_data): New type.
30822         (RUN_TEST_LOOP_sincos): New macro.
30823         (sincos_test_data): New variable.
30824         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30826 2013-05-16  Richard Henderson  <rth@redhat.com>
30828         * math/atest-exp2.c (LIMB64): New macro.
30829         (CONSTSZ): New macro.
30830         (mp_exp1, mp_exp_m1, mp_log2): New variables.
30831         (hexdig): Move ...
30832         (print_mpn_fp): ... to function scope.
30833         (read_mpn_hex): Remove.
30834         (get_log2): Remove.
30835         (exp2_mpn): Use mp_log2.
30836         (main): Use mp_exp1.
30838 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30840         * math/libm-test.inc: Remove comment about not testing "inexact"
30841         exceptions.
30842         (INEXACT_EXCEPTION): New macro.
30843         (NO_INEXACT_EXCEPTION): Likewise.
30844         (INVALID_EXCEPTION_OK): Update value.
30845         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30846         (OVERFLOW_EXCEPTION_OK): Likewise.
30847         (UNDERFLOW_EXCEPTION_OK): Likewise.
30848         (IGNORE_ZERO_INF_SIGN): Likewise.
30849         (ERRNO_UNCHANGED): Likewise.
30850         (ERRNO_EDOM): Likewise.
30851         (ERRNO_ERANGE): Likewise.
30852         (test_exceptions): Handle testing "inexact" exceptions.
30853         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30854         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30855         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30856         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30857         INEXACT_EXCEPTION.
30858         (rint_towardzero_test_data): Likewise.
30859         (rint_downward_test_data): Likewise.
30860         (rint_upward_test_data): Likewise.
30862         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30863         with OVERFLOW_EXCEPTION.
30864         (exp10_test_data): Likewise.
30865         (exp2_test_data): Likewise.
30866         (expm1_test_data): Likewise.
30867         (lgamma_test_data): Likewise.
30868         (pow_test_data): Likewise.
30869         (tgamma_test_data): Likewise.
30870         (yn_test_data): Remove duplicate test of overflow.
30872         * math/libm-test.inc (struct test_cc_c_data): New type.
30873         (RUN_TEST_LOOP_cc_c): New macro.
30874         (cpow_test_data): New variable.
30875         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30877         * math/libm-test.inc (struct test_f_L_data): New type.
30878         (RUN_TEST_LOOP_f_L): New macro.
30879         (llrint_test_data): New variable.
30880         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30881         (llrint_tonearest_test_data): New variable.
30882         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30883         (llrint_towardzero_test_data): New variable.
30884         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30885         (llrint_downward_test_data): New variable.
30886         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30887         (llrint_upward_test_data): New variable.
30888         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30889         (llround_test_data): New variable.
30890         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30892 2013-05-13  Peter Collingbourne  <pcc@google.com>
30894         * math/atest-exp2.c (get_log2): Remove const attribute.
30896 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
30898         * math/libm-test.inc (struct test_f_l_data): New type.
30899         (RUN_TEST_LOOP_f_l): New macro.
30900         (lrint_test_data): New variable.
30901         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30902         (lrint_tonearest_test_data): New variable.
30903         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30904         (lrint_towardzero_test_data): New variable.
30905         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30906         (lrint_downward_test_data): New variable.
30907         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30908         (lrint_upward_test_data): New variable.
30909         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30910         (lround_test_data): New variable.
30911         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30913 2013-05-15  Peter Collingbourne  <pcc@google.com>
30915         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30916         (EXTRACT_WORDS64) Use where appropriate.
30917         (INSERT_WORDS64) Likewise.
30919         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30920         constraints with x constraints.
30921         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30923         * malloc/obstack.c (_obstack_compat): Add initializer.
30925 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30927         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30928         si_trapno and add si_addr_lsb to _sifields.sigfault.
30929         (si_trapno): Remove macro.
30930         (si_addr_lsb): Define new macro.
30931         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30933 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
30935         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30936         instead of TEST_f_l.
30937         (llrint_test_tonearest): Likewise.
30938         (llrint_test_towardzero): Likewise.
30939         (llrint_test_downward): Likewise.
30940         (llrint_test_upward): Likewise.
30941         (llround_test): Likewise.
30943         * math/libm-test.inc (struct test_f_i_data): Add comment.
30944         (RUN_TEST_LOOP_f_b): New macro.
30945         (RUN_TEST_LOOP_f_b_tg): Likewise.
30946         (finite_test_data): New variable.
30947         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30948         (isfinite_test_data): New variable.
30949         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30950         (isinf_test_data): New variable.
30951         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30952         (isnan_test_data): New variable.
30953         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30954         (isnormal_test_data): New variable.
30955         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30956         (issignaling_test_data): New variable.
30957         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30958         (signbit_test_data): New variable.
30959         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30961         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30962         with INVALID_EXCEPTION.
30963         (acosh_test_data): Likewise.
30964         (asin_test_data): Likewise.
30965         (atanh_test_data): Likewise.
30966         (fmod_test_data): Likewise.
30967         (log_test_data): Likewise.
30968         (log10_test_data): Likewise.
30969         (log2_test_data): Likewise.
30970         (pow_test_data): Likewise.
30971         (sqrt_test_data): Likewise.
30972         (y0_test_data): Likewise.
30973         (y1_test_data): Likewise.
30974         (yn_test_data): Likewise.
30976         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30977         function contents.
30979         * math/libm-test.inc (struct test_ff_i_data): New type.
30980         (RUN_TEST_LOOP_ff_i_tg): New macro.
30981         (isgreater_test_data): New variable.
30982         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30983         (isgreaterequal_test_data): New variable.
30984         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30985         (isless_test_data): New variable.
30986         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30987         (islessequal_test_data): New variable.
30988         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30989         (islessgreater_test_data): New variable.
30990         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30991         (isunordered_test_data): New variable.
30992         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30994 2013-05-14  David S. Miller  <davem@davemloft.net>
30996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30998 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31000         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31002         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31003         extra_test to int.
31004         (struct test_f_i_data): Change type of max_ulp to int.
31006         * math/libm-test.inc (test_ffI_f1_data): New type.
31007         (RUN_TEST_LOOP_ffI_f1): New macro.
31008         (remquo_test_data): New variable.
31009         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31011         * setjmp/tst-setjmp-fp.c: New file.
31012         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31013         (link-libm): New variable.
31014         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31016         * math/libm-test.inc (struct test_f_i_data): New type.
31017         (RUN_TEST_LOOP_f_i): New macro.
31018         (RUN_TEST_LOOP_f_i_tg): Likewise.
31019         (fpclassify_test_data): New variable.
31020         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31021         (ilogb_test_data): New variable.
31022         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31024         * math/libm-test.inc (scalbln_test): Correct function name in END
31025         call.
31027         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31028         (RUN_TEST_LOOP_fI_f1): New macro.
31029         (frexp_test_data): New variable.
31030         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31032         * math/libm-test.inc (struct test_fF_f1_data): New type.
31033         (RUN_TEST_LOOP_fF_f1): New macro.
31034         (modf_test_data): New variable.
31035         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31037         * math/libm-test.inc (struct test_f_f1_data): New type.
31038         (RUN_TEST_LOOP_f_f1): New macro.
31039         (gamma_test_data): New variable.
31040         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31041         (lgamma_test_data): New variable.
31042         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31044 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31046         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31047         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31048         (main): Comment "tls" pseudo-hwcap.
31050 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31052         * math/libm-test.inc (struct test_fl_f_data): New type.
31053         (RUN_TEST_LOOP_fl_f): New variable.
31054         (scalbln_test_data): New variable.
31055         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31057         * math/libm-test.inc (struct test_fi_f_data): New type.
31058         (RUN_TEST_LOOP_fi_f): New macro.
31059         (ldexp_test_data): New variable.
31060         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31061         (scalbn_test_data): New variable.
31062         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31064         * math/libm-test.inc (struct test_c_f_data): New type.
31065         (RUN_TEST_LOOP_c_f): New macro.
31066         (cabs_test_data): New variable.
31067         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31068         (carg_test_data): New variable.
31069         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31070         (cimag_test_data): New variable.
31071         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31072         (creal_test_data): New variable.
31073         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31075         * math/libm-test.inc (struct test_if_f_data): New type.
31076         (RUN_TEST_LOOP_if_f): New macro.
31077         (jn_test_data): New variable.
31078         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31079         (yn_test_data): New variable.
31080         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31082         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31084 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31086         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31087         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31089 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31091         * benchtests/Makefile (CPPFLAGS-nonlib): Add
31092         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31093         (bench-deps): Add bench-timing.h.
31094         * benchtests-bench-skeleton.c: Include bench-timing.h.
31095         (main): Use TIMING_* macros instead of clock_gettime.
31096         * benchtests/bench-timing.h: New file.
31098         [BZ #14582]
31099         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31100         Renamed from _LIB_VERSION.
31101         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31103 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
31105         * math/libm-test.inc (struct test_fff_f_data): New type.
31106         (RUN_TEST_LOOP_fff_f): New macro.
31107         (fma_test_data): New variable.
31108         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31109         (fma_towardzero_test_data): New variable.
31110         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31111         (fma_downward_test_data): New variable.
31112         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31113         (fma_upward_test_data): New variable.
31114         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31116         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31117         (struct test_c_c_data): New type.
31118         (RUN_TEST_LOOP_c_c): New macro.
31119         (cacos_test_data): New variable.
31120         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31121         (cacosh_test_data): New variable.
31122         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31123         (casin_test_data): New variable.
31124         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31125         (casinh_test_data): New variable.
31126         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31127         (catan_test_data): New variable.
31128         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31129         (catanh_test_data): New variable.
31130         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31131         (ccos_test_data): New variable.
31132         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31133         (ccosh_test_data): New variable.
31134         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31135         (cexp_test_data): New variable.
31136         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31137         (clog_test_data): New variable.
31138         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31139         (clog10_test_data): New variable.
31140         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31141         (conj_test_data): New variable.
31142         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31143         (cproj_test_data): New variable.
31144         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31145         (csin_test_data): New variable.
31146         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31147         (csinh_test_data): New variable.
31148         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31149         (csqrt_test_data): New variable.
31150         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31151         (ctan_test_data): New variable.
31152         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31153         (ctan_tonearest_test_data): New variable.
31154         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31155         (ctan_towardzero_test_data): New variable.
31156         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31157         (ctan_downward_test_data): New variable.
31158         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31159         (ctan_upward_test_data): New variable.
31160         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31161         (ctanh_test_data): New variable.
31162         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31163         (ctanh_tonearest_test_data): New variable.
31164         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31165         (ctanh_towardzero_test_data): New variable.
31166         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31167         (ctanh_downward_test_data): New variable.
31168         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31169         (ctanh_upward_test_data): New variable.
31170         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31171         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31172         of BUILD_COMPLEX.
31174         * math/libm-test.inc (struct test_ff_f_data): New type.
31175         (struct test_ff_f_data_nexttoward): Likewise.
31176         (RUN_TEST_LOOP_2_f): New macro.
31177         (RUN_TEST_LOOP_ff_f): Likewise.
31178         (atan2_test_data): New variable.
31179         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31180         (copysign_test_data): New variable.
31181         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31182         (fdim_test_data): New variable.
31183         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31184         (fmax_test_data): New variable.
31185         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31186         (fmin_test_data): New variable.
31187         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31188         (fmod_test_data): New variable.
31189         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31190         (hypot_test_data): New variable.
31191         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31192         (nextafter_test_data): New variable.
31193         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31194         (nexttoward_test_data): New variable.
31195         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31196         (pow_test_data): New variable.
31197         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31198         (pow_tonearest_test_data): New variable.
31199         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31200         (pow_towardzero_test_data): New variable.
31201         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31202         (pow_downward_test_data): New variable.
31203         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31204         (pow_upward_test_data): New variable.
31205         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31206         (remainder_test_data): New variable.
31207         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31208         (scalb_test_data): New variable.
31209         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31210         * sysdeps/i386/fpu/libm-test-ulps: Update.
31212 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
31214         * math/libm-test.inc (fma_test): Use max_value instead of local
31215         variable fltmax.
31216         (nextafter_test): Likewise.
31218         * math/libm-test.inc (acos_towardzero_test_data): New variable.
31219         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31220         (acos_downward_test_data): New variable.
31221         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31222         (acos_upward_test_data): New variable.
31223         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31224         (acosh_test_data): New variable.
31225         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31226         (asin_test_data): New variable.
31227         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31228         (asin_tonearest_test_data): New variable.
31229         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31230         (asin_towardzero_test_data): New variable.
31231         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31232         (asin_downward_test_data): New variable.
31233         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31234         (asin_upward_test_data): New variable.
31235         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31236         (asinh_test_data): New variable.
31237         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31238         (atan_test_data): New variable.
31239         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31240         (atanh_test_data): New variable.
31241         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31242         (cbrt_test_data): New variable.
31243         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31244         (ceil_test_data): New variable.
31245         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31246         (cos_test_data): New variable.
31247         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31248         (cos_tonearest_test_data): New variable.
31249         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31250         (cos_towardzero_test_data): New variable.
31251         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31252         (cos_downward_test_data): New variable.
31253         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31254         (cos_upward_test_data): New variable.
31255         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31256         (cosh_test_data): New variable.
31257         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31258         (cosh_tonearest_test_data): New variable.
31259         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31260         (cosh_towardzero_test_data): New variable.
31261         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31262         (cosh_downward_test_data): New variable.
31263         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31264         (cosh_upward_test_data): New variable.
31265         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31266         (erf_test_data): New variable.
31267         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31268         (erfc_test_data): New variable.
31269         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31270         (exp_test_data): New variable.
31271         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31272         (exp_tonearest_test_data): New variable.
31273         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31274         (exp_towardzero_test_data): New variable.
31275         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31276         (exp_downward_test_data): New variable.
31277         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31278         (exp_upward_test_data): New variable.
31279         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31280         (exp10_test_data): New variable.
31281         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31282         (exp2_test_data): New variable.
31283         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31284         (expm1_test_data): New variable.
31285         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31286         (fabs_test_data): New variable.
31287         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31288         (floor_test_data): New variable.
31289         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31290         (j0_test_data): New variable.
31291         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31292         (j1_test_data): New variable.
31293         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31294         (log_test_data): New variable.
31295         (log_test): Run tests with RUN_TEST_LOOP_f_f.
31296         (log10_test_data): New variable.
31297         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31298         (log1p_test_data): New variable.
31299         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31300         (log2_test_data): New variable.
31301         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31302         (logb_test_data): New variable.
31303         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31304         (logb_downward_test_data): New variable.
31305         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31306         (nearbyint_test_data): New variable.
31307         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31308         (rint_test_data): New variable.
31309         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31310         (rint_tonearest_test_data): New variable.
31311         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31312         (rint_towardzero_test_data): New variable.
31313         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31314         (rint_downward_test_data): New variable.
31315         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31316         (rint_upward_test_data): New variable.
31317         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31318         (round_test_data): New variable.
31319         (round_test): Run tests with RUN_TEST_LOOP_f_f.
31320         (sin_test_data): New variable.
31321         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31322         (sin_tonearest_test_data): New variable.
31323         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31324         (sin_towardzero_test_data): New variable.
31325         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31326         (sin_downward_test_data): New variable.
31327         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31328         (sin_upward_test_data): New variable.
31329         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31330         (sinh_test_data): New variable.
31331         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31332         (sinh_tonearest_test_data): New variable.
31333         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31334         (sinh_towardzero_test_data): New variable.
31335         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31336         (sinh_downward_test_data): New variable.
31337         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31338         (sinh_upward_test_data): New variable.
31339         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31340         (sqrt_test_data): New variable.
31341         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31342         (tan_test_data): New variable.
31343         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31344         (tan_tonearest_test_data): New variable.
31345         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31346         (tan_towardzero_test_data): New variable.
31347         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31348         (tan_downward_test_data): New variable.
31349         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31350         (tan_upward_test_data): New variable.
31351         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31352         (tanh_test_data): New variable.
31353         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31354         (tgamma_test_data): New variable.
31355         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31356         (trunc_test_data): New variable.
31357         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31358         (y0_test_data): New variable.
31359         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31360         (y1_test_data): New variable.
31361         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31362         (significand_test_data): New variable.
31363         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31365 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
31367         [BZ #12387]
31368         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31370 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31372         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31374 2013-05-10  Andreas Jaeger  <aj@suse.de>
31376         [BZ #15448]
31377         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31378         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31380 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31382         * math/gen-libm-test.pl (adjust_arg): New function.
31383         (special_functions): Handle generating output in both functions
31384         and arrays.
31385         (parse_args): Likewise.
31386         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
31387         $in_func argument to parse_args.
31388         * math/libm-test.inc (struct test_f_f_data): New type.
31389         (IF_ROUND_INIT_): New macro.
31390         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31391         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31392         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31393         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31394         (ROUND_RESTORE_): Likewise.
31395         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31396         (ROUND_RESTORE_FE_TONEAREST): Likewise.
31397         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31398         (ROUND_RESTORE_FE_UPWARD): Likewise.
31399         (RUN_TEST_LOOP_f_f): New macro.
31400         (acos_test_data): New variable.
31401         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31402         (acos_tonearest_test_data): New variable.
31403         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31405 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31407         * benchtests/bench-skeleton.c (startup): Fix coding style.
31409 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31411         [BZ #6809]
31412         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31413         negative infinity argument.
31414         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31415         negative infinity argument.
31416         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31417         negative infinity argument.
31418         * math/libm-test.inc (tgamma_test): Expect errno to be set for
31419         domain errors.
31421 2013-05-10  Florian Weimer  <fweimer@redhat.com>
31423         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31424         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31425         * iconv/iconv_prog.c (main): Likewise.
31426         * locale/programs/charmap-dir.c (charmap_readdir)
31427         (fopen_uncompressed): Likewise.
31428         * locale/programs/locfile.c (siblings_uncached)
31429         (write_locale_data): Use lstat64 instead of lstat.
31430         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31431         stat.
31433 2013-05-10  Andreas Jaeger  <aj@suse.de>
31435         [BZ #15395]
31436         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31437         localization.
31438         Include <locale.h>.
31440 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
31442         * elf/dl-close.c (_dl_close_worker): Add comments.
31444 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
31446         [BZ #15359]
31447         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31448         high part of pi/2.
31449         (__ieee754_rem_pio2l): Update comments.
31451         [BZ #15429]
31452         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31453         high part of pi/2.
31454         (__ieee754_rem_pio2l): Update comments.
31456         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31457         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31459         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31460         M_PI_4l.
31462         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31463         (M_PI_34_LOG10El): Likewise.
31464         (M_PI2_LOG10El): Likewise.
31465         (M_PI4_LOG10El): Likewise.
31466         (M_PI_LOG10El): Likewise.
31468 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31472 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
31474         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31475         (MINUS_ZERO_INIT): Likewise.
31476         (PLUS_INFTY_INIT): Likewise.
31477         (MINUS_INFTY_INIT): Likewise.
31478         (QNAN_VALUE_INIT): Likewise.
31479         (MAX_VALUE_INIT): Likewise.
31480         (MIN_VALUE_INIT): Likewise.
31481         (MIN_SUBNORM_VALUE_INIT): Likewise.
31482         (plus_zero): Initialize with PLUS_ZERO_INIT.
31483         (minus_zero): Initialize with MINUS_ZERO_INIT.
31484         (plus_infty): Initialize with PLUS_INFTY_INIT.
31485         (minus_infty): Initialize with MINUS_INFTY_INIT.
31486         (qnan_value): Initialize with QNAN_VALUE_INIT.
31487         (max_value): Initialize with MAX_VALUE_INIT.
31488         (min_value): Initialize with MIN_VALUE_INIT.
31489         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31491         * math/libm-test.inc (RUN_TEST_if_f): New macro.
31492         (jn_test): Use TEST_if_f instead of TEST_ff_f.
31493         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31494         (yn_test): Use TEST_if_f instead of TEST_ff_f.
31496         * math/libm-test.inc (RUN_TEST_f_f): New macro.
31497         (RUN_TEST_2_f): Likewise.
31498         (RUN_TEST_ff_f): Likewise.
31499         (RUN_TEST_fi_f): Likewise.
31500         (RUN_TEST_fl_f): Likewise.
31501         (RUN_TEST_fff_f): Likewise.
31502         (RUN_TEST_c_f): Likewise.
31503         (RUN_TEST_f_f1): Likewise.
31504         (RUN_TEST_fF_f1): Likewise.
31505         (RUN_TEST_fI_f1): Likewise.
31506         (RUN_TEST_ffI_f1): Likewise.
31507         (RUN_TEST_c_c): Likewise.
31508         (RUN_TEST_cc_c): Likewise.
31509         (RUN_TEST_f_i): Likewise.
31510         (RUN_TEST_f_i_tg): Likewise.
31511         (RUN_TEST_ff_i_tg): Likewise.
31512         (RUN_TEST_f_b): Likewise.
31513         (RUN_TEST_f_b_tg): Likewise.
31514         (RUN_TEST_f_l): Likewise.
31515         (RUN_TEST_f_L): Likewise.
31516         (RUN_TEST_sincos): Likewise.
31517         * math/gen-libm-test.pl (new_test): Take new argument to indicate
31518         whether to show exceptions.  Do not include ");\n" in return
31519         value.
31520         (special_functions): Output call to RUN_TEST_sincos instead of
31521         check_float calls.  Update calls to new_test.
31522         (parse_args): Output call to single RUN_TEST_* macro instead of
31523         check_* calls and other assignments.  Update calls to new_test.
31525         [BZ #2546]
31526         [BZ #2560]
31527         [BZ #5159]
31528         [BZ #15426]
31529         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31530         input to result for tgamma overflow.
31531         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31532         (gamma_coeff): New variable.
31533         (NCOEFF): New macro.
31534         (gamma_positive): New function.
31535         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31536         underflow here.  Use gamma_positive instead of exp (lgamma) for
31537         other arguments.
31538         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31539         (gamma_coeff): New variable.
31540         (NCOEFF): New macro.
31541         (gammaf_positive): New function.
31542         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31543         underflow here.  Use gamma_positive instead of exp (lgamma) for
31544         other arguments.
31545         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31546         (gamma_coeff): New variable.
31547         (NCOEFF): New macro.
31548         (gammal_positive): New function.
31549         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31550         underflow here.  Use gamma_positive instead of exp (lgamma) for
31551         other arguments.
31552         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31553         (gamma_coeff): New variable.
31554         (NCOEFF): New macro.
31555         (gammal_positive): New function.
31556         (__ieee754_gammal_r): Handle positive infinity, overflow and
31557         underflow here.  Handle NaN the same as positive infinity.  Remove
31558         check x < 0xffffffff for negative integers.  Use gamma_positive
31559         instead of exp (lgamma) for other arguments.
31560         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31561         (gamma_coeff): New variable.
31562         (NCOEFF): New macro.
31563         (gammal_positive): New function.
31564         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31565         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31566         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31567         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31568         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31569         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31570         * sysdeps/generic/math_private.h (__gamma_productf): New
31571         prototype.
31572         (__gamma_product): Likewise.
31573         (__gamma_productl): Likewise.
31574         * math/Makefile (libm-calls): Add gamma_product.
31575         * math/libm-test.inc (tgamma_test): Add more tests.
31576         * sysdeps/i386/fpu/libm-test-ulps: Update.
31577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31579 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
31581         * benchtests/bench-skeleton.c (main): Preheat CPU.
31583 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
31585         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31587 2013-05-07  Roland McGrath  <roland@hack.frob.com>
31589         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31590         and _dl_skip_args_internal.
31592 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
31594         * manual/message.texi (Message Translation): Talk about users.
31595         Message to key mapping impacts design.
31597 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31599         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31601         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31603         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31604         * sysdeps/wordsize-64/glob64.c: ... here.
31606         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31607         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31608         New macros.
31610         * debug/getlogin_r_chk.c: Moved to ...
31611         * login/getlogin_r_chk.c: ... here.
31612         * debug/Makefile (routines): Move getlogin_r_chk to ...
31613         * login/Makefile (routines): ... here.
31614         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31615         * login/Versions (libc: GLIBC_2.4): ... here.
31617         * io/poll.c (__poll): Renamed from poll.
31618         Add libc_hidden_def.
31619         (poll): Define as weak alias.
31621         * debug/ptsname_r_chk.c: Moved to ...
31622         * login/ptsname_r_chk.c: ... here.
31623         * debug/Makefile (routines): Move ptsname_r_chk to ...
31624         * login/Makefile (routines): ... here.
31625         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31626         * login/Versions (libc: GLIBC_2.4): ... here.
31628         * posix/getlogin.c: Moved to ...
31629         * login/getlogin.c: ... here.
31630         * posix/getlogin_r.c: Moved to ...
31631         * login/getlogin_r.c: ... here.
31632         * posix/getlogin_r.c: Moved to ...
31633         * login/getlogin_r.c: ... here.
31634         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31635         * login/Makefile (routines): ... here.
31636         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31637         * login/Versions (libc: GLIBC_2.0): ... here.
31639         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31640         (setrlimit): Define as weak alias.
31642         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31643         Call __ names for open, ftruncate, and close.
31644         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31645         (truncate): Define as weak alias.
31647 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
31649         * math/gen-libm-test.pl (parse_args): Initialize x before each
31650         test of frexp, modf and remquo.
31652         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31653         test signgam value.
31655 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31657         [BZ #15418]
31658         [BZ #15419]
31659         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31660         internal tests.
31661         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31663 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31665         * elf/dl-writev.h: New file.
31666         * elf/dl-misc.c: Include it.
31667         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31668         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31670 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
31672         * math/libm-test.inc (noXFails): Remove variable.
31673         (noXPasses): Likewise.
31674         (BUILD_COMPLEX_INT): Remove macro.
31675         (print_screen): Remove xfail argument.
31676         (print_screen_max_error): Likewise.
31677         (update_stats): Likewise.
31678         (print_max_error): Likewise.  Update calls to other affected
31679         functions.
31680         (print_complex_max_error): Likewise.
31681         (test_single_exception): Update calls to print_screen.
31682         (test_single_errno): Likewise.
31683         (check_float_internal): Remove xfail argument.  Update calls to
31684         other affected functions.
31685         (check_float): Likewise.
31686         (check_complex): Likewise.
31687         (check_int): Likewise.
31688         (check_long): Likewise.
31689         (check_bool): Likewise.
31690         (check_longlong): Likewise.
31691         (main): Don't print noXFails and noXPasses.
31692         * math/gen-libm-test.pl (top level): Don't mention expected
31693         failure handling in comment.
31694         (new_test): Don't handle expected failures.
31695         (parse_args): Don't mention expected failure handling in comment.
31696         (generate_testfile): Don't handle expected failures.
31697         (parse_ulps): Likewise.
31698         (print_ulps_file): Likewise.
31699         (get_failure): Remove function.
31700         (output_test): Don't handle expected failures.
31701         * make/README.libm-test: Don't mention expected failure handling.
31703         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
31704         (minus_zero): Likewise.
31705         (plus_infty): Likewise.
31706         (minus_infty): Likewise.
31707         (qnan_value): Likewise.
31708         (max_value): Likewise.
31709         (min_value): Likewise.
31710         (min_subnorm_value): Likewise.
31711         (initialize): Do not initialize those variables dynamically.
31713 2013-05-03  Roland McGrath  <roland@hack.frob.com>
31715         * io/open.c (__open_2): Moved to ...
31716         * io/open_2.c: ... this new file.
31717         * io/open64.c (__open64_2): Moved to ...
31718         * io/open64_2.c: ... this new file.
31719         * io/openat.c (__openat_2): Moved to ...
31720         * io/openat_2.c: ... this new file.
31721         * io/openat64.c (__openat64_2): Moved to ...
31722         * io/openat64_2.c: ... this new file.
31723         * io/Makefile (routines): Add them.
31724         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31725         * sysdeps/unix/sysv/linux/open_2.c: File removed.
31726         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31727         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31728         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31729         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31730         (__openat64): Add hidden_ver.
31731         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31732         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31734         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31735         Separately conditionalize setting of GLRO(dl_sysinfo) so
31736         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31737         as well, but the actual setting is only under [NEED_DL_SYSINFO].
31739 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31741         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31742         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31743         definition.
31744         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31745         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31746         (_libc_vdso_platform_setup): Add __vdso_time initialization.
31747         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31748         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31750 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
31752         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31753         test signgam value.
31755         * math/libm-test.inc (hypot_test): Do not use
31756         IGNORE_ZERO_INF_SIGN.
31758 2013-05-03  Andreas Jaeger  <aj@suse.de>
31760         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31761         Linux 3.9.
31762         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31763         (PF_MAX): Adjust for VSOCK change.
31765 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31769 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
31771         [BZ #15264]
31772         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31773         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31774         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31776 2013-05-02  David S. Miller  <davem@davemloft.net>
31778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31780 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
31782         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31784 2013-05-01  Roland McGrath  <roland@hack.frob.com>
31786         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31788 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
31790         [BZ #14952]
31791         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31792         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31793         Use __attribute__ ((__gnu_inline__)).
31794         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31795         Don't use __attribute__ ((__gnu_inline__)).
31797 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
31799         [BZ #15423]
31800         * math/s_catan.c (__catan): Handle small real or imaginary part of
31801         input specially to avoid spurious underflow.
31802         * math/s_catanf.c (__catanf): Likewise.
31803         * math/s_catanh.c (__catanh): Likewise.
31804         * math/s_catanhf.c (__catanhf): Likewise.
31805         * math/s_catanhl.c (__catanhl): Likewise.
31806         * math/s_catanl.c (__catanl): Likewise.
31807         * math/libm-test.inc (catan_test): Add more tests.
31808         (catanh_test): Likewise.
31809         * sysdeps/i386/fpu/libm-test-ulps: Update.
31810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31812 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31816 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
31818         [BZ #15416]
31819         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31820         accurately for denominator in atan2.
31821         * math/s_catanf.c (__catanf): Likewise.
31822         * math/s_catanh.c (__catanh): Likewise.
31823         * math/s_catanhf.c (__catanhf): Likewise.
31824         * math/s_catanhl.c (__catanhl): Likewise.
31825         * math/s_catanl.c (__catanl): Likewise.
31826         * math/libm-test.inc (catan_test): Add more tests.
31827         (catanh_test): Likewise.
31828         * sysdeps/i386/fpu/libm-test-ulps: Update.
31829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31831 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31833         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31835         * benchtests/Makefile (bench): Remove slow benchmarks.
31836         * benchtests/atan-inputs: Add slow benchmark inputs.
31837         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31838         (BENCH_FUNC): Accept variant offset.
31839         (VARIANT): Define.
31840         * benchtests/bench-skeleton.c (main): Run benchmark for each
31841         variant.
31842         * benchtests/cos-inputs: Add slow benchmark inputs.
31843         * benchtests/exp-inputs: Likewise.
31844         * benchtests/pow-inputs: Likewise.
31845         * benchtests/sin-inputs: Likewise.
31846         * benchtests/slowatan-inputs: Remove.
31847         * benchtests/slowatan.c: Remove.
31848         * benchtests/slowcos-inputs: Remove.
31849         * benchtests/slowcos.c: Remove.
31850         * benchtests/slowexp-inputs: Remove.
31851         * benchtests/slowexp.c: Remove.
31852         * benchtests/slowpow-inputs: Remove.
31853         * benchtests/slowpow.c: Remove.
31854         * benchtests/slowsin-inputs: Remove.
31855         * benchtests/slowsin.c: Remove.
31856         * benchtests/slowtan-inputs: Remove.
31857         * benchtests/slowtan.c: Remove.
31858         * benchtests/tan-inputs: Add slow benchmark inputs.
31859         * scripts/bench.pl: Parse comments and directives.
31861         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
31862         in CPPFLAGS.
31863         ($(objpfx)bench-%.c): Remove *-ITER.
31864         * benchtests/bench-modf.c: Remove definition of ITER.
31865         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31866         (main): Loop for DURATION seconds instead of fixed number of
31867         iterations.
31868         * scripts/bench.pl: Don't expect iterations in parameters.
31870 2013-04-29  Roland McGrath  <roland@hack.frob.com>
31872         * io/fchdir.c (__fchdir): Renamed from fchdir.
31873         (fchdir): Define as weak alias.
31875 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
31877         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31878         (ERRNO_EDOM): Likewise.
31879         (ERRNO_ERANGE): Likewise.
31880         (noErrnoTests): New variable.
31881         (init_max_error): Set errno to 0.
31882         (test_single_errno): New function.
31883         (test_errno): Likewise.
31884         (check_float_internal): Call test_errno.  Set errno to 0.
31885         (check_complex): Refer to errno tests in comment.
31886         (check_int): Call test_errno.  Set errno to 0.
31887         (check_long): Likewise.
31888         (check_bool): Likewise.
31889         (check_longlong): Likewise.
31890         (cos_test): Use ERRNO_* flags for errno tests instead of
31891         check_int.
31892         (expm1_test): Likewise.
31893         (fmod_test): Likewise.
31894         (ilogb_test): Likewise.
31895         (lgamma_test): Likewise.
31896         (pow_test): Likewise.
31897         (remainder_test): Likewise.
31898         (sin_test): Likewise.
31899         (tan_test): Likewise.
31900         (yn_test): Likewise.
31901         (initialize): Set errno to 0.
31902         (main): Print number of errno tests.
31903         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31905 2013-04-29  Andreas Jaeger  <aj@suse.de>
31907         [BZ #15084]
31908         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31909         and RES_USEVC.
31911         [BZ #15085]
31912         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31913         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31914         unimplemented.
31916         [BZ #15380]
31917         * stdlib/random.c (__initstate): Return NULL if
31918         __initstate fails.
31920         [BZ #15086]
31921         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31922         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31923         RES_SNGLKUPREOP.
31925 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31929 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
31931         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31932         of individual tests.
31933         (casin_test): Likewise.
31934         (casinh_test): Likewise.
31936 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
31938         [BZ #15409]
31939         * math/s_catan.c (__catan): Handle arguments with large real or
31940         imaginary part separately without squaring.
31941         * math/s_catanf.c (__catanf): Likewise.
31942         * math/s_catanh.c (__catanh): Likewise.
31943         * math/s_catanhf.c (__catanhf): Likewise.
31944         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31945         and redefine.
31946         (__catanhl): Handle arguments with large real or imaginary part
31947         separately without squaring.
31948         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31949         and redefine.
31950         (__catanl): Handle arguments with large real or imaginary part
31951         separately without squaring.
31952         * math/libm-test.inc (catan_test): Add more tests.
31953         (catanh_test): Likewise.
31954         * sysdeps/i386/fpu/libm-test-ulps: Update.
31955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31957 2013-04-27  Andreas Jaeger  <aj@suse.de>
31959         [BZ #15007]
31960         * stdlib/stdlib.h: Update guards for qecvt.
31961         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31962         <stdlib.h>.
31964 2013-04-27  Allan McRae  <allan@archlinux.org>
31966         * sysdeps/i386/fpu/libm-test-ulps: Update.
31968 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
31970         [BZ #15406]
31971         * math/s_catan.c: Include <float.h>.
31972         (__catan): Ensure underflow exception occurs for underflowed
31973         result.
31974         * math/s_catanf.c: Include <float.h>.
31975         (__catanf): Ensure underflow exception occurs for underflowed
31976         result.
31977         * math/s_catanh.c: Include <float.h>.
31978         (__catanh): Ensure underflow exception occurs for underflowed
31979         result.
31980         * math/s_catanhf.c: Include <float.h>.
31981         (__catanhf): Ensure underflow exception occurs for underflowed
31982         result.
31983         * math/s_catanhl.c: Include <float.h>.
31984         (__catanhl): Ensure underflow exception occurs for underflowed
31985         result.
31986         * math/s_catanl.c: Include <float.h>.
31987         (__catanl): Ensure underflow exception occurs for underflowed
31988         result.
31989         * math/libm-test.inc (catan_test): Add more tests.
31990         (catanh_test): Likewise.
31992         [BZ #15405]
31993         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31994         underflowed result.
31995         * math/s_ccoshf.c (__ccoshf): Likewise.
31996         * math/s_ccoshl.c (__ccoshl): Likewise.
31997         * math/s_csin.c (__csin): Likewise.
31998         * math/s_csinf.c (__csinf): Likewise.
31999         * math/s_csinh.c (__csinh): Likewise.
32000         * math/s_csinhf.c (__csinhf): Likewise.
32001         * math/s_csinhl.c (__csinhl): Likewise.
32002         * math/s_csinl.c (__csinl): Likewise.
32003         * math/libm-test.inc (ccos_test): Add more tests.
32004         (ccosh_test): Likewise.
32005         (csin_test): Likewise.
32006         (csinh_test): Likewise.
32008 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32010         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32011         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32012         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32013         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32014         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32015         powerpc/power5+/fpu folders.
32016         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32019 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32023 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32025         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32026         additions to variable.
32027         [$(config-machine) = x86_64] (modules-names): Likewise.
32028         ($(objpfx)tst-audit3): Remove dependency.
32029         ($(objpfx)tst-audit3.out): Likewise.
32030         ($(objpfx)tst-audit4): Likewise.
32031         ($(objpfx)tst-audit4.out): Likewise.
32032         ($(objpfx)tst-audit5): Likewise.
32033         ($(objpfx)tst-audit5.out): Likewise.
32034         ($(objpfx)tst-audit6): Likewise.
32035         ($(objpfx)tst-audit6.out): Likewise.
32036         ($(objpfx)tst-audit7): Likewise.
32037         ($(objpfx)tst-audit7.out): Likewise.
32038         (tst-audit3-ENV): Remove variable.
32039         (tst-audit4-ENV): Likewise.
32040         (tst-audit5-ENV): Likewise.
32041         (tst-audit6-ENV): Likewise.
32042         (tst-audit7-ENV): Likewise.
32043         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32044         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32045         addition to variable.
32046         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32047         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32048         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32049         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32050         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32051         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32052         tst-audit3, tst-audit4 and tst-audit5.
32053         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32054         tst-audit6 and tst-audit7.
32055         [$(subdir) = elf] (modules-names): Add audit modules for those
32056         tests.
32057         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32058         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32059         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32060         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32061         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32062         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32063         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32064         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32065         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32066         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32067         [$(subdir) = elf] (tst-audit3-ENV): New variable.
32068         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32069         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32070         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32071         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32072         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32073         Likewise.
32074         [$(subdir) = elf && $(config-cflags-avx) = yes]
32075         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32076         [$(subdir) = elf && $(config-cflags-avx) = yes]
32077         (CFLAGS-tst-auditmod4a.c): Likewise.
32078         [$(subdir) = elf && $(config-cflags-avx) = yes]
32079         (CFLAGS-tst-auditmod4b.c): Likewise.
32080         [$(subdir) = elf && $(config-cflags-avx) = yes]
32081         (CFLAGS-tst-auditmod6b.c): Likewise.
32082         [$(subdir) = elf && $(config-cflags-avx) = yes]
32083         (CFLAGS-tst-auditmod6c.c): Likewise.
32084         [$(subdir) = elf && $(config-cflags-avx) = yes]
32085         (CFLAGS-tst-auditmod7b.c): Likewise.
32086         * elf/tst-audit3.c: Move to ...
32087         * sysdeps/x86_64/tst-audit3.c: ... here.
32088         * elf/tst-audit4.c: Move to ...
32089         * sysdeps/x86_64/tst-audit4.c: ... here.
32090         * elf/tst-audit5.c: Move to ...
32091         * sysdeps/x86_64/tst-audit5.c: ... here.
32092         * elf/tst-audit6.c: Move to ...
32093         * sysdeps/x86_64/tst-audit6.c: ... here.
32094         * elf/tst-audit7.c: Move to ...
32095         * sysdeps/x86_64/tst-audit7.c: ... here.
32096         * elf/tst-auditmod3a.c: Move to ...
32097         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32098         * elf/tst-auditmod3b.c: Move to ...
32099         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32100         * elf/tst-auditmod4a.c: Move to ...
32101         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32102         * elf/tst-auditmod4b.c: Move to ...
32103         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32104         * elf/tst-auditmod5a.c: Move to ...
32105         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32106         * elf/tst-auditmod5b.c: Move to ...
32107         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32108         * elf/tst-auditmod6a.c: Move to ...
32109         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32110         * elf/tst-auditmod6b.c: Move to ...
32111         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32112         * elf/tst-auditmod6c.c: Move to ...
32113         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32114         * elf/tst-auditmod7a.c: Move to ...
32115         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32116         * elf/tst-auditmod7b.c: Move to ...
32117         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32119 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
32121         [BZ #15366]
32122         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32123         define unconditionally.
32124         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32125         define unconditionally.
32126         (INT8_C, INT16_C, etc.): Likewise.
32128 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
32130         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32131         __ehdr_start with hidden visibility.
32133         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32135 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
32137         * math/libm-test.inc (cos_test): Use accurate hex constants.
32138         (sincost_test): Likewise.
32140 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
32142         * math/libm-test.inc (catan_test): Add more tests.
32143         (catanh_test): Likewise.
32145         * math/s_catanf.c (__catanf): Use suffixed floating-point
32146         constants.
32147         * math/s_catanhf.c (__catanhf): Likewise.
32148         * math/s_catanhl.c (__catanhl): Likewise.
32149         * math/s_catanl.c (__catanl): Likewise.
32151         [BZ #15394]
32152         * math/s_catan.c (__catan): Calculate imaginary part of result
32153         with log1p not log unless computing log of number close to 0.
32154         * math/s_catanf.c (__catanf): Likewise.
32155         * math/s_catanl.c (__catanl): Likewise.
32156         * math/s_catanh.c (__catanh): Calculate real part of result with
32157         log1p not log unless computing log of number close to 0.
32158         * math/s_catanhf.c (__catanhf): Likewise.
32159         * math/s_catanhl.c (__catanhl): Likewise.
32160         * math/libm-test.inc (catan_test): Add more tests.
32161         (catanh_test): Likewise.
32162         * sysdeps/i386/fpu/libm-test-ulps: Update.
32163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32165 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32167         * benchtests/Makefile: Mention files in which fast and slow
32168         paths of math functions are implemented.
32170 2013-04-23  Roland McGrath  <roland@hack.frob.com>
32172         * sysdeps/posix/timespec_get.c: New file.
32174 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32176         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32177         POWER.
32178         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32179         for POWER.
32180         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32181         powerpc/power5/fpu folders.
32182         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32183         * benchtests/Makefile: Add modf testcase.
32184         * benchtests/bench-modf.c: New file: Benchmark test for mo
32186 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32188         [BZ #14888]
32189         * time/Makefile (tests): Add tst-strptime-whitespace.
32190         * time/strptime_l.c (get_number): Use ISSPACE.
32191         (__strptime_internal): Likewise.
32192         * time/tst-strptime-whitespace.c: New test case.
32194 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
32196         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32197         member.
32198         (_nss_files_init): Set it here.
32200 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
32202         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32203         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32204         unsigned.
32206 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
32208         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32210 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32212         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32213         size just once.
32215 2013-04-21  David S. Miller  <davem@davemloft.net>
32217         * po/ru.po: Update Russion translation from translation project.
32219 2013-04-17  Adam Conrad  <adconrad@0c3.net>
32221         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32222         and setfsgid.
32224 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
32226         * configure.in: Remove i386 configure warning. Remove i386 case.
32227         * configure: Regenerate.
32228         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32229         Add example to error message.
32230         * sysdeps/i386/configure: Regenerate.
32232 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32234         * benchtests/Makefile (bench): Add cos, tan, slowcos and
32235         slowtan.
32236         * benchtests/cos-inputs: New file.
32237         * benchtests/slowcos-inputs: New file.
32238         * benchtests/slowcos.c: New file.
32239         * benchtests/slowtan-inputs: New file.
32240         * benchtests/slowtan.c: New file.
32241         * benchtests/tan-inputs: New file.
32243 2013-04-16  Roland McGrath  <roland@hack.frob.com>
32245         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32246         considered kosher.
32248 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32250         * benchtests/Makefile: Include cppflags-iterator.mk to add
32251         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32253         * Makefile.in (bench-clean): New target.
32254         * benchtests/Makefile (bench-clean): Likewise.
32256 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
32258         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32260 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
32262         * stdio-common/tstdiomisc.c: Fix coding-style violation.
32264 2013-04-15  Andreas Schwab  <schwab@suse.de>
32266         * nscd/grpcache.c (cache_addgr): Properly check for short write.
32267         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32268         * nscd/pwdcache.c (cache_addpw): Likewise.
32269         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
32270         more than recsize.
32272 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32274         * benchtests/Makefile (bench): Write all output to
32275         bench-out.tmp together.
32277 2013-04-15  Andreas Schwab  <schwab@suse.de>
32279         * nscd/nscd.c (main): Don't fork again after closing files.
32281 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32283         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32285         * benchtests/Rules (bench-deps): Collect dependencies into a
32286         single variable.  Add Makefile to dependencies.
32287         ($(objpfx)bench-%.c): Depend on bench-deps.
32289 2013-04-12  Roland McGrath  <roland@hack.frob.com>
32290             Xavier Roche  <roche+kml2@exalead.com>
32292         [BZ #15361]
32293         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32294         just that it's a file descriptor.
32295         * manual/llio.texi (Synchronizing AIO Operations): Update description
32296         for EBADF error from aio_fsync.
32298 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32300         * Rules (bench): Move target definition...
32301         * benchtests/Makefile: ... here.
32303 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
32305         * math/libm-test.inc (cos_test): Fix PI/2 test.
32306         (sincos_test): Likewise.
32307         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32308         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32310 2013-04-11  Andreas Schwab  <schwab@suse.de>
32312         [BZ #13988]
32313         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32314         accept exponent character only when digits were seen.
32315         * stdio-common/Makefile (tests): Add bug26.
32316         * stdio-common/bug26.c: New file.
32318         [BZ #14293]
32319         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32320         non-freeable.
32322 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32324         * Makeconfig (rtld-prefix): Define built linker prefix.
32325         * Rules (run-bench): Use it.
32326         * math/Makefile (run-regen-ulps): Likewise.
32328         * Rules (bench): Remove eval.
32330 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32331             Roland McGrath  <roland@hack.frob.com>
32332             Ondrej Bilka  <neleai@seznam.cz>
32334         [BZ #15346]
32335         * time/getdate.c: Include ctype.h and alloca.h.
32336         (__getdate_r): Trim leading and trailing spaces of input.
32337         * time/tst-getdate.c (tests): Add tests with leading and
32338         trailing spaces.
32340 2013-04-08  Roland McGrath  <roland@hack.frob.com>
32342         [BZ #14280]
32343         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32344         when computing value.
32346 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32348         * math/README.libm-test (How can I generate "libm-test-ulps"?):
32349         Use testrun.sh to run libm tests.
32351         [BZ #15309]
32352         * elf/dl-open.c (dl_open_worker): memset all of seen array.
32354 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
32356         [BZ #15264]
32357         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32359 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32361         * Makefile.in (regen-ulps): New target.
32362         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32363         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32364         [ifneq (no,$(PERL)] (regen-ulps): New target.
32365         [ifeq (no,$(PERL)] (regen-ulps): New target.
32366         * math/libm-test.inc (ulps_file_name): Define.
32367         (output_dir): New variable.
32368         (options): Add "output-dir" option.
32369         (parse_opt): Handle 'o' case.
32370         (main): If output_dir is non-NULL use it as a prefix
32371         otherwise use "".
32372         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32374 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32376         [BZ #10060, #10062]
32377         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32378         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32379         fail configure if __sync_val_compare_and_swap is not inlined.
32380         * sysdeps/i386/configure: Regenerate.
32381         * configure.in: Build for i686 when configured for i386.
32382         * configure: Regenerate.
32383         * README: Remove i386 reference.
32385 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32387         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32388         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32390 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32392         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32393         (lmsnanval): New variables.
32394         (F): Add conversion tests.
32395         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32396         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32398         * stdio-common/tstdiomisc.c (F): Properly collect individual
32399         tests' results.
32401         [BZ #14686, #15336]
32402         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32403         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32404         Instead, use input NaN values or generate a qNaN by arithmetic
32405         operation.  Also fix bugs to comply with the standard.
32406         * math/libm-test.inc (remainder_test): Add more tests.
32408         [BZ #15335, #15342]
32409         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32410         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32411         input NaN values or generate a qNaN by arithmetic operation.
32413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32414         unreachable code.
32416         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32417         definitions.
32419 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
32421         [BZ #14478]
32422         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32423         underflowed result.
32424         * math/s_cexpf.c (__cexpf): Likewise.
32425         * math/s_cexpl.c (__cexpl): Likewise.
32426         * math/libm-test.inc (cexp_test): Add more tests.
32428 2013-04-03  Andreas Schwab  <schwab@suse.de>
32430         [BZ #15330]
32431         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32432         order arrays from heap if bigger than alloca cutoff.
32434 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
32436         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32437         (SNAN_TESTS_double): Refer to GCC PR56831.
32438         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32439         GCC PR56828.
32441 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32443         * Rules (bench): Move bench.out after the run is complete.
32445         * Rules (bench): Echo currently running benchmark.
32447         * benchtests/Makefile (bench): Add atan and slowatan.
32448         * benchtests/atan-inputs: New file.
32449         * benchtests/slowatan-inputs: New file.
32450         * benchtests/slowatan.c: New file.
32452         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32453         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32454         its value.
32456         [BZ #15305]
32457         * sysdeps/unix/sysv/linux/kernel-features.h
32458         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32459         __ASSUME_XFS_RESTRICTED_CHOWN.
32460         * sysdeps/unix/sysv/linux/pathconf.c
32461         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32462         Save and restore errno.
32464 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
32466         [BZ #15327]
32467         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32468         arguments using __kernel_casinh.
32469         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32470         arguments using __kernel_casinhf.
32471         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32472         arguments using __kernel_casinhl.
32473         * math/libm-test.inc (cacosh_test): Add more tests.
32474         * sysdeps/i386/fpu/libm-test-ulps: Update.
32475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32477 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32479         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32480         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32482         * bench/Makefile (bench): Add sin and slowsin.
32483         * benchtests/sin-inputs: New file.
32484         * benchtests/slowsin-inputs: New file.
32485         * benchtests/slowsin.c: New file.
32487         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32488         (bench): Add slowexp and slowpow.
32489         (exp-ITER): Increase iterations.
32490         (pow-ITER): Likewise.
32491         * benchtests/exp-inputs: Change input.
32492         * benchtests/pow-inputs: Likewise.
32493         * benchtests/slowexp-inputs: New file.
32494         * benchtests/slowexp.c: New file.
32495         * benchtests/slowpow-inputs: New file.
32496         * benchtests/slowpow.c: New file.
32498 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32500         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32501         instructions.
32502         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32503         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32504         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32505         * benchtests/Makefile: Add rint benchtest.
32506         * benchtests/rint-inputs: Input for rint benchtest.
32508 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32510         * Versions.def (libm): Add GLIBC_2.18.
32511         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32512         hidden libm prototypes.
32513         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32514         * math/Makefile (libm-calls): Add s_issignaling.
32515         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32516         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
32517         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32518         declaration.
32519         * math/math.h [__USE_GNU] (issignaling): New macro.
32520         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32521         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32522         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32523         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32524         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32525         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32526         * manual/arith.texi (issignaling): New section.
32527         * manual/libm-err-tab.pl (@all_functions): Update comment.
32528         * math/gen-libm-test.pl (parse_args): Apply special handling for
32529         issignaling.
32530         * math/libm-test.inc (print_float, issignaling_test): New
32531         functions.
32532         (check_float_internal): Add issignaling checks.
32533         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32534         default definition.
32535         * sysdeps/powerpc/math-tests.h: New file.
32536         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32537         tests.
32538         * math/test-snan.c (TEST_FUNC): Likewise.
32540 2013-03-30  David S. Miller  <davem@davemloft.net>
32542         * po/de.po: Update from translation team.
32544 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
32546         [BZ #10357]
32547         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32548         imaginary part less than 1.0 and real part less than 0.5
32549         specially.
32550         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32551         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32552         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32553         (cacos_test): Add more tests.
32554         (casin_test): Likewise.
32555         (casinh_test): Likewise.
32556         * sysdeps/i386/fpu/libm-test-ulps: Update.
32557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32559 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32561         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32562         ONE with its value.
32564         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32565         (__pow_mp): Replace ONE and MONE with their values.
32566         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32567         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32568         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32569         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32570         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32571         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32573         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32575         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32576         (__pow_mp): Replace ZERO and MZERO with their values.
32577         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32578         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32579         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32581         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32582         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32583         (__sqr): Likewise.
32585         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32587         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32589 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32591         * include/stdlib.h [!SHARED] (__call_tls_dtors):
32592         Declare with __attribute__ ((weak)).
32593         * stdlib/exit.c (__libc_atexit) [!SHARED]:
32594         Call __call_tls_dtors only if it's not NULL.
32596 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32598         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32599         didn't do it already, then set _dl_phdr and _dl_phnum based on the
32600         magic __ehdr_start linker symbol if it's defined.
32601         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32602         them up here if it was already done.
32604         * elf/dl-support.c (_dl_phdr): Make pointer to const.
32605         (_dl_aux_init): Use const in cast when setting it.
32606         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32607         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32608         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32610         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32611         Declare them here.
32612         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32613         * csu/libc-tls.c: Nor here.
32614         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32616         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32617         (__libc_message): Never call vsyslog.
32619 2013-03-28  Alan Modra  <amodra@gmail.com>
32621         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32622         Define as empty.
32623         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32624         Likewise.
32626 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32628         [BZ #15214]
32629         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32630         underflow.
32631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32633 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32635         [BZ #15304]
32636         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32637         Don't add gid passed as argument.
32639         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32641 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
32643         [BZ #15307]
32644         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32645         imaginary part between 1.0 and 1.5 and real part less than 0.5
32646         specially.
32647         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32648         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32649         * math/libm-test.inc (cacos_test): Add more tests.
32650         (casin_test): Likewise.
32651         (casinh_test): Likewise.
32652         * sysdeps/i386/fpu/libm-test-ulps: Update.
32653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32655 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32657         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32658         constants.
32659         (norm): Likewise.
32660         (denorm): Likewise.
32661         (__dbl_mp): Likewise.
32662         (add_magnitudes): Likewise.
32663         (sub_magnitudes): Likewise.
32664         (__add): Likewise.
32665         (__sub): Likewise.
32666         (__mul): Likewise.
32667         (__sqr): Likewise.
32668         (__inv): Likewise.
32669         (__dvd): Likewise.
32671         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32672         commented code.
32673         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32674         (__dubcos): Likewise.
32675         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32676         (__ieee754_acos): Likewise.
32677         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32678         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32679         (__exp1): Likewise.
32680         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32681         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32682         (log1): Likewise.
32683         (my_log2): Likewise.
32684         (checkint): Likewise.
32685         * sysdeps/ieee754/dbl-64/e_remainder.c
32686         (__ieee754_remainder): Likewise.
32687         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32688         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32689         (bsloww): Likewise.
32690         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32692         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32693         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32694         MANTISSA_STORE_T to store computations on mantissa.  Use
32695         macros for rounding and division.
32696         (denorm): Likewise.
32697         (__dbl_mp): Likewise.
32698         (add_magnitudes): Likewise.
32699         (sub_magnitudes): Likewise.
32700         (__mul): Likewise.
32701         (__sqr): Likewise.
32702         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32703         powers of two in terms of TWOPOW macro.
32704         (mp_no): Make type of mantissa as MANTISSA_T.
32705         [!RADIXI]: Define RADIXI.
32706         [!TWO52]: Define TWO52.
32707         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32709 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32711         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32712         llroundl symbol when building for PPC32.
32714 2013-03-24  Mark H Weaver  <mhw@netris.org>
32716         * manual/arith.texi (Normalization Functions): Fix prototypes for
32717         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32719 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32721         [BZ #13889]
32722         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32723         high value to check if expl overflow.
32724         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32725         to check for underflow and overflow.
32726         * math/libm-test.inc: Add exp test.
32728 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
32730         [BZ #11120]
32731         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32732         with NOT_IN_libc.
32734 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32736         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32737         symbol.
32739 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32741         * math/gen-libm-test.pl (parse_args, special_functions): Properly
32742         wrap blocks consisting of several statements.
32744         * sysdeps/generic/math-tests.h: New file.
32745         * sysdeps/i386/fpu/math-tests.h: Likewise.
32746         * math/test-snan.c: Include it.
32747         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32749 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32751         [BZ #15285]
32752         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32753         (__ieee754_j0l): Do not improve calculations using cos of twice
32754         input for inputs above LDBL_MAX / 2.0L.
32755         (__ieee754_y0l): Likewise.
32756         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32757         (__ieee754_j1l): Do not improve calculations using cos of twice
32758         input for inputs above LDBL_MAX / 2.0L.
32759         (__ieee754_y1l): Likewise.
32760         * math/libm-test.inc (j0_test): Add another test.
32761         (j1_test): Likewise.
32762         (y0_test): Likewise.
32763         (y1_test): Likewise.
32764         * sysdeps/i386/fpu/libm-test-ulps: Update.
32766 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32768         * Rules ($(objpfx)bench-%.c): Include code from a C source
32769         file.
32771 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32773         [BZ #15287]
32774         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32775         imaginary part 1.0 and real part less than 0.5 specially.
32776         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32777         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32778         * math/libm-test.inc (cacos_test): Add more tests.
32779         (casin_test): Likewise.
32780         (casinh_test): Likewise.
32781         * sysdeps/i386/fpu/libm-test-ulps: Update.
32782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32784 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32786         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32787         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32789 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
32791         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32792         * config.make.in (config-cflags-sse4): Remove variable.
32793         (config-cflags-avx): Likewise.
32794         (config-cflags-sse2avx): Likewise.
32795         (config-cflags-novzeroupper): Likewise.
32796         (config-asflags-i686): Likewise.
32797         (have-mfma4): Likewise.
32798         (have-as-vis3): Likewise.
32799         (MIG): Likewise.
32800         * configure.in (MIG): Do not AC_SUBST.
32801         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32802         (libc_cv_cc_sse4): Do not AC_SUBST.
32803         (libc_cv_cc_avx): Likewise.
32804         (libc_cv_cc_sse2avx): Likewise.
32805         (libc_cv_cc_novzeroupper): Likewise.
32806         (libc_cv_cc_fma4): Likewise.
32807         (libc_cv_as_i686): Likewise.
32808         (libc_cv_sparc_as_vis3): Likewise.
32809         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32810         LIBC_CONFIG_VAR.
32811         (config-asflags-i686): Likewise.
32812         (config-cflags-avx): Likewise.
32813         (config-cflags-sse2avx): Likewise.
32814         (have-mfma4): Likewise.
32815         (config-cflags-novzeroupper): Likewise.
32816         * sysdeps/mach/configure.in (MIG): Likewise.
32817         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32818         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32819         LIBC_CONFIG_VAR.
32820         (config-cflags-avx): Likewise.
32821         (config-cflags-sse2avx): Likewise.
32822         (have-mfma4): Likewise.
32823         (config-cflags-novzeroupper): Likewise.
32824         * configure: Regenerated.
32825         * sysdeps/i386/configure: Likewise.
32826         * sysdeps/mach/configure: Likewise.
32827         * sysdeps/sparc/configure: Likewise.
32828         * sysdeps/x86_64/configure: Likewise.
32830 2013-03-20  Roland McGrath  <roland@hack.frob.com>
32832         [BZ #14812]
32833         * locale/programs/localedef.c (options): Put N_ translation marker
32834         on argument names, not just descriptions.
32836 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32838         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32840 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
32842         [BZ #14176]
32843         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32845 2013-03-19  Roland McGrath  <roland@hack.frob.com>
32847         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32848         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32849         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32850         [!BEFORE_ABORT] (before_abort): New function.
32851         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32852         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32853         (writev_for_fatal): New function.
32854         (WRITEV_FOR_FATAL): New macro; call that.
32855         (backtrace_and_maps): New function.
32856         (BEFORE_ABORT): New macro; call that.
32857         (struct str_list): Type removed.
32858         (__libc_message, __libc_fatal): Functions removed.
32859         Include <sysdeps/posix/libc_fatal.c> instead.
32861 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
32863         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32864         constants.
32865         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32866         double constants.
32868 2013-03-19  Andreas Schwab  <schwab@suse.de>
32870         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32871         * sysdeps/gnu/configure: Regenerate.
32873         * configure.in: Substitute libc_cv_rtlddir.
32874         * configure: Regenerate.
32875         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32876         * Makeconfig (rtlddir, inst_rtlddir): New variables.
32877         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32878         * elf/Makefile (install-others, CFLAGS-interp.c)
32879         (ldso_install, common-ldd-rewrite): Likewise.
32880         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32881         $(inst_slibdir)/$(rtld-installed-name).
32882         * scripts/rellns-sh: Add -p option.
32883         * Makerules (make-shlib-link): Use rellns-sh to get relative name
32884         for source.
32886 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32888         * manual/nptl.texi: Renamed to ...
32889         * manual/threads.texi: ... this.
32890         * manual/Makefile (chapters): Update.
32892 2013-03-18  Roland McGrath  <roland@hack.frob.com>
32894         [BZ #14812]
32895         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32896         on argument names, not just descriptions.
32897         * malloc/memusagestat.c (options): Likewise.
32898         * nss/getent.c (options): Likewise.
32900 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
32902         [BZ #14812]
32903         * iconv/iconv_prog.c (options): Put N_ translation marker
32904         on argument names, not just descriptions.
32905         * iconv/iconvconfig.c (options): Likewise.
32907 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
32909         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32910         implementation which is faster on all x86_64 architectures.
32911         Tested on AMD, Intel Nehalem, SNB, IVB.
32912         * sysdeps/x86_64/strnlen.S: Likewise.
32914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32915         Remove all multiarch strlen and strnlen versions.
32916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32917         Remove strlen and strnlen related parts.
32919         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32920         Inline strlen part.
32921         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32923         * sysdeps/x86_64/multiarch/strlen.S: Remove.
32924         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32925         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32926         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32927         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32928         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32930 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
32932         * manual/memory.texi (Malloc Tunable Parameters):
32933         Sort parameters alphabetically. Add comments for missing entries.
32935 2013-03-17  David S. Miller  <davem@davemloft.net>
32937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32939 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
32941         [BZ #15283]
32942         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32943         for arguments at most half maximum finite value.
32944         * math/libm-test.inc (j0_test): Add more tests.
32945         (j1_test): Likewise.
32946         (y0_test): Likewise.
32947         (y1_test): Likewise.
32948         * sysdeps/i386/fpu/libm-test-ulps: Update.
32949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32951         [BZ #14155]
32952         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32953         1 / x and functions P and Q for arguments above 0x1p256L.
32954         (__ieee754_y0l): Likewise.
32955         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32956         (__ieee754_y1l): Likewise.
32957         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32958         (j1_test): Likewise.
32959         (y0_test): Likewise.
32960         (y1_test): Likewise.
32962 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
32964         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32965         variable.
32967 2013-03-15  Roland McGrath  <roland@hack.frob.com>
32969         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32970         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32971         zero since it's initialized to EXEC_PAGESIZE.
32973         * sysdeps/unix/sysv/linux/ldsodefs.h
32974         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32975         * sysdeps/generic/ldsodefs.h: ... here.
32977 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
32979         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32981         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32982         math/test-snan.c.
32983         * math/test-snan.c: Renamed from
32984         sysdeps/powerpc/fpu/test-powerpc-snan.c.
32985         * math/Makefile (tests): Add test-snan.
32986         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32987         test-powerpc-snan.
32989         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32990         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
32991         functions.
32992         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
32993         __builtin_nan family of functions.
32994         * math/libm-test.inc (initialize): Initialize qnan_value with
32995         __builtin_nan family of functions.
32996         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32997         Remove variables.
32998         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32999         Remove functions.
33000         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33001         storage class.  Initialize qNaN_var and sNaN_var with
33002         __builtin_nan and __builtin_nans families of functions,
33003         respectively.
33005         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33006         (sqrt_test): Remove duplicate test with qNaN input.
33007         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33008         (round_test, signbit_test, significand_test): Note missing +/-Inf
33009         as well as qNaN tests.
33011         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33012         qNaN_var.  Fix a few strings, too.
33013         * math/libm-test.inc (nan_value): Rename to qnan_value.
33014         * math/gen-libm-test.pl (%beautify): Adjust to that.
33015         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33016         * math/test-misc.c (main): Likewise.
33017         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33018         to __qnan_bytes, and __qnan_union, respectively.
33019         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33020         Likewise.
33021         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33022         and lqnanval, respectively.
33023         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33024         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33025         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33026         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33028         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33029         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33030         doubles.
33032         * math/test-misc.c (main): Fix copy'n'pastos.
33033         * misc/tst-efgcvt.c (special): Likewise.
33035         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33036         Remove declarations.
33038 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33040         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33041         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33042         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33043         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33045 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33047         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33048         macro to return vdso values correctly in IFUNC implementations.
33049         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33050         Optimization by using IFUNC.
33052 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33053             Richard Henderson  <rth@redhat.com>
33054             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33056         * Makefile.in (bench): New target.
33057         * NEWS: Mention the benchmark framework.
33058         * Rules (bench): Likewise.
33059         (binaries-bench): Generate binaries for functions to
33060         benchmark.
33061         * benchtests/Makefile: New makefile for benchmark tests.
33062         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33063         programs.
33064         * benchtests/exp-inputs: New input file for EXP function.
33065         * benchtests/pow-inputs: New input file for POW function.
33066         * scripts/bench.pl: New script to generate source files for
33067         benchmark programs.
33069 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33071         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33072         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33073         computations on mantissa.  Use macros for rounding and
33074         division.
33075         (denorm): Likewise.
33076         (__dbl_mp): Likewise.
33077         (add_magnitudes): Likewise.
33078         (sub_magnitudes): Likewise.
33079         (__mul): Likewise.
33080         (__sqr): Likewise.
33081         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33082         powers of two in terms of TWOPOW macro.
33083         (mp_no): Make type of mantissa as MANTISSA_T.
33084         [!RADIXI]: Define RADIXI.
33085         [!TWO52]: Define TWO52.
33086         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33088         * manual/nptl.texi (cindex): Modify threads to pthreads.
33090 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
33092         * sysdeps/x86_64/preconfigure: Regenerated.
33094 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
33096         [BZ #14155]
33097         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33098         0x1p28 and above.
33099         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33100         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33101         0x1p28 and above.
33102         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33103         * math/libm-test.inc (j0_test): Do not allow one spurious
33104         underflow exception.
33105         (y1_test): Likewise.
33107 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33109         * manual/Makefile (chapters): Add nptl.
33110         * manual/debug.texi (Debugging Support): Add link to Threads
33111         chapter.
33112         * manual/nptl.texi: New file.
33114         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33116 2013-03-14  Petr Baudis  <pasky@ucw.cz>
33118         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33119         for non-NULL pointer before the memory validity test. Pointed
33120         out by Holger Brunck <holger.brunck@keymile.com>.
33122 2013-03-13  Andreas Schwab  <schwab@suse.de>
33124         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33125         instead of .os.
33127 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
33129         * timezone/zic.c: Update from tzcode 2013b.
33131 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
33133         * manual/install.texi (Configuring and compiling):
33134         Mention i686 and i586.
33135         * INSTALL: Regenerate.
33137 2013-03-12  Roland McGrath  <roland@hack.frob.com>
33139         * sysdeps/init_array/elf-init.c: New file.
33140         * csu/elf-init.c
33141         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33142         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33144         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33145         __gmon_start__ as global, but as static with a .preinit_array pointer.
33146         * sysdeps/init_array/gmon-start.c: New file.  Use that.
33147         * sysdeps/init_array/crti.S: New file, empty except for comments.
33148         * sysdeps/init_array/crtn.S: Likewise.
33150 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
33152         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33153         definining bcopy.
33154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33155         Remove Prefer_SSE_for_memop.
33156         * sysdeps/x86_64/multiarch/init-arch.h: Remove
33157         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33158         HAS_PREFER_SSE_FOR_MEMOP.
33159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33160         memset-x86-64.
33161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33162         Remove bzero, memset ifunc support.
33163         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33164         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33165         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33166         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33168 2013-03-11  Andreas Schwab  <schwab@suse.de>
33170         [BZ #15234]
33171         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33172         by SHLIB_COMPAT.
33173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33174         (GLIBC_2.16): Remove pthread_atfork.
33176 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33178         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33179         (ptestcases.h): Likewise.
33181 2013-03-08  Roland McGrath  <roland@hack.frob.com>
33183         * Makeconfig ($(common-objpfx)config.status): Depend on
33184         sysdeps/*/preconfigure{,.in} too.
33186 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
33188         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33189         (__free_hook): Use void * instead of __malloc_ptr_t.
33190         (__malloc_hook): Likewise.
33191         (__realloc_hook): Likewise.
33192         (__memalign_hook): Likewise.
33193         (__after_morecore_hook): Likewise.
33194         * malloc/arena.c (save_malloc_hook): Likewise.
33195         (save_free_hook): Likewise.
33196         * malloc/hooks.c (malloc_hook_ini): Likewise.
33197         (realloc_hook_ini): Likewise.
33198         (memalign_hook_ini): Likewise.
33199         * malloc/malloc.c (malloc_hook_ini): Likewise.
33200         (realloc_hook_ini): Likewise.
33201         (memalign_hook_ini): Likewise.
33202         (__free_hook): Likewise.
33203         (__malloc_hook): Likewise.
33204         (__realloc_hook): Likewise.
33205         (__memalign_hook): Likewise.
33206         (__libc_malloc): Likewise.
33207         (__libc_free): Likewise.
33208         (__libc_realloc): Likewise.
33209         (__libc_memalign): Likewise.
33210         (__libc_valloc): Likewise.
33211         (__libc_pvalloc): Likewise.
33212         (__libc_calloc): Likewise.
33213         (__posix_memalign): Likewise.
33214         * malloc/morecore.c (__sbrk): Likewise.
33215         (__default_morecore): Likewise.
33217         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33219         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33220         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33221         __malloc_ptrdiff_t.
33223         * malloc/malloc.h (__malloc_size_t): Remove macro.
33224         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33225         __malloc_size_t.
33226         (old_memalign_hook): Likewise.
33227         (old_realloc_hook): Likewise.
33228         (struct hdr): Likewise.
33229         (flood): Likewise.
33230         (mallochook): Likewise.
33231         (memalignhook): Likewise.
33232         (reallochook): Likewise.
33233         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33234         (tr_old_realloc_hook): Likewise.
33235         (tr_old_memalign_hook): Likewise.
33236         (tr_mallochook): Likewise.
33237         (tr_reallochook): Likewise.
33238         (tr_memalignhook): Likewise.
33240 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33242         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33243         default_ldbl_pack and using as default implementation.
33244         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33245         implementation.
33246         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33247         redundant definition.
33248         (ldbl_insert_mantissa): Likewise.
33249         (ldbl_canonicalize): Likewise.
33250         (ldbl_nearbyint): Likewise.
33251         (ldbl_pack): Rename to ldbl_pack_ppc.
33252         (ldbl_unpack): Rename to ldbl_unpack_ppc.
33253         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33254         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33256 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33259         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33260         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33261         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33263         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33264         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33265         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33267 2013-03-07  Andreas Jaeger  <aj@suse.de>
33269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33270         bits/mman-linux.h.
33272 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33274         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33275         Include mpa.h and declare __MPEXP.
33276         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33277         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33278         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33279         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33280         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33281         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33282         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33284         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33285         (__slowpow): Use long double EXPL and LOGL functions to
33286         compute POW.
33287         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33288         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33289         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33290         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33291         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33292         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33295         intermediate variable to calculate exponent.
33296         (__sqr): Likewise.
33297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33298         Likewise.
33299         (__sqr): Likewise.
33301         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33302         [!NO__SQR]: Define __sqr.
33303         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33304         and NO__SQR.  Remove all code except __mul and __sqr.  Include
33305         sysdeps/ieee754/dbl-64/mpa.c.
33306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33308         [BZ #12723]
33309         * posix/Makefile (tests): Add tst-pathconf.
33310         * posix/tst-pathconf.c: New test case.
33311         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33312         _PC_PIPE_BUF.
33313         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33315 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
33317         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33319 2013-03-06  Andreas Jaeger  <aj@suse.de>
33321         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33322         definition via __MAP_ANONYMOUS.
33324         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33325         it's not part of Linux headers.
33327         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33328         (MAP_HUGE_MASK): Define.
33330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33331         Define.
33332         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33333         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33334         Define.
33335         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33336         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33337         Define.
33338         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33339         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33340         Define.
33341         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33343         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33344         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33345         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33346         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33347         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33348         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33350         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33351         Handle f2fs.
33353         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33354         Handle f2fs and efivarfs.
33356         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33357         f2fs.
33359         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33360         (EFIVARFS_MAGIC): Add.
33361         (F2FS_LINK_MAX): Add.
33363 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33365         * stdio-common/vfprintf.c: Replace __builtin_expect with
33366         __glibc_unlikely.
33368 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
33370         [BZ #13550]
33371         * sysdeps/generic/bp-sym.h: Remove file.
33372         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33373         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33374         <bp-sym.h> and <bp-asm.h>.
33375         (__longjmp): Don't use BP_SYM.
33376         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33377         and <bp-asm.h>.
33378         (memcpy): Don't use BP_SYM.
33379         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33380         <bp-sym.h> and <bp-asm.h>.
33381         (memcpy): Don't use BP_SYM.
33382         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33383         <bp-asm.h>.
33384         (memcpy): Don't use BP_SYM.
33385         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33386         <bp-asm.h>.
33387         (memset): Don't use BP_SYM.
33388         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33389         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33390         (__bzero): Don't use BP_SYM.
33391         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33392         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33393         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33394         <bp-sym.h> and <bp-asm.h>.
33395         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33396         pointers.
33397         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33398         <bp-sym.h> and <bp-asm.h>.
33399         (memcpy): Don't use BP_SYM.
33400         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33401         <bp-sym.h> and <bp-asm.h>.
33402         (memset): Don't use BP_SYM.
33403         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33404         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33405         (__bzero): Don't use BP_SYM.
33406         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33407         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33408         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33409         <bp-sym.h> and <bp-asm.h>.
33410         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33411         pointers.
33412         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33413         <bp-sym.h> and <bp-asm.h>.
33414         (memcpy): Don't use BP_SYM.
33415         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33416         <bp-sym.h> and <bp-asm.h>.
33417         (memset): Don't use BP_SYM.
33418         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33419         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33420         (__bzero): Don't use BP_SYM.
33421         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33422         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33423         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33424         <bp-sym.h> and <bp-asm.h>.
33425         (__memchr): Don't use BP_SYM.
33426         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33427         <bp-sym.h> and <bp-asm.h>.
33428         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33429         pointers.
33430         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33431         <bp-sym.h> and <bp-asm.h>.
33432         (memcpy): Don't use BP_SYM.
33433         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33434         <bp-sym.h> and <bp-asm.h>.
33435         (__mempcpy): Don't use BP_SYM.
33436         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33437         <bp-sym.h> and <bp-asm.h>.
33438         (__memrchr): Don't use BP_SYM.
33439         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33440         <bp-sym.h> and <bp-asm.h>.
33441         (memset): Don't use BP_SYM.
33442         (__bzero): Likewise.
33443         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33444         <bp-sym.h> and <bp-asm.h>.
33445         (__rawmemchr): Don't use BP_SYM.
33446         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33447         <bp-sym.h> and <bp-asm.h>.
33448         (__STRCMP): Don't use BP_SYM.
33449         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33450         <bp-sym.h> and <bp-asm.h>.
33451         (strchr): Don't use BP_SYM.
33452         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33453         <bp-sym.h> and <bp-asm.h>.
33454         (__strchrnul): Don't use BP_SYM.
33455         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33456         <bp-sym.h> and <bp-asm.h>.
33457         (strlen): Don't use BP_SYM.
33458         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33459         <bp-sym.h> and <bp-asm.h>.
33460         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33461         pointers.
33462         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33463         <bp-sym.h> and <bp-asm.h>.
33464         (__strnlen): Don't use BP_SYM.
33465         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33466         <bp-sym.h> and <bp-asm.h>.
33467         (__GI__setjmp): Don't use BP_SYM.
33468         (_setjmp): Likewise.
33469         (__sigsetjmp): Likewise.
33470         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33471         (L(start_addresses)): Don't use BP_SYM.
33472         (_start): Likewise.
33473         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33474         <bp-asm.h>.
33475         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33476         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33477         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33478         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33479         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33480         <bp-asm.h>.
33481         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33482         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
33483         about bounded pointers.
33484         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33485         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33486         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33487         <bp-asm.h>.
33488         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33489         about bounded pointers.  Remove GKM FIXME comments.
33490         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33491         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33492         <bp-asm.h>.
33493         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33494         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
33495         Remove GKM FIXME comments.
33496         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33497         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33498         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33499         <bp-asm.h>.
33500         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33501         about bounded pointers.  Remove GKM FIXME comment.
33502         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33503         and <bp-asm.h>.
33504         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33505         pointers.
33506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33507         <bp-sym.h> and <bp-asm.h>.
33508         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33510         <bp-sym.h> and <bp-asm.h>.
33511         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33512         comment.
33514 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33516         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33517         call free(NULL).
33519 2013-03-05  David S. Miller  <davem@davemloft.net>
33521         * po/es.po: Update from translation team.
33523 2013-03-05  Andreas Jaeger  <aj@suse.de>
33525         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33526         <bits/mman-linux.h>.
33527         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33528         is fine.
33529         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33530         <bits/mman-linux.h> to end of file.
33531         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33532         is fine.
33533         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33534         <bits/mman-linux.h> to end of file.
33535         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33536         is fine.
33537         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33538         <bits/mman-linux.h> to end of file.
33540         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33541         (MCL_CURRENT, MCL_FUTURE): Define here.
33543 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33545         [BZ #15232]
33546         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33547         attribute_hidden.
33548         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33550 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33552         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33553         fourth parameter needed for rt_sigprocmask syscall.
33554         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33555         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33556         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33557         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33558         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33559         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33561 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
33563         [BZ #13550]
33564         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33565         comment about bounded pointers.
33566         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33567         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33569 2013-03-04  Andreas Jaeger  <aj@suse.de>
33571         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33572         common definitions.
33574         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33575         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33576         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33577         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33578         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33579         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33581 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33583         [BZ #15055]
33584         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33585         __ieee754_sqrl instead of __sqrl.
33587 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
33589         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33590         * sysdeps/powerpc/fpu_control.h: ... here.
33591         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33592         * sysdeps/powerpc/bits/fenvinline.h: ... here.
33593         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33594         * sysdeps/powerpc/bits/mathinline.h: ... here.
33596 2013-03-01  Roland McGrath  <roland@hack.frob.com>
33598         * elf/dl-hwcaps.c (_dl_important_hwcaps):
33599         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33600         to just [NEED_DL_SYSINFO_DSO].
33601         * elf/dl-support.c: Likewise.
33602         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33603         * elf/rtld.c (dl_main): Likewise.
33604         * elf/setup-vdso.h (setup_vdso): Likewise.
33605         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33606         * sysdeps/unix/sysv/linux/dl-sysdep.c
33607         (_dl_discover_osversion): Likewise.
33609 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
33611         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33612         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33614 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33616         * NEWS: Mention libm performance improvements and non-x86 PI
33617         futex support.
33619         * csu/libc-start.c (__pthread_initialize_minimal): Change
33620         function arguments.
33621         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33623 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
33625         [BZ #13550]
33626         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33627         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33628         <bp-sym.h> and <bp-asm.h>.
33629         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33630         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33631         and <bp-asm.h>.
33632         (memcpy): Don't use BP_SYM.
33633         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33634         <bp-asm.h>.
33635         (__mpn_add_n): Don't use BP_SYM.
33636         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33637         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33638         and <bp-asm.h>.
33639         (__mpn_addmul_1): Don't use BP_SYM.
33640         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33641         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33642         <bp-sym.h>.
33643         (_setjmp): Don't use BP_SYM.
33644         (__novmx_setjmp): Likewise.
33645         (__GI__setjmp): Likewise.
33646         (__vmx_setjmp): Likewise.
33647         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33648         <bp-sym.h>.
33649         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33650         (__bzero): Don't use BP_SYM.
33651         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33652         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33653         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33654         <bp-sym.h> and <bp-asm.h>.
33655         (memcpy): Don't use BP_SYM.
33656         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33657         <bp-sym.h> and <bp-asm.h>.
33658         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33659         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33660         <bp-sym.h> and <bp-asm.h>.
33661         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33662         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33663         <bp-asm.h>.
33664         (__mpn_lshift): Don't use BP_SYM.
33665         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33666         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33667         <bp-asm.h>.
33668         (memset): Don't use BP_SYM.
33669         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33670         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33671         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33672         <bp-asm.h>.
33673         (__mpn_mul_1): Don't use BP_SYM.
33674         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33675         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33676         <bp-sym.h> and <bp-asm.h>.
33677         (memcmp): Don't use BP_SYM.
33678         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33679         <bp-sym.h> and <bp-asm.h>.
33680         (memcpy): Don't use BP_SYM.
33681         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33682         <bp-sym.h> and <bp-asm.h>.
33683         (memset): Don't use BP_SYM.
33684         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33685         <bp-sym.h> and <bp-asm.h>.
33686         (strncmp): Don't use BP_SYM.
33687         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33688         <bp-sym.h> and <bp-asm.h>.
33689         (memcpy): Don't use BP_SYM.
33690         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33691         <bp-sym.h> and <bp-asm.h>.
33692         (memset): Don't use BP_SYM.
33693         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33694         <bp-sym.h> and <bp-asm.h>.
33695         (__memchr): Don't use BP_SYM.
33696         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33697         <bp-sym.h> and <bp-asm.h>.
33698         (memcmp): Don't use BP_SYM.
33699         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33700         <bp-sym.h> and <bp-asm.h>.
33701         (memcpy): Don't use BP_SYM.
33702         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33703         <bp-sym.h> and <bp-asm.h>.
33704         (__mempcpy): Don't use BP_SYM.
33705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33706         <bp-sym.h> and <bp-asm.h>.
33707         (__memrchr): Don't use BP_SYM.
33708         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33709         <bp-sym.h> and <bp-asm.h>.
33710         (memset): Don't use BP_SYM.
33711         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33712         <bp-sym.h> and <bp-asm.h>.
33713         (__rawmemchr): Don't use BP_SYM.
33714         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33715         <bp-sym.h> and <bp-asm.h>.
33716         (__STRCMP): Don't use BP_SYM.
33717         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33718         <bp-sym.h> and <bp-asm.h>.
33719         (strchr): Don't use BP_SYM.
33720         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33721         <bp-sym.h> and <bp-asm.h>.
33722         (__strchrnul): Don't use BP_SYM.
33723         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33724         <bp-sym.h> and <bp-asm.h>.
33725         (strlen): Don't use BP_SYM.
33726         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33727         <bp-sym.h> and <bp-asm.h>.
33728         (strncmp): Don't use BP_SYM.
33729         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33730         <bp-sym.h> and <bp-asm.h>.
33731         (__strnlen): Don't use BP_SYM.
33732         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33733         <bp-asm.h>.
33734         (__mpn_rshift): Don't use BP_SYM.
33735         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33736         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33737         <bp-sym.h> and <bp-asm.h>.
33738         (__sigsetjmp): Don't use BP_SYM.
33739         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33740         (L(start_addresses)): Don't use BP_SYM.
33741         (_start): Likewise.
33742         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33743         <bp-asm.h>.
33744         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33745         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33746         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33747         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33748         <bp-asm.h>.
33749         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33750         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33751         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33752         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33753         <bp-asm.h>.
33754         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33755         comments.
33756         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33757         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33758         <bp-asm.h>.
33759         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
33760         FIXME comments.
33761         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33762         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33763         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33764         <bp-asm.h>.
33765         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33766         comment.
33767         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33768         and <bp-asm.h>.
33769         (strncmp): Don't use BP_SYM,
33770         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33771         <bp-asm.h>.
33772         (__mpn_sub_n): Don't use BP_SYM.
33773         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33774         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33775         and <bp-asm.h>.
33776         (__mpn_submul_1): Don't use BP_SYM.
33777         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33779         <bp-sym.h> and <bp-asm.h>.
33780         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33782         <bp-sym.h> and <bp-asm.h>.
33783         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33784         comment.
33786 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33789         Use ZK to minimize writes to Z.
33790         (sub_magnitudes): Simplify code a bit.
33791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33792         Use ZK to minimize writes to Z.
33793         (sub_magnitudes): Simplify code a bit.
33795 2013-02-27  Roland McGrath  <roland@hack.frob.com>
33797         * csu/gmon-start.c: Add special exception to license text.
33799 2013-02-27  Richard Henderson  <rth@redhat.com>
33801         * scripts/config.guess: Update from config.git.
33802         * scripts/config.sub: Likewise.
33804 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33806         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33808         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33810         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33812         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33814         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33816 2013-02-26  Roland McGrath  <roland@hack.frob.com>
33818         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33819         [$(build-shared = yes].
33821 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33823         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33824         (__mul): Reduce iterations for calculating mantissa.
33826         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33827         MPTWO.
33828         (__mpranred): Likewise.
33830         [BZ #15160]
33831         * malloc/memusagestat.c (main): Draw graphs for heap and stack
33832         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33834 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
33836         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33837         Define __attribute__.
33839 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33841         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33842         unused.
33843         * posix/regex_internal.h (__attribute): Remove.
33844         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33845         (re_string_context_at): Likewise.
33846         (bitset_not): Use __attribute__ and mark function as possibly
33847         unused.
33848         (bitset_merge): Likewise.
33849         (bitset_mask): Likewise.
33850         (re_string_char_size_at): Likewise.
33851         (re_string_wchar_at): Likewise.
33852         (re_string_elem_size_at): Likewise.
33854 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33856         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33857         code.
33858         (cc32): Likewise.
33860         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33861         (__acr): Likewise.
33862         (__cpy): Likewise.
33863         (norm): Likewise.
33864         (denorm): Likewise.
33865         (__dbl_mp): Likewise.
33866         (add_magnitudes): Likewise.
33867         (sub_magnitudes): Likewise.
33868         (__mul): Likewise.
33869         (__inv): Likewise.
33871         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33872         style.
33874         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33875         style.
33877         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33878         code.
33880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33881         up changes with default code.
33882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33883         Likewise.
33885 2013-02-24  Allan McRae  <allan@archlinux.org>
33887         * manual/socket.texi (The Internet Namespace): Order menu items
33888         to match that in the file.
33890         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33891         node listing of the info page menu.
33893 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
33895         [BZ #13550]
33896         * sysdeps/i386/bp-asm.h: Remove file.
33897         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33898         (PARMS): Do not use macros from bp-asm.h.
33899         (S1): Likewise.
33900         (S2): Likewise.
33901         (SIZE): Likewise.
33902         (__mpn_add_n): Do not use BP_SYM
33903         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33904         "bp-asm.h".
33905         (PARMS): Do not use macros from bp-asm.h.
33906         (S1): Likewise.
33907         (SIZE): Likewise.
33908         (__mpn_addmul_1): Do not use BP_SYM
33909         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33910         "bp-asm.h".
33911         (PARMS): Do not use macros from bp-asm.h.
33912         (SIGMSK): Likewise.
33913         (_setjmp): Likewise.  Do not use BP_SYM.
33914         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33915         "bp-asm.h".
33916         (PARMS): Do not use macros from bp-asm.h.
33917         (SIGMSK): Likewise.
33918         (setjmp): Likewise.  Do not use BP_SYM.
33919         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33920         "bp-asm.h".
33921         (PARMS): Do not use macros from bp-asm.h.
33922         (__frexp): Do not use BP_SYM.
33923         (frexp): Likewise.
33924         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33925         "bp-asm.h".
33926         (PARMS): Do not use macros from bp-asm.h.
33927         (__frexpf): Do not use BP_SYM.
33928         (frexpf): Likewise.
33929         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33930         "bp-asm.h".
33931         (PARMS): Do not use macros from bp-asm.h.
33932         (__frexpl): Do not use BP_SYM.
33933         (frexpl): Likewise.
33934         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33935         "bp-asm.h".
33936         (PARMS): Do not use macros from bp-asm.h.
33937         (__remquo): Do not use BP_SYM.
33938         (remquo): Likewise.
33939         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33940         "bp-asm.h".
33941         (PARMS): Do not use macros from bp-asm.h.
33942         (__remquof): Do not use BP_SYM.
33943         (remquof): Likewise.
33944         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33945         "bp-asm.h".
33946         (PARMS): Do not use macros from bp-asm.h.
33947         (__remquol): Do not use BP_SYM.
33948         (remquol): Likewise.
33949         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33950         "bp-asm.h".
33951         (PARMS): Do not use macros from bp-asm.h.
33952         (DEST): Likewise.
33953         (SRC): Likewise.
33954         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
33955         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33956         "bp-asm.h".
33957         (PARMS): Do not use macros from bp-asm.h.
33958         (strlen): Do not use BP_SYM.
33959         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33960         "bp-asm.h".
33961         (PARMS): Do not use macros from bp-asm.h.
33962         (S1): Likewise.
33963         (S2): Likewise.
33964         (SIZE): Likewise.
33965         (__mpn_add_n): Do not use BP_SYM.
33966         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33967         "bp-asm.h".
33968         (PARMS): Do not use macros from bp-asm.h.
33969         (S1): Likewise.
33970         (SIZE): Likewise.
33971         (__mpn_addmul_1): Do not use BP_SYM.
33972         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33973         weak_alias.
33974         (bzero): Likewise.
33975         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33976         "bp-asm.h".
33977         (PARMS): Do not use macros from bp-asm.h.
33978         (S): Likewise.
33979         (SIZE): Likewise.
33980         (__mpn_lshift): Do not use BP_SYM.
33981         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33982         "bp-asm.h".
33983         (PARMS): Do not use macros from bp-asm.h.
33984         (DEST): Likewise.
33985         (SRC): Likewise.
33986         (LEN): Likewise.
33987         (memcpy): Likewise.  Do not use BP_SYM.
33988         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33989         libc_hidden_def and weak_alias.
33990         (mempcpy): Do not use BP_SYM in weak_alias.
33991         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33992         "bp-asm.h".
33993         (PARMS): Do not use macros from bp-asm.h.
33994         (DEST): Likewise.
33995         (LEN): Likewise.
33996         [!BZERO_P] (CHR): Likewise.
33997         (memset): Likewise.  Do not use BP_SYM.
33998         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33999         "bp-asm.h".
34000         (PARMS): Do not use macros from bp-asm.h.
34001         (S1): Likewise.
34002         (SIZE): Likewise.
34003         (__mpn_mul_1): Do not use BP_SYM.
34004         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34005         "bp-asm.h".
34006         (PARMS): Do not use macros from bp-asm.h.
34007         (S): Likewise.
34008         (SIZE): Likewise.
34009         (__mpn_rshift): Do not use BP_SYM.
34010         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34011         "bp-asm.h".
34012         (PARMS): Do not use macros from bp-asm.h.
34013         (STR): Likewise.
34014         (CHR): Likewise.
34015         (strchr): Likewise.  Do not use BP_SYM.
34016         (index): Do not use BP_SYM in weak_alias.
34017         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34018         "bp-asm.h".
34019         (PARMS): Do not use macros from bp-asm.h.
34020         (DEST): Likewise.
34021         (SRC): Likewise.
34022         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34023         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34024         "bp-asm.h".
34025         (PARMS): Do not use macros from bp-asm.h.
34026         (strlen): Do not use BP_SYM.
34027         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34028         "bp-asm.h".
34029         (PARMS): Do not use macros from bp-asm.h.
34030         (S1): Likewise.
34031         (S2): Likewise.
34032         (SIZE): Likewise.
34033         (__mpn_sub_n): Do not use BP_SYM.
34034         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34035         "bp-asm.h".
34036         (PARMS): Do not use macros from bp-asm.h.
34037         (S1): Likewise.
34038         (SIZE): Likewise.
34039         (__mpn_submul_1): Do not use BP_SYM.
34040         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34041         "bp-asm.h".
34042         (PARMS): Do not use macros from bp-asm.h.
34043         (S1): Likewise.
34044         (S2): Likewise.
34045         (SIZE): Likewise.
34046         (__mpn_add_n): Do not use BP_SYM.
34047         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34048         weak_alias.
34049         (bzero): Likewise.
34050         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34051         "bp-asm.h".
34052         (PARMS): Do not use macros from bp-asm.h.
34053         (BLK2): Likewise.
34054         (LEN): Likewise.
34055         (memcmp): Do not use BP_SYM.
34056         (bcmp): Do not use BP_SYM in weak_alias.
34057         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34058         "bp-asm.h".
34059         (PARMS): Do not use macros from bp-asm.h.
34060         (DEST): Likewise.
34061         (SRC): Likewise.
34062         (LEN): Likewise.
34063         (memcpy): Likewise.  Do not use BP_SYM.
34064         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34065         "bp-asm.h".
34066         (PARMS): Do not use macros from bp-asm.h.
34067         (DEST): Likewise.
34068         (SRC): Likewise.
34069         (LEN): Likewise.
34070         (memmove): Likewise.  Do not use BP_SYM.
34071         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34072         "bp-asm.h".
34073         (PARMS): Do not use macros from bp-asm.h.
34074         (DEST): Likewise.
34075         (SRC): Likewise.
34076         (LEN): Likewise.
34077         (__mempcpy): Likewise.  Do not use BP_SYM.
34078         (mempcpy): Do not use BP_SYM in weak_alias.
34079         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34080         "bp-asm.h".
34081         (PARMS): Do not use macros from bp-asm.h.
34082         (DEST): Likewise.
34083         (LEN): Likewise.
34084         [!BZERO_P] (CHR): Likewise.
34085         (memset): Likewise.  Do not use BP_SYM.
34086         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34087         "bp-asm.h".
34088         (PARMS): Do not use macros from bp-asm.h.
34089         (STR2): Likewise.
34090         (strcmp): Do not use BP_SYM.
34091         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34092         "bp-asm.h".
34093         (PARMS): Do not use macros from bp-asm.h.
34094         (STR): Likewise.
34095         (DELIM): Likewise.
34096         [USE_AS_STRTOK_R] (SAVE): Likewise.
34097         (FUNCTION): Likewise.  Do not use BP_SYM.
34098         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34099         aliases.
34100         (strtok_r): Likewise.
34101         (__GI___strtok_r): Likewise.
34102         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34103         (PARMS): Do not use macros from bp-asm.h.
34104         (S): Likewise.
34105         (SIZE): Likewise.
34106         (__mpn_lshift): Do not use BP_SYM.
34107         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34108         (PARMS): Do not use macros from bp-asm.h.
34109         (STR): Likewise.
34110         (CHR): Likewise.
34111         (__memchr): Do not use BP_SYM.
34112         (memchr): Do not use BP_SYM in weak_alias.
34113         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34114         (PARMS): Do not use macros from bp-asm.h.
34115         (BLK2): Likewise.
34116         (LEN): Likewise.
34117         (memcmp): Do not use BP_SYM.
34118         (bcmp): Do not use BP_SYM in weak_alias.
34119         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34120         (PARMS): Do not use macros from bp-asm.h.
34121         (S1): Likewise.
34122         (SIZE): Likewise.
34123         (__mpn_mul_1): Do not use BP_SYM.
34124         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34125         "bp-asm.h".
34126         (PARMS): Do not use macros from bp-asm.h.
34127         (STR): Likewise.
34128         (CHR): Likewise.
34129         (__rawmemchr): Do not use BP_SYM.
34130         (rawmemchr): Do not use BP_SYM in weak_alias.
34131         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34132         (PARMS): Do not use macros from bp-asm.h.
34133         (S): Likewise.
34134         (SIZE): Likewise.
34135         (__mpn_rshift): Do not use BP_SYM.
34136         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34137         (PARMS): Do not use macros from bp-asm.h.
34138         (SIGMSK): Likewise.
34139         (__sigsetjmp): Likewise.  Do not use BP_SYM.
34140         * sysdeps/i386/start.S: Do not include "bp-sym.h".
34141         (_start): Do not use BP_SYM.
34142         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34143         (PARMS): Do not use macros from bp-asm.h.
34144         (DEST): Likewise.
34145         (SRC): Likewise.
34146         (__stpcpy): Likewise.  Do not use BP_SYM.
34147         (stpcpy): Do not use BP_SYM in weak_alias.
34148         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34149         "bp-asm.h".
34150         (PARMS): Do not use macros from bp-asm.h.
34151         (DEST): Likewise.
34152         (SRC): Likewise.
34153         (LEN): Likewise.
34154         (__stpncpy): Likewise.  Do not use BP_SYM.
34155         (stpncpy): Do not use BP_SYM in weak_alias.
34156         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34157         (PARMS): Do not use macros from bp-asm.h.
34158         (STR): Likewise.
34159         (CHR): Likewise.
34160         (strchr): Likewise.  Do not use BP_SYM.
34161         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34162         "bp-asm.h".
34163         (PARMS): Do not use macros from bp-asm.h.
34164         (STR): Likewise.
34165         (CHR): Likewise.
34166         (__strchrnul): Likewise.  Do not use BP_SYM.
34167         (strchrnul): Do not use BP_SYM in weak_alias.
34168         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34169         "bp-asm.h".
34170         (PARMS): Do not use macros from bp-asm.h.
34171         (STOP): Likewise.
34172         (strcspn): Do not use BP_SYM.
34173         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34174         "bp-asm.h".
34175         (PARMS): Do not use macros from bp-asm.h.
34176         (STR): Likewise.
34177         (STOP): Likewise.
34178         (strpbrk): Likewise.  Do not use BP_SYM.
34179         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34180         "bp-asm.h".
34181         (PARMS): Do not use macros from bp-asm.h.
34182         (STR): Likewise.
34183         (CHR): Likewise.
34184         (strrchr): Likewise.  Do not use BP_SYM.
34185         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34186         (PARMS): Do not use macros from bp-asm.h.
34187         (SKIP): Likewise.
34188         (strspn): Do not use BP_SYM.
34189         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34190         (PARMS): Do not use macros from bp-asm.h.
34191         (STR): Likewise.
34192         (DELIM): Likewise.
34193         (SAVE): Likewise.
34194         (FUNCTION): Likewise.  Do not use BP_SYM.
34195         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34196         aliases.
34197         (strtok_r): Likewise.
34198         (__GI___strtok_r): Likewise.
34199         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34200         (PARMS): Do not use macros from bp-asm.h.
34201         (S1): Likewise.
34202         (S2): Likewise.
34203         (SIZE): Likewise.
34204         (__mpn_sub_n): Do not use BP_SYM.
34205         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34206         "bp-asm.h".
34207         (PARMS): Do not use macros from bp-asm.h.
34208         (S1): Likewise.
34209         (SIZE): Likewise.
34210         (__mpn_submul_1): Do not use BP_SYM.
34211         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34212         <bp-sym.h>.
34213         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34214         and <bp-asm.h>.
34215         (PARMS): Do not use macros from bp-asm.h.
34216         (FLAGS): Likewise.
34217         (PTID): Likewise.
34218         (TLS): Likewise.
34219         (CTID): Likewise.
34220         (__clone): Do not use BP_SYM.
34221         (clone): Do not use BP_SYM in weak_alias.
34222         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34223         and <bp-asm.h>.
34224         (PARMS): Do not use macros from bp-asm.h.
34225         (LEN): Likewise.
34226         (__mmap64): Do not use BP_SYM.
34227         (mmap64): Do not use BP_SYM in weak_alias.
34228         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34229         <bp-sym.h> and <bp-asm.h>.
34230         (PARMS): Do not use macros from bp-asm.h.
34231         (__posix_fadvise64_l64): Do not use BP_SYM.
34232         * sysdeps/unix/sysv/linux/i386/semtimedop.S
34233         (PARMS): Do not use macros from bp-asm.h.
34234         (NSOPS): Likewise.
34235         (semtimedop): Do not use BP_SYM.
34236         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34237         and <bp-asm.h>.
34239 2013-02-21  Allan McRae  <allan@archlinux.org>
34241         * manual/message.texi (Charset conversion in gettext):
34242         Move @end statement to beginning of line.
34244 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34247         static.
34248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34249         Likewise.
34251         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34252         (denorm): Likewise.
34253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34256 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34258         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34259         tail-call to the resolved function if pltexit isn't needed.
34261 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34264         or Y being zero as being unlikely.
34265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34266         Likewise.
34268 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
34270         * manual/nss.texi (System Databases and Name Service Switch):
34271         Remove frobnicate @pxref.
34273 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34275         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34276         __attribute__ ((unused)) to __attribute__ ((__unused__)).
34278 2013-02-20  Petr Machata  <pmachata@redhat.com>
34280         * elf/elf.h (R_ARM_TARGET1): New macro.
34281         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34282         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34283         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34284         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34285         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34286         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34287         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34288         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34289         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34290         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34291         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34292         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34293         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34294         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34295         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34296         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34297         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34298         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34299         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34300         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34301         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34302         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34303         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34304         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34305         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34306         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34307         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34308         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34309         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34310         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34311         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34312         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34313         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34314         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34315         (R_ARM_THM_GOT_BREL12): Likewise.
34316         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34317         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34318         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34319         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34320         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34321         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34322         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34323         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34324         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34326 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34328         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34329         __attribute_used__ to __attribute__ ((unused)).
34331 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34333         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34334         powerpc mpa.c.
34335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34336         comment formatting.
34337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34339 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
34341         [BZ #13550]
34342         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34343         Remove macro.
34344         (ENTER): Remove both macro definitions.
34345         (LEAVE): Likewise.
34346         (CHECK_BOUNDS_LOW): Likewise.
34347         (CHECK_BOUNDS_HIGH): Likewise.
34348         (CHECK_BOUNDS_BOTH): Likewise.
34349         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34350         (RETURN_BOUNDED_POINTER): Likewise.
34351         (RETURN_NULL_BOUNDED_POINTER): Likewise.
34352         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34353         (POP_ERRNO_LOCATION_RETURN): Likewise.
34354         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34355         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34356         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34357         macros.
34358         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34359         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34360         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34361         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34362         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34363         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34364         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34365         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34366         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34367         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34368         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34369         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34370         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34371         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34372         removed macros.
34373         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34374         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34375         macros.
34376         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34377         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34378         * sysdeps/i386/i586/memset.S (memset): Likewise.
34379         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34380         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34381         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34382         macros.
34383         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34384         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34385         Change uses of L(2) to L(out).
34386         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34387         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34388         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34389         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34390         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34391         removed macros.
34392         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34393         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34394         macros.
34395         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34396         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34397         (RETURN): Do not use macro LEAVE.
34398         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34399         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34400         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34401         * sysdeps/i386/i686/memset.S (memset): Likewise.
34402         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34403         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34404         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34405         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34406         Likewise.
34407         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34408         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
34409         L(1_2) and L(1_3) into L(1).
34410         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34411         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34412         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34413         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34414         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34415         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34416         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34417         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34418         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34419         macros.
34420         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34421         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34422         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34423         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34424         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34425         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34426         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34427         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34428         * sysdeps/i386/strcspn.S (strcspn): Likewise.
34429         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34430         * sysdeps/i386/strrchr.S (strrchr): Likewise.
34431         * sysdeps/i386/strspn.S (strspn): Likewise.
34432         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34433         conditional code.
34434         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34435         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34436         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34437         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
34438         L(1_3) into L(1_1).
34439         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34440         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34441         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34442         macros.
34443         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34445 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
34447         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34448         macro.
34450 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34452         * math/atest-exp.c (exp_mpn): Remove ROUND.
34453         * math/atest-exp2.c (exp_mpn): Likewise.
34454         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34456         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34457         * stdlib/tst-tls-atexit-lib.c: Likewise.
34458         * stdlib/tst-tls-atexit.c: Likewise.
34460 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34462         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34463         and __attribute_alloc_size__.
34465 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34467         * include/programs/xmalloc.h: Change __attribute_alloc_size to
34468         __attribute_alloc_size__.
34469         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34470         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34472 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34474         * include/programs/xmalloc.h: New file.
34475         * catgets/gencat.c: Include it.
34476         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34477         * elf/pldd.c: Likewise.
34478         * iconv/iconv_charmap.c: Likewise.
34479         * iconv/iconvconfig.c: Likewise.
34480         * iconv/strtab.c: Likewise.
34481         * locale/programs/locale.c: Likewise.
34482         * locale/programs/localedef.h: Likewise.
34483         * locale/programs/simple-hash.c: Likewise.
34484         * nscd/nscd.h: Likewise.
34485         * nss/makedb.c: Likewise.
34486         * sysdeps/generic/ldconfig.h: Likewise.
34488 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34490         * Versions.def: Add GLIBC_2.18.
34491         * include/link.h (struct link_map): New member l_tls_dtor_count.
34492         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34493         (__call_tls_dtors): Likewise.
34494         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34495         __cxa_thread_atexit_impl.
34496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34497         Likewise.
34498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34499         Likewise.
34500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34501         Likewise.
34502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34503         Likewise.
34504         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34506         Likewise.
34507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34508         Likewise.
34509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34511         Likewise.
34512         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34513         (tests): Add test case tst-tls-atexit.
34514         (modules-names): Add shared library for tst-tls-atexit.
34515         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34516         (GLIBC_PRIVATE): Add __call_tls_dtors.
34517         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34518         for libstdc++.
34519         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34520         * stdlib/tst-tls-atexit.c: New test case.
34521         * stdlib/tst-tls-atexit-lib.c: New test case.
34523         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34525         * elf/Versions (ld): Add _dl_find_dso_for_object.
34526         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34527         * elf/dl-open.c (_dl_find_dso_for_object): New function.
34528         (dl_open_worker): Use _dl_find_dso_for_object.
34529         * elf/dl-sym.c (do_sym): Likewise.
34530         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34532 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34534         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34535         Syntactic changes only.
34536         (_dl_runtime_profile): Do a tail-call to the resolved function.
34538 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
34540         [BZ #13550]
34541         * sysdeps/x86_64/bp-asm.h: Remove file.
34542         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34543         <bp-sym.h> and <bp-asm.h>.
34544         (__clone): Do not use BP_SYM.
34545         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34546         <bp-sym.h> and <bp-asm.h>.
34547         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34548         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34549         "bp-asm.h".
34550         (_setjmp): Do not use BP_SYM.
34551         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34552         "bp-asm.h".
34553         (setjmp): Do not use BP_SYM.
34554         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34555         libc_hidden_def.
34556         (mempcpy): Do not use BP_SYM in weak_alias.
34557         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34558         "bp-asm.h".
34559         (strchr): Do not use BP_SYM.
34560         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34561         "bp-asm.h".
34562         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34563         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34564         (_start): Do not use BP_SYM.
34565         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34566         "bp-asm.h".
34567         (strcat): Do not use BP_SYM.
34568         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34569         "bp-asm.h".
34570         (STRCMP): Do not use BP_SYM.
34571         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34572         "bp-asm.h".
34573         (STRCPY): Do not use BP_SYM.
34574         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34575         "bp-asm.h".
34576         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34577         "bp-asm.h".
34578         (FUNCTION): Do not use BP_SYM.
34579         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34580         weak_alias.
34581         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34583 2013-02-17  Andreas Jaeger  <aj@suse.de>
34585         * time/Versions: Sort entries.
34586         * string/Versions: Likewise.
34587         * resolv/Versions: Likewise.
34588         * posix/Versions: Likewise.
34589         * iconv/Versions: Likewise.
34590         * elf/Versions: Likewise.
34591         * wcsmbs/Versions: Likewise.
34593 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34595         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34596         loop termination condition.
34598         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34599         variable to calculate EZ.
34600         (__sqr): Likewise.
34602         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34603         the lower precision input.
34605 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
34607         [BZ #13550]
34608         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34609         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34610         (run-via-rtld-prefix): Do not handle %-bp tests.
34611         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34612         (all-object-suffixes): Remove .ob.
34613         (bppfx): Remove variable.
34614         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34615         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34616         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34617         [$(build-bounded) = yes] (libtype.ob): Likewise.
34618         * Makerules (elide-routines.ob): Remove variable.
34619         (do-tests-clean): Do not handle *-bp.out.
34620         (common-mostlyclean): Do not handle *-bp and *-bp.out.
34621         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34622         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34623         (tests): Do not include $(tests-bp.out).
34624         (xtests): Do not include $(xtests-bp.out).
34625         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34626         [$(build-bounded) = yes] ($(addprefix
34627         $(objpfx),$(binaries-bounded))): Remove rule.
34628         ($(objpfx)%-bp.out): Remove rule.
34629         * config.make.in (build-bounded): Remove variable.
34630         * crypt/Makefile [$(build-bounded) = yes]
34631         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34632         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34633         append to variable.
34634         [$(build-bounded) = yes] (install-lib): Likewise.
34635         [$(build-bounded) = yes] (generated): Likewise.
34636         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34637         Remove rule.
34638         * intl/Makefile [$(build-bounded) = yes]
34639         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34640         * math/Makefile [$(build-bounded) = yes]
34641         ($(tests:%=$(objpfx)%-bp): Likewise.
34642         * misc/Makefile [$(build-bounded) = yes]
34643         ($(objpfx)tst-tsearch-bp): Likewise.
34644         * nptl/Makeconfig (bounded-thread-library): Remove variable.
34645         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34646         Remove dependency.
34647         * string/Makefile (o-objects.ob): Remove variable.
34648         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34649         (CFLAGS-.ob): Remove variable.
34650         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34651         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34652         both definitions of variable.
34653         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34654         (ASFLAGS-.ob): Remove variable.
34656 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
34658         [BZ #13550]
34659         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34660         Remove __BOUNDED_POINTERS__ from condition.
34661         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34662         * string/bits/string2.h [!__NO_STRING_INLINES &&
34663         !__BOUNDED_POINTERS__]: Likewise.
34664         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34665         Likewise.
34666         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34667         Remove conditional code.
34668         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34669         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34670         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34671         condition.
34673         [BZ #13550]
34674         * csu/libc-start.c: Do not include <bp-sym.h>.
34675         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34676         * elf/dl-open.c: Do not include <bp-sym.h>.
34677         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34678         * math/fegetenv.c: Do not include <bp-sym.h>.
34679         (fegetenv): Do not use BP_SYM in versioned symbols.
34680         * nptl/sysdeps/pthread/bits/libc-lockP.h
34681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34682         <bp-sym.h>.
34683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34684         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34686         (__pthread_mutex_destroy): Likewise.
34687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34688         (__pthread_mutex_lock): Likewise.
34689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34690         (__pthread_mutex_trylock): Likewise.
34691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34692         (__pthread_mutex_unlock): Likewise.
34693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34694         (__pthread_mutexattr_init): Likewise.
34695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34696         (__pthread_mutexattr_destroy): Likewise.
34697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34698         (__pthread_mutexattr_settype): Likewise.
34699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34700         (__pthread_rwlock_init): Likewise.
34701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34702         (__pthread_rwlock_destroy): Likewise.
34703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34704         (__pthread_rwlock_rdlock): Likewise.
34705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34706         (__pthread_rwlock_tryrdlock): Likewise.
34707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34708         (__pthread_rwlock_wrlock): Likewise.
34709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34710         (__pthread_rwlock_trywrlock): Likewise.
34711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34712         (__pthread_rwlock_unlock): Likewise.
34713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34714         (__pthread_key_create): Likewise.
34715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34716         (__pthread_setspecific): Likewise.
34717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34718         (__pthread_getspecific): Likewise.
34719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34720         Likewise.
34721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34722         (_pthread_cleanup_push_defer): Likewise.
34723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34724         (_pthread_cleanup_pop_restore): Likewise.
34725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34726         (pthread_setcancelstate): Likewise.
34727         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34728         <bp-sym.h>.
34729         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34730         (memchr): Do not use BP_SYM in weak_alias.
34731         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34732         (fegetenv): Do not use BP_SYM in versioned symbols.
34733         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34734         (fesetenv): Do not use BP_SYM in versioned symbols.
34735         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34736         (feupdateenv): Do not use BP_SYM in versioned symbols.
34737         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34738         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34739         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34740         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34741         (open64): Do not use BP_SYM in weak_alias.
34742         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34743         (fegetenv): Do not use BP_SYM in versioned symbols.
34744         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34745         (fesetenv): Do not use BP_SYM in versioned symbols.
34746         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34747         (feupdateenv): Do not use BP_SYM in versioned symbols.
34748         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34749         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34750         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34751         (feraiseexcept): Do not use BP_SYM in versioned symbols.
34752         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34753         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34754         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34755         <bp-sym.h>.
34756         (__libc_start_main): Do not use BP_SYM.
34758 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34761         redundant return line.
34762         (norm): Likewise.
34763         (denorm): Likewise.
34764         (dbl_mp): Likewise.
34765         (sub_magnitudes): Likewise.
34766         (__add): Likewise.
34767         (__sub): Likewise.
34768         (__mul): Likewise.
34769         (__inv): Likewise.
34770         (__dvd): Likewise.
34771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34772         (norm): Likewise.
34773         (denorm): Likewise.
34774         (dbl_mp): Likewise.
34775         (sub_magnitudes): Likewise.
34776         (__add): Likewise.
34777         (__sub): Likewise.
34778         (__mul): Likewise.
34779         (__inv): Likewise.
34780         (__dvd): Likewise.
34782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34783         instead of __mul.
34784         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34785         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34786         (cc32): Likewise.
34788         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34789         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34791         of __mul for squares.
34792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34793         function
34794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34795         Likewise.
34796         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34797         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34799 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
34801         [BZ #13550]
34802         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34803         code.
34804         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34805         prototype or function definition.  Rename ubp_* variables and
34806         parameters.  Remove argv definitions conditional on
34807         [__BOUNDED_POINTERS__].
34808         * debug/backtrace.c (__backtrace): Do not use __unbounded.
34809         * elf/dl-runtime.c (_dl_fixup): Likewise.
34810         * include/set-hooks.h (RUN_HOOK): Likewise.
34811         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34812         definition.
34813         * string/strcpy.c (strcpy): Do not use __unbounded.
34814         * sysdeps/generic/frame.h (struct layout): Likewise.
34815         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34816         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34817         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34818         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34819         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34820         (__backtrace): Likewise.
34821         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34822         use __ptrvalue.
34823         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34824         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34825         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34826         Likewise.
34827         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34828         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34829         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34830         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34831         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34832         Do not use __unbounded.
34833         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34834         Rename __unboundedrlimits parameter to rlimits in prototype.
34835         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34836         Do not use __unbounded.
34837         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34838         not use __ptrvalue.
34839         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34840         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34841         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34842         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34843         __ptrvalue or __unbounded.
34844         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34845         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34846         use __unbounded.
34847         (__new_msgctl): Do not use __ptrvalue.
34848         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34849         __unbounded.
34850         (__libc_msgrcv): Do not use __ptrvalue.
34851         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34852         startup_info): Do not use __unbounded.
34853         (__libc_start_main): Likewise.  Rename ubp_* variables and
34854         parameters.  Remove argv definitions conditional on
34855         [__BOUNDED_POINTERS__].
34856         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34857         __ptrvalue.
34858         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34859         use __unbounded.
34860         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34861         or __ptrvalue.
34862         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34863         use __unbounded.
34864         (__new_shmctl): Do not use __ptrvalue.
34865         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34866         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34867         Likewise.
34868         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34869         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34870         (__libc_sigaction): Likewise.
34871         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34872         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34873         Likewise.
34874         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34876 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
34878         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
34880         * string/mempcpy.c: Implement by calling memcpy.
34882 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34884         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34887         evaluation.
34889         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34890         values in the mantissa.
34892         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34893         minimize writes to Z.
34894         (sub_magnitudes): Simplify code a bit.
34896 2013-02-12  Roland McGrath  <roland@hack.frob.com>
34898         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34899         from the message.  The linker prefixes all warnings with that already.
34901 2013-02-12  Andreas Schwab  <schwab@suse.de>
34903         [BZ #15078]
34904         * posix/regexec.c (extend_buffers): Add parameter min_len.
34905         (check_matching): Pass minimum needed length.
34906         (clean_state_log_if_needed): Likewise.
34907         (get_subexp): Likewise.
34908         * posix/Makefile (tests): Add bug-regex34.
34909         (bug-regex34-ENV): Define.
34910         * posix/bug-regex34.c: New file.
34912         [BZ #11561]
34913         * posix/regcomp.c (parse_bracket_exp): When looking up collating
34914         elements compare against the byte sequence of it, not its name.
34915         * posix/Makefile (tests): Add bug-regex35.
34916         (bug-regex35-ENV): Define.
34917         * posix/bug-regex35.c: New file.
34919 2013-02-11  Tom de Vries  <tom@codesourcery.com>
34921         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
34922         comment.
34923         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34924         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34925         (CHECK_EOL): Add undef.
34927 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
34929         * bits/stdlib-bsearch.h: New file.
34930         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
34931         * stdlib/stdlib.h: Likewise.
34933 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34935         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34936         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34937         declaration.
34938         * manual/search.texi (Array Search Function): Add missing const in
34939         lfind prototype.
34940         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34941         declaration to use rlim_t.
34942         (Basic Scheduling Functions): Remove erroneous const from
34943         sched_getparam prototype.  Remove erroneous * from
34944         sched_get_priority_max and sched_get_priority_min prototypes.
34945         (Resource Usage): Fix summary @comment on vtimes to refer to
34946         sys/vtimes.h rather than vtimes.h.
34947         Add missing *s in vtimes prototype.
34948         (Limits on Resources): Fix ulimit prototype to return long int.
34949         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34950         prototypes to use long int rather than double.
34951         (BSD Random): Fix initstate and setstate to use char *, not void *.
34952         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34953         prototype to make second argument 'struct aiocb64 *const[]'.
34954         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34955         (Status of AIO Operations): Remove erroneous const in aio_return and
34956         aio_return64 prototypes.
34957         (Synchronizing I/O): Fix sync prototype to return void.
34958         * manual/startup.texi (Suboptions): Remove an erroneous const in
34959         getsubopt prototype.
34960         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34961         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34962         use size_t rather than int.
34963         (Scanning All Users): Likewise for getpwent_r.
34964         (Setting Groups): Add missing const to setgroups prototype.
34965         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34966         * manual/socket.texi (Host Names): Fix gethostbyaddr and
34967         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34968         'const void *' rather than 'const char *'.
34969         (Host Address Functions): Likewise for inet_ntop.
34970         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34971         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34972         ssize_t for return value.
34973         (Sending Data): Likewise for send, sendto, sendmsg.
34974         (Socket Option Functions): Add a missing const in setsockopt prototype.
34975         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34976         use wchar_t for the argument.
34977         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34978         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34979         take no arguments.
34980         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34981         double/float/long double for second argument.
34982         Fix return types of significand, significandf, significandl.
34983         * manual/filesys.texi (Setting Permissions): Use mode_t for second
34984         argument in fchmod prototype.
34985         (File Owner): Use uid_t and gid_t in fchown prototype.
34986         (File Times): Add const to utimes, futimes, and lutimes prototypes.
34987         (Making Special Files): Use mode_t and dev_t in mknod prototype.
34988         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34989         use 'const struct dirent **' as argument types to CMP function pointer
34990         argument.
34991         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34992         (File Times): Fix summary magic @comment for struct utimbuf and utime
34993         to refer to utime.h, not time.h.
34994         * manual/string.texi (Argz Functions): Add missing const in
34995         argz_extract and argz_next prototypes.
34996         (Finding Tokens in a String): Likewise for basename.
34997         (String/Array Comparison): Fix typo in wcscasecmp prototype.
34998         (Copying and Concatenation): Fix typo in wmemmove prototype.
34999         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35000         (Signal Stack): Remove erroneous const in sigstack prototype.
35001         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35002         prototype.
35003         (Simple Calendar Time): Likewise for stime.
35004         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35005         prototype.
35006         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35007         say sys/sysctl.h instead.
35008         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35009         and vsyslog prototypes.
35011 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35013         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35014         Remove.
35016 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35018         * misc/sys/mman.h: Fix typo in mremap comment.
35020 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35022         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35023         the '\0' terminator.
35025 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35027         [BZ #13550]
35028         * debug/segfault.c: Don't include <bp-checks.h>.
35029         * sysdeps/generic/bp-checks.h: Remove file.
35030         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35031         (__GETDENTS): Don't use CHECK_N.
35032         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35033         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35034         (__getgroups): Don't use CHECK_N.
35035         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35036         (setgroups): Don't use CHECK_N.
35037         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35038         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35039         (__libc_msgrcv): Don't use CHECK_N.
35040         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35041         (__libc_msgsnd): Don't use CHECK_N.
35042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35043         <bp-checks.h>.
35044         (__libc_pread): Don't use CHECK_N.
35045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35046         include <bp-checks.h>.
35047         (__libc_pread64): Don't use CHECK_N.
35048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35049         include <bp-checks.h>.
35050         (__libc_pwrite): Don't use CHECK_N.
35051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35052         include <bp-checks.h>.
35053         (__libc_pwrite64): Don't use CHECK_N.
35054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35055         <bp-checks.h>.
35056         (__libc_pread): Don't use CHECK_N.
35057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35058         include <bp-checks.h>.
35059         (__libc_pread64): Don't use CHECK_N.
35060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35061         include <bp-checks.h>.
35062         (__libc_pwrite): Don't use CHECK_N.
35063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35064         include <bp-checks.h>.
35065         (__libc_pwrite64): Don't use CHECK_N.
35066         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35067         (do_pread): Don't use CHECK_N.
35068         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35069         (do_pread64): Don't use CHECK_N.
35070         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35071         (do_pwrite): Don't use CHECK_N.
35072         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35073         (do_pwrite64): Don't use CHECK_N.
35074         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35075         (__libc_readv): Don't use CHECK_N.
35076         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35077         (semop): Don't use CHECK_N.
35078         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35079         <bp-checks.h>.
35080         (semtimedop): Don't use CHECK_N.
35081         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35082         (__libc_pread): Don't use CHECK_N.
35083         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35084         <bp-checks.h>.
35085         (__libc_pread64): Don't use CHECK_N.
35086         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35087         <bp-checks.h>.
35088         (__libc_pwrite): Don't use CHECK_N.
35089         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35090         <bp-checks.h>.
35091         (__libc_pwrite64): Don't use CHECK_N.
35092         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35093         <bp-checks.h>.
35094         (__libc_msgrcv): Don't use CHECK_N.
35095         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35096         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
35097         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35098         (__libc_writev): Don't use CHECK_N.
35100 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35102         * string/strcpy.c: Removed unused variable.
35104         * Makeconfig (+sysdep-includes): Define with := rather than =.
35105         Use an existing include/ subdir of each sysdeps dir before it.
35107 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35109         * nscd/connection.c (register_traced_file): Comment function.
35110         [HAVE_INOTIFY] (union __inev): Define.
35111         [HAVE_INOTIFY] (inotify_check_files): New function.
35112         [HAVE_INOTIFY] (clear_db_cache): Likewise.
35113         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35114         clear_db_cache.
35115         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35117 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35119         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35120         loaded if not already and that a failure is permanent.
35122 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35124         [BZ #15006]
35125         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35126         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35128 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35130         [BZ #13550]
35131         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35132         (CHECK_1_NULL_OK): Likewise.
35133         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35134         (__fxstat): Do not use CHECK_1.
35135         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35136         <bp-checks.h>.
35137         (___fxstat64): Do not use CHECK_1.
35138         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35139         <bp-checks.h>.
35140         (__fxstatat): Do not use CHECK_1.
35141         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35142         <bp-checks.h>.
35143         (__fxstatat64): Do not use CHECK_1.
35144         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35145         <bp-checks.h>.
35146         (__fxstat): Do not use CHECK_1.
35147         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35148         <bp-checks.h>.
35149         (__fxstatat): Do not use CHECK_1.
35150         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35151         <bp-checks.h>.
35152         (__getresgid): Do not use CHECK_1.
35153         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35154         <bp-checks.h>.
35155         (__getresuid): Do not use CHECK_1.
35156         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35157         <bp-checks.h>.
35158         (__lxstat): Do not use CHECK_1.
35159         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35160         <bp-checks.h>.
35161         (__old_msgctl): Do not use CHECK_1.
35162         (__new_msgctl): Likewise.
35163         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35164         <bp-checks.h>.
35165         (__new_setrlimit): Do not use CHECK_1.
35166         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35167         <bp-checks.h>.
35168         (__old_shmctl): Do not use CHECK_1.
35169         (__new_shmctl): Likewise.
35170         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35171         <bp-checks.h>.
35172         (__xstat): Do not use CHECK_1.
35173         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35174         (__lxstat): Do not use CHECK_1.
35175         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35176         <bp-checks.h>.
35177         (___lxstat64): Do not use CHECK_1.
35178         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35179         (__old_msgctl): Do not use CHECK_1.
35180         (__new_msgctl): Likewise.
35181         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35182         <bp-checks.h>.
35183         (__gettimeofday): Do not use CHECK_1.
35184         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35185         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35186         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35187         <bp-checks.h>.
35188         (__gettimeofday): Do not use CHECK_1.
35189         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35190         (__old_shmctl): Do not use CHECK_1_NULL_OK.
35191         (__new_shmctl): Do not use CHECK_1.
35192         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35193         <bp-checks.h>.
35194         (do_sigtimedwait): Do not use CHECK_1.
35195         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35196         <bp-checks.h>.
35197         (do_sigwaitinfo): Do not use CHECK_1.
35198         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35199         <bp-checks.h>.
35200         (msgctl): Do not use CHECK_1.
35201         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35202         <bp-checks.h>.
35203         (shmctl): Do not use CHECK_1.
35204         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35205         (ustat): Do not use CHECK_1.
35206         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35207         <bp-checks.h>.
35208         (__fxstat): Do not use CHECK_1.
35209         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35210         <bp-checks.h>.
35211         (__fxstatat): Do not use CHECK_1.
35212         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35213         <bp-checks.h>.
35214         (__lxstat): Do not use CHECK_1.
35215         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35216         <bp-checks.h>.
35217         (__xstat): Do not use CHECK_1.
35218         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35219         (__xstat): Do not use CHECK_1.
35220         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35221         (___xstat64): Do not use CHECK_1.
35223         [BZ #13550]
35224         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35225         definitions.
35226         (CHECK_BOUNDS_HIGH): Likewise.
35227         * string/strcpy.c: Do not include <bp-checks.h>.
35228         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35230 2013-02-07  Roland McGrath  <roland@hack.frob.com>
35232         * nscd/nscd-client.h (__nscd_drop_map_ref):
35233         Add __attribute__ ((unused)).
35234         * nis/nss-nisplus.h (niserr2nss): Likewise.
35236         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35237         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35239         * csu/libc-tls.c (init_static_tls, init_slotinfo):
35240         Remove inline keyword.
35241         * include/rounding-mode.h (round_away): Likewise.
35242         * libio/wfileops.c (adjust_wide_data): Likewise.
35243         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35244         (__m128i_strloadu_tolower): Likewise.
35245         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35246         (__m128i_strloadu_tolower): Likewise.
35247         * time/mktime.c (ydhms_diff): Likewise.
35248         * locale/elem-hash.h (elem_hash): Likewise.
35249         * locale/setlocale.c (setdata): Likewise.
35250         * posix/regex_internal.h (re_string_char_size_at): Likewise.
35251         (re_string_wchar_at): Likewise.
35252         (bitset_not, bitset_merge, bitset_mask): Likewise.
35253         [!(__GNUC__ > 3)] (inline): Remove macro.
35254         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35255         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35256         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35257         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35258         * string/memcmp.c (memcmp_bytes): Likewise.
35259         * locale/programs/locarchive.c (compute_hashval): Likewise.
35260         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35261         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35262         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35263         * nss/getent.c (print_rpc, print_protocols): Likewise.
35264         (print_passwd, print_group, print_aliases): Likewise.
35265         * nis/nss-nisplus.h (niserr2nss): Likewise.
35266         * nscd/connections.c (restart_p): Likewise.
35267         Change return type to bool.
35269 2013-02-05  Roland McGrath  <roland@hack.frob.com>
35271         * Makeconfig (all-Depend-files): Add existing
35272         $(sorted-subdirs:=/Depend) files.
35273         (all-subdirs): Remove nss.
35274         * sysdeps/unix/inet/Subdirs: Add it here instead.
35275         * hesiod/Depend: New file.
35277         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35278         instead of calling alloca.
35280         * io/lseek.c (__lseek): Rename to __libc_lseek.
35281         Define __lseek as an alias.
35283         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35285 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
35287         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35288         else clause and remove check for non-standard endianness.
35290 2013-02-04  David S. Miller  <davem@davemloft.net>
35292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35294 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
35296         [BZ #13550]
35297         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35298         (__ubp_memchr): Remove prototype.
35299         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35300         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35301         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35302         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35303         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35304         Remove alias.
35305         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35306         (__ubp_memchr): Likewise.
35307         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35308         (__ubp_memchr): Likewise.
35309         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35310         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35311         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35312         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35313         CHECK_STRING.
35314         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35315         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35316         (__getcwd): Do not use CHECK_STRING.
35317         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35318         <bp-checks.h>.
35319         (__real_chown): Do not use CHECK_STRING.
35320         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35321         <bp-checks.h>.
35322         (fchownat): Do not use CHECK_STRING.
35323         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35324         CHECK_STRING.
35325         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35326         <bp-checks.h>.
35327         (__lchown): Do not use CHECK_STRING.
35328         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35329         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35330         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35331         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35333         include <bp-checks.h>.
35334         (truncate64): Do not use CHECK_STRING.
35335         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35336         <bp-checks.h>.
35337         (__real_chown): Do not use CHECK_STRING.
35338         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35339         <bp-checks.h>.
35340         (__lchown): Do not use CHECK_STRING.
35341         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35342         <bp-checks.h>.
35343         (__chown): Do not use CHECK_STRING.
35344         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35345         <bp-checks.h>.
35346         (truncate64): Do not use CHECK_STRING.
35347         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35348         Likewise.
35349         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35350         (__xmknod): Do not use CHECK_STRING.
35351         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35352         <bp-checks.h>.
35353         (__xmknodat): Do not use CHECK_STRING.
35354         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35355         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35357 2013-02-04  Andreas Schwab  <schwab@suse.de>
35359         [BZ #14142]
35360         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35361         * include/netdb.h: Likewise for h_errno.
35362         * elf/tst-stackguard1.c: Include <tls.h>.
35364 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
35366         * elf/link.h (struct link_map): Extend the l_addr comment.
35367         * include/link.h (struct link_map): Likewise.
35369 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
35371         [BZ #13550]
35372         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35373         (BOUNDED_1): Remove macro.
35374         * debug/backtrace.c: Don't include <bp-checks.h>.
35375         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35376         (__backtrace): Likewise.
35377         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35378         <bp-checks.h>.
35379         (__backtrace): Don't use BOUNDED_1.
35380         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35381         <bp-checks.h>.
35382         (__backtrace): Don't use BOUNDED_1.
35383         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35384         (__backtrace): Don't use BOUNDED_1.
35385         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35386         (shmat): Don't use BOUNDED_N.
35388 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
35390         [BZ #13550]
35391         * sysdeps/generic/bp-start.h: Remove file.
35392         * csu/libc-start.c: Don't include <bp-start.h>.
35393         (LIBC_START_MAIN): Set up __environ directly instead of using
35394         INIT_ARGV_and_ENVIRON.
35395         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35396         <bp-start.h>.
35398         [BZ #13550]
35399         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35400         definitions.
35401         (CHECK_FCNTL): Likewise.
35402         (CHECK_N_PAGES): Likewise.
35404         [BZ #13550]
35405         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35406         definitions.
35407         (CHECK_SIGSET_NULL_OK): Likewise.
35408         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35409         <bp-checks.h>.
35410         (sigpending): Don't use CHECK_SIGSET.
35411         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35412         <bp-checks.h>.
35413         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35414         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35415         <bp-checks.h>.
35416         (do_sigsuspend): Don't use CHECK_SIGSET.
35417         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35418         use CHECK_SIGSET.
35419         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35420         (do_sigwait): Don't use CHECK_SIGSET.
35421         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35422         use CHECK_SIGSET.
35423         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35424         include <bp-checks.h>.
35425         (sigpending): Don't use CHECK_SIGSET.
35426         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35427         include <bp-checks.h>.
35428         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35429         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35430         <bp-checks.h>.
35431         (sigpending): Don't use CHECK_SIGSET.
35432         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35433         <bp-checks.h>.
35434         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35436         [BZ #13550]
35437         * sysdeps/generic/bp-semctl.h: Remove file.
35438         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35439         <bp-checks.h> and <bp-semctl.h>.
35440         (__old_semctl): Don't use CHECK_SEMCTL.
35441         (__new_semctl): Likewise.
35442         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35443         and <bp-semctl.h>.
35444         (__old_semctl): Don't use CHECK_SEMCTL.
35445         (__new_semctl): Likewise.
35446         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35447         <bp-checks.h> and <bp-semctl.h>.
35448         (__old_semctl): Don't use CHECK_SEMCTL.
35449         (__new_semctl): Likewise.
35450         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35451         <bp-checks.h> and <bp-semctl.h>.
35452         (semctl): Don't use CHECK_SEMCTL.
35454         [BZ #13550]
35455         * Makerules (elide-bp-thunks): Remove variable.
35456         (elide-routines.oS): Don't use $(elide-bp-thunks).
35457         (elide-routines.os): Likewise.
35458         (elide-routines.o): Likewise.
35459         (elide-routines.op): Likewise.
35460         (elide-routines.og): Likewise.
35461         (objects): Don't use $(bp-thunks).
35462         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35463         include.
35464         (common-generated): Do not add s-proto-bp.d.
35465         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35466         (int): Likewise.
35467         (typ): Likewise.
35468         Do not generate makefile rules for bounded-pointer thunks.
35469         * sysdeps/generic/bp-thunks.h: Remove file.
35470         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35471         * sysdeps/unix/s-proto-bp.S: Likewise.
35473         [BZ #15062]
35474         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35475         parts of result separately when argument is not close to line from
35476         -i to i and one part of argument is small.
35477         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35478         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35479         * math/libm-test.inc (cacos_test): Add more tests.
35480         (casin_test): Likewise.
35481         (casinh_test): Likewise.
35482         * sysdeps/i386/fpu/libm-test-ulps: Update.
35483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35485 2013-01-31  David S. Miller  <davem@davemloft.net>
35487         * po/de.po: Update from translation team.
35489 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
35491         * time/tzfile.c: Include stdint.h for SIZE_MAX.
35493 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
35495         * configure.in (_AC_PROG_CC_C89): New definition.
35496         * configure: Regenerate.
35498         * configure.in (AC_PROG_CPP): New definition.
35499         * configure: Regenerate.
35501 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35503         * debug/tst-backtrace.h: New file.
35504         * debug/tst-backtrace2.c: Include tst-backtrace.h.
35505         (ret): Remove variable.
35506         (x): Likewise.
35507         (FAIL): Remove macro.
35508         (NO_INLINE): Likewise.
35509         (fn1): Use match function instead of strstr.
35510         * debug/tst-backtrace3.c: Include tst-backtrace.h.
35511         (ret): Remove variable.
35512         (x): Likewise.
35513         (FAIL): Remove macro.
35514         (NO_INLINE): Likewise.
35515         (fn): Use match function instead of strstr.
35516         * debug/tst-backtrace4.c: Include tst-backtrace.h.
35517         (ret): Remove variable.
35518         (x): Likewise.
35519         (FAIL): Remove macro.
35520         (NO_INLINE): Likewise.
35521         (handle_signal): Use match function instead of strstr.
35522         * debug/tst-backtrace5.c: Include tst-backtrace.h.
35523         (ret): Remove variable.
35524         (x): Likewise.
35525         (FAIL): Remove macro.
35526         (NO_INLINE): Likewise.
35527         (handle_signal): Use match function instead of strstr.
35529 2013-01-23  Roland McGrath  <roland@hack.frob.com>
35531         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35533 2013-01-23  David S. Miller  <davem@davemloft.net>
35535         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35536         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35537         argument of CAS if possible.
35538         * sysdeps/sparc/sparc64/bits/atomic.h
35539         (__arch_compare_and_exchange_val_32_acq): Likewise.
35540         (__arch_compare_and_exchange_val_64_acq): Likewise.
35542 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
35544         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35545         * sysdeps/posix/ulimit.c: ... this.
35546         Include <limits.h>.
35547         * sysdeps/unix/bsd/ulimit.c: Remove file.
35549 2013-01-23  Adam Conrad  <adconrad@0c3.net>
35551         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35552         (LDFLAGS-tst-array5): Likewise.
35554 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35556         [BZ #15036]
35557         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35558         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35559         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35560         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35562 2013-01-21  David S. Miller  <davem@davemloft.net>
35564         * sysdeps/sparc/backtrace.c: New file.
35565         * sysdeps/sparc/sparc32/backtrace.h: New file.
35566         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35567         * sysdeps/sparc/sparc64/backtrace.h: New file.
35568         * sysdeps/sparc/sparc64/backtrace.c: Delete.
35569         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35570         -funwind-tables.
35572 2013-01-21  Andreas Schwab  <schwab@suse.de>
35574         [BZ #15020]
35575         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35576         closed its stdout.
35578 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
35580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35581         "mpa2.h".
35582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35584 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
35585             Mark Mitchell  <mark@codesourcery.com>
35586             Tom de Vries  <tom@codesourcery.com>
35587             Paul Pluzhnikov  <ppluzhnikov@google.com>
35589         * debug/tst-backtrace2.c: New file.
35590         * debug/tst-backtrace3.c: Likewise.
35591         * debug/tst-backtrace4.c: Likewise.
35592         * debug/tst-backtrace5.c: Likewise.
35593         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35594         (CFLAGS-tst-backtrace3.c): Likewise.
35595         (CFLAGS-tst-backtrace4.c): Likewise.
35596         (CFLAGS-tst-backtrace5.c): Likewise.
35597         (LDFLAGS-tst-backtrace2): Likewise.
35598         (LDFLAGS-tst-backtrace3): Likewise.
35599         (LDFLAGS-tst-backtrace4): Likewise.
35600         (LDFLAGS-tst-backtrace5): Likewise.
35601         (tests): Add new tests tst-backtrace2, tst-backtrace3,
35602         tst-backtrace4 and tst-backtrace5.
35604 2013-01-18  Anton Blanchard  <anton@samba.org>
35605             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35607         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35608         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35609         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35610         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35612         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35613         "+r" and remove output regs list as redundant.  Add explicit inline
35614         asm to specify register of return val to work around compiler codegen
35615         bug.  Remove (int) cast on return value.  Add return type parameter to
35616         use in macro so that this macro does not truncate return value for
35617         64-bit values.
35618         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35619         pass to INTERNAL_VSYSCALL_NCS.
35620         (INLINE_VSYSCALL): Add 'long int' as return type to
35621         INTERNAL_VSYSCALL_NCS macro invocation.
35622         (INTERNAL_VSYSCALL): Add 'long int' as return type to
35623         INTERNAL_VSYSCALL_NCS macro invocation.
35624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35626 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35628         [BZ #14496]
35629         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35630         Fix application of SIMD FP exception mask.
35632         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35633         mp_no from a power of two.
35634         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35635         __mpexp_twomm1.  Use __pow_mp.
35637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35638         multiplication.
35640 2013-01-17  David S. Miller  <davem@davemloft.net>
35642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35644 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35646         [BZ #15023]
35647         * include/complex.h: Condition contents on [!_COMPLEX_H].
35648         (__kernel_casinhf): New prototype.
35649         (__kernel_casinh): Likewise.
35650         (__kernel_casinhl): Likewise.
35651         * math/Makefile (libm_calls): Add k_casinh.
35652         * math/k_casinh.c: New file.
35653         * math/k_casinhf.c: Likewise.
35654         * math/k_casinhl.c: Likewise.
35655         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35656         finite nonzero arguments.
35657         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35658         finite nonzero arguments.
35659         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35660         finite nonzero arguments.
35661         * math/s_casinh.c: Do not include <float.h>.
35662         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35663         * math/s_casinhf.c: Do not include <float.h>.
35664         (__casinhf): Move code for finite nonzero arguments to
35665         k_casinhf.c.
35666         * math/s_casinhl.c: Do not include <float.h>.
35667         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35668         redefine.
35669         (__casinhl): Move code for finite nonzero arguments to
35670         k_casinhl.c.
35671         * math/libm-test.inc (cacos_test): Add more tests.
35672         * sysdeps/i386/fpu/libm-test-ulps: Update.
35673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35675 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
35677         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35678         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35679         [!HAVE_MREMAP]: Remove [defined linux] case.
35680         * malloc/arena.c: Do not include <malloc-sysdep.h>.
35682 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35684         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35686 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
35688         * elf/elf.h (R_386_SIZE32): New relocation.
35689         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35690         R_386_SIZE32.
35691         (elf_machine_rela): Likewise.
35692         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35693         R_X86_64_SIZE64 and R_X86_64_SIZE32.
35695 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35697         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35698         (FP_FAST_FMA): Do not define.
35699         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35700         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35701         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35702         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35703         !_SOFT_FLOAT]: Likewise.
35704         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35705         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35706         value.
35707         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35708         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35709         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35710         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35711         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35712         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35713         file.
35715 2013-01-16  Andreas Schwab  <schwab@suse.de>
35717         [BZ #14327]
35718         * include/stdlib.h (__mktemp): Add declaration.
35719         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35720         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35722 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35724         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35725         definitions.
35726         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35727         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35728         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35729         definitions here.
35730         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35731         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35732         definitions.
35733         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35734         and ONE.
35735         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35736         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35737         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35738         definitions.
35739         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35740         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35741         definitions.
35742         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35744         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35746 2013-01-15  David S. Miller  <davem@davemloft.net>
35748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35749         trunc{,f} to libm-sysdep_routes.
35750         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35752         file.
35753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35755         file.
35756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35757         file.
35758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35760         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35761         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35762         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35763         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35764         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35765         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35768         nearbyint{,f} to libm-sysdep_routes.
35769         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35771         New file.
35772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35773         file.
35774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35775         New file.
35776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35777         file.
35778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35780         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35781         file.
35782         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35783         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35784         file.
35785         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35786         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35787         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35789         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35790         libc_feholdexcept and libc_fesetenv.
35792 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
35794         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35796 2013-01-14  David S. Miller  <davem@davemloft.net>
35798         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35799         (SPARC_ASM_VIS2_IFUNC): Likewise.
35800         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35802         use of 'siam' instruction.
35803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35804         Likewise.
35805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35806         Likewise.
35807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35808         Likewise.
35809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35812         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35814         file.
35815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35816         file.
35817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35818         file.
35819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35820         file.
35821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35822         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35826         new VIS2 routines.
35827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35830         Likewise.
35831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35836         routines to libm-sysdep_routines.
35837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35840         fdim/fdimf to libm-sysdep_routines.
35841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35842         file.
35843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35845         file.
35846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35849         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35850         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35851         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35852         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35854 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35856         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35857         to optimize copies.
35859         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35864         local variable MPTWO.
35865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35866         Likewise.
35868 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35870         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35871         GLOB_NOESCAPE.
35873 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35875         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35877 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35879         * manual/pattern.texi (glob_t): Document gl_flags.
35880         (glob64_t): Likewise.
35882 2013-01-11  David S. Miller  <davem@davemloft.net>
35884         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35885         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35886         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
35887         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35888         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35889         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35890         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35891         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35892         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35893         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35894         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35895         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35896         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35898         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35899         sparc V9 rather than using V8 code.
35900         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35901         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35903         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35904         Move to...
35905         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35906         Here.
35908 2013-01-11  Roland McGrath  <roland@hack.frob.com>
35910         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35911         not in the main loop.
35912         * configure: Regenerated.
35914 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
35916         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35917         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35918         to just #else.
35919         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
35920         [!__GLIBC_HAVE_LONG_LONG] case.
35921         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35922         condition to just #else.
35923         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35924         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35925         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35926         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35927         unconditional.
35928         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35929         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35930         #elif condition to just #else.
35931         * sysdeps/unix/sysv/linux/sys/sysmacros.h
35932         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35933         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35934         #elif condition to just #else.
35936 2013-01-11  Steve Ellcey  <sellcey@mips.com>
35938         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35939         (EF_MIPS_ARCH_64): Fix value.
35940         (EF_MIPS_ARCH_32R2): New.
35941         (EF_MIPS_ARCH_64R2): New.
35943 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
35945         * Makeconfig (+link-pie-before-libc): New.
35946         (+link-pie-after-libc): Likewise.
35947         (+link-pie-tests): Likewise.
35948         (+link-pie): Rewritten.
35949         (link-before-libc): Remove $(config-LDFLAGS).
35950         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35951         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35952         (config-LDFLAGS): Renamed to ...
35953         (rtld-LDFLAGS): This.
35954         (rtld-tests-LDFLAGS): New macro.
35955         (link-libc-rpath-link): Likewise.
35956         (link-libc-tests-rpath-link): Likewise.
35957         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35958         (link-libc): Prepand $(link-libc-rpath-link).
35959         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35960         (test-program-prefix): New macro.
35961         (test-via-rtld-prefix): Likewise.
35962         (test-program-cmd): Likewise.
35963         (host-test-program-cmd): Likewise.
35964         * Makefile ($(common-objpfx)testrun.sh): Replace
35965         $(run-program-prefix) with $(test-program-prefix).
35966         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35967         $(rtld-LDFLAGS).
35968         ($(common-objpfx)shlib.lds): Likewise.
35969         (build-module-helper): Likewise.
35970         ($(common-objpfx)format.lds): Likewise.
35971         * Rules (binaries-pie-tests): New.
35972         (binaries-pie-notests): Likewise.
35973         (binaries-pie): Rewritten.
35974         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35975         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35976         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35977         (make-test-out): Replace $(host-built-program-cmd) with
35978         $(host-test-program-cmd).
35979         * config.make.in (build-hardcoded-path-in-tests): New variable.
35980         * configure.in (--enable-hardcoded-path-in-tests): New configure
35981         option.
35982         (hardcoded_path_in_tests): New AC_SUBST.
35983         * configure: Regenerated.
35984         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35985         $(built-program-cmd) with $(test-program-cmd).
35986         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35987         (test_program_cmd): This.
35988         * elf/Makefile ($(objpfx)order.out): Run test with
35989         $(test-program-prefix).
35990         ($(objpfx)order2.out): Likewise.
35991         ($(objpfx)tst-initorder.out): Likewise.
35992         ($(objpfx)tst-initorder2.out): Likewise.
35993         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35994         $(test-program-cmd).
35995         ($(objpfx)tst-array1-static.out): Likewise.
35996         ($(objpfx)tst-array2.out): Likewise.
35997         ($(objpfx)tst-array3.out): Likewise.
35998         ($(objpfx)tst-array4.out): Likewise.
35999         ($(objpfx)tst-array5.out): Likewise.
36000         ($(objpfx)tst-array5-static.out): Likewise.
36001         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36002         $(test-program-cmd).
36003         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36004         $(run-program-prefix) with $(test-program-prefix).
36005         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36006         (test_program_prefix): This.
36007         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36008         $(run-program-prefix) with $(test-program-prefix).
36009         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36010         (test_program_prefix): This.
36011         * iconvdata/tst-tables.sh: Likewise.
36012         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36013         $(run-program-prefix) with $(test-program-prefix).
36014         ($(objpfx)tst-translit.out): Likewise.
36015         ($(objpfx)tst-gettext2.out): Likewise.
36016         ($(objpfx)tst-gettext4.out): Likewise.
36017         ($(objpfx)tst-gettext6.out): Likewise.
36018         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36019         (test_program_prefix): This.
36020         * intl/tst-gettext2.sh: Likewise.
36021         * intl/tst-gettext4.sh  Likewise.
36022         * intl/tst-gettext6.sh: Likewise.
36023         * intl/tst-translit.sh: Likewise.
36024         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36025         with $(test-program-cmd).
36026         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36027         $(run-program-prefix) with $(test-program-prefix).
36028         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36029         (test_program_prefix): This.
36030         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36031         $(run-program-prefix) with $(test-program-prefix).
36032         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36033         (test_program_prefix): This.
36034         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36035         * posix/Makefile ($(objpfx)globtest.out): Replace
36036         $(run-via-rtld-prefix) and $(test-wrapper) with
36037         $(test-program-prefix) and $(test-via-rtld-prefix).
36038         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36039         $(test-program-prefix).
36040         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36041         $(host-test-program-cmd).
36042         (tst-spawn-ARGS): Likewise.
36043         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36044         $(test-program-prefix).
36045         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36046         (test_via_rtld_prefix): This.
36047         (test_wrapper): Renamed to ...
36048         (test_program_prefix): This.
36049         (run_program_prefix): Replaced by test_program_prefix.
36050         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36051         (test_program_prefix): This.
36052         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36053         with $(host-test-program-cmd).
36054         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36055         $(run-program-prefix) with $(test-program-prefix).
36056         ($(objpfx)tst-printf.out): Likewise.
36057         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36058         $(test-program-cmd).
36059         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36060         (test_program_prefix): This.
36061         * stdio-common/tst-unbputc.sh: Likewise.
36062         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36063         $(run-program-prefix) with $(test-program-prefix).
36064         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36065         (test_program_prefix): This.
36066         * string/Makefile ($(objpfx)tst-svc.out):  Replace
36067         $(built-program-cmd) with $(test-program-cmd).
36069 2013-01-11  Andreas Jaeger  <aj@suse.de>
36071         [BZ #15003]
36072         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36073         value. Sync with Linux 3.7.
36075 2013-01-10  David S. Miller  <davem@davemloft.net>
36077         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36078         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36079         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36081 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36083         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36084         never set.
36085         * configure: Regenerated.
36087 2013-01-10  David S. Miller  <davem@davemloft.net>
36089         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36090         sparc V9 rather than using V8 code.
36091         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36092         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36094 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36096         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36097         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36098         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36099         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36100         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36101         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36102         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36103         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36104         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36105         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36106         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36107         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36108         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36109         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36110         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36111         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36112         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36113         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36114         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36115         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36116         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36117         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36118         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36119         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36120         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36121         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36122         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36124 2013-01-10  David S. Miller  <davem@davemloft.net>
36126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36128 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36130         * posix/Makefile (tests-static): New variable.
36131         (tests): Add $(tests-static).
36132         (tst-exec-static-ARGS): New variable.
36133         (tst-spawn-static-ARGS): Likewise.
36134         * posix/tst-exec-static.c: New file.
36135         * posix/tst-spawn-static.c: Likewise.
36136         * posix/tst-exec.c: Support run directly.
36137         * posix/tst-spawn.c: Likewise.
36139 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
36141         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36142         long.
36143         * math/bits/mathcalls.h (llrint): Likewise.
36144         (llround): Likewise.
36145         * stdlib/stdlib.h (struct drand48_data): Likewise.
36146         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36147         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36148         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36149         Likewise.
36150         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36151         Likewise.
36152         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36153         (elf_greg_t): Likewise.
36154         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36155         (__jmp_buf): Likewise.
36156         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36157         definitions.
36158         (llrint): Likewise, for all definitions.
36159         (llrintl): Likewise.
36161         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36162         Remove [__GNUC__] condition.
36163         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36164         condition to just [__USE_ISOC99].
36165         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36167 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36169         [BZ #14200]
36170         * sysdeps/unix/sysv/linux/x86/bits/environments.h
36171         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36172         defined.
36173         (_POSIX_V6_ILP32_OFF32): Likewise.
36174         (_XBS5_ILP32_OFF32): Likewise.
36175         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36176         (__ILP32_OFFBIG_LDFLAGS): Likewise.
36178 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36180         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36183         doubles __mpexp_twomm1.  Adjust usage.
36184         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36185         Remove.
36187 2013-01-10  Andreas Schwab  <schwab@suse.de>
36189         [BZ #14964]
36190         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36191         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36193 2013-01-09  David S. Miller  <davem@davemloft.net>
36195         [BZ #15003]
36196         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36197         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36198         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36199         (TCP_FASTOPEN): Define.
36200         (tcp_repair_opt): New structure.
36201         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36202         enum values.
36203         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36204         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36205         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36206         (tcp_cookie_transactions): New structure.
36208 2013-01-09  Anton Blanchard  <anton@samba.org>
36210         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36211         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36212         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36213         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36215 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
36217         * include/features.h (__USE_ANSI): Remove.
36219 2013-01-09  Roland McGrath  <roland@hack.frob.com>
36221         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36223         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36225 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36227         * sysdeps/s390/fpu/libm-test-ulps: Update.
36229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36231         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36232         (__acr): Likewise.
36233         (__cpy): Likewise.
36234         (norm): Likewise.
36235         (denorm): Likewise.
36236         (__mp_dbl): Likewise.
36237         (__dbl_mp): Likewise.
36238         (add_magnitudes): Likewise.
36239         (sub_magnitudes): Likewise.
36240         (__add): Likewise.
36241         (__sub): Likewise.
36242         (__mul): Likewise.
36243         (__inv): Likewise.
36244         (__dvd): Likewise.
36245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36246         (__acr): Likewise.
36247         (__cpy): Likewise.
36248         (norm): Likewise.
36249         (denorm): Likewise.
36250         (__mp_dbl): Likewise.
36251         (__dbl_mp): Likewise.
36252         (add_magnitudes): Likewise.
36253         (sub_magnitudes): Likewise.
36254         (__add): Likewise.
36255         (__sub): Likewise.
36256         (__mul): Likewise.
36257         (__inv): Likewise.
36258         (__dvd): Likewise.
36259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36260         (__acr): Likewise.
36261         (__cpy): Likewise.
36262         (norm): Likewise.
36263         (denorm): Likewise.
36264         (__mp_dbl): Likewise.
36265         (__dbl_mp): Likewise.
36266         (add_magnitudes): Likewise.
36267         (sub_magnitudes): Likewise.
36268         (__add): Likewise.
36269         (__sub): Likewise.
36270         (__mul): Likewise.
36271         (__inv): Likewise.
36272         (__dvd): Likewise.
36274 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
36276         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36277         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36278         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36279         2 && __USE_EXTERN_INLINES]: Likewise.
36281 2013-01-08  Andreas Jaeger  <aj@suse.de>
36283         [BZ# 14985]
36284         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36285         Remove.
36286         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36287         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36289 2013-01-07  Anton Blanchard  <anton@samba.org>
36291         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36292         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36293         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36294         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36295         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36296         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36297         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36298         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36300         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36301         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36302         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36303         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36304         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36305         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36306         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36307         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36308         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36309         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36310         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36311         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36312         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36313         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36314         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36315         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36316         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36317         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36318         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36319         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36320         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36321         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36323         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36324         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36325         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36326         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36327         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36328         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36329         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36330         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36331         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36332         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36333         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36335 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
36337         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36338         (__MALLOC_PMT): Likewise.
36339         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36340         [__GNUC__], only on [_LIBC].
36341         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36342         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36343         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36344         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36345         forward declaration.
36346         (realloc_hook_ini): Likewise.
36347         (memalign_hook_ini): Likewise.
36348         (__libc_memalign): Do not use __MALLOC_PMT in variable
36349         declaration.
36350         (__libc_valloc): Likewise.
36351         (__libc_pvalloc): Likewise.
36352         (__libc_calloc): Likewise.
36353         (__posix_memalign): Likewise.
36355         [BZ #14996]
36356         * math/s_casinh.c: Include <float.h>.
36357         (__casinh): Do not do computation with squaring and square root
36358         for large arguments.
36359         * math/s_casinhf.c: Include <float.h>.
36360         (__casinhf): Do not do computation with squaring and square root
36361         for large arguments.
36362         * math/s_casinhl.c: Include <float.h>.
36363         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36364         (__casinhl): Do not do computation with squaring and square root
36365         for large arguments.
36366         * math/libm-test.inc (casin_test): Add more tests.
36367         (casinh_test): Likewise.
36368         * sysdeps/i386/fpu/libm-test-ulps: Update.
36369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36371 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
36373         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36374         (__x86_64_raw_data_cache_size): Likewise.
36375         (__x86_64_data_cache_size_half): Likewise.
36376         (__x86_64_raw_data_cache_size_half): Likewise.
36377         (__x86_64_shared_cache_size): Likewise.
36378         (__x86_64_raw_shared_cache_size): Likewise.
36379         (__x86_64_shared_cache_size_half): Likewise.
36380         (__x86_64_raw_shared_cache_size_half): Likewise.
36381         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36382         to ...
36383         (__x86_data_cache_size): This.
36384         (__x86_64_raw_data_cache_size): Renamed to ...
36385         (__x86_raw_data_cache_size): This.
36386         (__x86_64_data_cache_size_half): Renamed to ...
36387         (__x86_data_cache_size_half): This.
36388         (__x86_64_raw_data_cache_size_half): Renamed to ...
36389         (__x86_raw_data_cache_size_half): This.
36390         (__x86_64_shared_cache_size): Renamed to ...
36391         (__x86_shared_cache_size): This.
36392         (__x86_64_raw_shared_cache_size): Renamed to ...
36393         (__x86_raw_shared_cache_size): This.
36394         (__x86_64_shared_cache_size_half): Renamed to ...
36395         (__x86_shared_cache_size_half): This.
36396         (__x86_64_raw_shared_cache_size_half): Renamed to ...
36397         (__x86_raw_shared_cache_size_half): This.
36398         * sysdeps/x86_64/memcpy.S: Updated.
36399         * sysdeps/x86_64/memset.S: Likewise.
36400         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36401         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36402         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36404 2013-01-04  David S. Miller  <davem@davemloft.net>
36406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36408 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
36410         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36411         1 to avoid redefinition warning.
36412         (__USE_GNU): Don't define.
36413         (init_signaling_nan): Protoize.
36415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36417 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36419         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36421         (__cpymn): Likewise.
36422         (norm): Remove commented code.
36423         (denorm): Likewise.
36424         (__mp_dbl): Likewise.
36425         (__inv): Likewise.
36426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36427         (__cpymn): Likewise.
36428         (norm): Remove commented code.
36429         (denorm): Likewise.
36430         (__mp_dbl): Likewise.
36431         (__inv): Likewise.
36433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36434         mp_no value for 1.0 and 2.0.
36435         (norm): Use RADIXI instead of radixi.d.
36436         (denorm): Likewise.
36437         (__mul): Use 0.0 instead of zero.d.
36438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36439         mp_no value for 1.0 and 2.0.
36440         (norm): Use RADIXI instead of radixi.d.
36441         (denorm): Likewise.
36442         (__mul): Use 0.0 instead of zero.d.
36444 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
36446         [BZ #14994]
36447         * math/s_casinh.c (__casinh): Reduce finite argument to first
36448         quadrant then set signs of results at the end.
36449         * math/s_casinhf.c (__casinhf): Likewise.
36450         * math/s_casinhl.c (__casinhl): Likewise.
36451         * math/libm-test.inc (casin_test): Add more tests.
36452         (casinh_test): Likewise.
36453         * sysdeps/i386/fpu/libm-test-ulps: Update.
36454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36456 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36458         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36460         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36462         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36463         declarations.
36464         (denorm): Likewise.
36465         (__mp_dbl): Likewise.
36466         (__inv): Likewise.
36468         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36469         and adjust the header comment.
36471         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36472         variable name from declaration.
36474 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
36476         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36477         Initialize COMMON_CPUID_INDEX_7 element.
36478         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36479         (CPUID_RTM): Likewise.
36480         (HAS_RTM): Likewise.
36481         (COMMON_CPUID_INDEX_7): New enum.
36483 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
36485         [BZ #14981]
36486         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36487         size is zero, record memory as freed.
36489 2013-01-03  Andreas Jaeger  <aj@suse.de>
36491         * po/ia.po: Add new Interlingua translation.
36493 2012-01-03  Allan McRae  <allan@archlinux.org>
36495         * locale/programs/localedef.c: Fix description of '--posix' flag.
36497 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
36499         * NEWS: Update dates in second copyright notice.
36500         * README: Update copyright dates in example.
36501         * manual/libc.texinfo: Update copyright dates.
36502         * scripts/test-installation.pl: Update copyright date in --version
36503         output.
36505         * hurd/ctty-input.c: Fix copyright notice formatting.
36506         * hurd/ctty-output.c: Likewise.
36507         * hurd/dtable.c: Likewise.
36508         * hurd/hurd-raise.c: Likewise.
36509         * hurd/hurdprio.c: Likewise.
36510         * hurd/msgportdemux.c: Likewise.
36511         * misc/sys/file.h: Likewise.
36512         * misc/sys/ioctl.h: Likewise.
36513         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36514         * sysdeps/mach/hurd/chdir.c: Likewise.
36515         * sysdeps/mach/hurd/fchdir.c: Likewise.
36516         * sysdeps/mach/hurd/rename.c: Likewise.
36517         * sysdeps/mach/hurd/rmdir.c: Likewise.
36518         * sysdeps/mach/hurd/seekdir.c: Likewise.
36519         * sysdeps/mach/hurd/setsid.c: Likewise.
36520         * sysdeps/posix/wait3.c: Likewise.
36522         * All files with FSF copyright notices: Update copyright dates
36523         using scripts/update-copyrights.
36524         * intl/plural.c: Regenerated.
36525         * locale/programs/charmap-kw.h: Likewise.
36526         * locale/programs/locfile-kw.h: Likewise.
36528 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36530         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36531         four values.
36533         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36534         calculation loop and add branch prediction.
36536         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36537         check access beyond bounds of m1np.
36539         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36540         MPTWO.
36541         (__inv): Remove local variable MPTWO to use the global
36542         constant.
36543         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36544         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36545         variable MPTWO.
36546         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36547         MP3HALFS static const.
36549 2013-01-01  David S. Miller  <davem@davemloft.net>
36551         * po/ca.po: Update from translation team.
36553 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
36555         * scripts/update-copyrights: New file.
36556         * Makeconfig: Reformat copyright notice.
36557         * ctype/ctype.h: Likewise.
36558         * debug/swprintf_chk.c: Likewise.
36559         * elf/dl-cache.c: Likewise.
36560         * elf/dl-debug.c: Likewise.
36561         * elf/dl-object.c: Likewise.
36562         * grp/initgroups.c: Likewise.
36563         * hurd/Makefile: Likewise.
36564         * hurd/hurd/signal.h: Likewise.
36565         * hurd/hurdfault.c: Likewise.
36566         * hurd/hurdioctl.c: Likewise.
36567         * hurd/hurdlookup.c: Likewise.
36568         * hurd/intr-msg.c: Likewise.
36569         * iconv/gconv_open.c: Likewise.
36570         * libio/swprintf.c: Likewise.
36571         * locale/lc-ctype.c: Likewise.
36572         * locale/nl_langinfo.c: Likewise.
36573         * mach/Machrules: Likewise.
36574         * mach/Makefile: Likewise.
36575         * malloc/obstack.h: Likewise.
36576         * manual/Makefile: Likewise.
36577         * manual/tsort.awk: Likewise.
36578         * misc/bits/stab.def: Likewise.
36579         * nis/nis_print_group_entry.c: Likewise.
36580         * nis/nis_table.c: Likewise.
36581         * nis/nss_compat/compat-pwd.c: Likewise.
36582         * nis/nss_compat/compat-spwd.c: Likewise.
36583         * po/Makefile: Likewise.
36584         * posix/fnmatch.c: Likewise.
36585         * posix/regex.h: Likewise.
36586         * resolv/Makefile: Likewise.
36587         * resolv/nss_dns/dns-network.c: Likewise.
36588         * resolv/res_hconf.c: Likewise.
36589         * scripts/gen-sorted.awk: Likewise.
36590         * soft-fp/soft-fp.h: Likewise.
36591         * stdio-common/printf.h: Likewise.
36592         * stdlib/monetary.h: Likewise.
36593         * stdlib/random.c: Likewise.
36594         * stdlib/random_r.c: Likewise.
36595         * sysdeps/generic/Makefile: Likewise.
36596         * sysdeps/gnu/Makefile: Likewise.
36597         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36599         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36601         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36604         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36605         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36606         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36607         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36608         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36609         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36610         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36611         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36612         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36613         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36614         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36615         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36616         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36617         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36618         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36619         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36620         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36621         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36622         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36623         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36624         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36625         * sysdeps/mach/hurd/errnos.awk: Likewise.
36626         * sysdeps/mach/hurd/fork.c: Likewise.
36627         * sysdeps/mach/hurd/getcwd.c: Likewise.
36628         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36629         * sysdeps/mach/hurd/mmap.c: Likewise.
36630         * sysdeps/mach/hurd/utimes.c: Likewise.
36631         * sysdeps/mach/hurd/xmknod.c: Likewise.
36632         * sysdeps/posix/profil.c: Likewise.
36633         * sysdeps/posix/readdir_r.c: Likewise.
36634         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36635         * sysdeps/powerpc/bits/setjmp.h: Likewise.
36636         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36637         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36639         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36640         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36641         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36643         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36644         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36645         * sysdeps/pthread/lio_listio.c: Likewise.
36646         * sysdeps/sparc/dl-procinfo.h: Likewise.
36647         * sysdeps/unix/i386/sysdep.S: Likewise.
36648         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36649         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36650         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36651         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36653         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36654         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36655         * sysdeps/unix/sysv/linux/speed.c: Likewise.
36656         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36657         * sysdeps/wordsize-32/divdi3.c: Likewise.
36658         * time/sys/time.h: Likewise.
36659         * wcsmbs/Makefile: Likewise.
36661 2013-01-01  David S. Miller  <davem@davemloft.net>
36663         * po/fr.po: Update from translation team.
36665         * catgets/gencat.c: Update copyright year.
36666         * csu/version.c: Likewise.
36667         * debug/catchsegv.sh: Likewise.
36668         * debug/pcprofiledump.c: Likewise.
36669         * debug/xtrace.sh: Likewise.
36670         * elf/ldconfig.c: Likewise.
36671         * elf/ldd.bash.in: Likewise.
36672         * elf/pldd.c: Likewise.
36673         * elf/sotruss.ksh: Likewise.
36674         * elf/sprof.c: Likewise.
36675         * iconv/iconv_prog.c: Likewise.
36676         * iconv/iconvconfig.c: Likewise.
36677         * locale/programs/locale.c: Likewise.
36678         * locale/programs/localedef.c: Likewise.
36679         * login/programs/pt_chown.c: Likewise.
36680         * malloc/memusage.sh: Likewise.
36681         * malloc/memusagestat.c: Likewise.
36682         * malloc/mtrace.pl: Likewise.
36683         * nscd/nscd.c: Likewise.
36684         * nss/getent.c: Likewise.
36685         * nss/makedb.c: Likewise.
36686         * posix/getconf.c: Likewise.
36688 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36690         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36691         numbers.
36693 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
36695         * math/bits/mathcalls.h (modf): Use __nonnull.
36697 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36699         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36700         (split): Use macro CN instead of the bare value.
36701         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36702         could be used.
36703         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36704         instead of the bare value.
36705         (power1): Likewise.
36707 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36709         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36710         __ATAN_TWOM.
36711         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36713         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36714         their values.
36715         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36716         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36717         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36718         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36720 2012-12-28  Andreas Jaeger  <aj@suse.de>
36722         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
36723         values are from Linux 3.7.
36725         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36726         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
36728 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36730         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36731         TRUE case.
36733         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36734         (norm): Likewise.
36735         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36736         variables with preprocessor constants.
36737         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36738         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36739         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36741 2012-12-27  Bruno Haible  <bruno@clisp.org>
36743         [BZ #14317]
36744         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36745         only if needed.
36747 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36750         and use variable directly.
36751         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36753         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36754         MPONE.
36755         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36756         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36757         variable MPONE.
36758         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36759         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36760         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36761         include directive.  Remove local variable MPONE.
36762         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36763         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36764         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36766 2012-12-25  David S. Miller  <davem@davemloft.net>
36768         * version.h (RELEASE): Set to "development".
36769         (VERSION): Set to "2.17.90".
36770         * NEWS: Add 2.18 section.
36772 2012-12-21  David S. Miller  <davem@davemloft.net>
36774         * po/hr.po: Update from translation team.
36776 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36778         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36780 2012-12-19  Steve Ellcey  <sellcey@mips.com>
36782         * NEWS:  Mention new memcpy for MIPS.
36784 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36786         * manual/contrib.texi (Contributors): Spelling correction.
36788 2012-12-15  David S. Miller  <davem@davemloft.net>
36790         * po/ru.po: Update from translation team.
36792 2012-12-13  David S. Miller  <davem@davemloft.net>
36794         * NEWS: Mention IFUNC testsuite enhancements.
36796         * po/pl.po: Update from translation team.
36797         * po/bg.po: Likewise.
36799         * manual/contrib.texi (Contributors): Update entries for Hongjiu
36800         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
36802 2012-12-11  David S. Miller  <davem@davemloft.net>
36804         * po/sv.po: Update from translation team.
36806         * po/vi.po: Update from translation team.
36808         * po/cs.po: Update from translation team.
36810         * po/de.po: Update from translation team.
36811         * po/eo.po: Likewise.
36812         * po/nl.po: Likewise.
36814 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36816         [BZ #14246]
36817         * manual/argp.texi (Argp Helper Functions): Move node to follow
36818         Argp Parsing State.
36820         [BZ #14872]
36821         * manual/conf.texi (Limits on File System Capacity): Mention if
36822         terminating null is included in the max size.
36824 2012-12-10  Andreas Jaeger  <aj@suse.de>
36826         * po/cs.po: Update from translation team.
36828 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36830         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36831         void pointer and cast to uintptr_t.
36832         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36833         path.
36834         * sysdeps/s390/s390-64/memcpy.S: Likewise.
36835         * sysdeps/s390/s390-64/memset.S: Likewise.
36837 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
36839         [BZ #14833]
36840         * menual/message.texi (Message Translation): Fix typos.
36841         (Helper programs for gettext): Likewise.
36843 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
36845         [BZ #14898]
36846         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36847         Change to -1.
36849 2012-12-07  David S. Miller  <davem@davemloft.net>
36851         * po/libc.pot: Update.
36853 2012-12-07  Richard Henderson  <rth@redhat.com>
36855         [BZ #10114]
36856         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36857         normal/normal case to before the switch.
36858         (_FP_DIV): Likewise.
36860 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
36861             Mike Frysinger  <vapier@gentoo.org>
36863         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36864         check for __NR_fadvise64_64.
36866 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
36868         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36869         0, not just to plain "0" as a statement.
36870         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36871         with cw.
36873 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
36875         * NEWS: Use sourceware.org in Bugzilla URL.
36877 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36880         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36882         * stdio-common/tst-put-error.c (do_test): Add newline to the
36883         padded test to ensure flush.
36885 2012-12-05  Jeff Law  <law@redhat.com>
36887         * sunrpc/etc.rpc (fedfs_admin): Add entry.
36889 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
36891         * README: Don't refer to ports add-on as distributed separately.
36892         Mention AArch64 in list of systems supported in the ports add-on.
36894         * LICENSES: Add more non-FSF copyright and license notices.
36896         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36897         ((unused)).
36899         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36901         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36902         10000 as width of padded output.
36904 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
36906         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36908         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36909         variable LX with __attribute__ ((unused)).
36910         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36911         Likewise.
36912         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36913         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36914         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36915         with __attribute__ ((unused)).
36917 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
36919         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36921 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
36923         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36924         (CFLAGS-nldbl-acos.c): New variable.
36925         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36926         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36927         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36928         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36929         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36930         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36931         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36932         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36933         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36934         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36935         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36936         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36937         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36938         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36939         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36940         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36941         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36942         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36943         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36944         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36945         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36946         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36947         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36948         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36949         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36950         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36951         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36952         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36953         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36954         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36955         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36956         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36957         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36958         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36959         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36960         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36961         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36962         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36963         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36964         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36965         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36966         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36967         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36968         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36969         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36970         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36971         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36972         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36973         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36974         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36975         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36976         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36977         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36978         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36979         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36980         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36981         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36982         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36983         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36984         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36985         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36986         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36987         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36988         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36989         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36990         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36991         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36992         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36993         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36994         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36995         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36996         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36997         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36998         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36999         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37000         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37001         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37002         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37003         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37004         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37005         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37006         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37007         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37008         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37009         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37010         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37011         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37012         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37013         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37014         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37015         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37016         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37017         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37018         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37019         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37020         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37021         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37024         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37026         [BZ #14914]
37027         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37028         whole low double instead of just low 47 bits when splitting values
37029         into two parts.
37031 2012-12-03  Allan McRae  <allan@archlinux.org>
37033         * manual/stdio.texi (Predefined Printf Handlers): Remove
37034         @hsep and @vsep usage.
37036 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37038         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37039         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37041 2012-12-03  Jeff Law  <law@redhat.com>
37043         * time/sys/time.h (settimeofday): Do not mark TV argument
37044         as __nonnull.
37046 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37048         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37049         when currently writing and seek to current position when not.
37050         * libio/Makefile (tests): Remove bug-fclose1.
37051         * libio/bug-fclose1.c: Delete.
37053 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37055         * manual/arith.texi (feenableexcept): Fix typo.
37056         (fedisableexcept): Likewise.
37058 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37060         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37061         second, differently-typed declaration, rather than a cast.
37063 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37065         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37066         * include/rpc/svc.h: ... here.
37068 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
37070         [BZ #13013]
37071         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37072         depending n and resplen2 to catch cases where answer
37073         equals answerp2.
37075 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
37077         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37078         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37080 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
37082         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37084 2012-11-29  Roland McGrath  <roland@hack.frob.com>
37086         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37088 2012-11-28  Jeff Law  <law@redhat.com>
37090         [BZ #13761]
37091         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37092         dataset_temporary.  Track alloca usage into alloca_used.
37093         If dataset is large allocate and release it via malloc/free.
37095 2012-06-04  Florian Weimer  <fweimer@redhat.com>
37097         [BZ #14197]
37098         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37100 2012-11-28  David S. Miller  <davem@davemloft.net>
37102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37104 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37106         [BZ #14803]
37107         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37108         of pi/2 rounded to nearest to 64 bits.
37109         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37110         nearest to 64 bits.
37111         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37112         bits.
37114 2012-11-28  Jeff Law <law@redhat.com>
37115             Martin Osvald <mosvald@redhat.com>
37117         [BZ #14889]
37118         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37119         * sunrpc/svc.c: Include time.h.
37120         (__svc_accept_failed): New function.
37121         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37122         any reason other than EINTR, call __svc_accept_failed.
37123         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37124         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37126 2012-11-28  Andreas Schwab  <schwab@suse.de>
37128         * scripts/abilist.awk: Also handle indirect functions in .opd
37129         section.
37131 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37133         [BZ #13881]
37134         * sysdeps/x86/fpu/powl_helper.c: New file.
37135         * sysdeps/x86/fpu/Makefile: Likewise.
37136         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37137         (p3): New object.
37138         (__ieee754_powl): Use __powl_helper for finite arguments except
37139         integer exponents below 8.
37140         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37141         (p3): New object.
37142         (__ieee754_powl): Use __powl_helper for finite arguments except
37143         integer exponents below 8.
37144         * math/libm-test.inc (pow_test): Add more tests and enable some
37145         previously disabled tests.
37146         * sysdeps/i386/fpu/libm-test-ulps: Update.
37147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37149 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37150             Carlos O'Donell  <carlos_odonell@mentor.com>
37152         * nss/makedb.c (is_prime): Assert that input is odd and greater
37153         than 4.  Note that fact in a comment too.
37154         (next_prime): Add 4 to input.
37156 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37158         [BZ #11741]
37159         * libio/Makefile (tests): Add test case tst-fwrite-error.
37160         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37161         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37162         * libio/tst-fwrite-error.c: New test case.
37164 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
37166         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37167         before casting to void *.
37168         * include/libc-internal.h (__pointer_type): New macro.
37169         (__integer_if_pointer_type_sub): Likewise.
37170         (__integer_if_pointer_type): Likewise.
37171         (cast_to_integer): Likewise.
37172         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37173         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37174         before casting to atomic64_t.
37175         (atomic_exchange_acq): Likewise.
37176         (__arch_exchange_and_add_body): Likewise.
37177         (__arch_add_body): Likewise.
37178         (atomic_add_negative): Likewise.
37179         (atomic_add_zero): Likewise.
37181 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
37183         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37184         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37185         (add_fdes): Likewise.
37186         (linear_search_fdes): Likewise.
37187         (binary_search_unencoded_fdes): Likewise.
37189 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
37191         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37193 2012-11-24  Adam Conrad  <adconrad@0c3.net>
37195         * configure.in: Autodetect C++ header directories.
37196         * configure: Regenerated.
37198 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
37200         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37202 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
37204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37206 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
37208         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37209         LDBL_MANT_DIG == 106]: Disable some tests.
37210         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37211         Likewise.
37212         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37213         Likewise.
37215         [BZ #14871]
37216         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37217         input for small inputs.  Return +/- pi/2 for large inputs.
37218         * math/libm-test.inc (atan_test): Add more tests.
37220         * sysdeps/generic/unwind-dw2-fde-glibc.c
37221         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37222         __attribute__ ((unused)).
37224         [BZ #14645]
37225         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37226         x * y if x and y are nonzero and z is zero.
37228         [BZ #14811]
37229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37230         nonzero exponents with absolute value below 0x1p-117 to +/-
37231         0x1p-117.
37233         [BZ #14869]
37234         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37235         up arguments below 2**-450, not just those below 2**-500.
37236         * math/libm-test.inc (hypot_test): Add another test.
37238         [BZ #14868]
37239         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37240         Return a+b for ratio over 2**120, not 2**60.
37241         * math/libm-test.inc (hypot_test): Add another test.
37243         * math/libm-test.inc (clog_test): Use
37244         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37245         (clog10_test): Likewise.
37247         [BZ #6778]
37248         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37250 2012-11-22  Andreas Schwab  <schwab@suse.de>
37252         * sysdeps/i386/fpu/libm-test-ulps: Update.
37254 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
37256         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37257         printf output with newline.
37259 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
37261         [BZ #14865]
37262         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37263         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37264         -z nodlopen, -z initfirst and -z execstack support.
37265         * configure: Regenerated.
37267         * elf/elf.h (DF_1_NODIRECT): New macro.
37268         (DF_1_IGNMULDEF): Likewise.
37269         (DF_1_NOKSYMS): Likewise.
37270         (DF_1_NOHDR): Likewise.
37271         (DF_1_EDITED): Likewise.
37272         (DF_1_NORELOC): Likewise.
37273         (DF_1_SYMINTPOSE): Likewise.
37274         (DF_1_GLOBAUDIT): Likewise.
37275         (DF_1_SINGLETON): Likewise.
37276         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37277         DT_1_SUPPORTED_MASK bits.
37278         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37280 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
37282         * sysdeps/unix/make-syscalls.sh: Document prefixes.
37284 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
37286         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37287         macro.
37289         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37290         (sendmmsg): Move declarations...
37291         * socket/sys/socket.h: ... here.
37292         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37293         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37294         include it from...
37295         * socket/recvmmsg.c: ... this new file.
37296         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37297         (sendmmsg): Rename to __sendmmsg, create weak alias and make
37298         definition of __sendmmsg hidden.
37299         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37300         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37301         Move ENOSYS stub into and include it from...
37302         * socket/sendmmsg.c: ... this new file.
37303         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37304         (sysdep_routines): Move recvmmsg and sendmmsg...
37305         * socket/Makefile (routines): ... here.
37306         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37307         (GLIBC_PRIVATE): Add __sendmmsg.
37308         * include/sys/socket.h (__sendmmsg): Add declarations.
37309         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37310         sendmmsg.
37312 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
37314         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37315         variable I1 with __attribute__ ((unused)).
37316         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37318 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37320         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37321         DUMMY variables with __attribute__ ((unused)).
37323         * bits/byteswap.h: Include <bits/types.h>.
37324         (__bswap_64): Use __uint64_t instead of unsigned long long int.
37326 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37328         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37329         string_t.  Do not manually set errno.
37330         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37331         length with __strnlen.  Make sure to both set errno and return it on
37332         failure.
37334 2012-11-19  David S. Miller  <davem@davemloft.net>
37336         With help from Joseph Myers.
37337         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37338         very large arguments properly.
37339         * math/libm-test.inc (atan_test): New tests.
37340         (atan2_test): New tests.
37341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37344 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37346         [BZ #14856]
37347         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37348         Define to 3.
37350         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37351         [POSIX] (EADDRNOTAVAIL): Likewise.
37352         [POSIX] (EAFNOSUPPORT): Likewise.
37353         [POSIX] (EALREADY): Likewise.
37354         [POSIX] (ECONNABORTED): Likewise.
37355         [POSIX] (ECONNREFUSED): Likewise.
37356         [POSIX] (ECONNRESET): Likewise.
37357         [POSIX] (EDESTADDRREQ): Likewise.
37358         [POSIX] (EDQUOT): Likewise.
37359         [POSIX] (EHOSTUNREACH): Likewise.
37360         [POSIX] (EIDRM): Likewise.
37361         [POSIX] (EISCONN): Likewise.
37362         [POSIX] (ELOOP): Likewise.
37363         [POSIX] (EMULTIHOP): Likewise.
37364         [POSIX] (ENETDOWN): Likewise.
37365         [POSIX] (ENETUNREACH): Likewise.
37366         [POSIX] (ENOBUFS): Likewise.
37367         [POSIX] (ENODATA): Likewise.
37368         [POSIX] (ENOLINK): Likewise.
37369         [POSIX] (ENOMSG): Likewise.
37370         [POSIX] (ENOPROTOOPT): Likewise.
37371         [POSIX] (ENOSR): Likewise.
37372         [POSIX] (ENOSTR): Likewise.
37373         [POSIX] (ENOTCONN): Likewise.
37374         [POSIX] (ENOTSOCK): Likewise.
37375         [POSIX] (EOPNOTSUPP): Likewise.
37376         [POSIX] (EOVERFLOW): Likewise.
37377         [POSIX] (EPROTO): Likewise.
37378         [POSIX] (EPROTONOSUPPORT): Likewise.
37379         [POSIX] (EPROTOTYPE): Likewise.
37380         [POSIX] (ESTALE): Likewise.
37381         [POSIX] (ETIME): Likewise.
37382         [POSIX] (ETXTBSY): Likewise.
37383         [POSIX] (EWOULDBLOCK): Likewise.
37384         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37385         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37386         [POSIX] (SEEK_CUR): Likewise.
37387         [POSIX] (SEEK_END): Likewise.
37388         [POSIX || UNIX98] (mode_t): Do not require.
37389         [POSIX] (off_t): Likewise.
37390         [POSIX] (pid_t): Likewise.
37391         [POSIX] (sys/stat.h): Do not allow header.
37392         [POSIX] (unistd.h): Likewise.
37393         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37394         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37395         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37396         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37397         require.
37398         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37399         sigevent): Specify elements.
37400         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37401         entry.
37402         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37403         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37405         * conform/data/cpio.h-data [POSIX]: Disable whole file.
37406         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37407         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37408         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37409         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37410         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37411         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37412         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37413         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37414         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37415         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37416         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37417         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37418         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37419         Likewise.
37420         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37421         Likewise.
37422         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37423         Likewise.
37424         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37425         Likewise.
37426         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37427         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37428         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37429         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37430         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37431         Specify lower bound on value.
37432         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37433         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37434         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37435         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37436         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37437         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37438         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37439         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37440         value.
37441         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37442         as optional.
37443         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37444         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37445         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37446         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37447         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37448         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37449         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37450         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37451         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37452         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37453         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37454         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37455         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37456         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37457         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37458         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37459         entry.
37460         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37461         optional.
37462         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37463         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37464         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37465         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37466         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37467         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37468         Likewise.
37469         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37470         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37471         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37472         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37473         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
37474         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37475         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37476         as optional.
37477         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37478         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37479         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37480         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37481         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37482         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37483         specify as optional.
37484         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37485         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37486         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37487         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37488         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37489         [XPG3] (NL_LANGMAX): Likewise.
37490         [POSIX || XPG3] (NL_MSGMAX): Likewise.
37491         [POSIX || XPG3] (NL_NMAX): Likewise.
37492         [POSIX || XPG3] (NL_SETMAX): Likewise.
37493         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37494         [XPG3] (NZERO): Likewise.
37495         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37496         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37497         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37498         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37499         (REG_ERANGE): Expect.
37500         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37501         optional-constant.
37502         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37503         Use (void) in prototype.
37504         [POSIX] (*_t): Allow.
37505         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37506         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37507         (WRDE_BADVAL): Expect.
37509         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37510         expect.
37511         [XPG3 || XPG4] (O_RSYNC): Likewise.
37512         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37513         Likewise.
37514         [XPG3 || XPG4] (pthread_sigmask): Likewise.
37515         [XPG3 || XPG4] (sigqueue): Likewise.
37516         [XPG3 || XPG4] (sigtimedwait): Likewise.
37517         [XPG3 || XPG4] (sigwaitinfo): Likewise.
37518         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37519         [XPG3 || XPG4] (vsnprintf): Likewise.
37520         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37521         Likewise.
37522         [XPG3 || XPG4] (blksize_t): Likewise.
37523         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37524         Likewise.
37525         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37526         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37527         [XPG3 || XPG4] (struct itimerspec): Likewise.
37528         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37529         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37530         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37531         [XPG3 || XPG4] (clockid_t): Likewise.
37532         [XPG3 || XPG4] (timer_t): Likewise.
37533         [XPG3 || XPG4] (clock_getres): Likewise.
37534         [XPG3 || XPG4] (clock_gettime): Likewise.
37535         [XPG3 || XPG4] (clock_settime): Likewise.
37536         [XPG3 || XPG4] (nanosleep): Likewise.
37537         [XPG3 || XPG4] (timer_create): Likewise.
37538         [XPG3 || XPG4] (timer_delete): Likewise.
37539         [XPG3 || XPG4] (timer_gettime): Likewise.
37540         [XPG3 || XPG4] (timer_getoverrun): Likewise.
37541         [XPG3 || XPG4] (timer_settime): Likewise.
37542         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37543         [XPG3 || XPG4] (getlogin_r): Likewise.
37544         [XPG3 || XPG4] (pread): Likewise.
37545         [XPG3 || XPG4] (pthread_atfork): Likewise.
37546         [XPG3 || XPG4] (pwrite): Likewise.
37548         [BZ #14835]
37549         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37550         <bits/siginfo.h>.
37552 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37554         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37555         finalizing MALLSTREAM.
37557         * sysdeps/mach/hurd/syncfs.c: New file.
37559 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37561         [BZ #14719]
37562         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37563         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37564         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37565         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37566         (_nss_dns_gethostbyname4_r): Likewise.
37567         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37568         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37570 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
37572         [BZ #13763]
37573         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37575 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
37577         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37578         * elf/cache.c (print_entry): Print ",AArch64" for
37579         FLAG_AARCH64_LIB64
37581         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37582         * elf/cache.c (print_entry): Print ",hard-float" for
37583         FLAG_ARM_LIBHF.
37585 2012-11-18  David S. Miller  <davem@davemloft.net>
37587         With help from Joseph Myers.
37588         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37589         cutoff to 2**-13.
37590         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37591         cutoff to 2**-25.
37592         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37593         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37594         small.
37595         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37596         * math/libm-test.inc (y0_test): New tests.
37597         (y1_test): New tests.
37598         * sysdeps/i386/fpu/libm-test-ulps: Update.
37599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37602 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
37604         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37605         64-bit targets.
37606         * configure: Regenerated.
37608 2012-11-17  David S. Miller  <davem@davemloft.net>
37610         [BZ #14811]
37611         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37612         nonzero exponents with absolute value below 0x1p-128 to +/-
37613         0x1p-128.
37615 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
37617         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37619         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37621         * posix/getconf-speclist.c: New file.
37622         * posix/posix-envs.def: Likewise.
37623         * posix/confstr.c (START_ENV_GROUP): New macro.
37624         (END_ENV_GROUP): Likewise.
37625         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37626         (KNOWN_PRESENT_ENV_STRING): Likewise.
37627         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37628         (UNKNOWN_ENVIRONMENT): Likewise.
37629         (confstr): Include posix-envs.def instead of handling
37630         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37631         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37632         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37633         (END_ENV_GROUP): Likewise.
37634         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37635         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37636         (UNKNOWN_ENVIRONMENT): Likewise.
37637         (__sysconf): Include posix-envs.def instead of handling associated
37638         cases directly here.
37639         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37640         preprocessing getconf-speclist.c rather than running getconf or
37641         generating empty file.
37643 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
37645         * scripts/check-local-headers.sh: Ignore 'mach' headers.
37647 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
37649         [BZ #14672]
37650         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37652 2012-11-16  David S. Miller  <davem@davemloft.net>
37654         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37655         smaller than LDBL_EPSILON/2.0L, just return xm1.
37657 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
37659         * elf/tst-array1.c (init): Set constructor priority to 1000.
37660         (fini): Set destructor priority to 1000.
37661         * elf/tst-array2dep.c: Likewise.
37663 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37665         [BZ #11741]
37666         * libio/fileops.c (_IO_new_file_write): Correctly return error.
37667         (_IO_new_file_xsputn): Also return EOF if none of the input
37668         data was written when overflow failed.
37669         * libio/iopadn.c (_IO_padn): Likewise.
37670         * libio/iowpadn.c (_IO_wpadn): Likewise.
37671         * stdio-common/tst-put-error.c: Add copyright notice.
37672         (do_test): Add case for printing padded string.
37673         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37674         _IO_padn returned error.
37675         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37676         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37677         return EOF.
37679 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37681         * libio/libioP.h: Add comment note that the references to C++
37682         bits are now obsolete.
37684 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37686         * math/libm-test.inc (check_complex): Use asprintf.
37688 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
37690         * debug/pcprofiledump.c (print_version): Update copyright year.
37691         * malloc/memusagestat.c (print_version): Likewise.
37693 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
37695         [BZ #14831]
37696         * elf/Makefile (tests): Add tst-audit8.
37697         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37698         ($(objpfx)tst-audit8.out): New target.
37699         (tst-audit8-ENV): New variable.
37700         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37701         audit if l_reloc_result is NULL.
37702         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37703         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37704         * elf/tst-audit8.c: New file.
37706 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37708         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37709         * misc/Makefile (CFLAGS-select.c): Define.
37710         * posix/Makefile (CFLAGS-pause.c): Define.
37712 2012-11-13  David S. Miller  <davem@davemloft.net>
37714         * crypt/Makefile: Move test targets after toplevel Rules
37715         inclusion.  Grab any necessary sysdep routines when linking.
37716         * crypt/md5.c (md5_process_block): Remove define, we will always
37717         name it __md5_process_block.
37718         (md5_finish_ctx): Update md5_process_block call.
37719         (md5_stream): Likewise.
37720         (md5_process_bytes): Likewise.
37721         (md5_process_block): Rename to __md5_process_block and move to ...
37722         * crypt/md5-block.c: ... here.
37723         * crypt/sha256.c (sha256_process_block): Move to ...
37724         * crypt/sha256-block.c: ... here.
37725         * crypt/sha512.c (sha512_process_block): Move to ...
37726         * crypt/sha512-block.c: ... here.
37727         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37728         path.
37729         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37730         * sysdeps/sparc/sparc64/multiarch/Makefile
37731         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37732         crypt subdir.
37733         (localedef-aux): Add md5 crypto assembler when in locale subdir.
37734         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37735         multiarch changes.
37736         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37737         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37738         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37739         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37740         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37741         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37742         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37743         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37744         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37745         file.
37746         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37747         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37748         file.
37749         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37751 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
37753         * timezone/tzselect.ksh: Update from tzcode git revision
37754         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37755         * timezone/zdump.c: Likewise.
37756         * timezone/zic.c: Likewise.
37757         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37758         in TZVERSION setting, not $(PKGVERSION).
37759         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
37760         REPORT_BUGS_TO settings.
37762         [BZ #14838]
37763         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37764         macro.
37766 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37768         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37769         detection to immediately after _FP_ROUND().
37770         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37771         bits are 0.
37773 2012-11-11  David S. Miller  <davem@davemloft.net>
37775         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37776         inttypes.h
37777         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37778         __close rather than their public counterparts.
37780 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
37782         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37783         file.
37784         [UNIX98] (sem_timedwait): Do not expect.
37785         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37786         [XPG4 || UNIX98] (sockatmark): Do not expect.
37787         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37788         (clock_getcpuclockid): Do not expect.
37789         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37790         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37791         Do not expect.
37792         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37793         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37794         [UNIX98] (vwscanf): Likewise.
37795         [UNIX98] (vswscanf): Likewise.
37797 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
37799         * timezone/version.h: Remove file.
37800         * timezone/README: Do not refer to version.h.
37801         * timezone/Makefile ($(objpfx)zic.o): New dependency on
37802         $(objpfx)version.h.
37803         ($(objpfx)zdump.o): Likewise.
37804         ($(objpfx)version.h): New target.
37806         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37807         2012i.
37808         * timezone/README: Don't mention modification to tzselect.ksh.
37809         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37810         work on unmodified tzselect.ksh.  Substitute version numbers in
37811         tzselect.ksh.
37813         * Makefile (format-me): Remove.
37814         (INSTALL): Adjust indentation.  Use commands directly instead of
37815         using $(format-me).
37817         * aclocal.m4 (ACX_PKGVERSION): New macro.
37818         (ACX_BUGURL): Likewise.
37819         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37820         (PKGVERSION): New AC_DEFINE_UNQUOTED.
37821         (REPORT_BUGS_TO): Likewise.
37822         * configure: Regenerated.
37823         * config.h.in (PKGVERSION): New macro.
37824         (REPORT_BUGS_TO): Likewise.
37825         * config.make.in (PKGVERSION): New variable.
37826         (PKGVERSION_TEXI): Likewise.
37827         (REPORT_BUGS_TO): Likewise.
37828         (REPORT_BUGS_TEXI): Likewise.
37829         * Makefile (format-me): Use -I$(common-objpfx)manual.
37830         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37831         ($(common-objpfx)manual/%): New target.
37832         (manual/%): Remove target.
37833         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37834         (print_version): Use PKGVERSION.
37835         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37836         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37837         and REPORT_BUGS_TO.
37838         ($(objpfx)xtrace): Likewise.
37839         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37840         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37841         (print_version): Use PKGVERSION.
37842         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37843         (do_version): Use PKGVERSION.
37844         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37845         REPORT_BUGS_TO.
37846         (common-ldd-rewrite): Likewise.
37847         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37848         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37849         (print_version): Use PKGVERSION.
37850         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37851         * elf/pldd.c (argp_program_bug_address): Remove variable.
37852         (more_help): New function.
37853         (argp): Use more_help.
37854         (print_version): Use PKGVERSION.
37855         * elf/sln.c (main): Use PKGVERSION.
37856         (usage): Use REPORT_BUGS_TO.
37857         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37858         (top level): Use PKGVERSION.
37859         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37860         (print_version): Use PKGVERSION.
37861         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37862         (print_version): Use PKGVERSION.
37863         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37864         (print_version): Use PKGVERSION.
37865         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37866         (print_version): Use PKGVERSION.
37867         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37868         (print_version): Use PKGVERSION.
37869         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37870         (print_version): Use PKGVERSION.
37871         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37872         and BUGURL.
37873         ($(objpfx)memusage): Likewise.
37874         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37875         (do_version): Use PKGVERSION.
37876         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37877         (print_version): Use PKGVERSION.
37878         * malloc/mtrace.pl ($PACKAGE): Remove variable.
37879         ($PKGVERSION): New variable.
37880         ($REPORT_BUGS_TO): Likewise.
37881         (usage): Use $REPORT_BUGS_TO.
37882         (top level): Use $PKGVERSION.
37883         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37884         ($(objpfx)pkgvers.texi): New rule.
37885         ($(objpfx)stamp-pkgvers): Likewise.
37886         * manual/install.texi: Include pkgvers.texi.
37887         (--with-pkgversion): Document new configure option.
37888         (--with-bugurl): Likewise.
37889         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37890         than necessarily for this particular distribution.  Use
37891         REPORT_BUGS_TO for where to report bugs.
37892         * INSTALL: Regenerated.
37893         * manual/libc.texinfo: Include pkgvers.texi.
37894         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37895         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37896         (print_version): Use PKGVERSION.
37897         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37898         (print_version): Use PKGVERSION.
37899         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37900         (print_version): Use PKGVERSION.
37901         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37902         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37903         macro.
37904         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37905         (print_version): Use PKGVERSION.
37906         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37907         (print_version): Use PKGVERSION.
37908         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37909         and PKGVERSION.
37911         * timezone/checktab.awk: Update from tzcode 2012i.
37912         * timezone/ialloc.c: Likewise.
37913         * timezone/private.h: Likewise.
37914         * timezone/scheck.c: Likewise.
37915         * timezone/tzfile.h: Likewise.
37916         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37917         (TZVERSION): Hardcode tzcode version number.
37918         * timezone/zdump.c: Update from tzcode 2012i.
37919         * timezone/zic.c: Likewise.
37920         * timezone/version.h: New file.
37921         * timezone/README: Describe version.h.  Update upstream location.
37923         [BZ #14824]
37924         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37925         (mktemp): Enable declaration.
37926         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37927         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37929         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37930         Likewise.
37931         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37932         Likewise.
37933         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37934         Likewise.
37935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37936         Likewise.
37937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37938         Likewise.
37939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37940         Likewise.
37942         [BZ #14821]
37943         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37944         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
37945         for copies of such integer values.
37946         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37947         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37949 2012-11-09  Andreas Jaeger  <aj@suse.de>
37951         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37952         definitions and declarations that are provided by
37953         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37955 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37957         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37958         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37959         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37960         definition.
37962 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37964         * elf/elf.h: Update comment before AArch64 relocations.
37966 2012-11-07  David S. Miller  <davem@davemloft.net>
37968         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37969         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37970         (__start_context): Declare.
37971         (__makecontext_ret): Delete.
37972         (__makecontext): Hook up __start_context instead of
37973         __makecontext_ret.
37974         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37975         (sysdep_routines): Add __start_context when in stdlib.
37977 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37979         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37980         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37981         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
37982         hardcoded "nm".
37983         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
37984         (READELF): New variable.  Use it instead of hardcoded "readelf".
37986 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37988         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37989         * sysdeps/x86/Makefile: Here.
37990         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37991         * sysdeps/x86/tst-xmmymm.sh: This.
37993 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37995         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37996         expectations.
37997         [UNIX98] (pthread_barrier_t): Do not expect.
37998         [UNIX98] (pthread_barrierattr_t): Likewise.
37999         [UNIX98] (pthread_spinlock_t): Likewise.
38000         [UNIX98] (pthread_barrier_destroy): Likewise.
38001         [UNIX98] (pthread_barrier_init): Likewise.
38002         [UNIX98] (pthread_barrier_wait): Likewise.
38003         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38004         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38005         [UNIX98] (pthread_barrierattr_init): Likewise.
38006         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38007         [UNIX98] (pthread_getcpuclockid): Likewise.
38008         [UNIX98] (pthread_mutex_timedlock): Likewise.
38009         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38010         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38011         [UNIX98] (pthread_sigmask): Likewise.
38012         [UNIX98] (pthread_spin_destroy): Likewise.
38013         [UNIX98] (pthread_spin_init): Likewise.
38014         [UNIX98] (pthread_spin_lock): Likewise.
38015         [UNIX98] (pthread_spin_trylock): Likewise.
38016         [UNIX98] (pthread_spin_unlock): Likewise.
38017         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38018         Do not expect.
38019         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38020         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38021         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38022         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38023         [XPG3 || XPG4] (pthread_key_t): Likewise.
38024         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38025         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38026         [XPG3 || XPG4] (pthread_once_t): Likewise.
38027         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38028         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38029         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38030         [XPG3 || XPG4] (pthread_t): Likewise.
38032         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38033         not expect.
38034         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38036         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38037         Change function return type to int.
38039         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38040         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38041         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38042         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38043         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38044         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38045         [!POSIX] (posix_madvise): Likewise.
38046         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38047         && !UNIX98].
38048         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38049         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38050         (mode_t): Likewise.
38051         (posix_mem_offset): Likewise.
38052         (posix_typed_mem_get_info): Likewise.
38053         (posix_typed_mem_open): Likewise.
38055         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38056         Change condition to [XOPEN2K8].
38058         * conform/conformtest.pl: Preprocess allow-header data with -x c
38059         instead of from stdin.
38060         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38061         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38062         [C99-based standards] (cerfc): Likewise.
38063         [C99-based standards] (cexp2): Likewise.
38064         [C99-based standards] (cexpm1): Likewise.
38065         [C99-based standards] (clog10): Likewise.
38066         [C99-based standards] (clog1p): Likewise.
38067         [C99-based standards] (clog2): Likewise.
38068         [C99-based standards] (clgamma): Likewise.
38069         [C99-based standards] (ctgamma): Likewise.
38070         [C99-based standards] (cerff): Likewise.
38071         [C99-based standards] (cerfcf): Likewise.
38072         [C99-based standards] (cexp2f): Likewise.
38073         [C99-based standards] (cexpm1f): Likewise.
38074         [C99-based standards] (clog10f): Likewise.
38075         [C99-based standards] (clog1pf): Likewise.
38076         [C99-based standards] (clog2f): Likewise.
38077         [C99-based standards] (clgammaf): Likewise.
38078         [C99-based standards] (ctgammaf): Likewise.
38079         [C99-based standards] (cerfl): Likewise.
38080         [C99-based standards] (cerfcl): Likewise.
38081         [C99-based standards] (cexp2l): Likewise.
38082         [C99-based standards] (cexpm1l): Likewise.
38083         [C99-based standards] (clog10l): Likewise.
38084         [C99-based standards] (clog1pl): Likewise.
38085         [C99-based standards] (clog2l): Likewise.
38086         [C99-based standards] (clgammal): Likewise.
38087         [C99-based standards] (ctgammal): Likewise.
38088         * conform/data/inttypes.h-data [C99-based standards]: Include
38089         stdint.h-data.  Remove all expectations for stdint.h contents.
38090         [C99-based standards] (PRI*): Do not allow.
38091         [C99-based standards] (SCN*): Likewise.
38092         [C99-based standards] (*_t): Likewise.
38093         [C99-based-standards] (PRId8): Expect macro.
38094         [C99-based-standards] (PRIi8): Likewise.
38095         [C99-based-standards] (PRIo8): Likewise.
38096         [C99-based-standards] (PRIu8): Likewise.
38097         [C99-based-standards] (PRIx8): Likewise.
38098         [C99-based-standards] (PRIX8): Likewise.
38099         [C99-based-standards] (SCNd8): Likewise.
38100         [C99-based-standards] (SCNi8): Likewise.
38101         [C99-based-standards] (SCNo8): Likewise.
38102         [C99-based-standards] (SCNu8): Likewise.
38103         [C99-based-standards] (SCNx8): Likewise.
38104         [C99-based-standards] (PRIdLEAST8): Likewise.
38105         [C99-based-standards] (PRIiLEAST8): Likewise.
38106         [C99-based-standards] (PRIoLEAST8): Likewise.
38107         [C99-based-standards] (PRIuLEAST8): Likewise.
38108         [C99-based-standards] (PRIxLEAST8): Likewise.
38109         [C99-based-standards] (PRIXLEAST8): Likewise.
38110         [C99-based-standards] (SCNdLEAST8): Likewise.
38111         [C99-based-standards] (SCNiLEAST8): Likewise.
38112         [C99-based-standards] (SCNoLEAST8): Likewise.
38113         [C99-based-standards] (SCNuLEAST8): Likewise.
38114         [C99-based-standards] (SCNxLEAST8): Likewise.
38115         [C99-based-standards] (PRIdFAST8): Likewise.
38116         [C99-based-standards] (PRIiFAST8): Likewise.
38117         [C99-based-standards] (PRIoFAST8): Likewise.
38118         [C99-based-standards] (PRIuFAST8): Likewise.
38119         [C99-based-standards] (PRIxFAST8): Likewise.
38120         [C99-based-standards] (PRIXFAST8): Likewise.
38121         [C99-based-standards] (SCNdFAST8): Likewise.
38122         [C99-based-standards] (SCNiFAST8): Likewise.
38123         [C99-based-standards] (SCNoFAST8): Likewise.
38124         [C99-based-standards] (SCNuFAST8): Likewise.
38125         [C99-based-standards] (SCNxFAST8): Likewise.
38126         [C99-based-standards] (PRId16): Likewise.
38127         [C99-based-standards] (PRIi16): Likewise.
38128         [C99-based-standards] (PRIo16): Likewise.
38129         [C99-based-standards] (PRIu16): Likewise.
38130         [C99-based-standards] (PRIx16): Likewise.
38131         [C99-based-standards] (PRIX16): Likewise.
38132         [C99-based-standards] (SCNd16): Likewise.
38133         [C99-based-standards] (SCNi16): Likewise.
38134         [C99-based-standards] (SCNo16): Likewise.
38135         [C99-based-standards] (SCNu16): Likewise.
38136         [C99-based-standards] (SCNx16): Likewise.
38137         [C99-based-standards] (PRIdLEAST16): Likewise.
38138         [C99-based-standards] (PRIiLEAST16): Likewise.
38139         [C99-based-standards] (PRIoLEAST16): Likewise.
38140         [C99-based-standards] (PRIuLEAST16): Likewise.
38141         [C99-based-standards] (PRIxLEAST16): Likewise.
38142         [C99-based-standards] (PRIXLEAST16): Likewise.
38143         [C99-based-standards] (SCNdLEAST16): Likewise.
38144         [C99-based-standards] (SCNiLEAST16): Likewise.
38145         [C99-based-standards] (SCNoLEAST16): Likewise.
38146         [C99-based-standards] (SCNuLEAST16): Likewise.
38147         [C99-based-standards] (SCNxLEAST16): Likewise.
38148         [C99-based-standards] (PRIdFAST16): Likewise.
38149         [C99-based-standards] (PRIiFAST16): Likewise.
38150         [C99-based-standards] (PRIoFAST16): Likewise.
38151         [C99-based-standards] (PRIuFAST16): Likewise.
38152         [C99-based-standards] (PRIxFAST16): Likewise.
38153         [C99-based-standards] (PRIXFAST16): Likewise.
38154         [C99-based-standards] (SCNdFAST16): Likewise.
38155         [C99-based-standards] (SCNiFAST16): Likewise.
38156         [C99-based-standards] (SCNoFAST16): Likewise.
38157         [C99-based-standards] (SCNuFAST16): Likewise.
38158         [C99-based-standards] (SCNxFAST16): Likewise.
38159         [C99-based-standards] (PRId32): Likewise.
38160         [C99-based-standards] (PRIi32): Likewise.
38161         [C99-based-standards] (PRIo32): Likewise.
38162         [C99-based-standards] (PRIu32): Likewise.
38163         [C99-based-standards] (PRIx32): Likewise.
38164         [C99-based-standards] (PRIX32): Likewise.
38165         [C99-based-standards] (SCNd32): Likewise.
38166         [C99-based-standards] (SCNi32): Likewise.
38167         [C99-based-standards] (SCNo32): Likewise.
38168         [C99-based-standards] (SCNu32): Likewise.
38169         [C99-based-standards] (SCNx32): Likewise.
38170         [C99-based-standards] (PRIdLEAST32): Likewise.
38171         [C99-based-standards] (PRIiLEAST32): Likewise.
38172         [C99-based-standards] (PRIoLEAST32): Likewise.
38173         [C99-based-standards] (PRIuLEAST32): Likewise.
38174         [C99-based-standards] (PRIxLEAST32): Likewise.
38175         [C99-based-standards] (PRIXLEAST32): Likewise.
38176         [C99-based-standards] (SCNdLEAST32): Likewise.
38177         [C99-based-standards] (SCNiLEAST32): Likewise.
38178         [C99-based-standards] (SCNoLEAST32): Likewise.
38179         [C99-based-standards] (SCNuLEAST32): Likewise.
38180         [C99-based-standards] (SCNxLEAST32): Likewise.
38181         [C99-based-standards] (PRIdFAST32): Likewise.
38182         [C99-based-standards] (PRIiFAST32): Likewise.
38183         [C99-based-standards] (PRIoFAST32): Likewise.
38184         [C99-based-standards] (PRIuFAST32): Likewise.
38185         [C99-based-standards] (PRIxFAST32): Likewise.
38186         [C99-based-standards] (PRIXFAST32): Likewise.
38187         [C99-based-standards] (SCNdFAST32): Likewise.
38188         [C99-based-standards] (SCNiFAST32): Likewise.
38189         [C99-based-standards] (SCNoFAST32): Likewise.
38190         [C99-based-standards] (SCNuFAST32): Likewise.
38191         [C99-based-standards] (SCNxFAST32): Likewise.
38192         [C99-based-standards] (PRId64): Likewise.
38193         [C99-based-standards] (PRIi64): Likewise.
38194         [C99-based-standards] (PRIo64): Likewise.
38195         [C99-based-standards] (PRIu64): Likewise.
38196         [C99-based-standards] (PRIx64): Likewise.
38197         [C99-based-standards] (PRIX64): Likewise.
38198         [C99-based-standards] (SCNd64): Likewise.
38199         [C99-based-standards] (SCNi64): Likewise.
38200         [C99-based-standards] (SCNo64): Likewise.
38201         [C99-based-standards] (SCNu64): Likewise.
38202         [C99-based-standards] (SCNx64): Likewise.
38203         [C99-based-standards] (PRIdLEAST64): Likewise.
38204         [C99-based-standards] (PRIiLEAST64): Likewise.
38205         [C99-based-standards] (PRIoLEAST64): Likewise.
38206         [C99-based-standards] (PRIuLEAST64): Likewise.
38207         [C99-based-standards] (PRIxLEAST64): Likewise.
38208         [C99-based-standards] (PRIXLEAST64): Likewise.
38209         [C99-based-standards] (SCNdLEAST64): Likewise.
38210         [C99-based-standards] (SCNiLEAST64): Likewise.
38211         [C99-based-standards] (SCNoLEAST64): Likewise.
38212         [C99-based-standards] (SCNuLEAST64): Likewise.
38213         [C99-based-standards] (SCNxLEAST64): Likewise.
38214         [C99-based-standards] (PRIdFAST64): Likewise.
38215         [C99-based-standards] (PRIiFAST64): Likewise.
38216         [C99-based-standards] (PRIoFAST64): Likewise.
38217         [C99-based-standards] (PRIuFAST64): Likewise.
38218         [C99-based-standards] (PRIxFAST64): Likewise.
38219         [C99-based-standards] (PRIXFAST64): Likewise.
38220         [C99-based-standards] (SCNdFAST64): Likewise.
38221         [C99-based-standards] (SCNiFAST64): Likewise.
38222         [C99-based-standards] (SCNoFAST64): Likewise.
38223         [C99-based-standards] (SCNuFAST64): Likewise.
38224         [C99-based-standards] (SCNxFAST64): Likewise.
38225         [C99-based-standards] (PRIdMAX): Likewise.
38226         [C99-based-standards] (PRIiMAX): Likewise.
38227         [C99-based-standards] (PRIoMAX): Likewise.
38228         [C99-based-standards] (PRIuMAX): Likewise.
38229         [C99-based-standards] (PRIxMAX): Likewise.
38230         [C99-based-standards] (PRIXMAX): Likewise.
38231         [C99-based-standards] (SCNdMAX): Likewise.
38232         [C99-based-standards] (SCNiMAX): Likewise.
38233         [C99-based-standards] (SCNoMAX): Likewise.
38234         [C99-based-standards] (SCNuMAX): Likewise.
38235         [C99-based-standards] (SCNxMAX): Likewise.
38236         [C99-based-standards] (PRIdPTR): Likewise.
38237         [C99-based-standards] (PRIiPTR): Likewise.
38238         [C99-based-standards] (PRIoPTR): Likewise.
38239         [C99-based-standards] (PRIuPTR): Likewise.
38240         [C99-based-standards] (PRIxPTR): Likewise.
38241         [C99-based-standards] (PRIXPTR): Likewise.
38242         [C99-based-standards] (SCNdPTR): Likewise.
38243         [C99-based-standards] (SCNiPTR): Likewise.
38244         [C99-based-standards] (SCNoPTR): Likewise.
38245         [C99-based-standards] (SCNuPTR): Likewise.
38246         [C99-based-standards] (SCNxPTR): Likewise.
38247         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38248         allow.
38249         * conform/data/stdint.h-data: Update comments to clarify
38250         requirements.
38251         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
38252         type.
38253         [C99-based standards] (INT8_MAX): Likewise.
38254         [C99-based standards] (INT16_MIN): Likewise.
38255         [C99-based standards] (INT16_MAX): Likewise.
38256         [C99-based standards] (INT32_MIN): Likewise.
38257         [C99-based standards] (INT32_MAX): Likewise.
38258         [C99-based standards] (INT64_MIN): Likewise.
38259         [C99-based standards] (INT64_MAX): Likewise.
38260         [C99-based standards] (UINT8_MAX): Likewise.
38261         [C99-based standards] (UINT16_MAX): Likewise.
38262         [C99-based standards] (UINT32_MAX): Likewise.
38263         [C99-based standards] (UINT64_MAX): Likewise.
38264         [C99-based standards] (INT_LEAST8_MIN): Likewise.
38265         [C99-based standards] (INT_LEAST8_MAX): Likewise.
38266         [C99-based standards] (INT_LEAST16_MIN): Likewise.
38267         [C99-based standards] (INT_LEAST16_MAX): Likewise.
38268         [C99-based standards] (INT_LEAST32_MIN): Likewise.
38269         [C99-based standards] (INT_LEAST32_MAX): Likewise.
38270         [C99-based standards] (INT_LEAST64_MIN): Likewise.
38271         [C99-based standards] (INT_LEAST64_MAX): Likewise.
38272         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38273         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38274         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38275         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38276         [C99-based standards] (INT_FAST8_MIN): Likewise.
38277         [C99-based standards] (INT_FAST8_MAX): Likewise.
38278         [C99-based standards] (INT_FAST16_MIN): Likewise.
38279         [C99-based standards] (INT_FAST16_MAX): Likewise.
38280         [C99-based standards] (INT_FAST32_MIN): Likewise.
38281         [C99-based standards] (INT_FAST32_MAX): Likewise.
38282         [C99-based standards] (INT_FAST64_MIN): Likewise.
38283         [C99-based standards] (INT_FAST64_MAX): Likewise.
38284         [C99-based standards] (UINT_FAST8_MAX): Likewise.
38285         [C99-based standards] (UINT_FAST16_MAX): Likewise.
38286         [C99-based standards] (UINT_FAST32_MAX): Likewise.
38287         [C99-based standards] (UINT_FAST64_MAX): Likewise.
38288         [C99-based standards] (INTPTR_MIN): Likewise.
38289         [C99-based standards] (INTPTR_MAX): Likewise.
38290         [C99-based standards] (UINTPTR_MAX): Likewise.
38291         [C99-based standards] (INTMAX_MIN): Likewise.
38292         [C99-based standards] (INTMAX_MAX): Likewise.
38293         [C99-based standards] (UINTMAX_MAX): Likewise.
38294         [C99-based standards] (PTRDIFF_MIN): Likewise.
38295         [C99-based standards] (PTRDIFF_MAX): Likewise.
38296         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38297         [C99-based standards] (SIZE_MAX): Likewise.
38298         [C99-based standards] (WCHAR_MAX): Likewise.
38299         [C99-based standards] (WINT_MAX): Likewise.
38300         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
38301         constraint on value.
38302         [C99-based standards] (WCHAR_MIN): Likewise.
38303         [C99-based standards] (WINT_MIN): Likewise.
38304         [C99-based standards] (*_t): Allow.
38305         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38306         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38307         Include math.h-data and complex.h-data.  Remove all expectations
38308         of math.h and complex.h contents.
38309         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38310         at end of line.
38311         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38312         (struct tm): Expect tag.
38313         [C99-based-standards] (wcstof): Expect function.
38314         [C99-based-standards] (wcstold): Likewise.
38315         [C99-based-standards] (wcstoll): Likewise.
38316         [C99-based-standards] (wcstoull): Likewise.
38317         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38318         macro-int-constant.  Specify type.
38319         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
38320         constraint on value.
38321         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38322         Specify type.
38323         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38324         Specify value.
38325         [ISO C standards]: Do not allow headers.
38326         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38327         wcs[abcdefghijklmnopqrstuvwxyz]*.
38328         [ISO C standards] (*_t): Do not allow.
38329         * conform/data/wctype.h-data [C99-based standards] (iswblank):
38330         Expect function.
38331         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38332         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38333         Specify type.
38334         [ISO C standards]: Do not allow headers.
38335         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38336         is[abcdefghijklmnopqrstuvwxyz]*.
38337         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38338         to[abcdefghijklmnopqrstuvwxyz]*.
38339         [ISO C standards] (*_t): Do not allow.
38340         * conform/data/stdalign.h-data: New file.
38341         * conform/data/stdbool.h-data: Likewise.
38342         * conform/data/stdnoreturn.h-data: Likewise.
38344 2012-11-07  Roland McGrath  <roland@hack.frob.com>
38346         [BZ #14815]
38347         * manual/filesys.texi (Directory Entries): Typo fix.
38348         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38350 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38352         * elf/elf.h (EM_AARCH64): New macro.
38353         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38354         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38355         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38356         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38357         (R_AARCH64_TLSDESC): Likewise.
38358         (NT_ARM_TLS): Likewise.
38359         (NT_ARM_HW_BREAK): Likewise.
38360         (NT_ARM_HW_WATCH): Likewise.
38362 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38364         [BZ #14811]
38365         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38366         (__ieee754_powl): Saturate nonzero exponents with absolute value
38367         below 0x1p-79 to +/- 0x1p-79.
38368         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38369         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38370         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38371         nonzero exponents with absolute value below 0x1p-32 to +/-
38372         0x1p-32.
38373         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38374         (__ieee754_powl): Saturate nonzero exponents with absolute value
38375         below 0x1p-79 to +/- 0x1p-79.
38376         * math/libm-test.inc (pow_test): Add more tests.
38378 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38380         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38381         _dl_s390_cap_flags with kernel. Increase string length.
38382         (_dl_s390_platforms): Add z196 and zEC12.
38384 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38386         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38387         Change XOPEN21K to XOPEN2K.
38389 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
38391         * string/memmove.c: Use memcpy when possible.
38393 2012-11-06  Andreas Jaeger  <aj@suse.de>
38395         * po/eo.po: Update from translation team.
38397 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
38399         [BZ #14793]
38400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38401         exponent and small x and y exponents, scale x or y up.  Increase
38402         by 2 the exponent used in scaling up.
38403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38405         * math/libm-test.inc (fma_test): Add more tests.
38406         (fma_test_towardzero): Likewise.
38407         (fma_test_downward): Likewise.
38408         (fma_test_upward): Likewise.
38410 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
38412         [BZ #14805]
38413         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38414         fenv_t *.
38416         [BZ #14801]
38417         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38418         namespace for names of struct fields.
38419         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38420         fenv_t fields.
38421         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38422         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38424 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38426         [BZ #3665]
38427         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38429 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38431         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38432         PTR_DEMANGLE.
38434         [BZ #5246]
38435         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38436         PTR_DEMANGLE.
38438 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
38440         [BZ #14797]
38441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38442         definitely overflow as x * y not x * y + z.
38443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38444         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38445         * math/libm-test.inc (fma_test): Add more tests.
38446         (fma_test_towardzero): Likewise.
38447         (fma_test_downward): Likewise.
38448         (fma_test_upward): Likewise.
38450 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38452         [BZ #157]
38454         * include/stub-tag.h: Remove file.
38455         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38456         '#include' of it.
38457         * manual/maint.texi (Porting): Don't reference it.
38458         * Makerules ($(objpfx)stubs): Likewise.
38459         * dirent/closedir.c: Don't include <stub-tag.h>.
38460         * dirent/dirfd.c: Likewise.
38461         * dirent/fdopendir.c: Likewise.
38462         * dirent/getdents.c: Likewise.
38463         * dirent/getdents64.c: Likewise.
38464         * dirent/opendir.c: Likewise.
38465         * dirent/readdir.c: Likewise.
38466         * dirent/readdir64.c: Likewise.
38467         * dirent/readdir64_r.c: Likewise.
38468         * dirent/readdir_r.c: Likewise.
38469         * dirent/rewinddir.c: Likewise.
38470         * dirent/seekdir.c: Likewise.
38471         * dirent/telldir.c: Likewise.
38472         * gmon/profil.c: Likewise.
38473         * grp/setgroups.c: Likewise.
38474         * inet/if_index.c: Likewise.
38475         * io/access.c: Likewise.
38476         * io/chdir.c: Likewise.
38477         * io/chmod.c: Likewise.
38478         * io/chown.c: Likewise.
38479         * io/close.c: Likewise.
38480         * io/dup.c: Likewise.
38481         * io/dup2.c: Likewise.
38482         * io/dup3.c: Likewise.
38483         * io/euidaccess.c: Likewise.
38484         * io/faccessat.c: Likewise.
38485         * io/fchdir.c: Likewise.
38486         * io/fchmod.c: Likewise.
38487         * io/fchmodat.c: Likewise.
38488         * io/fchown.c: Likewise.
38489         * io/fchownat.c: Likewise.
38490         * io/fcntl.c: Likewise.
38491         * io/flock.c: Likewise.
38492         * io/fstatfs.c: Likewise.
38493         * io/fstatfs64.c: Likewise.
38494         * io/fstatvfs.c: Likewise.
38495         * io/fstatvfs64.c: Likewise.
38496         * io/futimens.c: Likewise.
38497         * io/fxstat.c: Likewise.
38498         * io/fxstat64.c: Likewise.
38499         * io/fxstatat.c: Likewise.
38500         * io/fxstatat64.c: Likewise.
38501         * io/getcwd.c: Likewise.
38502         * io/isatty.c: Likewise.
38503         * io/lchmod.c: Likewise.
38504         * io/lchown.c: Likewise.
38505         * io/link.c: Likewise.
38506         * io/linkat.c: Likewise.
38507         * io/lseek.c: Likewise.
38508         * io/lseek64.c: Likewise.
38509         * io/lxstat64.c: Likewise.
38510         * io/mkdir.c: Likewise.
38511         * io/mkdirat.c: Likewise.
38512         * io/mkfifo.c: Likewise.
38513         * io/mkfifoat.c: Likewise.
38514         * io/open.c: Likewise.
38515         * io/open64.c: Likewise.
38516         * io/openat.c: Likewise.
38517         * io/openat64.c: Likewise.
38518         * io/pipe.c: Likewise.
38519         * io/pipe2.c: Likewise.
38520         * io/poll.c: Likewise.
38521         * io/posix_fadvise.c: Likewise.
38522         * io/posix_fadvise64.c: Likewise.
38523         * io/posix_fallocate.c: Likewise.
38524         * io/posix_fallocate64.c: Likewise.
38525         * io/read.c: Likewise.
38526         * io/readlink.c: Likewise.
38527         * io/readlinkat.c: Likewise.
38528         * io/rmdir.c: Likewise.
38529         * io/sendfile.c: Likewise.
38530         * io/sendfile64.c: Likewise.
38531         * io/statfs.c: Likewise.
38532         * io/statfs64.c: Likewise.
38533         * io/statvfs.c: Likewise.
38534         * io/statvfs64.c: Likewise.
38535         * io/symlink.c: Likewise.
38536         * io/symlinkat.c: Likewise.
38537         * io/ttyname.c: Likewise.
38538         * io/ttyname_r.c: Likewise.
38539         * io/umask.c: Likewise.
38540         * io/unlink.c: Likewise.
38541         * io/unlinkat.c: Likewise.
38542         * io/utime.c: Likewise.
38543         * io/utimensat.c: Likewise.
38544         * io/write.c: Likewise.
38545         * io/xmknod.c: Likewise.
38546         * io/xmknodat.c: Likewise.
38547         * io/xstat.c: Likewise.
38548         * io/xstat64.c: Likewise.
38549         * login/getpt.c: Likewise.
38550         * login/grantpt.c: Likewise.
38551         * login/unlockpt.c: Likewise.
38552         * math/e_acoshl.c: Likewise.
38553         * math/e_acosl.c: Likewise.
38554         * math/e_asinl.c: Likewise.
38555         * math/e_atan2l.c: Likewise.
38556         * math/e_atanhl.c: Likewise.
38557         * math/e_coshl.c: Likewise.
38558         * math/e_expl.c: Likewise.
38559         * math/e_fmodl.c: Likewise.
38560         * math/e_gammal_r.c: Likewise.
38561         * math/e_hypotl.c: Likewise.
38562         * math/e_j0l.c: Likewise.
38563         * math/e_j1l.c: Likewise.
38564         * math/e_jnl.c: Likewise.
38565         * math/e_lgammal_r.c: Likewise.
38566         * math/e_log10l.c: Likewise.
38567         * math/e_log2l.c: Likewise.
38568         * math/e_logl.c: Likewise.
38569         * math/e_powl.c: Likewise.
38570         * math/e_rem_pio2l.c: Likewise.
38571         * math/e_sinhl.c: Likewise.
38572         * math/e_sqrtl.c: Likewise.
38573         * math/fclrexcpt.c: Likewise.
38574         * math/fedisblxcpt.c: Likewise.
38575         * math/feenablxcpt.c: Likewise.
38576         * math/fegetenv.c: Likewise.
38577         * math/fegetexcept.c: Likewise.
38578         * math/fegetround.c: Likewise.
38579         * math/feholdexcpt.c: Likewise.
38580         * math/fesetenv.c: Likewise.
38581         * math/fesetround.c: Likewise.
38582         * math/feupdateenv.c: Likewise.
38583         * math/fgetexcptflg.c: Likewise.
38584         * math/fraiseexcpt.c: Likewise.
38585         * math/fsetexcptflg.c: Likewise.
38586         * math/ftestexcept.c: Likewise.
38587         * math/k_cosl.c: Likewise.
38588         * math/k_rem_pio2l.c: Likewise.
38589         * math/k_sinl.c: Likewise.
38590         * math/k_tanl.c: Likewise.
38591         * math/s_asinhl.c: Likewise.
38592         * math/s_atanl.c: Likewise.
38593         * math/s_cbrtl.c: Likewise.
38594         * math/s_erfl.c: Likewise.
38595         * math/s_expm1l.c: Likewise.
38596         * math/s_log1pl.c: Likewise.
38597         * math/s_tanhl.c: Likewise.
38598         * misc/acct.c: Likewise.
38599         * misc/brk.c: Likewise.
38600         * misc/chflags.c: Likewise.
38601         * misc/chroot.c: Likewise.
38602         * misc/fchflags.c: Likewise.
38603         * misc/fgetxattr.c: Likewise.
38604         * misc/flistxattr.c: Likewise.
38605         * misc/fremovexattr.c: Likewise.
38606         * misc/fsetxattr.c: Likewise.
38607         * misc/fsync.c: Likewise.
38608         * misc/ftruncate.c: Likewise.
38609         * misc/futimes.c: Likewise.
38610         * misc/futimesat.c: Likewise.
38611         * misc/getdomain.c: Likewise.
38612         * misc/getdtsz.c: Likewise.
38613         * misc/gethostid.c: Likewise.
38614         * misc/gethostname.c: Likewise.
38615         * misc/getloadavg.c: Likewise.
38616         * misc/getpagesize.c: Likewise.
38617         * misc/getsysstats.c: Likewise.
38618         * misc/getxattr.c: Likewise.
38619         * misc/gtty.c: Likewise.
38620         * misc/ioctl.c: Likewise.
38621         * misc/lgetxattr.c: Likewise.
38622         * misc/listxattr.c: Likewise.
38623         * misc/llistxattr.c: Likewise.
38624         * misc/lremovexattr.c: Likewise.
38625         * misc/lsetxattr.c: Likewise.
38626         * misc/lutimes.c: Likewise.
38627         * misc/madvise.c: Likewise.
38628         * misc/mincore.c: Likewise.
38629         * misc/mlock.c: Likewise.
38630         * misc/mlockall.c: Likewise.
38631         * misc/mmap.c: Likewise.
38632         * misc/mprotect.c: Likewise.
38633         * misc/msync.c: Likewise.
38634         * misc/munlock.c: Likewise.
38635         * misc/munlockall.c: Likewise.
38636         * misc/munmap.c: Likewise.
38637         * misc/preadv.c: Likewise.
38638         * misc/preadv64.c: Likewise.
38639         * misc/ptrace.c: Likewise.
38640         * misc/pwritev.c: Likewise.
38641         * misc/pwritev64.c: Likewise.
38642         * misc/readv.c: Likewise.
38643         * misc/reboot.c: Likewise.
38644         * misc/remap_file_pages.c: Likewise.
38645         * misc/removexattr.c: Likewise.
38646         * misc/revoke.c: Likewise.
38647         * misc/select.c: Likewise.
38648         * misc/setdomain.c: Likewise.
38649         * misc/setegid.c: Likewise.
38650         * misc/seteuid.c: Likewise.
38651         * misc/sethostid.c: Likewise.
38652         * misc/sethostname.c: Likewise.
38653         * misc/setregid.c: Likewise.
38654         * misc/setreuid.c: Likewise.
38655         * misc/setxattr.c: Likewise.
38656         * misc/sstk.c: Likewise.
38657         * misc/stty.c: Likewise.
38658         * misc/swapoff.c: Likewise.
38659         * misc/swapon.c: Likewise.
38660         * misc/sync.c: Likewise.
38661         * misc/syncfs.c: Likewise.
38662         * misc/syscall.c: Likewise.
38663         * misc/truncate.c: Likewise.
38664         * misc/ualarm.c: Likewise.
38665         * misc/usleep.c: Likewise.
38666         * misc/ustat.c: Likewise.
38667         * misc/utimes.c: Likewise.
38668         * misc/vhangup.c: Likewise.
38669         * misc/writev.c: Likewise.
38670         * posix/_exit.c: Likewise.
38671         * posix/alarm.c: Likewise.
38672         * posix/execve.c: Likewise.
38673         * posix/fexecve.c: Likewise.
38674         * posix/fork.c: Likewise.
38675         * posix/fpathconf.c: Likewise.
38676         * posix/getaddrinfo.c: Likewise.
38677         * posix/getegid.c: Likewise.
38678         * posix/geteuid.c: Likewise.
38679         * posix/getgid.c: Likewise.
38680         * posix/getgroups.c: Likewise.
38681         * posix/getlogin.c: Likewise.
38682         * posix/getlogin_r.c: Likewise.
38683         * posix/getpgid.c: Likewise.
38684         * posix/getpid.c: Likewise.
38685         * posix/getppid.c: Likewise.
38686         * posix/getresgid.c: Likewise.
38687         * posix/getresuid.c: Likewise.
38688         * posix/getsid.c: Likewise.
38689         * posix/getuid.c: Likewise.
38690         * posix/glob64.c: Likewise.
38691         * posix/nanosleep.c: Likewise.
38692         * posix/pathconf.c: Likewise.
38693         * posix/pause.c: Likewise.
38694         * posix/posix_madvise.c: Likewise.
38695         * posix/pread.c: Likewise.
38696         * posix/pread64.c: Likewise.
38697         * posix/pwrite.c: Likewise.
38698         * posix/pwrite64.c: Likewise.
38699         * posix/sched_getaffinity.c: Likewise.
38700         * posix/sched_getp.c: Likewise.
38701         * posix/sched_gets.c: Likewise.
38702         * posix/sched_primax.c: Likewise.
38703         * posix/sched_primin.c: Likewise.
38704         * posix/sched_rr_gi.c: Likewise.
38705         * posix/sched_setaffinity.c: Likewise.
38706         * posix/sched_setp.c: Likewise.
38707         * posix/sched_sets.c: Likewise.
38708         * posix/sched_yield.c: Likewise.
38709         * posix/setgid.c: Likewise.
38710         * posix/setlogin.c: Likewise.
38711         * posix/setpgid.c: Likewise.
38712         * posix/setresgid.c: Likewise.
38713         * posix/setresuid.c: Likewise.
38714         * posix/setsid.c: Likewise.
38715         * posix/setuid.c: Likewise.
38716         * posix/sleep.c: Likewise.
38717         * posix/spawni.c: Likewise.
38718         * posix/sysconf.c: Likewise.
38719         * posix/times.c: Likewise.
38720         * posix/wait.c: Likewise.
38721         * posix/wait3.c: Likewise.
38722         * posix/wait4.c: Likewise.
38723         * posix/waitpid.c: Likewise.
38724         * resolv/gai_sigqueue.c: Likewise.
38725         * resource/getpriority.c: Likewise.
38726         * resource/getrlimit.c: Likewise.
38727         * resource/getrusage.c: Likewise.
38728         * resource/nice.c: Likewise.
38729         * resource/setpriority.c: Likewise.
38730         * resource/setrlimit.c: Likewise.
38731         * resource/ulimit.c: Likewise.
38732         * rt/aio_cancel.c: Likewise.
38733         * rt/aio_fsync.c: Likewise.
38734         * rt/aio_read.c: Likewise.
38735         * rt/aio_sigqueue.c: Likewise.
38736         * rt/aio_suspend.c: Likewise.
38737         * rt/aio_write.c: Likewise.
38738         * rt/clock_getres.c: Likewise.
38739         * rt/clock_gettime.c: Likewise.
38740         * rt/clock_nanosleep.c: Likewise.
38741         * rt/clock_settime.c: Likewise.
38742         * rt/lio_listio.c: Likewise.
38743         * rt/mq_close.c: Likewise.
38744         * rt/mq_getattr.c: Likewise.
38745         * rt/mq_notify.c: Likewise.
38746         * rt/mq_open.c: Likewise.
38747         * rt/mq_receive.c: Likewise.
38748         * rt/mq_send.c: Likewise.
38749         * rt/mq_setattr.c: Likewise.
38750         * rt/mq_timedreceive.c: Likewise.
38751         * rt/mq_timedsend.c: Likewise.
38752         * rt/mq_unlink.c: Likewise.
38753         * rt/shm_open.c: Likewise.
38754         * rt/shm_unlink.c: Likewise.
38755         * rt/timer_create.c: Likewise.
38756         * rt/timer_delete.c: Likewise.
38757         * rt/timer_getoverr.c: Likewise.
38758         * rt/timer_gettime.c: Likewise.
38759         * rt/timer_settime.c: Likewise.
38760         * setjmp/__longjmp.c: Likewise.
38761         * setjmp/setjmp.c: Likewise.
38762         * signal/kill.c: Likewise.
38763         * signal/killpg.c: Likewise.
38764         * signal/raise.c: Likewise.
38765         * signal/sigaction.c: Likewise.
38766         * signal/sigaltstack.c: Likewise.
38767         * signal/sigblock.c: Likewise.
38768         * signal/sigignore.c: Likewise.
38769         * signal/sigintr.c: Likewise.
38770         * signal/signal.c: Likewise.
38771         * signal/sigpause.c: Likewise.
38772         * signal/sigpending.c: Likewise.
38773         * signal/sigqueue.c: Likewise.
38774         * signal/sigreturn.c: Likewise.
38775         * signal/sigset.c: Likewise.
38776         * signal/sigsetmask.c: Likewise.
38777         * signal/sigstack.c: Likewise.
38778         * signal/sigsuspend.c: Likewise.
38779         * signal/sigtimedwait.c: Likewise.
38780         * signal/sigvec.c: Likewise.
38781         * signal/sigwait.c: Likewise.
38782         * signal/sigwaitinfo.c: Likewise.
38783         * signal/sysv_signal.c: Likewise.
38784         * socket/accept.c: Likewise.
38785         * socket/accept4.c: Likewise.
38786         * socket/bind.c: Likewise.
38787         * socket/connect.c: Likewise.
38788         * socket/getpeername.c: Likewise.
38789         * socket/getsockname.c: Likewise.
38790         * socket/getsockopt.c: Likewise.
38791         * socket/isfdtype.c: Likewise.
38792         * socket/listen.c: Likewise.
38793         * socket/recv.c: Likewise.
38794         * socket/recvfrom.c: Likewise.
38795         * socket/recvmsg.c: Likewise.
38796         * socket/send.c: Likewise.
38797         * socket/sendmsg.c: Likewise.
38798         * socket/sendto.c: Likewise.
38799         * socket/setsockopt.c: Likewise.
38800         * socket/shutdown.c: Likewise.
38801         * socket/sockatmark.c: Likewise.
38802         * socket/socket.c: Likewise.
38803         * socket/socketpair.c: Likewise.
38804         * stdio-common/ctermid.c: Likewise.
38805         * stdio-common/cuserid.c: Likewise.
38806         * stdio-common/remove.c: Likewise.
38807         * stdio-common/rename.c: Likewise.
38808         * stdio-common/renameat.c: Likewise.
38809         * stdio-common/tempname.c: Likewise.
38810         * stdlib/getcontext.c: Likewise.
38811         * stdlib/makecontext.c: Likewise.
38812         * stdlib/setcontext.c: Likewise.
38813         * stdlib/swapcontext.c: Likewise.
38814         * stdlib/system.c: Likewise.
38815         * streams/fattach.c: Likewise.
38816         * streams/fdetach.c: Likewise.
38817         * streams/getmsg.c: Likewise.
38818         * streams/getpmsg.c: Likewise.
38819         * streams/putmsg.c: Likewise.
38820         * streams/putpmsg.c: Likewise.
38821         * sysdeps/unix/bsd/getpt.c: Likewise.
38822         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38823         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38824         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38826         Likewise.
38827         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38828         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38829         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38830         * sysvipc/msgctl.c: Likewise.
38831         * sysvipc/msgget.c: Likewise.
38832         * sysvipc/msgrcv.c: Likewise.
38833         * sysvipc/msgsnd.c: Likewise.
38834         * sysvipc/semctl.c: Likewise.
38835         * sysvipc/semget.c: Likewise.
38836         * sysvipc/semop.c: Likewise.
38837         * sysvipc/semtimedop.c: Likewise.
38838         * sysvipc/shmat.c: Likewise.
38839         * sysvipc/shmctl.c: Likewise.
38840         * sysvipc/shmdt.c: Likewise.
38841         * sysvipc/shmget.c: Likewise.
38842         * termios/tcdrain.c: Likewise.
38843         * termios/tcflow.c: Likewise.
38844         * termios/tcflush.c: Likewise.
38845         * termios/tcgetattr.c: Likewise.
38846         * termios/tcgetpgrp.c: Likewise.
38847         * termios/tcsendbrk.c: Likewise.
38848         * termios/tcsetattr.c: Likewise.
38849         * termios/tcsetpgrp.c: Likewise.
38850         * time/adjtime.c: Likewise.
38851         * time/clock.c: Likewise.
38852         * time/getitimer.c: Likewise.
38853         * time/gettimeofday.c: Likewise.
38854         * time/setitimer.c: Likewise.
38855         * time/settimeofday.c: Likewise.
38856         * time/stime.c: Likewise.
38857         * time/time.c: Likewise.
38859 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
38861         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38862         /usr/old/bin.
38864         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38865         instead of spaces.
38866         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38868 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
38870         [BZ #14796]
38871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38872         FE_TONEAREST before applying Dekker multiplication and Knuth
38873         addition.  Clear inexact exceptions and check for exact zero
38874         results afterwards.
38875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38876         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38878         * math/libm-test.inc (fma_test): Add more tests.
38879         (fma_test_towardzero): Likewise.
38880         (fma_test_downward): Likewise.
38881         (fma_test_upward): Likewise.
38882         * sysdeps/generic/math_private.h (default_libc_fesetround): New
38883         function.
38884         (libc_fesetround): New macro.
38885         (libc_fesetroundf): Likewise.
38886         (libc_fesetroundl): Likewise.
38887         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38888         function.
38889         (libc_fesetround_387): Likewise.
38890         (libc_fesetroundf): New macro.
38891         (libc_fesetround): Likewise.
38892         (libc_fesetroundl): Likewise.
38893         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38894         function.
38895         (libc_fesetroundf): New macro.
38896         (libc_fesetround): Likewise.
38897         (libc_fesetroundl): Likewise.
38898         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38899         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38900         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38901         libm_hidden_ver.
38902         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38903         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38904         libm_hidden_def.
38905         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38906         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38907         libm_hidden_ver.
38908         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38909         libm_hidden_def.
38911         [BZ #3439]
38912         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38913         integer constant usable in #if and use that to give value to enum
38914         constant.
38915         (FE_DIVBYZERO): Likewise.
38916         (FE_UNDERFLOW): Likewise.
38917         (FE_OVERFLOW): Likewise.
38918         (FE_INVALID): Likewise.
38919         (FE_INVALID_SNAN): Likewise.
38920         (FE_INVALID_ISI): Likewise.
38921         (FE_INVALID_IDI): Likewise.
38922         (FE_INVALID_ZDZ): Likewise.
38923         (FE_INVALID_IMZ): Likewise.
38924         (FE_INVALID_COMPARE): Likewise.
38925         (FE_INVALID_SOFTWARE): Likewise.
38926         (FE_INVALID_SQRT): Likewise.
38927         (FE_INVALID_INTEGER_CONVERSION): Likewise.
38928         (FE_TONEAREST): Likewise.
38929         (FE_TOWARDZERO): Likewise.
38930         (FE_UPWARD): Likewise.
38931         (FE_DOWNWARD): Likewise.
38932         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38933         (FE_DIVBYZERO): Likewise.
38934         (FE_OVERFLOW): Likewise.
38935         (FE_UNDERFLOW): Likewise.
38936         (FE_INEXACT): Likewise.
38937         (FE_TONEAREST): Likewise.
38938         (FE_DOWNWARD): Likewise.
38939         (FE_UPWARD): Likewise.
38940         (FE_TOWARDZERO): Likewise.
38941         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38942         (FE_UNDERFLOW): Likewise.
38943         (FE_OVERFLOW): Likewise.
38944         (FE_DIVBYZERO): Likewise.
38945         (FE_INVALID): Likewise.
38946         (FE_TONEAREST): Likewise.
38947         (FE_TOWARDZERO): Likewise.
38948         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38949         (FE_OVERFLOW): Likewise.
38950         (FE_UNDERFLOW): Likewise.
38951         (FE_DIVBYZERO): Likewise.
38952         (FE_INEXACT): Likewise.
38953         (FE_TONEAREST): Likewise.
38954         (FE_TOWARDZERO): Likewise.
38955         (FE_UPWARD): Likewise.
38956         (FE_DOWNWARD): Likewise.
38957         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38958         (FE_DIVBYZERO): Likewise.
38959         (FE_OVERFLOW): Likewise.
38960         (FE_UNDERFLOW): Likewise.
38961         (FE_INEXACT): Likewise.
38962         (FE_TONEAREST): Likewise.
38963         (FE_DOWNWARD): Likewise.
38964         (FE_UPWARD): Likewise.
38965         (FE_TOWARDZERO): Likewise.
38967 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
38969         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38971 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
38973         * scripts/cross-test-ssh.sh (command): Use newlines to separate
38974         commands.  Quote $PWD.
38975         (blacklist_exports): Don't use remove_newlines.  Replace "declare
38976         -x" by "export".
38977         (remove_newlines): Remove.
38979 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
38981         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38982         * stdlib/stdlib.h (atof): Moved to ...
38983         * include/bits/stdlib-float.h: Here.  New file.
38984         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38985         * stdlib/bits/stdlib-float.h: New file.
38986         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38987         -mno-sse -mno-mmx.
38988         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38989         <xmmintrin.h>.
38991 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38993         * conform/conformtest.pl (@headers): Add fenv.h.
38994         * conform/data/fenv.h-data: New file.
38995         * include/fenv.h [_ISOMAC]: Disable all contents of file except
38996         include of <math/fenv.h>.
38998         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38999         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39000         && !UNIX98].  Enables tests for XOPEN2K8.
39001         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39002         POSIX2008]: Likewise.
39004         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39005         (struct rusage): Do not expect type or its members.
39007         [BZ #3439]
39008         * math/math.h (FP_NAN): Define macro to integer constant usable in
39009         #if and use that to give value to enum constant.
39010         (FP_INFINITE): Likewise.
39011         (FP_ZERO): Likewise.
39012         (FP_SUBNORMAL): Likewise.
39013         (FP_NORMAL): Likewise.
39015 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39017         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39018         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39019         arguments.
39021 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39023         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39024         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39025         autoconf-time if not.
39026         * configure.in: Remove AC_PREREQ.
39028 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39030         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39031         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39032         of the internal implementation.
39034 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39036         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39037         except include of <misc/sys/syslog.h>.
39039 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39042         function returns with a NULL context exit with zero.
39044 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39046         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39048 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39050         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39051         (run_program_cmd): This.
39052         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39053         (tst_langinfo): New variable.  Use it.
39055 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39057         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39058         floating point opcodes.
39060 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39062         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39063         variable.
39065         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39067         * sysdeps/mach/hurd/powerpc: Remove directory.
39068         * sysdeps/mach/powerpc: Likewise.
39070 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39072         * scripts/check-local-headers.sh: Ignore c++ headers.
39074 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39076         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39077         __libc_cleanup_region_start argument.
39079 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
39081         [BZ #14784]
39082         [BZ #14785]
39083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39084         x * y using scaling, not as x * y + z.
39085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39087         * math/libm-test.inc (fma_test): Add more tests.
39088         (fma_test_towardzero): Likewise.
39089         (fma_test_downward): Likewise.
39090         (fma_test_upward): Likewise.
39092 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39094         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39096 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39098         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39099         New variable.
39101 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
39103         * rt/tst-shm.c (worker): Correct checking for mmap failure.
39105 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39108         Fix sort order.
39109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39110         Likewise.
39112 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39115         Fix the order of the list for glibc 2.17.
39116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39117         Likewise.
39119 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39123 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39125         [BZ #14610]
39126         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39127         for low part of x being zero before using __atanl (y).
39128         * math/libm-test.inc (atan2_test): Add another test.
39130         * manual/install.texi (Configuring and compiling): Document
39131         general use of test-wrapper and test-wrapper-env.
39132         * INSTALL: Regenerated.
39134         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39135         (__fma): Do not extract and scale down low bits on after-rounding
39136         systems when result rounded to normal precision would have normal
39137         exponent.
39138         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39139         (__fmal): Do not extract and scale down low bits on after-rounding
39140         systems when result rounded to normal precision would have normal
39141         exponent.
39142         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39143         (__fmal): Do not extract and scale down low bits on after-rounding
39144         systems when result rounded to normal precision would have normal
39145         exponent.
39146         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39147         macro.
39148         (fma_test): Add more tests.
39149         (fma_test_towardzero): Likewise.
39150         (fma_test_downward): Likewise.
39151         (fma_test_upward): Likewise.
39153 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
39155         * sysdeps/i386/tininess.h: Renamed to ...
39156         * sysdeps/x86/tininess.h: This.
39157         * sysdeps/x86_64/tininess.h: Removed.
39159 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39161         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39162         input.  Use $(build-program-cmd).
39163         ($(objpfx)tst-array1-static.out): Likewise.
39164         ($(objpfx)tst-array2.out): Likewise.
39165         ($(objpfx)tst-array3.out): Likewise.
39166         ($(objpfx)tst-array4.out): Likewise.
39167         ($(objpfx)tst-array5.out): Likewise.
39168         ($(objpfx)tst-array5-static.out): Likewise.
39170 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
39172         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39173         if defined.
39175         * nss/nsswitch.h (nss_interface_function): Provide new
39176         macro for use with NSS functions.
39177         * grp/initgroups.c: Use new macro.
39178         * nss/getXXbyYY.c: Likewise.
39179         * nss/getXXbyYY_r.c: Likewise.
39180         * nss/getXXent.c: Likewise.
39181         * nss/getXXent_r.c: Likewise.
39182         * sysdeps/posix/getaddrinfo.c: Likewise.
39184 2012-10-30  Andreas Jaeger  <aj@suse.de>
39186         * po/ru.po: Update Russion translation from translation project.
39188 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39190         [BZ #14152]
39191         [BZ #14783]
39192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39193         result and shift together with sticky bit instead of replicating
39194         round-to-nearest rounding.
39195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39197         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
39198         missing underflow exceptions.
39199         (fma_test_towardzero): Add more tests.
39200         (fma_test_downward): Likewise.
39201         (fma_test_upward): Likewise.
39203         [BZ #14047]
39204         * sysdeps/generic/tininess.h: New file.
39205         * sysdeps/i386/tininess.h: Likewise.
39206         * sysdeps/sh/tininess.h: Likewise.
39207         * sysdeps/x86_64/tininess.h: Likewise.
39208         * stdlib/tst-strtod-underflow.c: Likewise.
39209         * stdlib/tst-tininess.c: Likewise.
39210         * stdlib/strtod_l.c: Include <tininess.h>.
39211         (round_and_return): Do not set errno for exact underflow cases.
39212         Force an underflow exception when setting errno for underflow.
39213         Determine underflow based on rounding to normal precision if
39214         TININESS_AFTER_ROUNDING.
39215         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39216         ERANGE for exact underflow cases.
39217         * stdlib/Makefile (tests): Add tst-tininess and
39218         tst-strtod-underflow.
39219         ($(objpfx)tst-tininess): Use $(link-libm).
39220         ($(objpfx)tst-strtod-underflow): Likewise.
39222 2012-10-30  Andreas Jaeger  <aj@suse.de>
39224         [BZ#14767]
39225         * elf/Makefile (tests): Remove conditional for have-initfini-array
39226         since this is now always required and the variable does not exist
39227         anymore.
39228         (tests-static): Likewise.
39229         (modules-names): Likewise.
39231         * po/eo.po: Add Esperanto translation from translation project.
39233         * elf/tst-array1.c (fini_array): Make writeable so that it can be
39234         merged with constructor/destructor.
39235         (init_array): Likewise.
39236         * elf/tst-array2dep.c (fini_array): Likewise.
39237         (init_array): Likewise.
39239 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
39241         * manual/message.texi: Delete @cartouche tags.
39243 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
39245         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39246         EOPNOTSUPP.
39247         * sysdeps/mach/hurd/fsync.c: Likewise.
39249         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39250         [_POSIX_REALTIME_SIGNALS]: Change condition to
39251         [_POSIX_REALTIME_SIGNALS > 0].
39253 2012-10-27  Andreas Jaeger  <aj@suse.de>
39255         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39256         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39258         [__WORDSIZE != 64]: Likewise.
39260 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
39262         *  iconvdata/tst-table.sh: Remove ${SHELL}.
39263         *  iconvdata/tst-tables.sh: Likewise.
39265 2012-10-25  David S. Miller  <davem@davemloft.net>
39267         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39268         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39269         of strtoull.
39271         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39272         ifunc-impl-list.c
39273         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39274         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39275         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39276         file.
39278 2012-10-25  Roland McGrath  <roland@hack.frob.com>
39280         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39281         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39282         __getdirentries.
39284 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39285             Jim Blandy  <jimb@codesourcery.com>
39287         * scripts/cross-test-ssh.sh: New file.
39288         * manual/install.texi (Configuring and compiling): Document use of
39289         cross-test-ssh.sh.
39290         * INSTALL: Regenerated.
39292 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
39294         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39295         EOPNOTSUPP.
39297 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39299         * Makeconfig (run-program-prefix): Fix comment.
39301 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39302             Jim Blandy  <jimb@codesourcery.com>
39304         * Makeconfig (test-wrapper): New variable,
39305         (test-wrapper-env): Likewise.
39306         [$(cross-compiling) = yes && $(test-wrapper) != ""]
39307         (run-built-tests): Define to yes.
39308         (run-program-prefix): Use $(test-wrapper).
39309         (built-program-cmd): Likewise.
39310         * Rules (make-test-out): Use $(test-wrapper-env) and
39311         $(host-built-program-cmd).
39312         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39313         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39314         tst-pathopt.sh.
39315         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39316         $(test-wrapper-env) to tst-rtld-load-self.sh.
39317         ($(objpfx)order2.out): Use $(test-wrapper).
39318         ($(objpfx)tst-initorder.out): Likewise.
39319         ($(objpfx)tst-initorder2.out): Likewise.
39320         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39321         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39322         (test_wrapper_env): New variable.  Use it to run ld.so.
39323         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39324         Use it to run ld.so.
39325         (test_wrapper_env): Likewise.
39326         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39327         $(test-wrapper) to run-iconv-test.sh.
39328         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39329         (ICONV): Use $test_wrapper.
39330         * posix/Makefile ($(objpfx)globtest.out): Pass
39331         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39332         globtest.sh, not $(run-program-prefix).
39333         * posix/globtest.sh (run_via_rtld_prefix): New variable.
39334         (test_wrapper): Likewise.
39335         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
39336         set together with run_via_rtld_prefix.
39337         (run_program_prefix): Define in terms of test_wrapper and
39338         run_via_rtld_prefix.
39340 2012-10-24  Roland McGrath  <roland@hack.frob.com>
39342         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39343         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39344         Targets removed.
39346         [BZ #14743]
39347         * include/time.h: Remove librt_hidden_proto (clock_gettime).
39348         Declare __clock_getres, __clock_gettime, __clock_settime,
39349         __clock_nanosleep, and __clock_getcpuclockid.
39350         * rt/clock_gettime.c: Define __clock_gettime as an alias.
39351         Remove librt_hidden_def (clock_gettime).
39352         * sysdeps/unix/clock_gettime.c: Likewise.
39353         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39354         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39355         * rt/clock_getres.c: Define __clock_getres as an alias.
39356         * sysdeps/posix/clock_getres.c: Likewise.
39357         * rt/clock_settime.c: Define __clock_settime as an alias.
39358         * sysdeps/unix/clock_settime.c: Likewise.
39359         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39360         * sysdeps/unix/clock_nanosleep.c: Likewise.
39361         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39362         * rt/clock-compat.c: New file.
39363         * rt/Makefile (librt-routines): Add clock-compat and move
39364         $(clock-routines) to ...
39365         (routines): ... here, new variable.
39366         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39367         Don't add get_clockfreq here.
39368         * rt/Versions (libc: GLIBC_2.17): New version set.
39369         Add clock_* symbols here.
39370         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
39371         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39372         (GLIBC_2.17): Add clock_* symbols.
39373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39377         Likewise.
39378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39379         Likewise.
39380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39384         * NEWS: Mention the move.
39386         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39387         Use __open, __read, __close rather than their public counterparts.
39388         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39389         (__get_clockfreq_via_cpuinfo): Likewise.
39390         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39391         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39393         * config.h.in (HAVE_IFUNC): New #undef.
39394         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39395         was successful.
39396         * configure: Regenerated.
39398 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39400         * configure.in: Move READELF check to start of file.
39401         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39402         libc_cv_asm_gnu_indirect_function in the process.
39403         * configure: Regenerated.
39405 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39407         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39408         send the output to /dev/null.
39409         (libc_cv_cc_with_libunwind): Likewise.
39410         (libc_cv_as_noexecstack): Likewise.
39411         * configure: Regenerate.
39413 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39415         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39417         * posix/globtest.sh (TMPDIR): Do not set.
39418         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39419         (testout): Likewise.
39421 2012-10-24  Andreas Jaeger  <aj@suse.de>
39423         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39424         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39425         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39426         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39427         posix_fadvise64, posix_fallocate64.
39429         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39430         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39431         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39432         Likewise.
39433         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39434         Likewise.
39435         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39438         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39439         <bits/fcntl-linux.h>.
39440         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39442         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39443         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39444         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39445         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39446         [__WORDSIZE != 64]: Likewise.
39448 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39450         * Makeconfig (run-built-tests): New variable.
39451         * Rules [$(cross-compiling) = yes]: Change condition to
39452         [$(run-built-tests) = no].
39453         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39454         to [$(run-built-tests) = yes].
39455         * elf/Makefile [$(cross-compiling) = no]: Likewise
39456         * grp/Makefile [$(cross-compiling) = no]: Likewise.
39457         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39458         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39459         * intl/Makefile [$(cross-compiling) = no]: Likewise.
39460         * io/Makefile [$(cross-compiling) = no]: Likewise.
39461         * libio/Makefile [$(cross-compiling) = no]: Likewise.
39462         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39463         * misc/Makefile [$(cross-compiling) = no]: Likewise.
39464         * posix/Makefile [$(cross-compiling) = no]: Likewise.
39465         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39466         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39467         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39468         * string/Makefile [$(cross-compiling) = no]: Likewise.
39470         * posix/Makefile ($(objpfx)globtest.out): Pass
39471         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39472         $(rtld-installed-name).
39473         * posix/globtest.sh (elf_objpfx): Remove variable.
39474         (rtld_installed_name): Likewise.
39475         (library_path): Likewise.
39476         (run_program_prefix): New variable.  Use for running globtest
39477         binary.
39479 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
39480             Joseph Myers  <joseph@codesourcery.com>
39482         * Makeconfig (host-built-program-cmd): New variable.
39483         * elf/Makefile (tst-stackguard1-ARGS): Use
39484         $(host-built-program-cmd).
39485         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39486         (tst-spawn-ARGS): Likewise.
39487         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39489 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39490             Jim Blandy  <jimb@codesourcery.com>
39492         * Makeconfig (run-via-rtld-prefix): New variable.
39493         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39494         (built-program-cmd): Likewise.
39496 2012-10-22  Andreas Jaeger  <aj@suse.de>
39498         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39499         __O_RSYNC if it exists, otherwise to O_SYNC.
39501 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
39502             Joseph Myers  <joseph@codesourcery.com>
39504         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39505         /dev/null.
39506         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39507         from /dev/null
39508         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39509         /dev/null.
39511 2012-10-22  Andreas Jaeger  <aj@suse.de>
39513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39514         Define always.
39515         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39518         bits/fcntl-linux.h.
39520         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39521         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39523         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39524         to __O_LARGEFILE.
39525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39526         to __O_LARGEFILE.
39528 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
39529             Joseph Myers  <joseph@codesourcery.com>
39531         * config.make.in (NM): New variable.
39533 2012-10-21  Andreas Jaeger  <aj@suse.de>
39535         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39536         definitions and declarations that are provided by
39537         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39539 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39541         [BZ #14683]
39542         * elf/Makefile (tests-static): Add tst-leaks1-static.
39543         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39544         ($(objpfx)tst-leaks1-static): New rule.
39545         ($(objpfx)tst-leaks1-static-mem): Likewise.
39546         (tst-leaks1-static-ENV): New macro.
39547         * elf/dl-open.c (dl_open_worker): Check the main application
39548         only if SHARED is defined.
39549         * elf/tst-leaks1-static.c: New file.
39551 2012-10-20  Andreas Jaeger  <aj@suse.de>
39553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39554         generic values for Linux.
39555         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39556         and declarations that are provided by <bits/fcntl-linux.h> and
39557         include <bits/fcntl-linux.h>.
39558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39559         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39561 2012-10-20  Roland McGrath  <roland@hack.frob.com>
39563         * io/fcntl.h: Move include of <bits/types.h> to the top and
39564         include it unconditionally.
39566 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39568         * wcsmbs/Makefile (tests-ifunc): New variable.
39569         (tests): Add $(tests-ifunc).
39570         * wcsmbs/test-wcschr-ifunc.c: New file.
39571         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39572         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39573         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39574         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39575         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39577         * string/Makefile (tests-ifunc): New variable.
39578         (tests): Add $(tests-ifunc).
39579         * string/test-memccpy.c (TEST_NAME): New macro.
39580         * string/test-memchr.c (TEST_NAME): Likewise.
39581         * string/test-memcmp.c (TEST_NAME): Likewise.
39582         * string/test-memcpy.c (TEST_NAME): Likewise.
39583         * string/test-memmem.c (TEST_NAME): Likewise.
39584         * string/test-memmove.c (TEST_NAME): Likewise.
39585         * string/test-memset.c (TEST_NAME): Likewise.
39586         * string/test-rawmemchr.c (TEST_NAME): Likewise.
39587         * string/test-stpcpy.c (TEST_NAME): Likewise.
39588         * string/test-stpncpy.c (TEST_NAME): Likewise.
39589         * string/test-strcasecmp.c (TEST_NAME): Likewise.
39590         * string/test-strcasestr.c (TEST_NAME): Likewise.
39591         * string/test-strcat.c (TEST_NAME): Likewise.
39592         * string/test-strchr.c (TEST_NAME): Likewise.
39593         * string/test-strcmp.c(TEST_NAME): Likewise.
39594         * string/test-strcpy.c (TEST_NAME): Likewise.
39595         * string/test-strcspn.c (TEST_NAME): Likewise.
39596         * string/test-strlen.c (TEST_NAME): Likewise.
39597         * string/test-strncasecmp.c (TEST_NAME): Likewise.
39598         * string/test-strncmp.c (TEST_NAME): Likewise.
39599         * string/test-strncpy.c (TEST_NAME): Likewise.
39600         * string/test-strnlen.c (TEST_NAME): Likewise.
39601         * string/test-strpbrk.c (TEST_NAME): Likewise.
39602         * string/test-strrchr.c (TEST_NAME): Likewise.
39603         * string/test-strspn.c (TEST_NAME): Likewise.
39604         * string/test-strstr.c (TEST_NAME): Likewise.
39605         * string/test-bcopy-ifunc.c: New file.
39606         * string/test-bzero-ifunc.c: Likewise.
39607         * string/test-memccpy-ifunc.c: Likewise.
39608         * string/test-memchr-ifunc.c: Likewise.
39609         * string/test-memcmp-ifunc.c: Likewise.
39610         * string/test-memcpy-ifunc.c: Likewise.
39611         * string/test-memmem-ifunc.c: Likewise.
39612         * string/test-memmove-ifunc.c: Likewise.
39613         * string/test-mempcpy-ifunc.c: Likewise.
39614         * string/test-memset-ifunc.c: Likewise.
39615         * string/test-rawmemchr-ifunc.c: Likewise.
39616         * string/test-stpcpy-ifunc.c: Likewise.
39617         * string/test-stpncpy-ifunc.c: Likewise.
39618         * string/test-strcasecmp-ifunc.c: Likewise.
39619         * string/test-strcasestr-ifunc.c: Likewise.
39620         * string/test-strcat-ifunc.c: Likewise.
39621         * string/test-strchr-ifunc.c: Likewise.
39622         * string/test-strchrnul-ifunc.c: Likewise.
39623         * string/test-strcmp-ifunc.c: Likewise.
39624         * string/test-strcpy-ifunc.c: Likewise.
39625         * string/test-strcspn-ifunc.c: Likewise.
39626         * string/test-strlen-ifunc.c: Likewise.
39627         * string/test-strncasecmp-ifunc.c: Likewise.
39628         * string/test-strncat-ifunc.c: Likewise.
39629         * string/test-strncmp-ifunc.c: Likewise.
39630         * string/test-strncpy-ifunc.c: Likewise.
39631         * string/test-strnlen-ifunc.c: Likewise.
39632         * string/test-strpbrk-ifunc.c: Likewise.
39633         * string/test-strrchr-ifunc.c: Likewise.
39634         * string/test-strspn-ifunc.c: Likewise.
39635         * string/test-strstr-ifunc.c: Likewise.
39637         * debug/Makefile (tests-ifunc): New variable.
39638         (tests): Add $(tests-ifunc).
39639         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39640         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39641         * debug/test-stpcpy_chk-ifunc.c: New file.
39642         * debug/test-strcpy_chk-ifunc.c: Likewise.
39644 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39646         [BZ #13601]
39647         * elf/dl-load.c (open_verify): Retry read if the entire ELF
39648         header is not read in.
39650 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
39652         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
39653         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
39654         directly.  Pass built executable to script as
39655         $(built-program-cmd).
39656         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
39657         $testprogram without using LD_LIBRARY_PATH and $ldso.
39659         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39660         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39661         $(rtld-installed-name).
39662         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39663         (rtld_installed_name): Likewise.
39664         (library_path): Likewise.
39665         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
39666         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39667         $(run-program-prefix) to tst-tables.sh.
39668         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
39669         it to run tst-table-from and tst-table-to.
39670         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39671         Pass it to tst-table.sh.
39672         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39673         $(run-program-prefix) to tst-gettext.sh.
39674         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39675         tst-translit.sh.
39676         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39677         tst-gettext2.sh.
39678         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
39679         to run tst-gettext.
39680         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
39681         to run tst-gettext2.
39682         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
39683         to run tst-translit.
39684         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39685         $(run-program-prefix) to tst-mtrace.sh.
39686         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
39687         to run tst-mtrace.
39688         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39689         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39690         $(rtld-installed-name).
39691         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39692         (rtld_installed_name): Likewise.
39693         (run_program_prefix): New variable.  Use it to run wordexp-test.
39695         * Makeconfig (ARCH): Remove all definitions.
39696         (machine): Likewise.
39697         [ARCH]: Remove conditional code.
39698         [!objdir]: Give error.
39699         [!objdir] (objpfx): Remove.
39700         [!objdir] (common-objpfx): Likewise.
39701         [!objdir] (common-objdir): Likewise.
39702         * configure.in (config_makefile): Remove.  Hardcode Makefile in
39703         AC_CONFIG_FILES call.
39704         * configure: Regenerated.
39706         [BZ #13888]
39707         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39708         or TMPDIR.
39709         (testout): Likewise.
39711         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39712         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39713         $(rtld-installed-name).
39714         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39715         (rtld_installed_name): Likwise.
39716         (runit): Remove function.
39717         (run_getconf): New variable,  Use it for running getconf binary.
39719 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
39721         [BZ #14716]
39722         * string/test-memmem.c (check_result): New function.
39723         (do_one_test): Use it.
39724         (check1): New function.
39725         (test_main): Use it.
39727 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
39729         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39731 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
39733         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39734         (_G_LSEEK64): Likewise.
39735         (_G_MMAP64): Likewise.
39736         (_G_FSTAT64): Likewise.
39737         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39738         (_G_LSEEK64): Likewise.
39739         (_G_MMAP64): Likewise.
39740         (_G_FSTAT64): Likewise.
39741         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39742         unconditional.  Call __mmap64 directly.
39743         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39744         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
39745         __lseek64 directly.
39746         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39747         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
39748         __mmap64 directly.
39749         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39750         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39751         __lseek64 directly.
39752         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39753         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39754         __lseek64 directly.
39755         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39756         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
39757         __lseek64 directly.
39758         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39759         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
39760         __fxstat64 directly.
39761         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39762         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39763         unconditional.
39764         (freopen64) [!_G_OPEN64]: Remove conditional code.
39765         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39766         unconditional.
39767         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39768         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39769         unconditional.
39770         (ftello64) [!_G_LSEEK64]: Remove conditional code.
39771         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39772         unconditional.
39773         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39774         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39775         unconditional.
39776         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39777         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39778         unconditional.
39779         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39780         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39781         unconditional.
39782         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39783         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39784         unconditional.
39785         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39787 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39789         [BZ #12140]
39790         * manual/memory.texi (Malloc Tunable Parameters): Add note
39791         about free list pointers overwriting some perturb bytes.
39792         Wording suggested by Roland McGrath.
39794 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
39796         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39797         (lgamma_test): Likewise.
39798         (tgamma_test): Likewise.
39800 2012-10-16  Florian Weimer  <fweimer@redhat.com>
39802         [BZ #14700]
39803         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39804         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39806 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
39808         * NEWS: Mention BZ #14716.
39809         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39810         when removing AVAILABLE1_USES_J macro.
39812 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
39814         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39815         (__bswap_64): __uint64_t for unsigned 64-bit int.
39817 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
39819         * include/string.h (memmem): Declare libc hidden alias.
39820         * string/memmem.c (memmem): Define libc hidden alias.
39821         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39822         __read, __close instead of open, read, close.
39824 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
39826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39827         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39828         global and hidden.
39829         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39830         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39831         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39832         Likewise.
39833         (__rawmemchr_sse2): Likewise.
39834         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39835         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39836         (__strchr_sse2): Likewise.
39837         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39838         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39839         (__strcasecmp_sse2): Likewise.
39840         (__strncasecmp_sse2): Likewise.
39841         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39842         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39843         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39844         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39845         (__strrchr_sse2): Likewise.
39846         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39847         ifunc-impl-list.c.
39848         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39849         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39850         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39851         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39852         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39853         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39854         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39856         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39857         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39858         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39859         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39860         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39861         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39862         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39863         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39864         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39865         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39866         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39867         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39868         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39869         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39870         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39871         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39872         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39873         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39874         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39875         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39876         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39877         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39879         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39880         global and hidden.
39881         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39882         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39883         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39884         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39885         Likewise.
39886         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39887         Likewise.
39888         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39889         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39890         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39891         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39892         ifunc-impl-list.c.
39893         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39894         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39895         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39896         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39897         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39898         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39899         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39900         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39901         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39902         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39903         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39904         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39905         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39906         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39907         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39908         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39909         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39910         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39911         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39912         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39913         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39914         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39915         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39916         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39917         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39918         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39919         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39920         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39921         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39922         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39923         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39924         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39925         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39926         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39927         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39928         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39929         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39930         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39931         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39932         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39933         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39935         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39936         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39937         * include/ifunc-impl-list.h: New file.
39938         * misc/ifunc-impl-list.c: Likewise.
39939         * misc/Makefile (routines): Add ifunc-impl-list.
39940         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39941         * string/test-string.h: Include <ifunc-impl-list.h>.
39942         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39943         TEST_NAME]: New variables.
39944         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39945         are defined.
39946         (test_init): Call __libc_ifunc_impl_list to initialize
39947         func_list if TEST_IFUNC and TEST_NAME are defined.
39949         * string/Makefile (strop-tests): Add bcopy and bzero.
39950         * string/test-bcopy.c: New file.
39951         * string/test-bzero.c: Likewise.
39952         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39953         defined.
39954         * string/test-memset.c: Support bzero test if TEST_BZERO is
39955         defined.
39956         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39957         __libc_memmove.
39958         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39959         __libc_memset.
39960         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39961         of memset.
39963 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
39965         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39966         * configure: Regenerated.
39968         * Makeconfig (+link-static-before-libc): Don't include
39969         $(link-static-libc).
39971         * libio/libio.h (_IO_pos_t): Remove.
39973 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39975         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
39976         McGrath.
39978 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39980         * crypt/crypt-entry.c: Include fips-private.h.
39981         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39982         * crypt/md5c-test.c (main): Tolerate disabled MD5.
39983         * sysdeps/unix/sysv/linux/fips-private.h: New file.
39984         * sysdeps/generic/fips-private.h: New file, dummy fallback.
39986 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39988         * crypt/crypt-private.h: Include stdbool.h.
39989         (_ufc_setup_salt_r): Return bool.
39990         * crypt/crypt-entry.c: Include errno.h.
39991         (__crypt_r): Return NULL with EINVAL for bad salt.
39992         * crypt/crypt_util.c (bad_for_salt): New.
39993         (_ufc_setup_salt_r): Check that salt is long enough and within
39994         the specified alphabet.
39995         * crypt/badsalttest.c: New file.
39996         * crypt/Makefile (tests): Add it.
39997         ($(objpfx)badsalttest): New.
39999 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40001         * NEWS: Add entry for BZ #14602.
40003 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40005         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40006         type-generic.
40007         * math/libm-test.inc: Update comment listing what functions and
40008         macros are tested.
40009         (isgreater_test): New function.
40010         (isgreaterequal_test): Likewise.
40011         (isless_test): Likewise.
40012         (islessequal_test): Likewise.
40013         (islessgreater_test): Likewise.
40014         (isunordered_test): Likewise.
40015         (main): Call the new functions.
40017 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40019         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40020         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40021         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40022         * sysdeps/i386/configure: Regenerated.
40023         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40024         * sysdeps/mach/configure: Regenerated.
40025         * sysdeps/mach/hurd/configure: Regenerated.
40026         * sysdeps/powerpc/configure: Regenerated.
40027         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40028         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40029         * sysdeps/s390/s390-32/configure: Regenerated.
40030         * sysdeps/s390/s390-64/configure: Regenerated.
40031         * sysdeps/sh/configure: Regenerated.
40032         * sysdeps/sparc/configure: Regenerated.
40033         * sysdeps/unix/sysv/linux/configure: Regenerated.
40034         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40035         * sysdeps/x86_64/configure: Regenerated.
40037         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40038         defined.  Don't check if MAP is NULL.
40040 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40042         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40043         (_G_stat64): Likewise.
40044         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40045         (_G_stat64): Likewise.
40046         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40047         instead of struct _G_stat64.
40048         * libio/fileops.c (mmap_remap_check): Likewise.
40049         (decide_maybe_mmap): Likewise.
40050         (_IO_new_file_seekoff): Likewise.
40051         (_IO_file_stat): Likewise.
40052         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40053         _G_off64_t.
40054         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40055         instead of struct _G_stat64.
40056         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40058 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40060         [BZ #14602]
40061         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40062         Replace with ...
40063         (CHECK_EOL): New macro.
40064         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40065         CHECK_EOL.
40066         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40067         Replace with CHECK_EOL.
40068         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40069         Replace with CHECK_EOL.
40071 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
40073         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40074         type-generic.
40075         * math/libm-test.inc: Update comment listing what functions and
40076         macros are tested.
40077         (finite_test): New function.
40078         (isinf_test): Likewise.
40079         (isnan_test): Likewise.
40080         (fpclassify_test): Test subnormal input.
40081         (isfinite_test): Likewise.
40082         (isnormal_test): Likewise.
40083         (main): Call the new functions.
40085 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
40087         [BZ #14660]
40088         * Makerules (%.dynsym): Force C locale when running
40089         $(OBJDUMP) --dynamic-syms.
40091 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
40093         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40094         <stdint.h>.
40096 2012-10-06  David S. Miller  <davem@davemloft.net>
40098         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40099         upper 32-bits of the length value in %o2 since we use branch-on-register
40100         tests which consider the entire 64-bit register.
40102 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
40104         * string/test-strstr.c (check2): Add a test for page boundary.
40106 2012-10-05  David S. Miller  <davem@davemloft.net>
40108         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40109         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40110         file.
40111         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40112         sysdep_routines.
40113         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40114         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40115         and bzero when HWCAP_SPARC_CRYPTO is present.
40117 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
40119         [BZ #14602]
40120         * string/test-strstr.c (check2): New function.
40121         (test_main): Call check2.
40123         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40124         and bug-strchr1.
40125         * string/bug-strcasestr1.c (do_test): Moved to ...
40126         * string/test-strcasestr.c (check1): Here.  New function.
40127         (do_one_test): Break out result checking code into ...
40128         (check_result): This.  New function.
40129         (do_one_test): Call check_result.
40130         (test_main): Call check1.
40131         * string/bug-strchr1.c (do_test): Moved to ...
40132         * string/test-strchr.c (check1): Here.  New function.
40133         (do_one_test): Break out result checking code into ...
40134         (check_result): This.  New function.
40135         (do_one_test): Call check_result.
40136         (test_main): Call check1.
40137         * string/bug-strstr1.c (main): Moved to ...
40138         * string/test-strstr.c (check1): Here.  New function.
40139         (do_one_test): Break out result checking code into ...
40140         (check_result): This.  New function.
40141         (do_one_test): Call check_result.
40142         (test_main): Call check1.
40143         * string/bug-strcasestr1.c: Removed.
40144         * string/bug-strchr1.c: Likewise.
40145         * string/bug-strstr1.c: Likewise.
40147         * elf/Makefile (dl-routines): Add hwcaps.
40148         * elf/dl-support.c (_dl_important_hwcaps): Removed.
40149         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40150         (_dl_important_hwcaps): Moved to ...
40151         * elf/dl-hwcaps.c: Here.  New file.
40152         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40154         [BZ #14557]
40155         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40156         if IS_IN_rtld isn't defined.
40158         * elf/dl-support.c (_dl_sysinfo_map): New.
40159         Include "get-dynamic-info.h" and "setup-vdso.h".
40160         (_dl_non_dynamic_init): Call setup_vdso.
40161         * elf/dynamic-link.h: Don't include <assert.h>.
40162         (elf_get_dynamic_info): Moved to ...
40163         * elf/get-dynamic-info.h: Here.  New file.
40164         * elf/dynamic-link.h: Include "get-dynamic-info.h".
40165         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40166         * elf/setup-vdso.h: Here.  New file.
40167         * elf/rtld.c: Include "setup-vdso.h".
40168         (dl_main): Call setup_vdso.
40170 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
40172         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40173         creal in comment listing functions tested.  List finite, isinf,
40174         isnan, isless, islessequal, isgreater, isgreaterequal,
40175         islessgreater, isunordered, lgamma_r and pow10 as functions and
40176         macros not tested.  Mention which functions not tested are aliases
40177         for other functions.  Fix typo.  Note that signs of NaNs are not
40178         tested.
40180         * scripts/config.guess: Update from config.git.
40181         * scripts/config.sub: Likewise.
40183 2012-10-04  Roland McGrath  <roland@hack.frob.com>
40185         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40186         * misc/madvise.c (madvise): Renamed to __madvise.
40187         Make madvise a weak alias.
40188         * include/sys/mman.h: Declare __madvise.
40189         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40190         * sysdeps/unix/syscalls.list
40191         (madvise): Make __madvise the strong name, and madvise a weak alias.
40192         * sysdeps/unix/sysv/linux/syscalls.list
40193         (madvise, mmap): Remove redundant entries.
40194         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40195         * malloc/malloc.c (mtrim): Likewise.
40196         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40198 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40200         * sysdeps/mach/hurd/dl-cache.c: File removed.
40201         * config.h.in (USE_LDCONFIG): New #undef.
40202         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40203         * configure: Regenerated.
40204         * elf/Makefile (dl-routines): Add dl-cache only under
40205         [$(use-ldconfig) = yes].
40206         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40207         cache on [USE_LDCONFIG].
40208         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40209         [USE_LDCONFIG].
40210         * elf/rtld.c (dl_main): Likewise.
40212 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
40214         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40215         _SC_LEVEL4_CACHE_LINESIZE.
40217 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40219         * sysdeps/unix/bsd/confstr.h: File removed.
40221 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
40223         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40224         sys/sdt-config.h.
40226 2012-10-02  Roland McGrath  <roland@hack.frob.com>
40228         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40229         Make 'mapoff' field ElfW(Off) rather than off_t.
40231 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
40233         * nscd/Makefile: Remove nscd-cflags and all its users.
40234         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40235         (CFLAGS-nonlib): Add compiler flags for nscd modules.
40237         [BZ #10631]
40238         * malloc.c (malloc_printerr): Clarify error message.
40240 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
40242         [BZ #14648]
40243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40244         Set bit_FMA_Usable if FMA is supported.
40245         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40246         macro.
40247         (bit_FMA4_Usable): Updated.
40248         (index_FMA_Usable): New macro.
40249         (CPUID_FMA): Likewise
40250         (HAS_FMA): Defined with bit_FMA_Usable.
40252 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40254         * bits/types.h (__swblk_t): Type removed.
40255         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40256         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40257         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40258         (__SWBLK_T_TYPE): Likewise.
40259         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40260         (__SWBLK_T_TYPE): Likewise.
40261         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40262         (__SWBLK_T_TYPE): Likewise.
40263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40264         (__SWBLK_T_TYPE): Likewise.
40266 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
40267             Honza Horak <hhorak@redhat.com>
40269         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40270         (xdr_mapname): Use YPMAXMAP as maxsize.
40271         (xdr_peername): Use YPMAXPEER as maxsize.
40272         (xdr_keydat): Use YPAXRECORD as maxsize.
40273         (xdr_valdat): Use YPMAXRECORD as maxsize.
40275 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40277         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40279         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40280         * csu/init-first.c: ... here.
40281         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40282         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40283         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40284         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40285         * sysdeps/i386/init-first.c: File removed.
40286         * sysdeps/sh/init-first.c: File removed.
40288 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
40290         [BZ #14645]
40291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40292         if x * y might underflow to zero and z is zero.
40293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40295         * math/libm-test.inc (min_subnorm_value): New variable.
40296         (fma_test): Add more tests.
40297         (fma_test_towardzero): Likewise.
40298         (fma_test_downward): Likewise
40299         (fma_test_upward): Likewise.
40300         (initialize): Set min_subnorm_value.
40302 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
40304         [BZ #14638]
40305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40306         0 + 0.
40307         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40308         mode for addition resulting in exact zero.
40309         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40310         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40311         exact 0 + 0.
40312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40313         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40314         * math/libm-test.inc (fma_test): Add more tests.
40315         (fma_test_towardzero): New function.
40316         (fma_test_downward): Likewise.
40317         (fma_test_upward): Likewise.
40318         (main): Call the new functions.
40320 2012-09-28  David S. Miller  <davem@davemloft.net>
40322         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40324 2012-09-28  Roland McGrath  <roland@hack.frob.com>
40326         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40327         instead of SIGALRM.
40329         * sysdeps/gnu/_G_config.h: Moved to ...
40330         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40331         * sysdeps/mach/hurd/_G_config.h: Moved to ...
40332         * sysdeps/generic/_G_config.h: ... here.
40334         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
40336         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40338         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40339         Conditionalize target on [libnss_test1.so-version].
40341         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40343         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40344         (elfobjdir): Move out of conditionals.
40346         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40347         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40348         (__nss_lookup_function): Conditionalize label remove_from_tree on
40349         [!DO_STATIC_NSS || SHARED], matching its only use.
40351 2012-09-28  David S. Miller  <davem@davemloft.net>
40353         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40354         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40355         file.
40356         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40357         sysdep_routines.
40358         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40359         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40360         when HWCAP_SPARC_CRYPTO is present.
40362 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40364         * io/tst-mknodat.c: Create a FIFO instead of a socket.
40366 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
40368         [BZ #6530]
40369         * stdio-common/vfprintf.c (process_string_arg): Revert
40370         2000-07-22 change.
40372 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
40374         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40375         for testcase.
40376         * stdio-common/tst-sprintf.c: Include <locale.h>
40377         (main): Test sprintf's handling of incomplete multibyte
40378         characters.
40380 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
40382         * elf/dl-runtime.c (VERSYMIDX): Removed.
40383         * elf/dl-version.c (VERSYMIDX): Likewise.
40384         * elf/do-rel.h (VERSYMIDX): Likewise.
40385         (VALIDX): Likewise.
40386         * elf/dynamic-link.h (VERSYMIDX): Likewise.
40387         * elf/rtld.c (VALIDX): Likewise.
40388         (ADDRIDX): Likewise.
40389         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40390         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40391         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40392         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40393         (VALIDX): Likewise.
40394         (ADDRIDX): Likewise.
40396 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40398         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40400 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
40402         [BZ #11438]
40403         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40404         to global scope.
40405         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40406         addresses are in the same scope as 192.0.2/24.
40407         * posix/gai.conf: Document new scope table defaults.
40409 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40411         [BZ #5298]
40412         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40413         for ftell.  Compute offsets from write pointers instead.
40414         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40416 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40418         [BZ #14543]
40419         * libio/Makefile (tests): New test case tst-fseek.
40420         * libio/tst-fseek.c: New test case to verify that fseek/ftell
40421         combination works in wide mode.
40422         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40423         state when the external buffer state changes.
40425 2012-09-27  David S. Miller  <davem@davemloft.net>
40427         [BZ #14376]
40428         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40429         pass reloc->r_addend in as the 'high' argument to
40430         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40434 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40436         * rt/tst-aio2.c: Include <pthread.h>.
40437         * rt/tst-aio3.c: Likewise.
40439 2012-09-27  Steve Ellcey  <sellcey@mips.com>
40441         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40443 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
40445         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40446         contents on [SHARED].
40448 2012-09-26  Marek Polacek  <polacek@redhat.com>
40450         [BZ #14530]
40451         [BZ #13741]
40452         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40453         for C++ and GCC <4.3 as well as for non GCC compilers.
40455 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40459 2012-09-25  Roland McGrath  <roland@hack.frob.com>
40461         * Makefile.in (all, install): Declare with .PHONY.
40462         Reported by Michael Hope <michael.hope@linaro.org>.
40464 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40466         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40467         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40468         system header.
40469         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40470         Likewise.
40471         (sydep_routines): Add the new and the internal functions.
40472         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40473         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40475         (GLIBC_2.17): Add the new function.
40476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40477         (GLIBC_2.17): Likewise.
40478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40479         (GLIBC_2.17): Likewise.
40480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40481         (GLIBC_2.17): Likewise.
40482         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40484 2012-09-25  Alan Modra  <amodra@gmail.com>
40486         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40487         Add release barrier before setting once_control to say
40488         initialisation is done.  Add hints on lwarx.  Use macro in
40489         place of isync.
40490         (clear_once_control): Add release barrier.
40492 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40494         [BZ #13629]
40495         * math/s_clog.c (__clog): Handle more values close to |z| = 1
40496         specially.
40497         * math/s_clog10.c (__clog10): Likewise.
40498         * math/s_clog10f.c (__clog10f): Likewise.
40499         * math/s_clog10l.c (__clog10l): Likewise.
40500         * math/s_clogf.c (__clogf): Likewise.
40501         * math/s_clogl.c (__clogl): Likewise.
40502         * math/Makefile (libm-calls): Add x2y2m1.
40503         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40504         (__x2y2m1): Likewise.
40505         (__x2y2m1l): Likewise.
40506         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40507         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40508         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40509         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40510         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40511         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40512         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40513         * sysdeps/i386/fpu/libm-test-ulps: Update.
40514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40516         [BZ #14621]
40517         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40518         int as type of variable DEPTH.
40519         (glob): Use size_t instead of int as type of variables NEWCOUNT
40520         and OLD_PATHC.
40522 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40524         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40525         Add s_sincosf-sse2.
40526         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40527         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40528         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40529         macros for using routine as __sincosf_ia32.
40530         Use macro for function declaration and weak_alias.
40531         * sysdeps/i386/fpu/libm-test-ulps: Update.
40533         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40536         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40537         subnormal argument.
40538         * math/s_cexpf.c (__cexpf): Likewise.
40539         * math/s_csinf.c (__csinf): Likewise.
40540         * math/s_csinhf.c (__csinhf): Likewise.
40541         * math/s_ctanf.c (__ctanf): Likewise.
40542         * math/s_ctanhf.c (__ctanhf): Likewise.
40543         * math/s_ccosh.c (__ccoshf): Likewise.
40544         * math/s_cexp.c (__cexpl): Likewise.
40545         * math/s_csin.c (__csin): Likewise.
40546         * math/s_csinh.c (__csinh): Likewise.
40547         * math/s_ctan.c (__ctan): Likewise.
40548         * math/s_ctanh.c (ctanh): Likewise.
40549         * math/s_ccoshl.c (__ccoshl): Likewise.
40550         * math/s_cexpl.c (__cexpl): Likewise.
40551         * math/s_csinl.c (__csinl): Likewise.
40552         * math/s_csinhl.c (__csinhl): Likewise.
40553         * math/s_ctanl.c (__ctanl): Likewise.
40554         * math/s_ctanhl.c (__ctanhl): Likewise.
40556 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40558         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40559         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40560         (_IO_off_t): Define to __off_t, not _G_off_t.
40561         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40562         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40563         (_IO_wint_t): Define to wint_t, not _G_wint_t.
40564         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40565         type of __dummy and __dummy2 fields.
40566         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40567         (_G_ssize_t): Likewise.
40568         (_G_off_t): Likewise.
40569         (_G_pid_t): Likewise.
40570         (_G_uid_t): Likewise.
40571         (_G_wchar_t): Likewise.
40572         (_G_wint_t): Likewise.
40573         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40574         (_G_ssize_t): Likewise.
40575         (_G_off_t): Likewise.
40576         (_G_pid_t): Likewise.
40577         (_G_uid_t): Likewise.
40578         (_G_wchar_t): Likewise.
40579         (_G_wint_t): Likewise.
40580         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40581         (_G_ssize_t): Likewise.
40582         (_G_off_t): Likewise.
40583         (_G_pid_t): Likewise.
40584         (_G_uid_t): Likewise.
40585         (_G_wchar_t): Likewise.
40586         (_G_wint_t): Likewise.
40588 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40590         * malloc/arena.c: Include malloc-sysdep.h.
40591         (shrink_heap): Use check_may_shrink_heap to decide if madvise
40592         is sufficient to shrink the heap or an unmap is needed.
40593         * sysdeps/generic/malloc-sysdep.h: New file.  Define
40594         new function check_may_shrink_heap.
40595         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
40596         new function check_may_shrink_heap.
40598 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40600         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40601         comments.
40603 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
40605         * catgets/test-gencat.sh: Add "set -e".
40606         * elf/tst-pathopt.sh: Likewise.
40607         * grp/tst_fgetgrent.sh: Likewise.
40608         * iconvdata/run-iconv-test.sh: Likewise.
40609         * intl/tst-gettext.sh: Likewise.
40610         * intl/tst-gettext2.sh: Likewise.
40611         * intl/tst-gettext4.sh: Likewise.
40612         * intl/tst-gettext6.sh: Likewise.
40613         * intl/tst-translit.sh: Likewise.
40614         * io/ftwtest-sh: Likewise.
40615         * libio/test-freopen.sh: Likewise.
40616         * malloc/tst-mtrace.sh: Likewise.
40617         * posix/globtest.sh: Likewise.
40618         * posix/tst-getconf.sh: Likewise.
40619         * posix/wordexp-tst.sh: Likewise.
40620         * stdio-common/tst-printf.sh: Likewise.
40621         * stdio-common/tst-unbputc.sh: Likewise.
40622         * stdlib/tst-fmtmsg.sh: Likewise.
40623         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40624         * catgets/Makefile: Do not specify -e option when running
40625         testsuite shell scripts.
40626         * elf/Makefile: Likewise.
40627         * grp/Makefile: Likewise.
40628         * iconvdata/Makefile: Likewise.
40629         * intl/Makefile: Likewise.
40630         * io/Makefile: Likewise.
40631         * libio/Makefile: Likewise.
40632         * malloc/Makefile: Likewise.
40633         * posix/Makefile: Likewise.
40634         * stdio-common/Makefile: Likewise.
40635         * stdlib/Makefile: Likewise.
40636         * sysdeps/x86_64/Makefile: Likewise.
40638         * io/ftwtest-sh: Add copyright header.
40639         * posix/globtest.sh: Likewise.
40640         * posix/tst-getconf.sh: Likewise.
40641         * posix/wordexp-tst.sh: Likewise.
40642         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40644 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
40646         [BZ #13679]
40647         * Makeconfig (+link): Defined as $(+link-static) if
40648         $(build-shared) isn't yes.
40649         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40650         isn't yes.
40651         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40653         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40655         [BZ #14562]
40656         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40657         new chunk size with MALLOC_ALIGN_MASK.
40659 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
40661         [BZ #5044]
40662         * stdio-common/printf_fphex.c: Include <stdbool.h> and
40663         <rounding-mode.h>.
40664         (__printf_fphex): Determine rounding using get_rounding_mode and
40665         round_away.
40666         * stdio-common/tst-printf-round.c (struct hex_test): New
40667         structure.
40668         (hex_tests): New variable.
40669         (test_hex_in_one_mode): New function.
40670         (do_test): Also run tests for hex float output.
40672 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
40674         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40675         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40676         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40677         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40678         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40679         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40680         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40681         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40683 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
40685         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40686         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40687         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40688         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40690 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
40692         [BZ #14579]
40693         * elf/rtld.c (dl_main): Limit the check for self loading to normal
40694         mode only.
40695         * elf/tst-rtld-load-self.sh: New test.
40696         * elf/Makefile: Run it.
40698 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
40700         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40701         (tst-writev-ENV): Remove.
40702         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40704 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
40706         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40708 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
40710         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40711         unconditional.
40712         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40713         Likewise.
40714         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40715         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40716         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40717         Likewise.
40719 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
40721         [BZ #14587]
40722         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40723         * config.make.in (have-cpp-asm-debuginfo): Removed.
40724         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40725         * configure: Regenerated.
40727 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
40729         [BZ #5044]
40730         * stdio-common/printf_fp.c: Include <stdbool.h> and
40731         <rounding-mode.h>.
40732         (___printf_fp): Determine rounding using get_rounding_mode and
40733         round_away.
40734         * stdio-common/tst-printf-round.c: New file.
40735         * stdio-common/Makefile (tests): Add tst-printf-round.
40736         (link-libm): New variable.
40737         ($(objpfx)tst-printf-round): Depend in $(link-libm).
40739 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
40741         [BZ #14576]
40742         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40743         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40744         Likewise.
40745         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40746         Likewise.
40748 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
40750         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40751         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40752         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40753         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40755 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
40757         [BZ #14518]
40758         * include/rounding-mode.h: New file.
40759         * sysdeps/generic/get-rounding-mode.h: Likewise.
40760         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40761         * stdlib/strtod_l.c: Include <rounding-mode.h>.
40762         (MAX_VALUE): New macro.
40763         (MIN_VALUE): Likewise.
40764         (overflow_value): New function.
40765         (underflow_value): Likewise.
40766         (round_and_return): Use overflow_value and underflow_value to
40767         determine return values in overflow and underflow cases.  Use
40768         round_away to determine rounding depending on rounding mode.
40769         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40770         determine return values in overflow and underflow cases.
40771         * stdlib/tst-strtod-round.c: Include <fenv.h>.
40772         (struct test_results): New structure.
40773         (struct test): Use struct test_results to store expected results
40774         for all rounding modes.
40775         (TEST): Include expected results for all rounding modes.
40776         (test_in_one_mode): New function.
40777         (do_test): Use test_in_one_mode to compute and check results.
40778         Check results for all rounding modes.
40779         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40780         $(link-libm).
40782 2012-12-09  Allan McRae  <allan@archlinux.org>
40784         * sysdeps/i386/fpu/libm-test-ulps: Update
40786 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
40788         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40789         (_G_int32_t): Likewise.
40790         (_G_uint16_t): Likewise.
40791         (_G_uint32_t): Likewise.
40792         (_G_HAVE_BOOL): Likewise.
40793         (_G_HAVE_ATEXIT): Likewise.
40794         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40795         (_G_HAVE_IO_FILE_OPEN): Likewise.
40796         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40797         (_G_int32_t): Likewise.
40798         (_G_uint16_t): Likewise.
40799         (_G_uint32_t): Likewise.
40800         (_G_HAVE_BOOL): Likewise.
40801         (_G_HAVE_ATEXIT): Likewise.
40802         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40803         (_G_HAVE_IO_FILE_OPEN): Likewise.
40804         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40805         (_G_int32_t): Likewise.
40806         (_G_uint16_t): Likewise.
40807         (_G_uint32_t): Likewise.
40808         (_G_HAVE_BOOL): Likewise.
40809         (_G_HAVE_ATEXIT): Likewise.
40810         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40811         (_G_HAVE_IO_FILE_OPEN): Likewise.
40813 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
40815         * csu/libc-tls.c: Update copyright years.
40817 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
40819         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40820         [!_G_USING_THUNKS]: Remove conditional code.
40821         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40822         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40824         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40825         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40826         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40827         (_G_VTABLE_LABEL_PREFIX): Likewise.
40828         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40829         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40830         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40831         (_G_VTABLE_LABEL_PREFIX): Likewise.
40832         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40833         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40834         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40835         (_G_VTABLE_LABEL_PREFIX): Likewise.
40836         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40838 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
40840         * libio/Makefile: Include ../Makeconfig before tests.
40841         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40842         only if $(build-shared) is yes.
40844         * iconv/gconv_db.c: Update copyright years.
40846 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40848         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40849         unwind info if defined PIC. Fix special cases description.
40850         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40852         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40853         DP_HI_MASK entry.
40854         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40856 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
40858         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40860         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40861         is NULL.
40863         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40864         (LDLIBS-tst-chk4): This.
40865         (LDFLAGS-tst-chk5): Renamed to ...
40866         (LDLIBS-tst-chk5): This.
40867         (LDFLAGS-tst-chk6): Renamed to ...
40868         (LDLIBS-tst-chk6): This.
40869         (LDFLAGS-tst-lfschk4): Renamed to ...
40870         (LDLIBS-tst-lfschk4): This.
40871         (LDFLAGS-tst-lfschk5): Renamed to ...
40872         (LDLIBS-tst-lfschk5): This.
40873         (LDFLAGS-tst-lfschk6): Renamed to ...
40874         (LDLIBS-tst-lfschk6): This.
40876         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40877         on $(common-objpfx)soversions.mk.
40879 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
40881         [BZ #10014]
40882         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40883         example host name.
40885 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40887         * malloc/arena.c (arena_get_retry): New function that gets
40888         another arena for the caller to try its request on.
40889         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40890         current arena cannot fulfill the request.
40891         (__libc_memalign): Likewise.
40892         (__libc_memalign): Likewise.
40893         (__libc_pvalloc): Likewise.
40894         (__libc_calloc): Likewise.
40896 2012-09-05  John Tobey  <john.tobey@gmail.com>
40898         [BZ #13542]
40899         * manual/arith.texi (Operations on Complex): Fix description
40900         of carg branch cut.
40902 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40904         [BZ #10014]
40905         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40906         host name.
40908         [BZ #10038]
40909         * manual/memory.texi (Memory): Make order of menu items match
40910         order of sections.
40912 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40914         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40915         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
40916         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40918 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40920         * csu/libc-tls.c (static_dtv): Renamed to ...
40921         (_dl_static_dtv): This.  Make it global.
40922         (_dl_initial_dtv): Removed.
40923         (__libc_setup_tls): Updated.
40924         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40925         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40926         DL_INITIAL_DTV.
40928 2012-09-06  Petr Machata  <pmachata@redhat.com>
40930         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40931         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40932         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40933         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40935 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40937         [BZ #14545]
40938         * csu/libc-tls.c (_dl_initial_dtv): New variable.
40939         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40940         freeing dtv[-1].
40942 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40944         [BZ #14544]
40945         * Makeconfig (link-static-before-libc): Replace $(+prector)
40946         with $(+prectorT).
40947         (link-static-after-libc): Replace $(+postctor) with
40948         $(+postctorT).
40949         (link-bounded): Replace $(+prector)/$(+postctor) with
40950         $(+prectorT)/$(+postctorT).
40951         (+prectorT): New macro.
40952         (+postctorT): Likewise.
40954 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40956         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40957         (round_str): Handle values above the maximum for IBM long double
40958         as inexact.
40959         * stdlib/tst-strtod-round.c (tests): Regenerated.
40961 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40963         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40964         assembler flag.
40965         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40966         zarch_nohighgprs around the zarch optimized routines.
40967         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40968         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40969         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40970         for zarch.
40972 2012-09-05  David S. Miller  <davem@davemloft.net>
40974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40976         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40977         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40978         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40979         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40980         entries.
40982 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40984         * malloc/arena.c: Fold copyright years.
40985         * malloc/mcheck.c, malloc/memusage.c: Likewise.
40987 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40989         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40991 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40993         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
40995 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40997         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40998         change internal state upon failure.
41000 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41002         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41003         * malloc/memusage.c (mmap): Likewise.
41004         (mmap64, mremap): Likewise.  Adjust name in comment.
41006 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41008         * libio/fileops.c: Fix typos in comments.
41009         * libio/oldfileops.c: Likewise.
41010         * libio/wfileops.c: Likewise.
41012 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41014         [BZ #1349]
41015         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41016         (tst-malloc-usable-ENV): Set environment for test case.
41017         * malloc/hooks.c (malloc_check_get_size): New function to get
41018         requested size.
41019         * malloc/malloc.c (musable): Use malloc_check_get_size.
41020         * malloc/tst-malloc-usable.c: New test case.
41022 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41024         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41026 2012-09-05  Allan McRae  <allan@archlinux.org>
41028         [BZ #13966]
41029         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41030         determine header location.
41031         * configure: Regenerated.
41033 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41035         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41036         float format.
41037         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41038         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41039         format.
41040         (test): Regenerate.
41042 2012-09-04  David S. Miller  <davem@davemloft.net>
41044         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41045         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41046         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41048 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41050         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41051         failures.
41053         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41055 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41057         [BZ #9914]
41058         * libio/iogetdelim.c: Include <limits.h>.
41059         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41060         + len + 1 would overflow.
41062 2012-09-03  Andreas Jaeger  <aj@suse.de>
41064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41065         * sysdeps/i386/fpu/libm-test-ulps: Update.
41067 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41069         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41070         Add s_sinf-sse2, s_conf-sse2.
41072         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41073         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41074         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41075         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41077         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41078         for using routine as __sinf_ia32.
41079         Use macro for function declaration and weak_alias.
41080         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41081         for using routine as __cosf_ia32.
41082         Use macro for function declaration and weak_alias.
41084         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41085         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41087         * sysdeps/x86_64/fpu/s_sinf.S: New file.
41088         * sysdeps/x86_64/fpu/s_cosf.S: New file.
41089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41091         * math/libm-test.inc (cos_test): Add more test cases.
41092         (sin_test): Likewise.
41093         (sincos_test): Likewise.
41095 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41097         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41098         (IFUNC_RESOLVE): Make pointers to the specialized implementations
41099         hidden.
41100         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41102 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
41104         [BZ #14538]
41105         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41106         first element of the GOT.
41107         (elf_machine_load_address): Return the difference between
41108         the runtime address of _DYNAMIC and elf_machine_dynamic ().
41110 2012-09-01  Allan McRae  <allan@archlinux.org>
41112         [BZ #13412]
41113         * configure.in (AWK): Require gawk version 3.0 or later.
41114         * configure: Regenerated.
41116 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
41118         * sysdeps/unix/sysv/linux/kernel-features.h
41119         (__ASSUME_POSIX_CPU_TIMERS): Remove.
41120         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41121         [__NR_clock_getres]: Make code unconditional.
41122         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41123         (clock_getcpuclockid): Remove code left unreachable by removal of
41124         conditionals.
41125         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41126         code unconditional.
41127         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41128         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41129         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41130         Make code unconditional.
41131         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41132         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41133         * sysdeps/unix/sysv/linux/clock_settime.c
41134         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41135         conditional code.
41136         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41137         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41139 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
41141         [BZ #14476]
41142         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41143         scripts/test-installation.pl.
41145         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41146         and $ld_so_version if it is set.
41148 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41150         [BZ #14516]
41151         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41152         failure if reading from procfs failed.
41153         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41155 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41157         * sysdeps/unix/sysv/linux/kernel-features.h
41158         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41159         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41160         Remove conditional code.
41161         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41162         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41163         Remove conditional code.
41164         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41165         * sysdeps/unix/sysv/linux/i386/fxstat.c
41166         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41167         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41168         * sysdeps/unix/sysv/linux/i386/fxstatat.c
41169         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41170         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41171         * sysdeps/unix/sysv/linux/i386/lxstat.c
41172         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41174         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41175         Remove conditional code.
41176         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41177         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41178         Remove conditional code.
41179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41180         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41181         <kernel-features.h>.
41182         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41183         Remove.
41184         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41185         Remove conditional code.
41186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41187         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41188         Remove conditional.
41190 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
41192         [BZ #5400]
41193         * NEWS: Add fixed bug number.
41195 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41197         [BZ #14519]
41198         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41199         underflowing exponent in case of negative sign.
41200         * stdlib/tst-strtod-round-data: Add more tests.
41201         * stdlib/tst-strtod-round.c (tests): Regenerated.
41203         [BZ #3479]
41204         * stdlib/strtod_l.c (NDIG): Remove.
41205         (HEXNDIG): Likewise.
41206         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41207         smallest representable value.
41208         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41209         lie within an exact representation of 1/2 ulp of the result.
41210         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41211         unconditionally.
41212         (TENS_P9_IDX): Define unconditionally.
41213         (TENS_P9_SIZE): Likewise.
41214         (TENS_P10_IDX): Likewise.
41215         (TENS_P10_SIZE): Likewise.
41216         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41217         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41218         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41219         entries for 10^2^13 and 10^2^14.
41220         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41221         (TENS_P13_IDX): Define.
41222         (TENS_P13_SIZE): Likewise.
41223         (TENS_P14_IDX): Likewise.
41224         (TENS_P14_SIZE): Likewise.
41225         (_fpioconst_pow10): Change array size to
41226         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
41227         unconditional.
41228         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41229         1024]: Add entries for 10^2^13 and 10^2^14.
41230         [LAST_POW10 > _LAST_POW10]: Remove #error.
41231         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41232         (_fpioconst_pow10): Change array size to
41233         FPIOCONST_POW10_ARRAY_SIZE.
41234         * stdlib/gen-fpioconst.c: New file.
41235         * stdlib/gen-tst-strtod-round.c: Likewise.
41236         * stdlib/tst-strtod-round-data: Likewise.
41237         * stdlib/tst-strtod-round.c: Likewise.
41238         * stdlib/Makefile (tests): Add tst-strtod-round.
41240         [BZ #14459]
41241         * stdlib/strtod_l.c: Include <stdint.h>.
41242         (NDEBUG): Do not define.
41243         (round_and_return): Change EXPONENT parameter to type intmax_t.
41244         Rearrange calculations to avoid internal overflow possibilities.
41245         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41246         Rearrange calculations to avoid internal overflow possibilities.
41247         Assert that number fits inside MPNSIZE limbs.
41248         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41249         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
41250         calculations and add assertions to avoid internal overflow
41251         possibilities.  Add casts to avoid signed/unsigned operations.
41252         * stdlib/tst-strtod-overflow.c: New file.
41253         * stdlib/Makefile (tests): Add tst-strtod-overflow.
41255 2012-08-25  Marek Polacek  <polacek@redhat.com>
41257         * time/time.h: Fix some typos in comments.
41259 2012-08-23  Roland McGrath  <roland@hack.frob.com>
41261         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41262         * posix/tst-rfc3484-2.c: Likewise.
41263         * posix/tst-rfc3484-3.c: Likewise.
41265 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
41267         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41268         (EF_ARM_ABI_FLOAT_HARD): Likewise.
41270 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
41272         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41273         #include of fxstatat64.c.
41275 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41277         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41278         * shadow/getspent_r.c: Likewise.
41279         * shadow/getspnam.c: Likewise.
41280         * shadow/getspnam_r.c: Likewise.
41281         * gshadow/getsgent.c: Likewise.
41282         * gshadow/getsgent_r.c: Likewise.
41283         * gshadow/getsgnam.c: Likewise.
41284         * gshadow/getsgnam_r.c: Likewise.
41285         * inet/getnetbyad.c: Likewise.
41286         * inet/getnetbyad_r.c: Likewise.
41287         * inet/getnetbynm.c: Likewise.
41288         * inet/getnetbynm_r.c: Likewise.
41289         * inet/getnetent.c: Likewise.
41290         * inet/getnetent_r.c: Likewise.
41291         * inet/getproto.c: Likewise.
41292         * inet/getproto_r.c: Likewise.
41293         * inet/getprtent.c: Likewise.
41294         * inet/getprtent_r.c: Likewise.
41295         * inet/getprtname.c: Likewise.
41296         * inet/getprtname_r.c: Likewise.
41297         * inet/getrpcbyname.c: Likewise.
41298         * inet/getrpcbyname_r.c: Likewise.
41299         * inet/getrpcbynumber.c: Likewise.
41300         * inet/getrpcbynumber_r.c: Likewise.
41301         * inet/getrpcent.c: Likewise.
41302         * inet/getrpcent_r.c: Likewise.
41303         * inet/getaliasent.c: Likewise.
41304         * inet/getaliasent_r.c: Likewise.
41305         * inet/getaliasname.c: Likewise.
41306         * inet/getaliasname_r.c: Likewise.
41307         * nscd/getgrgid_r.c: Likewise.
41308         * nscd/getgrnam_r.c: Likewise.
41309         * nscd/gethstbyad_r.c: Likewise.
41310         * nscd/gethstbynm3_r.c: Likewise.
41311         * nscd/getpwnam_r.c: Likewise.
41312         * nscd/getpwuid_r.c: Likewise.
41313         * nscd/getsrvbynm_r.c: Likewise.
41314         * nscd/getsrvbypt_r.c: Likewise.
41315         * nscd/gai.c: Likewise.
41317         * configure.in (build_nscd): New substituted variable, set
41318         by --disable-build-nscd and defaults to $use_nscd.
41319         * configure: Regenerated.
41320         * config.make.in (build-nscd): New substituted variable.
41321         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41322         Change conditional to require [$(build-nscd) = yes] as well.
41323         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41325         [BZ# 13696]
41326         * configure.in (use_nscd): New substituted variable, set by
41327         --disable-nscd.  If enabled, define USE_NSCD.
41328         * configure: Regenerated.
41329         * config.h.in: Add USE_NSCD.
41330         * config.make.in (use-nscd): New substituted variable.
41331         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41332         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41333         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41334         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41335         (CFLAGS-getgrnam_r.c): Likewise.
41336         (CFLAGS-initgroups.c): Likewise.
41337         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41338         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41339         Variables removed.
41340         * inet/getnetgrent_r.c
41341         (nscd_setnetgrent): New function, broken out of ...
41342         (setnetgrent): ... here.  Call it.
41343         (innetgr): Conditionalize nscd bits on [USE_NSCD].
41344         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41345         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41346         * nscd/Makefile (routines, aux): Move definitions after include of
41347         Makeconfig.  Conditionalize on [$(use-nscd) != no].
41348         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41349         Conditionalize on [USE_NSCD].
41350         (is_nscd, nscd_init_cb): Likewise.
41351         (nss_load_library): Conditionalize init callback on [USE_NSCD].
41352         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41353         * nss/nss_db/db-init.c: Likewise.
41354         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41355         [USE_NSCD].
41356         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41357         (make_request): Use it.
41358         (cache_valid_p): New function.
41359         (__check_pf): Use it.
41360         * NEWS: Add item for --disable-nscd.
41362 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
41364         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41365         to support sed >= 4.2.1-20-ga9bf076.
41366         * configure: Regenerated.
41368 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41370         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41371         Conditionalize whole body on [IREL].
41373 2012-08-22  Jeff Law <law@redhat.com>
41375         [BZ #14505]
41376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41377         if the family is PF_UNSPEC.
41379 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
41381         * Makerules (lib-version): Rename from V.
41382         (install-lib-nosubdir): Change V to lib-version.
41384 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
41386         [BZ #14252]
41387         * powerpc32/power6/wcschr.c: New file.
41388         * powerpc32/power6/wcscpy.c: New file.
41389         * powerpc32/power6/wcsrchr.c: New file.
41390         * powerpc64/power6/wcschr.c: New file.
41391         * powerpc64/power6/wcscpy.c: New file.
41392         * powerpc64/power6/wcsrchr.c: New file.
41394 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41396         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41397         (two_way_short_needle): Use it.
41398         * string/strstr.c (AVAILABLE1_USES_J): Define.
41399         * string/strcasestr.c: Likewise.
41401         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41402         array references.
41403         * string/strcasestr.c (TOLOWER): Make side-effect safe.
41405         [BZ #11607]
41406         * NEWS: Add an entry.
41407         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41408         define their defaults.
41409         (two_way_short_needle): Detect end-of-string on-the-fly.
41410         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41411         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41412         * string/bug-strcasestr1.c: New test.
41413         * string/Makefile: Run it.
41415 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41417         [BZ #11607]
41418         * string/str-two-way.h (two_way_short_needle): Optimize matching of
41419         the first character.
41421 2012-08-21  Roland McGrath  <roland@hack.frob.com>
41423         * csu/elf-init.c (__libc_csu_irel): Function removed.
41424         * csu/libc-start.c (apply_irel): New function.
41425         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41427 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
41429         * sysdeps/unix/sysv/linux/kernel-features.h
41430         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41431         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41432         <kernel-features.h>.
41433         [__NR_fadvise64_64]: Make code unconditional.
41434         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41435         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41436         !__NR_fadvise64_64)]: Likewise.
41437         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41438         !__NR_fadvise64_64))]: Likewise.
41439         [__NR_fadvise64]: Make code unconditional.
41440         [!__NR_fadvise64]: Remove conditional code.
41441         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41442         <kernel-features.h>.
41443         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41444         unconditional.
41445         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41446         conditional code.
41447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41448         not include <kernel-features.h>.
41449         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41450         unconditional.
41451         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41452         conditional code.
41453         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41454         include <kernel-features.h>.
41455         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41456         unconditional.
41457         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41458         conditional code.
41460 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41462         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41463         slight instruction rearrangements per scrollpipe analysis.
41464         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41466 2012-08-20  Roland McGrath  <roland@hack.frob.com>
41468         * manual/syslog.texi (syslog; vsyslog, closelog):
41469         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41470         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41472         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41473         DSOCAPS to match condition on defining it.
41475 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
41477         * sysdeps/unix/sysv/linux/kernel-features.h
41478         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41480         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41481         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41483         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41484         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41486         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41487         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41489         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41490         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41492         * sysdeps/unix/sysv/linux/kernel-features.h
41493         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41494         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41495         unconditional.
41496         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41497         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41498         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41499         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41500         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41501         Make code unconditional.
41502         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41503         (__mmap64) [!__NR_mmap2]: Likewise.
41504         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41505         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41506         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41507         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41508         [__NR_mmap2]: Make code unconditional.
41509         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41510         (__mmap64) [!__NR_mmap2]: Likewise.
41512 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41514         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41516 2012-08-18  Andreas Jaeger  <aj@suse.de>
41518         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41520 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41522         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41523         * include/unistd.h (__have_sock_cloexec): Likewise.
41524         (__have_pipe2): Likewise.
41525         (__have_dup3): Likewise.
41527 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41529         [BZ #9685]
41530         * include/unistd.h (__have_pipe2): Change define into an extern int.
41531         (__have_dup3): Likewise.
41532         * socket/have_sock_cloexec.c: Include fcntl.h.
41533         (__have_pipe2): New variable.
41534         (__have_dup3): Likewise.
41536 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
41538         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41540 2012-08-17  Marek Polacek  <polacek@redhat.com>
41542         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41543         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41545 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41547         * configure.in: Add AC_SUBST for sysheaders.
41548         * configure: Regenerated.
41549         * config.make.in (sysheaders): New substituted variable.
41551         * sysdeps/unix/mkfifo.c: Moved ...
41552         * sysdeps/posix/mkfifo.c: ... here.
41553         * sysdeps/unix/mkfifoat.c: Moved ...
41554         * sysdeps/posix/mkfifoat.c: ... here.
41556         * sysdeps/unix/utime.c: Moved ...
41557         * sysdeps/posix/utime.c: ... here.
41559         * sysdeps/unix/time.c: Moved ...
41560         * sysdeps/posix/time.c: ... here.
41561         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41562         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41564         * sysdeps/unix/nice.c: Moved ...
41565         * sysdeps/posix/nice.c: ... here.
41567         * sysdeps/unix/alarm.c: Moved ...
41568         * sysdeps/posix/alarm.c: ... here.
41570         * intl/Makefile ($(codeset_mo)): Depend on the input file.
41572 2012-08-17  Jeff Law <law@redhat.com>
41574         * intl/Makefile (codeset_mo): New variable.
41575         ($(codeset_mo)): New target.
41576         (tst-codeset.out): Depend on that.  Remove explicit rule.
41577         (tst-gettext3.out, tst-gettext5.out): Likewise.
41578         (LOCPATH-ENV, tst-codeset-ENV): New variables.
41579         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41580         * intl/tst-codeset.sh: Remove.
41581         * intl/tst-gettext3.sh: Likewise.
41582         * intl/tst-gettext5.sh: Likewise.
41584 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41586         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
41587         * sysdeps/unix/syscalls.list: ... here.
41589         * sysdeps/posix/getaddrinfo.c
41590         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41591         (gaiconf_init, gaiconf_reload): Use them.
41592         [!_STATBUF_ST_NSEC]
41593         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41594         Define using time_t rather than struct timespec.
41596         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41597         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41598         Macros removed.
41599         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41600         [!NO_THREADS].
41601         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41602         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41603         Likewise.
41605         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41606         __libc_cleanup_push argument.
41608         * bits/param.h: New file.
41609         * misc/sys/param.h: New file.
41610         * include/sys/param.h: New file.
41611         * misc/Makefile (headers): Add bits/param.h.
41612         * sysdeps/generic/sys/param.h: File removed.
41613         * sysdeps/unix/sysv/linux/bits/param.h: New file.
41614         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41615         * sysdeps/mach/hurd/bits/param.h: New file.
41616         * sysdeps/mach/hurd/sys/param.h: File removed.
41618         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41619         last change.
41621         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41622         [_IO_MTSAFE_IO].
41623         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41624         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41625         New macros.
41627         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41628         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41629         rather than -D_IO_MTSAFE_IO conditionally.
41630         * stdio-common/Makefile (CPPFLAGS): Likewise.
41631         * wcsmbs/Makefile (CPPFLAGS): Likewise.
41632         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41633         Use $(libio-mtsafe).
41634         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41635         of -D_IO_MTSAFE_IO.
41636         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41637         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41638         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41639         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41640         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41641         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41642         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41643         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41644         (CFLAGS-fread_u_chk.c): Likewise.
41645         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41646         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41647         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41648         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41649         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41650         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41651         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41652         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41653         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41655         * libio/Makefile: Test [$(libc-reentrant) = yes]
41656         instead of [$(filter %REENTRANT, $(defines)) nonempty].
41658         * Makeconfig
41659         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41660         * sysdeps/pthread/configure: File removed.
41661         * sysdeps/pthread/Makeconfig: New file.
41662         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41663         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41665 2012-08-16  Gary Benson  <gbenson@redhat.com>
41667         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41668         unmapping the first object in a namespace.
41670 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41672         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41673         (__internal_setnetgrent): ... this.  Add internal_function to
41674         definition.  Add libc_hidden_def.
41675         (setnetgrent): Update caller.
41676         (internal_endnetgrent): Renamed to ...
41677         (__internal_endnetgrent): ... this.  Add internal_function to
41678         definition.  Add libc_hidden_def.
41679         (endnetgrent): Update caller.
41680         (internal_getnetgrent_r): Renamed to ...
41681         (__internal_getnetgrent_r): ... this.  Add internal_function to
41682         definition.  Add libc_hidden_def.
41683         (__getnetgrent_r): Update caller.
41684         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
41686 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41688         * stdlib/longlong.h: Update from GCC.
41690 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41692         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41693         on _QL, which is set by umul_ppmm but never used.
41694         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41695         variables, which are set by GMP macros but never used.
41696         * stdio-common/_itowa.c (_itowa): Likewise.
41697         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41698         * stdlib/mod_1.c (mpn_mod_1): Likewise.
41700 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
41702         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41703         struct La_sh_regs is not constant.
41704         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41705         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41706         and struct La_sparc64_regs are not constant.
41708 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41710         * sysdeps/unix/sysv/linux/kernel-features.h
41711         (__ASSUME_POSIX_TIMERS): Remove.
41712         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41713         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41714         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41715         Make code unconditional.
41716         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41717         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41718         Make code unconditional.
41719         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41720         * sysdeps/unix/sysv/linux/clock_nanosleep.c
41721         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41722         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41723         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41724         Make code unconditional.
41725         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41726         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41727         (__libc_missing_posix_timers): Remove.
41729 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41731         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41732         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41734         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41736         * elf/dl-sym.c: Include <stdlib.h>.
41738         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41739         constants, which avoids warnings in 32-bit builds.
41741         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41742         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41744         * misc/lseek.c: File moved to ...
41745         * io/lseek.c: ... here.
41747         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41749         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41750         shifting LEN more than 31 bits at once.
41752 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41754         [BZ #14195]
41755         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41756         segmentation fault for a case of two empty input strings.
41757         * string/test-strncasecmp.c (check1): Renamed to...
41758         (bz12205): ...this.
41759         (bz14195): Add new testcase for two empty input strings and N > 0.
41760         (test_main): Call new testcase, adapt for renamed function.
41762 2012-08-15  Andreas Jaeger  <aj@suse.de>
41764         [BZ #14090]
41765         * crypt/md5test2.c: New test, based on test supplied by Serge
41766         Belyshev <belyshev@depni.sinp.msu.ru>.
41767         * crypt/Makefile (xtests): Add md5test-giant..
41768         * crypt/Makefile ($(objpfx)md5test-giant): Add.
41770 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
41772         [BZ #14090]
41773         * crypt/md5.c (md5_process_block): Don't assume the buffer
41774         length is less than 2**32.
41775         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41776         length is less than 2**64.
41778 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41780         * string/str-two-way.h: Include <sys/param.h>.
41781         (MAX): Macro removed.
41783         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41784         Move #define and #undef of memmove to just before and after
41785         including <string.h>.
41787         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41788         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41789         and after including <string.h>.  Move declarations of
41790         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41791         to before #include "string/memmove.c".
41793         * include/dirent.h: Declare __getdirentries.
41795         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41796         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41798 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
41800         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41801         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41802         * sysdeps/i386/configure: Regenerated.
41803         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41804         STABS_CURRENT_FILE, and STABS_FUN.
41805         (END): Remove call to STABS_FUN_END.
41806         (STABS_CURRENT_FILE1): Delete.
41807         (STABS_CURRENT_FILE): Likewise.
41808         (STABS_FUN): Likewise.
41809         (STABS_FUN_END): Likewise.
41810         (STABS_FUN2): Likewise.
41811         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41812         * sysdeps/x86_64/configure: Regenerated.
41814 2012-08-14  Roland McGrath  <roland@hack.frob.com>
41816         * elf/dl-open.c: Include <atomic.h>.
41817         * elf/dl-lookup.c: Likewise.
41819 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
41821         * sysdeps/unix/sysv/linux/kernel-features.h
41822         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41823         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41824         unconditionally.
41825         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41826         unconditionally.
41827         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41828         condition on __ASSUME_CLONE_THREAD_FLAGS.
41830 2012-08-14  Andreas Jaeger  <aj@suse.de>
41832         * sysdeps/i386/fpu/libm-test-ulps: Update.
41834 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
41836         * include/atomic.h (atomic_exchange_and_add): Split into ...
41837         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41838         New atomic macros.
41840 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
41842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41844 2012-08-13  Jeff Law <law@redhat.com>
41846         * manual/stdio.texi (snprintf): Clarify handling of the trailing
41847         null byte in the output string.
41849 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
41851         * sysdeps/unix/sysv/linux/kernel-features.h
41852         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41853         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41854         (__ASSUME_ARG_MAX_STACK_BASED): Define.
41855         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41856         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41857         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
41858         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41860 2012-08-09  Jeff Law <law@redhat.com>
41862         [BZ #13939]
41863         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41864         When avoid_arena is set, don't retry in the that arena.  Pick the
41865         next one, whatever it might be.
41866         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41867         (arena_lock): Pass in new parameter to arena_get2.
41868         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41869         arena_get2.
41870         (__libc_malloc): Unify retrying after main arena failure with
41871         __libc_memalign version.
41872         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41874 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
41876         [BZ #14166]
41877         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41878         to __redirect_strstr.
41879         (__strstr_sse42): Use typeof __redirect_strstr.
41880         (__strstr_ia32): Likewise.
41881         (__libc_strstr): New prototype.
41882         (strstr): Renamed to ...
41883         (__libc_strstr): This.
41884         (strstr): New strong alias of __libc_strstr.
41885         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41886         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41887         __redirect_time.
41888         Include <time.h>.
41889         (__libc_time): New prototype.
41890         (time_ifunc): Replace time with __libc_time.
41891         (time): New strong alias and hidden definition of __libc_time.
41892         (__GI_time): Remove strong alias.
41893         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41894         Include <stddef.h>.
41895         (memmove): Redefined to __redirect_memmove.
41896         (__memmove_sse2): Use typeof __redirect_memmove.
41897         (__memmove_ssse3): Likewise.
41898         (__memmove_ssse3_back): Likewise.
41899         (__libc_memmove): New prototype.
41900         (memmove): Renamed to ...
41901         (__libc_memmove): This.
41902         (memmove): New strong alias of __libc_memmove.
41904 2012-08-08  Mark Salter  <msalter@redhat.com>
41906         * elf/elf.h
41907         (R_MN10300_TLS_GD): Define.
41908         (R_MN10300_TLS_LD): Likewise.
41909         (R_MN10300_TLS_LDO): Likewise.
41910         (R_MN10300_TLS_GOTIE): Likewise.
41911         (R_MN10300_TLS_IE): Likewise.
41912         (R_MN10300_TLS_LE): Likewise.
41913         (R_MN10300_TLS_DTPMOD): Likewise.
41914         (R_MN10300_TLS_DTPOFF): Likewise.
41915         (R_MN10300_TLS_TPOFF): Likewise.
41916         (R_MN10300_SYM_DIFF): Likewise.
41917         (R_MN10300_ALIGN): Likewise.
41918         (R_MN10300_NUM): Update.
41920 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
41922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41923         Remove.
41925 2012-08-08  Roland McGrath  <roland@hack.frob.com>
41927         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41929         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41930         sysdeps/unix -> sysdeps/posix move.
41931         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41933 2012-08-07      Allan McRae     <allan@archlinux.org>
41935         [BZ #14303]
41936         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41937         (SUNOS_CPP): Likewise.
41938         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41939         not found.
41940         (open_input): Call CPP using execvp.
41942 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41944         * sysdeps/unix/sysv/linux/kernel-features.h
41945         (__ASSUME_PROT_GROWSUPDOWN): Remove.
41946         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41947         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41948         (__ASSUME_WAITID_SYSCALL): Likewise.
41949         * sysdeps/unix/sysv/linux/dl-execstack.c
41950         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41951         code unconditional.
41952         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41953         conditional code.
41954         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41955         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41956         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41957         code.
41958         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41959         unconditional.
41960         [__ASSUME_WAITID_SYSCALL]: Likewise.
41961         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41963 2012-08-07  Roland McGrath  <roland@hack.frob.com>
41965         * sysdeps/unix/closedir.c: Renamed to ...
41966         * sysdeps/posix/closedir.c: ... here.
41967         * sysdeps/unix/dirfd.c: Renamed to ...
41968         * sysdeps/posix/dirfd.c: ... here.
41969         * sysdeps/unix/dirstream.h: Renamed to ...
41970         * sysdeps/posix/dirstream.h: ... here.
41971         * sysdeps/unix/fdopendir.c: Renamed to ...
41972         * sysdeps/posix/fdopendir.c: ... here.
41973         * sysdeps/unix/opendir.c: Renamed to ...
41974         * sysdeps/posix/opendir.c: ... here.
41975         * sysdeps/unix/readdir.c: Renamed to ...
41976         * sysdeps/posix/readdir.c: ... here.
41977         * sysdeps/unix/readdir_r.c: Renamed to ...
41978         * sysdeps/posix/readdir_r.c: ... here.
41979         * sysdeps/unix/rewinddir.c: Renamed to ...
41980         * sysdeps/posix/rewinddir.c: ... here.
41981         * sysdeps/unix/seekdir.c: Renamed to ...
41982         * sysdeps/posix/seekdir.c: ... here.
41983         * sysdeps/unix/telldir.c: Renamed to ...
41984         * sysdeps/posix/telldir.c: ... here.
41985         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41986         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41987         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41988         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41990         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41991         * bits/fcntl.h: ... here.
41993         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41994         not 0.
41995         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41996         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41997         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41998         (struct flock): Move l_start, l_len to the beginning.
41999         Use __pid_t for l_pid.
42000         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42001         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42002         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42003         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42004         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42005         [__USE_LARGEFILE64] (struct flock64): New type.
42006         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42008         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42009         * bits/dirent.h: ... here.
42011         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42012         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42014 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42016         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42017         Change from 2.6.0 to 2.6.16.
42018         * sysdeps/unix/sysv/linux/configure: Regenerated.
42019         * sysdeps/unix/sysv/linux/kernel-features.h
42020         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42021         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42022         version.
42023         (__ASSUME_UTIMES): Likewise.
42024         (__ASSUME_CLONE_STOPPED): Remove.
42025         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42026         architectures, not kernel version.
42027         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42028         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42029         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42030         (__ASSUME_WAITID_SYSCALL): Likewise.
42031         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42032         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42033         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42034         refer to older versions.
42036 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42038         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42039         Define alphasort64 as an alias.
42040         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42041         Define versionsort64 as an alias.
42042         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42043         Define scandir64 as an alias.
42044         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42045         Define scandirat64 as an alias.
42046         * dirent/alphasort64.c (alphasort64):
42047         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42048         * dirent/versionsort64.c: Likewise.
42049         * dirent/scandir64.c: Likewise.
42050         * dirent/scandirat64.c: Likewise.
42051         * sysdeps/wordsize-64/alphasort.c: File removed.
42052         * sysdeps/wordsize-64/alphasort64.c: File removed.
42053         * sysdeps/wordsize-64/scandir.c: File removed.
42054         * sysdeps/wordsize-64/scandir64.c: File removed.
42055         * sysdeps/wordsize-64/scandirat.c: File removed.
42056         * sysdeps/wordsize-64/scandirat64.c: File removed.
42057         * sysdeps/wordsize-64/versionsort.c: File removed.
42058         * sysdeps/wordsize-64/versionsort64.c: File removed.
42059         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42060         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42061         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42062         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42063         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42064         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42065         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42066         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42068         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42069         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42070         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42071         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42072         [defined __arch64__ || defined __sparcv9]
42073         (__INO_T_MATCHES_INO64_T): New macro.
42074         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42075         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42076         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42077         * sysdeps/unix/sysv/linux/bits/dirent.h
42078         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42079         (_DIRENT_MATCHES_DIRENT64): New macro.
42081         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42082         Define lockf64 as an alias.
42083         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42084         Define fseeko64 as an alias.
42085         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42086         Define ftello64 as an alias.
42087         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42088         Define _IO_fgetpos64 and fgetpos64 as aliases.
42089         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42090         Define _IO_fsetpos64 and fsetpos64 as aliases.
42091         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42092         Conditionalize body on this.
42093         * libio/fseeko64.c: Likewise.
42094         * libio/ftello64.c: Likewise.
42095         * libio/iofgetpos64.c: Likewise.
42096         * libio/iofsetpos64.c: Likewise.
42097         * sysdeps/wordsize-64/lockf.c: File removed.
42098         * sysdeps/wordsize-64/lockf64.c: File removed.
42099         * sysdeps/wordsize-64/fseeko.c: File removed.
42100         * sysdeps/wordsize-64/fseeko64.c: File removed.
42101         * sysdeps/wordsize-64/ftello.c: File removed.
42102         * sysdeps/wordsize-64/ftello64.c: File removed.
42103         * sysdeps/wordsize-64/iofgetpos.c: File removed.
42104         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42105         * sysdeps/wordsize-64/iofsetpos.c: File removed.
42106         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42107         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42108         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42109         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42110         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42111         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42112         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42113         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42114         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42115         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42116         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42118         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42119         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42120         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42121         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42122         [defined __arch64__ || defined __sparcv9]
42123         (__OFF_T_MATCHES_OFF64_T): New macro.
42124         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42125         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42126         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42127         (__OFF_T_MATCHES_OFF64_T): New macro.
42129 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42131         * stdlib/secure-getenv.c (__secure_getenv): Replace
42132         GLIBC_2_16 with GLIBC_2_17.
42134 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42136         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42137         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42139 2012-08-03  David S. Miller  <davem@davemloft.net>
42141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42143 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42145         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42146         Remove.
42147         (__ASSUME_CORRECT_SI_PID): Likewise.
42148         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42149         (__ASSUME_TMPFS_NAME): Likewise.
42150         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42151         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42152         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42153         (HAVE_AUX_SECURE): Make definition unconditional.
42154         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42155         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42157 2012-08-03  Roland McGrath  <roland@hack.frob.com>
42159         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42160         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42161         * sysdeps/mach/hurd/eloop-threshold.h: New file.
42162         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42163         __eloop_threshold instead of SYMLOOP_MAX.
42165         * sysdeps/generic/eloop-threshold.h: New file.
42166         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42167         of MAXSYMLINKS.
42168         * elf/chroot_canon.c (chroot_canon): Likewise.
42170 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42172         [BZ #13717]
42173         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42174         Change to 2.6.0 everywhere.
42175         * sysdeps/unix/sysv/linux/configure: Regenerated.
42176         * sysdeps/unix/sysv/linux/kernel-features.h
42177         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42178         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42179         kernel versions.
42180         (__ASSUME_POSIX_TIMERS): Define unconditionally.
42181         (__ASSUME_FUTEX_REQUEUE): Remove.
42182         (__ASSUME_STATFS64): Define unconditionally.
42183         (__ASSUME_AT_SECURE): Likewise.
42184         (__ASSUME_CORRECT_SI_PID): Likewise.
42185         (__ASSUME_TGKILL): Define without depending on kernel version for
42186         i386.
42187         (__ASSUME_UTIMES): Likewise.
42188         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42189         kernel version.
42190         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42191         (__ASSUME_TMPFS_NAME): Likewise.
42192         * README: Update reference to Linux kernel versions.
42194 2012-08-02  Marek Polacek  <polacek@redhat.com>
42196         [BZ# 14150]
42197         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
42198         libc_cv_asm_type_prefix with %.
42199         * configure: Regenerated.
42200         * include/libc-symbols.h: Remove comment about
42201         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42202         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42203         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42204         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42205         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42206         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42207         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42208         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42209         * elf/tst-unique2mod1.c: Likewise.
42210         * elf/tst-unique1mod2.c: Likewise.
42211         * elf/tst-unique1mod1.c: Likewise.
42212         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42213         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42214         Replace ASM_TYPE_DIRECTIVE with .type.
42215         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42216         * sysdeps/i386/sysdep.h: Likewise.
42217         * sysdeps/x86_64/sysdep.h: Likewise.
42218         * sysdeps/sh/sysdep.h: Likewise.
42219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42220         Do not define ASM_TYPE_DIRECTIVE.
42221         * sysdeps/powerpc/sysdep.h: Likewise.
42222         * sysdeps/powerpc/powerpc32/sysdep.h:
42223         Replace ASM_TYPE_DIRECTIVE with .type.
42224         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42225         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42226         * sysdeps/i386/fpu/e_powf.S: Likewise.
42227         * sysdeps/i386/fpu/e_expl.S: Likewise.
42228         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42229         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42230         * sysdeps/i386/fpu/e_pow.S: Likewise.
42231         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42232         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42233         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42234         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42235         * sysdeps/i386/fpu/e_log2.S: Likewise.
42236         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42237         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42238         * sysdeps/i386/fpu/e_powl.S: Likewise.
42239         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42240         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42241         * sysdeps/i386/fpu/e_logl.S: Likewise.
42242         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42243         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42244         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42245         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42246         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42247         * sysdeps/i386/fpu/e_log.S: Likewise.
42248         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42249         * sysdeps/i386/fpu/e_logf.S: Likewise.
42250         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42251         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42252         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42253         * sysdeps/i386/fpu/e_log10.S: Likewise.
42254         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42255         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42256         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42257         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42258         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42259         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42260         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42261         * sysdeps/i386/i686/strtok.S: Likewise.
42262         * sysdeps/i386/i386-mcount.S: Likewise.
42263         * sysdeps/i386/strtok.S: Likewise.
42264         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42265         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42266         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42267         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42268         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42269         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42270         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42271         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42272         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42273         * sysdeps/x86_64/_mcount.S: Likewise.
42274         * sysdeps/x86_64/strtok.S: Likewise.
42275         * sysdeps/sh/_mcount.S: Likewise.
42277 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42279         * libio/iofopen.c: Include <fcntl.h>.
42280         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42281         (_IO_fopen64, fopen64): Define as aliases.
42282         * libio/iofopen64.c: Include <fcntl.h>.
42283         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42284         Conditionalize body on this.
42285         * sysdeps/wordsize-64/iofopen.c: File removed.
42286         * sysdeps/wordsize-64/iofopen64.c: File removed.
42288 2012-08-01  Marek Polacek  <polacek@redhat.com>
42290         * libc/Makeconfig: Use elf in place of binfmt-subdir.
42291         Use dlfcn directly instead of a variable.
42292         (binfmt-subdir): Do not define.
42293         (dlfcn): Likewise.
42295 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
42297         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42298         Remove all definitions.
42299         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42300         <kernel-features.h>.
42301         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42302         (miss_F_GETOWN_EX): Remove all definitions.
42303         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42304         macro definition.
42305         [!__ASSUME_FCNTL64]: Remove conditional code.
42306         [__ASSUME_FCNTL64]: Make code unconditional.
42307         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42308         <kernel-features.h>.
42309         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42310         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42311         (lockf64) [__NR_fcntl64]: Make code unconditional.
42312         (lockf64) [__ASSUME_FCNTL64]: Likewise.
42314         * sysdeps/unix/sysv/linux/kernel-features.h
42315         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42316         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42317         Make code unconditional.
42318         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42319         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42321         [__NR_vfork]: Make code unconditional.
42322         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42323         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42325         [__NR_vfork]: Make code unconditional.
42326         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42327         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42329 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42331         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42332         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42334         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42335         Define mkstemp64 as an alias.
42336         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42337         Define mkstemps64 as an alias.
42338         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42339         Define mkostemp64 as an alias.
42340         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42341         Define mkostemps64 as an alias.
42342         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42343         Conditionalize body on this.
42344         * misc/mkostemp64.c: Likewise.
42345         * misc/mkostemps64.c: Likewise.
42346         * misc/mkstemps64.c: Likewise.
42347         * sysdeps/wordsize-64/mkstemp64.c: File removed.
42348         * sysdeps/wordsize-64/mkostemp64.c: File removed.
42349         * sysdeps/wordsize-64/mkostemp.c: File removed.
42350         * sysdeps/wordsize-64/mkstemp.c: File removed.
42351         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42352         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42353         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42354         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42356         [BZ #14138]
42357         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42358         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42359         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42360         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42362         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42363         compat_symbol macros from <shlib-compat.h> rather than the underlying
42364         default_symbol_version and symbol_version macros, so that DEFAULT
42365         lines in shlib-versions are respected.
42366         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42368 2012-08-01  Florian Weimer  <fweimer@redhat.com>
42370         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42371         Declare with warn_unused_result.
42372         (setgid, setregid, setegid, setresgid): Likewise.
42373         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42374         Likewise.
42375         * WUR-REPORT: Remove set*id functions.
42377 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
42379         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42381 2012-07-31  Roland McGrath  <roland@hack.frob.com>
42383         [BZ #10191]
42384         * include/sys/socket.h (__libc_accept, __libc_accept4):
42385         Add attribute_hidden.
42386         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42388         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42389         use of PTR_MANGLE.
42390         * inet/getnetgrent_r.c (setup): Likewise.
42392         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42394 2012-07-31  David S. Miller  <davem@davemloft.net>
42396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42398 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
42400         [BZ #13629]
42401         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42402         value between 1.0 and 2.0 and smaller part has absolute value less
42403         than 1.0.
42404         * math/s_clog10.c (__clog10): Likewise.
42405         * math/s_clog10f.c (__clog10f): Likewise.
42406         * math/s_clog10l.c (__clog10l): Likewise.
42407         * math/s_clogf.c (__clogf): Likewise.
42408         * math/s_clogl.c (__clogl): Likewise.
42409         * math/libm-test.inc (clog_test): Add more tests.
42410         (clog10_test): Likewise.
42411         * sysdeps/i386/fpu/libm-test-ulps: Update.
42412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42414 2012-07-31  Florian Weimer  <fweimer@redhat.com>
42416         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42417         Exit with zero in case no suitable GID is found, and write a
42418         message to standard error.
42420 2012-07-30  Roland McGrath  <roland@hack.frob.com>
42422         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42423         rather than to 1.
42424         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42425         (MAXPATHLEN): Removed.
42426         (NOGROUP, NODEV): New macros.
42427         (setbit, clrbit, isset, isclr): New macros.
42428         (howmany, roundup, powerof2): New macros.
42429         (DEV_BSIZE): New macro.
42431         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42432         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42434         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42435         definition on [!__NO_LONG_DOUBLE_MATH].
42437         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42438         PTR_MANGLE and PTR_DEMANGLE.
42440         * socket/accept4.c (accept4): Rename to __libc_accept4.
42441         Define accept4 as a weak alias.
42443         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42444         on [_DIRENT_HAVE_D_TYPE].
42445         * io/ftw.c (ftw_dir): Likewise.
42447         * io/xmknod.c (__xmknod): Don't check PATH for being null.
42449         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42451         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42452         Use the BSD numbers rather than the arbitrary ones we had.
42453         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42454         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42455         (SIGXCPU, SIGXFSZ): New macros.
42456         (_NSIG): Now 32.
42458         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42459         initializer on [_LIBC_REENTRANT].
42461         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42462         definitions inside [_POSIX_MAPPED_FILES].
42464         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42466         * dirent/opendir.c: Include <fcntl.h>.
42468         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42469         (__libc_getspecific): Likewise.
42470         (__libc_key_create): Likewise.
42472         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42473         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42474         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42475         (tmpfile64): Define as alias.
42476         * sysdeps/wordsize-64/tmpfile.c: File removed.
42477         * sysdeps/wordsize-64/tmpfile64.c: File removed.
42478         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42479         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42481         * stdio-common/vfscanf.c: Include <stdbool.h>.
42482         * nss/makedb.c: Likewise.
42483         * stdio-common/_i18n_number.h: Likewise.
42484         * argp/argp-help.c: Likewise.
42485         * posix/wordexp.c: Likewise.
42486         * sysdeps/posix/spawni.c: Likewise.
42487         * nss/nss_files/files-initgroups.c: Likewise.
42488         * stdio-common/reg-modifier.c: Include <stdlib.h>.
42489         * nss/nss_files/files-initgroups.c: Likewise.
42490         * nss/nss_db/db-netgrp.c: Likewise.
42491         * nss/nss_db/db-initgroups.c: Likewise.
42492         * io/fchmodat.c: Include <sys/stat.h>.
42494         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42495         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42497         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42498         [HAVE_MMAP].
42500         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42501         Add multiple inclusion protection.
42503 2012-07-27  David S. Miller  <davem@davemloft.net>
42505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42507 2012-07-27  Gary Benson  <gbenson@redhat.com>
42509         [BZ #14298]
42510         * elf/rtld.c: Include <stap-probe.h>.
42511         (dl_main): Added static probes "init_start" and "init_complete".
42512         * elf/dl-load.c: Include <stap-probe.h>.
42513         (lose): Take new parameter "nsid".
42514         Added static probe "map_failed".
42515         (_dl_map_object_from_fd): Pass namespace id to lose.
42516         Added static probe "map_start".
42517         (open_verify): Pass namespace id to lose.
42518         * elf/dl-open.c: Include <stap-probe.h>.
42519         (dl_open_worker) Added static probes "map_complete", "reloc_start"
42520         and "reloc_complete".
42521         * elf/dl-close.c: Include <stap-probe.h>.
42522         (_dl_close_worker): Added static probes "unmap_start" and
42523         "unmap_complete".
42524         * elf/rtld-debugger-interface.txt: New file documenting the above.
42526 2012-07-26  Roland McGrath  <roland@hack.frob.com>
42528         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42529         rather than a string variable.
42530         * sunrpc/rpc_main.c (h_output): Likewise.
42531         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42533 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
42535         * inet/check_native.c: New file.
42537 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
42539         [BZ #13629]
42540         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42541         if larger part has absolute value 1.0.
42542         * math/s_clog10.c (__clog10): Likewise.
42543         * math/s_clog10f.c (__clog10f): Likewise.
42544         * math/s_clog10l.c (__clog10l): Likewise.
42545         * math/s_clogf.c (__clogf): Likewise.
42546         * math/s_clogl.c (__clogl): Likewise.
42547         * math/libm-test.inc (clog_test): Add more tests.
42548         (clog10_test): Likewise.
42549         * sysdeps/i386/fpu/libm-test-ulps: Update.
42550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42552         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42553         (pltexit): Likewise.
42554         (La_regs): Likewise.
42555         (La_retval): Likewise.
42556         (int_retval): Likewise.
42557         Update #error for removed macros to refer only to definitions in
42558         tst-audit.h.
42559         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42560         macro.
42561         (pltexit): Likewise.
42562         (La_regs): Likewise.
42563         (La_retval): Likewise.
42564         (int_retval): Likewise.
42565         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42566         macro.
42567         (pltexit): Likewise.
42568         (La_regs): Likewise.
42569         (La_retval): Likewise.
42570         (int_retval): Likewise.
42571         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42572         macro.
42573         (pltexit): Likewise.
42574         (La_regs): Likewise.
42575         (La_retval): Likewise.
42576         (int_retval): Likewise.
42577         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42578         macro.
42579         (pltexit): Likewise.
42580         (La_regs): Likewise.
42581         (La_retval): Likewise.
42582         (int_retval): Likewise.
42583         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42584         macro.
42585         (pltexit): Likewise.
42586         (La_regs): Likewise.
42587         (La_retval): Likewise.
42588         (int_retval): Likewise.
42589         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42590         macro.
42591         (pltexit): Likewise.
42592         (La_regs): Likewise.
42593         (La_retval): Likewise.
42594         (int_retval): Likewise.
42595         * sysdeps/generic/tst-audit.h: Update comment to refer only to
42596         macro definitions in tst-audit.h.
42597         * sysdeps/i386/tst-audit.h: New file.
42598         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42599         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42600         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42601         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42602         * sysdeps/sh/tst-audit.h: Likewise.
42603         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42604         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42605         * sysdeps/x86_64/tst-audit.h: Likewise.
42607 2012-07-26  Andreas Jaeger  <aj@suse.de>
42609         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42610         ptrace.
42612         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42613         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42614         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42615         PTRACE_O_MASK.
42616         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42617         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42618         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42620         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42621         value.
42623         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42624         _sigsys.
42625         (si_call_addr, si_syscall, si_arch): Define new macro.
42626         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42627         _sigsys.
42628         (si_call_addr, si_syscall, si_arch): Define new marcro.
42629         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42630         _sigsys.
42631         (si_call_addr, si_syscall, si_arch): Define new macro.
42632         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42633         _sigsys.
42634         (si_call_addr, si_syscall, si_arch): Define new macro.
42636 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42638         [BZ #13717]
42639         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42640         Change to 2.4.21 where previously 2.4.1.
42641         * sysdeps/unix/sysv/linux/configure: Regenerated.
42642         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42643         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42644         Linux kernel version.
42645         (__ASSUME_STD_AUXV): Remove.
42646         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42647         kernel version.
42648         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42649         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42650         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42651         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42652         (__ASSUME_NETLINK_SUPPORT): Likewise.
42653         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42654         (__no_netlink_support): Remove conditional definition.
42655         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42656         Remove.
42657         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42658         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42659         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42660         (if_nameindex_ioctl): Remove.
42661         (if_nameindex_netlink): Do not handle __no_netlink_support.
42662         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42663         code.
42664         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42665         Remove conditional code.
42666         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42667         code.
42668         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42669         unconditional.
42670         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42671         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42672         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42673         Remove.
42674         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42675         [!__ASSUME_STD_AUXV]: Remove conditional code.
42676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42677         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42678         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42680         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42681         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42682         code.
42683         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42685         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42686         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42687         conditional code.
42688         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42690         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42691         code.
42692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42693         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42694         conditional code.
42695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42696         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42697         code unconditional.
42698         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42699         conditional code.
42700         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42701         unconditional.
42702         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42703         conditional code.
42704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42705         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42706         unconditional.
42707         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42708         conditional code.
42709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42710         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42711         code unconditional.
42712         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42713         conditional code.
42714         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42715         unconditional.
42716         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42717         conditional code.
42718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42719         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42720         code unconditional.
42721         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42722         conditional code.
42723         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42724         unconditional.
42725         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42726         conditional code.
42728 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
42730         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42731         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42732         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42733         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42734         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42735         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42736         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42737         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42738         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42739         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42740         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42741         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42742         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42743         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42744         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42745         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42746         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42747         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42748         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42750         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42751         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42752         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42754 2012-07-25  Florian Weimer  <fweimer@redhat.com>
42756         * Versions.def: Add GLIBC_2.17.
42757         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42758         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42759         Introduce __libc_secure_getenv.
42760         * stdlib/Versions (2.17): Add secure_getenv
42761         (GLIBC_PRIVATE): Add __libc_secure_getenv.
42762         * stdlib/secure-getenv.c: Rename __secure_getenv to
42763         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
42764         symbol __secure_getenv for GLIBC_2.0.
42765         * stdlib/tst-secure-getenv.c: New.
42766         * stdlib/Makefile (tests): Add testcase.
42767         * manual/startup.texi (Environment Access): Document
42768         secure_getenv.
42769         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42770         __libc_secure_getenv.
42771         * inet/ruserpass.c (ruserpass): Likewise.
42772         * malloc/mtrace.c (mtrace): Likewise.
42773         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42774         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42775         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42776         * sysdeps/posix/tempname.c: Likewise.  Evaluate
42777         HAVE_SECURE_GETENV.
42778         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42779         __secure_getenv to __libc_secure_getenv.
42780         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42782         Likewise.
42783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42784         Likewise.
42785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42793 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42795         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42796         (struct La_i86_retval): Likewise.
42797         (struct La_x86_64_regs): Likewise.
42798         (struct La_x86_64_retval): Likewise.
42799         (struct La_x32_regs): Likewise.
42800         (struct La_x32_retval): Likewise.
42801         (struct La_ppc32_regs): Likewise.
42802         (struct La_ppc32_retval): Likewise.
42803         (struct La_ppc64_regs): Likewise.
42804         (struct La_ppc64_retval): Likewise.
42805         (struct La_sh_regs): Likewise.
42806         (struct La_sh_retval): Likewise.
42807         (struct La_s390_32_regs): Likewise.
42808         (struct La_s390_32_retval): Likewise.
42809         (struct La_s390_64_regs): Likewise.
42810         (struct La_s390_64_retval): Likewise.
42811         (struct La_sparc32_regs): Likewise.
42812         (struct La_sparc32_retval): Likewise.
42813         (struct La_sparc64_regs): Likewise.
42814         (struct La_sparc64_retval): Likewise.
42815         (struct audit_ifaces): Remove architecture-specific pltenter and
42816         pltexit members.
42817         * sysdeps/i386/ldsodefs.h: New file.
42818         * sysdeps/powerpc/ldsodefs.h: Likewise.
42819         * sysdeps/s390/ldsodefs.h: Likewise.
42820         * sysdeps/sh/ldsodefs.h: Likewise.
42821         * sysdeps/sparc/ldsodefs.h: Likewise.
42822         * sysdeps/x86_64/ldsodefs.h: Likewise.
42824 2012-07-25  Marek Polacek  <polacek@redhat.com>
42826         [BZ #6808]
42827         * math/libm-test.inc (yn_test): Add another test.
42828         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42829         to ERANGE when the result is +-Inf.
42830         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42831         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42832         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42833         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42835 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
42837         * conform/data/time.h-data (NULL): Use macro-constant.  Require
42838         equal to 0.
42839         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
42840         clock_t.
42841         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
42843 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
42845         * configure.in <sysdeps resolving>: Correct printing
42846         Implies_before.
42847         * configure: Regenerate.
42849 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
42851         * math/w_ilogb.c: Include <limits.h>.
42852         * math/w_ilogbl.c: Likewise.
42854 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
42856         * manual/lang.texi (__va_copy): Document primarily as ISO C99
42857         va_copy.  Document allowing for unavailable va_copy only as
42858         pre-C99 compatibility.
42859         * manual/string.texi (Copying and Concatenation): Use va_copy
42860         instead of __va_copy in concat example.
42862 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
42864         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42865         (__sendto): Use create_address_port.  Initialize APORT and deallocate
42866         it if not null.
42868         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42869         with O_NOLINK passed to __file_name_lookup.
42871         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42872         with O_NOLINK passed to __file_name_lookup.
42874         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42875         negative N or less than NGIDS.
42877         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42878         type to string_t.  Set ERANGE as errno and return it if NAME is not big
42879         enough.  Use memcpy instead of strncpy.
42881 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
42883         * elf/Makefile (check-data): Remove.
42884         (localplt.data): New vpath directive.
42885         ($(objpfx)check-localplt.out): Use localplt.data from vpath
42886         instead of $(check-data).
42887         * scripts/data/localplt-generic.data: Move to ...
42888         * sysdeps/generic/localplt.data: ... here.
42889         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42890         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42891         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42893         ... here.
42894         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42896         ... here.
42897         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42899         ... here.
42900         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42902         ... here.
42903         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42905         ... here.
42906         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42908         ... here.
42910 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42912         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42913         PPC32 and PPC64 files.
42914         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42915         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42917 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42919         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42920         __makecontext_ret to ...
42921         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42922         ... here and call exit if uc_link is NULL.  New file.
42923         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42924         __makecontext_ret.S.
42925         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42926         __makecontext_ret to ...
42927         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42928         ... here and call exit if uc_link is NULL.  New file.
42929         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42930         __makecontext_ret.S.
42932 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42934         * elf/elf.h (R_390_IRELATIVE): New definition.
42935         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42936         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
42937         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42938         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42939         (elf_machine_lazy_rel): Likewise.
42940         * sysdeps/s390/dl-irel.h: New file.
42941         * sysdeps/s390/s390-64/memcpy.S: New asm code.
42942         * sysdeps/s390/s390-64/memset.S: New asm code.
42943         * sysdeps/s390/s390-64/memcmp.S: New asm code.
42944         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42945         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42946         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42947         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42948         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42949         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42950         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42951         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42952         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42953         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42954         * sysdeps/s390/s390-32/memcpy.S: New asm code.
42955         * sysdeps/s390/s390-32/memset.S: New asm code.
42956         * sysdeps/s390/s390-32/memcmp.S: New asm code.
42958 2012-07-17  Marek Polacek  <polacek@redhat.com>
42960         [BZ #14349]
42961         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42962         * sysdeps/s390/s390-64/configure.in: Likewise.
42963         * sysdeps/sparc/configure.in: Likewise.
42964         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42965         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42966         * sysdeps/i386/configure.in: Likewise.
42967         * sysdeps/x86_64/configure.in: Likewise.
42968         * sysdeps/sh/configure.in: Likewise.
42969         * sysdeps/s390/s390-32/configure: Regenerated.
42970         * sysdeps/s390/s390-64/configure: Likewise.
42971         * sysdeps/x86_64/configure: Likewise.
42972         * sysdeps/sh/configure: Likewise.
42973         * sysdeps/powerpc/powerpc64/configure: Likewise.
42974         * sysdeps/powerpc/powerpc32/configure: Likewise.
42975         * sysdeps/sparc/configure: Likwise.
42976         * sysdeps/i386/configure: Likewise.
42978         * elf/dl-open.c: Comment fixes.
42980 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
42982         * Makefile [CXX] (check-data): Remove.
42983         [CXX] (c++-types.data): New vpath directive.
42984         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42985         vpath.  Do not allow for C++ type data being missing.
42986         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42987         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42988         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42989         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42990         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42991         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42992         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42994         ... here.
42995         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42997         ... here.
42998         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43000         ... here.
43001         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43003         ... here.
43004         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43006         ... here.
43007         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43009         ... here.
43010         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43012         ... here.
43013         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43016         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43017         definitions to architecture-specific files.
43018         (TLS_IE): Likewise.
43019         (TLS_LD): Likewise.
43020         (TLS_GD): Likewise.
43021         * sysdeps/i386/tls-macros.h: New file.
43022         * sysdeps/powerpc/tls-macros.h: Likewise.
43023         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43024         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43025         * sysdeps/sh/tls-macros.h: Likewise.
43026         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43027         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43028         * sysdeps/x86_64/tls-macros.h: Likewise.
43030 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43032         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43033         zero value for regular exit case.
43035         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43036         (__start_context): Preserve zero value for regular exit case.
43038 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43039             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43041         * manual/setjmp.texi (setcontext): Clarify normal process
43042         termination when uc_link is the null pointer.
43043         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43044         exit call.
43046 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43048         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43049         preprocessor.  Test for each exception mask separately.
43051 2012-07-16  Andreas Jaeger  <aj@suse.de>
43053         * po/ru.po: Update from translation team.
43055 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43057         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43058         equal to 0.
43059         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43060         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43061         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43062         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43063         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43065 2012-07-13  Andreas Jaeger  <aj@suse.de>
43067         * po/fr.po: Update from translation team.
43069 2012-07-12  Marek Polacek  <polacek@redhat.com>
43071         [BZ #14173]
43072         * math/libm-test.inc (yn_test): Add test for BZ #14173.
43073         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43074         loop condition.
43076 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
43078         [BZ #13717]
43079         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43080         Change to 2.4.1 where previously 2.4.0.
43081         * sysdeps/unix/sysv/linux/configure: Regenerated.
43082         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43083         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43084         version.
43085         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43086         (__ASSUME_AT_CLKTCK): Remove.
43087         (__ASSUME_AT_PAGESIZE): Likewise.
43088         (__ASSUME_AT_XID): Likewise.
43089         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43090         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43091         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43092         unconditionally.
43093         (HAVE_AUX_PAGESIZE): Likewise.
43094         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43095         [__ASSUME_AT_CLKTCK]: Make code unconditional.
43096         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43098 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
43100         [BZ #14307]
43101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43102         the temporary buffer used to invoke __gethostbyname2_r,
43103         __gethostbyaddr_r and gethostbyname4_r to make room for struct
43104         host_data / struct gaih_addrtuple.
43105         * resolv/nss_dns/dns-host.c (global scope): Move definition of
43106         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43107         header file nss/nsswitch.h.
43108         * nss/nsswitch.h (global scope): Add definition of implementation
43109         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43110         resolv/nss_dns/dns-host.c).
43112 2012-07-11  Andreas Jaeger  <aj@suse.de>
43114         * po/fr.po: Update from translation team.
43116         * po/sv.po: Update from translation team
43117         * po/fr.po: Another update from translation team.
43119 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43121         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43122         for subnormals or multiply small sinh result by itself.
43123         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43126 2012-07-11  David S. Miller  <davem@davemloft.net>
43128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43130 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
43132         [BZ #14347]
43133         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43134         (INTERNAL_MARK): Shift it here.
43136 2012-07-10  Marek Polacek  <polacek@redhat.com>
43138         [BZ #14151]
43139         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
43140         libc_cv_asm_global_directive with .globl.
43141         * configure: Regenerated.
43142         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43143         with .globl.
43144         * sysdeps/i386/configure: Regenerated.
43145         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43146         with .globl.
43147         * sysdeps/x86_64/configure: Regenerated.
43148         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43149         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43150         * elf/tst-unique2mod2.c: Likewise.
43151         * elf/tst-unique2mod1.c: Likewise.
43152         * elf/tst-unique1mod2.c: Likewise.
43153         * elf/tst-unique1mod1.c: Likewise.
43154         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43155         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43156         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43157         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43158         * sysdeps/mach/sysdep.h: Likewise.
43159         * sysdeps/i386/sysdep.h: Likewise.
43160         * sysdeps/i386/i386-mcount.S: Likewise.
43161         * sysdeps/x86_64/_mcount.S: Likewise.
43162         * sysdeps/x86_64/sysdep.h: Likewise.
43163         * sysdeps/sh/_mcount.S: Likewise.
43164         * sysdeps/sh/sysdep.h: Likewise.
43165         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43166         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43167         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43168         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43169         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43170         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43171         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43172         * locale/localeinfo.h: Likewise.
43173         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43174         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43176 2012-07-09  Roland McGrath  <roland@hack.frob.com>
43178         [BZ #14336]
43179         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43180         system".
43181         * manual/message.texi (The Uniforum approach): Likewise.
43182         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43183         (glibc iconv Implementation): Likewise.
43185 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
43187         [BZ #14337]
43188         * math/s_clog.c (__clog): Avoid scaling a value down where that
43189         could result in underflow.
43190         * math/s_clog10.c (__clog10): Likewise.
43191         * math/s_clog10f.c (__clog10f): Likewise.
43192         * math/s_clog10l.c (__clog10l): Likewise.
43193         * math/s_clogf.c (__clogf): Likewise.
43194         * math/s_clogl.c (__clogl): Likewise.
43195         * math/libm-test.inc (clog_test): Add more tests.
43196         (clog10_test): Likewise.
43197         * sysdeps/i386/fpu/libm-test-ulps: Update.
43198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43200 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
43202         [BZ #14283]
43203         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43204         by 7 not 8 to examine high bit of fractional part.
43206         [BZ #14042]
43207         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43208         for call to __mcount_internal.
43209         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43210         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43211         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43213 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
43215         [BZ #14154]
43216         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43217         approximation for values within 0x1p-13f of an odd multiple of
43218         pi/4.
43219         * math/libm-test.inc (tan_test): Do not allow spurious underflow
43220         exception.  Add more tests.
43221         * sysdeps/i386/fpu/libm-test-ulps: Update.
43223         [BZ #6778]
43224         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43225         inputs and return -1 for them.  Do not check for +Inf in case not
43226         reachable for +Inf.
43227         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43228         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43229         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43230         and return -1 for them.  Do not check for +Inf in case not
43231         reachable for +Inf.
43232         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43233         define.
43234         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43235         and return -1 for them.  Do not check for +Inf in case not
43236         reachable for +Inf.
43237         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
43238         spurious underflow.
43239         * sysdeps/i386/fpu/libm-test-ulps: Update.
43240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43242 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
43244         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43246 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
43248         [BZ #14157]
43249         [BZ #14331]
43250         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43251         could result in spurious underflow.  Scale down values above
43252         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43253         * math/s_csqrtf.c (__csqrtf): Likewise.
43254         * math/s_csqrtl.c (__csqrtl): Likewise.
43255         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
43256         spurious underflow.
43257         * sysdeps/i386/fpu/libm-test-ulps: Update.
43258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43260 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
43262         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43263         xopen-msg.sed.
43264         * catgets/xopen-msg.awk: New file.
43265         * catgets/xopen-msg.sed: Removed.
43267         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43268         po2text.sed.
43269         * intl/po2test.awk: New file.
43270         * intl/po2test.sed: Removed.
43272 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
43274         [BZ #14328]
43275         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43276         or multiply small sinh result by itself.
43277         * math/s_ctanf.c (__ctanf): Likewise.
43278         * math/s_ctanh.c (__ctanh): Likewise.
43279         * math/s_ctanhf.c (__ctanhf): Likewise.
43280         * math/s_ctanhl.c (__ctanhl): Likewise.
43281         * math/s_ctanl.c (__ctanl): Likewise.
43282         * math/libm-test.inc (ctan_test_tonearest): New function.
43283         (ctan_test_towardzero): Likewise.
43284         (ctan_test_downward): Likewise.
43285         (ctan_test_upward): Likewise.
43286         (ctanh_test_tonearest): Likewise.
43287         (ctanh_test_towardzero): Likewise.
43288         (ctanh_test_downward): Likewise.
43289         (ctanh_test_upward): Likewise.
43290         (main): Call these new functions.
43291         * sysdeps/i386/fpu/libm-test-ulps: Update.
43292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43294 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
43296         * .gitignore: Delete /ports entry.
43298 2012-07-03  Andreas Jaeger  <aj@suse.de>
43300         * po/bg.po: Update from translation team.
43301         * po/cs.po: Likewise.
43302         * po/de.po: Likewise.
43303         * po/hr.po: Likewise.
43304         * po/nl.pl: Likewise.
43305         * po/pl.po: Likewise.
43306         * po/vi.po: Likewise.
43308 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
43310         * Makeconfig [!+link] (+link-before-libc): New variable.
43311         [!+link] (+link-after-libc): Likewise.
43312         [!+link] (+link-tests): Likewise.
43313         [!+link] (+link): Define in terms of $(+link-before-libc) and
43314         $(+link-after-libc).
43315         [!+link-static] (+link-static-before-libc): New variable.
43316         [!+link-static] (+link-static-after-libc): Likewise.
43317         [!+link-static] (+link-static-tests): Likewise.
43318         [!+link-static] (+link-static): Define in terms of
43319         $(+link-static-before-libc) and $(+link-static-after-libc).
43320         [build-shared] (link-libc-before-gnulib): New variable.
43321         [build-shared] (link-libc-tests): Likewise.
43322         [build-shared] (link-libc): Define in terms of
43323         $(link-libc-before-gnulib).
43324         [!build-shared] (link-libc-tests): New variable.
43325         (link-libc-static-tests): New variable.
43326         [!gnulib] (gnulib-arch): New variable.
43327         [!gnulib] (gnulib-tests): Likewise.
43328         [!gnulib] (static-gnulib-arch): Likewise.
43329         [!gnulib] (static-gnulib-tests): Likewise.
43330         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
43331         Define with "=" instead of ":=".
43332         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
43333         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
43334         * Rules (binaries-all-notests): New variable.
43335         (binaries-all-tests): Likewise.
43336         (binaries-static-notests): Likewise.
43337         (binaries-static-tests): Likewise.
43338         (binaries-all): Define using $(binaries-all-notests) and
43339         $(binaries-all-tests).
43340         (binaries-static): Define using $(binaries-static-notests) and
43341         $(binaries-static-tests).
43342         (binaries-shared-tests): New variable.
43343         (binaries-shared-notests): Likewise.
43344         (binaries-shared): Remove variable.
43345         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43346         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43347         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43348         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43349         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43350         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43351         * elf/Makefile (sln-modules): New variable.
43352         (extra-objs): Add $(sln-modules:=.o).
43353         (ldconfig-modules): Add static-stubs.
43354         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43355         * elf/static-stubs.c: New file.
43357         [BZ #14283]
43358         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43359         by 7 not 8 to examine high bit of fractional part.  Use volatile
43360         variables when splitting into final array of floats if
43361         __FLT_EVAL_METHOD__ != 0.
43362         * math/libm-test.inc (cos_test): Add another test.
43363         (sin_test): Likewise.
43364         * sysdeps/i386/fpu/libm-test-ulps: Update.
43366         [BZ #14273]
43367         * math/libm-test.inc (cosh_test): Add more tests.
43369         * version.h (RELEASE): Set to "development".
43370         (VERSION): Set to "2.16.90".
43372 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
43374         * NEWS: Update copyright. Remove last-updated date.
43375         Mention math library bug fixes and timezone data changes.
43376         * README: Mention GNU/Hurd, x32, and HPPA support status.
43378 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
43380         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43382 2012-06-27  Andreas Jaeger  <aj@suse.de>
43384         * manual/contrib.texi (Contributors): Add Samuel Thibault.
43386 2012-06-25  Andreas Jaeger  <aj@suse.de>
43388         * sysdeps/s390/fpu/libm-test-ulps: Update.
43390 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
43391             Thomas Schwinge  <thomas@codesourcery.com>
43393         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43394         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43396         fanotify_mark.
43398 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
43400         * sysdeps/mach/start.c: Remove file.
43401         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43402         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43403         * sysdeps/sh/init-first.c: Likewise.
43405         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43406         registers for frame unwinding purposes, add CFI directives.
43407         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43408         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43409         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43410         Likewise.
43412         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43413         __fortify_fail returning.
43414         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43416         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43417         sysdeps/sh/____longjmp_chk.S.
43418         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43419         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43420         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43421         (gen-as-const-headers): Append sigaltstack-offsets.sym.
43423         * sysdeps/sh/abort-instr.h: New file.
43424         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43425         process in case exit returns.
43427         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43428         initialize the GOT register before use.
43430         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43431         calculation of ARGC > 4.
43433         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43434         meaningful names to some local labels.
43436 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43437             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43439         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43440         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43441         (__arch_compare_and_exchange_val_16_acq): Likewise.
43442         (__arch_compare_and_exchange_val_32_acq): Likewise.
43443         (atomic_exchange_and_add): Fix gUSA sequence.
43444         (atomic_add): Likewise.
43445         (atomic_add_negative): Likewise.
43446         (atomic_add_zero): Likewise.
43447         (atomic_bit_test_set): Likewise.
43449 2012-06-22  Andreas Schwab  <schwab@redhat.com>
43451         [BZ #13579]
43452         * include/link.h (struct link_map): Add l_free_initfini.
43453         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43454         l_initfini.
43455         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43456         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43457         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43458         set.
43460 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
43462         * configure.in: Use AC_LANG_SOURCE.
43463         * configure: Regenerate.
43465 2012-06-22  Roland McGrath  <roland@hack.frob.com>
43467         * configure.in (libc_cv_localstatedir): New substituted variable.
43468         * configure: Regenerated.
43469         * config.make.in (localstatedir): New variable, substituted from
43470         libc_cv_localstatedir.
43471         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43472         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43473         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43474         * sysdeps/gnu/configure: Regenerated.
43476 2012-06-21  Jeff Law  <law@redhat.com>
43478         [BZ #14277]
43479         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43480         free.  Simplify list management for _LIBC case.
43482 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
43484         [BZ #14273]
43485         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43486         Clear sign bit of 64-bit integer value before comparing against
43487         overflow value.
43489         * sysdeps/mach/configure: Regenerated.
43491 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
43493         [BZ #14278]
43494         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43496 2012-06-21  Jeff Law  <law@redhat.com>
43498         [BZ #13882]
43499         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
43500         uint16_t for elements in the "seen" array to avoid char overflows.
43501         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43502         * elf/dl-open.c (dl_open_worker): Likewise.
43504 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
43506         * scripts/list-sources.sh: Scan PORTS for translations.
43507         * po/libc.pot: Regenerated.
43509 2012-06-21  Andreas Jaeger  <aj@suse.de>
43511         [BZ #12194]
43512         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43513         warning.
43514         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43515         * bits/byteswap-16.h (__bswap_16): Likewise.
43516         * bits/byteswap.h (__bswap_constant_16): Likewise.
43518 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
43520         [BZ #14117]
43521         * sysdeps/i386/fpu_control.h: Removed.
43522         * sysdeps/x86_64/fpu_control.h: Moved to ...
43523         * sysdeps/x86/fpu_control.h: Here.
43525         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43526         (_FPU_SETCW): Likewise.
43528 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
43530         [BZ #14117]
43531         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43532         * sysdeps/x86/fpu/bits/mathinline.h: This.
43533         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43535         [BZ #14050]
43536         [BZ #14117]
43537         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43538         functions if __x86_64__ is defined.
43540 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
43542         * string/endian.h: Add !__ASSEMBLER__ condition for including
43543         conversion interfaces.
43545 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
43547         [BZ #14241]
43548         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43549         of ABS(x) in calculating zero to negative powers other than odd
43550         integers.
43551         * math/libm-test.inc (pow_test): Add more tests.
43553 2012-06-15  Andreas Jaeger  <aj@suse.de>
43555         * manual/contrib.texi (Contributors): Update entry of Liubov
43556         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43557         Machado Filho.
43559 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
43561         * string/string.h: Add __wur to GNU version of strerror_r.
43563 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
43565         [BZ #14229]
43566         * string/Makefile (tests): Add tst-strtok_r.
43567         * string/tst-strtok_r.c: New file.
43568         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43569         RAX_LP/RDX_LP on SAVE_PTR.
43571 2012-06-14  Roland McGrath  <roland@hack.frob.com>
43573         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43575 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
43577         * libm_test.inc (csqrt_test): Allow more spurious underflow
43578         exceptions.
43579         (j0_test): Likewise.
43580         (j1_test): Likewise.
43581         (y0_test): Likewise.
43582         (y1_test): Likewise.
43584 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
43586         * po/Makefile (libc.pot): Use UTF-8 charset.
43588 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
43590         [BZ #14210]
43591         Suppress sign-conversion warning from FD_SET.
43592         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43593         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43594         not unsigned long int.
43595         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43597 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
43599         [BZ #14050]
43600         [BZ #14117]
43601         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43602         __extern_always_inline instead of __extern_inline.
43603         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43604         (__signbit): Likewise.
43605         (__signbitl): Support C++ namespace.
43606         (lrintf): New inline function.
43607         (lrint): Likewise.
43608         (llrintf): Likewise.
43609         (llrint): Likewise.
43610         (fmaxf): Likewise.
43611         (fmax): Likewise.
43612         (fminf): Likewise.
43613         (fmin): Likewise.
43614         (rint): Likewise.
43615         (rintf): Likewise.
43616         (ceil): Likewise.
43617         (ceilf): Likewise.
43618         (floor): Likewise.
43619         (floorf): Likewise.
43620         (nearbyint): Likewise.
43621         (nearbyintf): Likewise.
43623 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
43625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43626         non-default versions.
43628 2012-06-11  Roland McGrath  <roland@hack.frob.com>
43630         [BZ #14218]
43631         * manual/argp.texi (Argp): Reword argp_parse description slightly.
43633 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
43635         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43636         (FE_UPWARD, FE_DOWNWARD): Don't define.
43637         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43638         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43640         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43641         reading it.
43642         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43643         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43645 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43647         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43649         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43650         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43652 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
43654         [BZ #14117]
43655         * sysdeps/i386/fpu/bits/fenv.h: Removed.
43656         * sysdeps/i386/fpu/Implies: New file.
43657         * sysdeps/x86_64/fpu/Implies: Likewise.
43658         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43659         * sysdeps/x86/fpu/bits/fenv.h: This.
43661         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43662         __SSE_MATH__.
43664 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43666         [BZ #14134]
43667         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43668         character 0xffff that matches the last element of the
43669         conversion table.
43671 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43673         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43674         fmodl commit.
43676 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43679         values higher than 25.6283.
43681 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43683         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43684         subnormal exponent extraction and add some __builtin_expect.
43685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43686         Fix for subnormal mantissa calculation.
43688 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
43690         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43691         cpu2 is -1 and errno is not ENOSYS.
43693 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
43695         [BZ #14117]
43696         * sysdeps/i386/i486/bits/string.h: Renamed to ...
43697         * sysdeps/x86/bits/string.h: This.
43698         * sysdeps/x86_64/bits/string.h: Removed.
43700         * sysdeps/i386/i486/bits/string.h: Define inline functions only
43701         if not compiling for x86-64, but compiling for >= i486.
43703         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43704         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43706         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43707         New macro from Linux kernel 3.4.0.
43708         (FP_XSTATE_MAGIC2): Likewise.
43709         (FP_XSTATE_MAGIC2_SIZE): Likewise.
43710         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43711         (struct _fpx_sw_bytes): New struct.
43712         (struct _xsave_hdr): Likewise.
43713         (struct _ymmh_state): Likewise.
43714         (struct _xstate): Likewise.
43716         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43717         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43718         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43719         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43720         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43721         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43723         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43724         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43725         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43726         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43727         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43728         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43730 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43732         [BZ #13743]
43733         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43734         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43735         (sysdep_headers): Include sys/platform/ppc.h.
43736         * sysdeps/powerpc/test-gettimebase.c: Test for
43737         __ppc_get_timebase() to catch future ISA opcode/insn changes.
43738         * manual/Makefile (appendices): Include platform.texi.
43739         * manual/contrib.texi (Contributors): Update @node pointers.
43740         * manual/maint.texi (Maintenance): Likewise.
43741         (Platform): New node.
43742         * manual/platform.texi: New file.  Document the new features.
43744 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43745             Jakub Jelinek  <jakub@redhat.com>
43747         [BZ #14188]
43748         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43749         where __builtin_expect is unavailable.
43751 2012-06-03  David S. Miller  <davem@davemloft.net>
43753         * stdlib/longlong.h: Updated from GCC.
43755 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
43757         [BZ #14042]
43758         * sysdeps/powerpc/powerpc32/mcount.c: New file.
43759         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43760         __mcount_internal.
43761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43762         (GLIBC_2.16): Likewise.
43764 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43766         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43768 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43771         (default-abi): New variable.
43772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43773         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43774         variable.
43775         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43776         Likewise.
43777         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43778         Likewise.
43779         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43780         Likewise.
43782         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43783         definition.  Document in comment.
43785 2012-06-01  David S. Miller  <davem@davemloft.net>
43787         * stdlib/longlong.h: Updated from GCC.
43789 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43791         [BZ #14117]
43792         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43793         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43794         sys/debugreg.h sys/io.h here.
43795         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43796         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43797         sys/io.h.
43798         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43799         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43800         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43801         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43802         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43803         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43805         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43806         Define only if __x86_64__ is defined.
43808 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43810         [BZ #14048]
43811         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43812         Use int64_t for variable i.
43813         * math/libm-test.inc (fmod_test): Add more tests.
43815         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43816         z computation is not scheduled after fetestexcept.
43817         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43818         Use math_force_eval instead of asm to ensure calculation scheduled
43819         before exception test.
43820         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43821         Ensure a1 + u.d computation is not scheduled after fetestexcept.
43823 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
43825         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43826         computation is not scheduled after fetestexcept.
43828 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43830         [BZ #14117]
43831         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43832         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43834 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43836         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43837         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43839 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
43841         [BZ #14117]
43842         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43843         <bits/wordsize.h>.
43844         (__WCHAR_MIN): Support __WORDSIZE == 64.
43845         (__WCHAR_MAX): Likewise.
43847         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43848         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43850         [BZ #14183]
43851         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43852         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43854         [BZ #14117]
43855         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43856         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43858         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43859         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43861         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43862         Defined to 1 if __x86_64__ isn't defined.
43863         (_STAT_VER_LINUX_OLD): New.
43864         (st_atime): Remove duplicate.
43865         (st_mtime): Likewise.
43866         (st_ctime): Likewise.
43868 2012-05-31  David S. Miller  <davem@davemloft.net>
43870         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43871         entries.
43873 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
43875         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43876         gen-libm-test.pl.
43878         [BZ #14132]
43879         * elf/dl-reloc.c: Include <_itoa.h>.
43880         (_dl_reloc_bad_type): Remove use of INTUSE.
43881         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43882         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43883         * stdio-common/psiginfo.c (psiginfo): Likewise.
43884         * stdio-common/psignal.c (psignal): Likewise.
43885         * string/strsignal.c (strsignal): Likewise.
43886         * include/signal.h (_sys_siglist): Declare hidden proto.
43887         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
43888         INTVARDEF with libc_hidden_data_def.
43889         * stdio-common/itoa-udigits.c: Likewise.
43890         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43891         (_itoa_lower_digits_internal): Remove declaration.
43892         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43893         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43894         (_sys_sigabbrev_internal): Remove aliases.
43895         (_sys_siglist): Define hidden alias.
43897 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
43899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43900         bits/sysctl.h.
43902 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
43904         [BZ #14117]
43905         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43906         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43908         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43909         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43910         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43911         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43912         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43913         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43915         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43916         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43917         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43919         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43920         with __addr.
43921         (insw): Likewise.
43922         (insl): Likewise.
43923         (outsb): Likewise.
43924         (outsw): Likewise.
43925         (outsl): Likewise.
43927         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43928         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43929         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43931         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43932         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43933         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43934         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43935         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43936         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43938         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43939         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43941         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43942         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43944         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43945         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43946         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43948         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43949         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43950         to ...
43951         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43953         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43954         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43955         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43957         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43958         for x86-64.
43959         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43961 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
43963         * math/math.h (M_El): Use two more decimal places.
43964         (M_LOG2El): Likewise.
43965         (M_LOG10El): Likewise.
43966         (M_LN2l): Likewise.
43967         (M_LN10l): Likewise.
43968         (M_PIl): Likewise.
43969         (M_PI_2l): Likewise.
43970         (M_PI_4l): Likewise.
43971         (M_1_PIl): Likewise.
43972         (M_2_PIl): Likewise.
43973         (M_2_SQRTPIl): Likewise.
43974         (M_SQRT2l): Likewise.
43975         (M_SQRT1_2l): Likewise.
43977 2012-05-31  David S. Miller  <davem@davemloft.net>
43979         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43980         values between float registers.
43981         * sysdeps/sparc/sparc64/memset.S: Likewise.
43982         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43984 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
43986         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43987         -D_FORTIFY_SOURCE=1.
43988         (CPPFLAGS-tst-longjmp_chk.c): Define.
43989         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43990         (CPPFLAGS-tst-longjmp_chk2.c): Define.
43991         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43992         CFLAGS-tst-wchar-h.c.
43994 2012-05-31  Marek Polacek  <polacek@redhat.com>
43996         [BZ #14132]
43997         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43998         __endmntent_internal): Remove declaration.
43999         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44000         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44001         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44003 2012-05-30  David S. Miller  <davem@davemloft.net>
44005         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44006         (___Q_simulate_exceptions): Use real FP ops rather than writing
44007         into the %fsr.
44008         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44009         Likewise.
44011 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44013         [BZ #14117]
44014         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44015         * sysdeps/x86/bits/xtitypes.h: This.
44017         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44018         * sysdeps/x86/bits/wordsize.h: This.
44020         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44021         * sysdeps/x86/bits/huge_vall.h: This.
44023         * sysdeps/i386/bits/select.h: Removed.
44024         * sysdeps/x86_64/bits/select.h: Renamed to ...
44025         * sysdeps/x86/bits/select.h: This.
44027         * sysdeps/i386/bits/setjmp.h: Removed.
44028         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44029         * sysdeps/x86/bits/setjmp.h: This.
44031         * sysdeps/i386/bits/mathdef.h: Removed.
44032         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44033         * sysdeps/x86/bits/mathdef.h: This.
44035 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44037         [BZ #14132]
44038         * include/sys/socket.h (__connect_internal)
44039         (__libc_sa_len_internal): Remove declaration.
44040         (__connect, __libc_sa_len): Declare hidden_proto.
44041         (SA_LEN): Remove use of INTUSE.
44042         * socket/connect.c: Add libc_hidden_def.
44043         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44044         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44045         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44046         alias.
44047         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44048         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44049         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44050         of adding _internal alias.
44052 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44054         [BZ #14117]
44055         * sysdeps/i386/bits/link.h: Removed.
44056         * sysdeps/i386/bits/linkmap.h: Likewise.
44057         * sysdeps/x86_64/bits/link.h: Renamed to ...
44058         * sysdeps/x86/bits/link.h: This.
44059         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44060         * sysdeps/x86/bits/linkmap.h: This.
44062         * sysdeps/i386/bits/endian.h: Removed.
44063         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44064         * sysdeps/x86/bits/endian.h: This.
44066         * sysdeps/i386/bits/byteswap.h: Removed.
44067         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44068         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44069         * sysdeps/x86/bits/byteswap.h: This.
44070         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44071         * sysdeps/x86/bits/byteswap-16.h: This.
44072         * sysdeps/i386/Implies: Add x86.
44073         * sysdeps/x86_64/Implies: Likewise.
44075 2012-05-30  David S. Miller  <davem@davemloft.net>
44077         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44078         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44079         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44080         (FP_TRAPPING_EXCEPTIONS): Define.
44081         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44082         (FP_TRAPPING_EXCEPTIONS): Define.
44083         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44084         subnormals only when inexact has been signalled or underflow
44085         exceptions are enabled.
44086         (_FP_PACK_CANONICAL): Likewise.
44088 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44090         [BZ #14183]
44091         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44092         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44094 2012-05-30  Richard Henderson  <rth@twiddle.net>
44096         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44097         with #ifndef NOT_IN_libc.
44099         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
44100         marked to avoid plt entry.
44102 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44104         [BZ #14112]
44105         * Makeconfig (default-abi): New macro.
44106         (abi-includes): Likewise.
44107         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
44108         $(abi-$(default-abi)-lib-soname) for soname if defined.
44109         ($(common-objpfx)gnu/lib-names.stmp): Generate from
44110         abi-variants.
44111         * Makefile (installed-stubs): Likewise.
44112         * include/stubs-biarch.h: Removed.
44113         * scripts/lib-names.awk: Only handle one library at a time.
44114         * scripts/soversions.awk: Remove WORDSIZE support.
44115         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44116         entries.
44117         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44118         Removed.
44119         (syscall-list-default-condition): Likewise.
44120         (syscall-list-default-condition): Likewise.
44121         (syscall-list-includes): Likewise.
44122         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44123         syscall-list-* with abi-*.  Handle undefined abi-variants.
44124         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44125         * sysdeps/unix/sysv/linux/i386/Implies: New file.
44126         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44127         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44128         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44129         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44130         Removed.
44131         (syscall-list-32-options): Likewise.
44132         (syscall-list-32-condition): Likewise.
44133         (syscall-list-64-options): Likewise.
44134         (syscall-list-64-condition): Likewise.
44135         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44136         macro.
44137         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44138         Renamed to ...
44139         (abi-*): This.
44140         (abi-64-ld-soname): New macro.
44141         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44142         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44143         Renamed to ...
44144         (abi-*): This.
44145         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44146         * sysdeps/x86_64/x32/shlib-versions: Likewise.
44148 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
44150         * sysdeps/unix/sysv/linux/kernel-features.h
44151         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44152         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44153         include <kernel-features.h>.
44154         [!__NR_ftruncate64]: Remove conditional code.
44155         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44156         [__NR_ftruncate64]: Make code unconditional.
44157         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44158         * sysdeps/unix/sysv/linux/truncate64.c: Do not
44159         include <kernel-features.h>.
44160         [!__NR_ftruncate64]: Remove conditional code.
44161         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44162         [__NR_ftruncate64]: Make code unconditional.
44163         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44165         include <kernel-features.h>.
44166         [!__NR_ftruncate64]: Remove conditional code.
44167         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44168         [__NR_ftruncate64]: Make code unconditional.
44169         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44171         include <kernel-features.h>.
44172         [!__NR_ftruncate64]: Remove conditional code.
44173         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44174         [__NR_ftruncate64]: Make code unconditional.
44175         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44177         * configure.in (libc_cv_fpie): Weaken to a compile test using
44178         LIBC_TRY_CC_OPTION.
44179         * configure: Regenerated.
44181 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44187         Refreshed.
44188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44194         Refreshed.
44196 2012-05-27  David S. Miller  <davem@davemloft.net>
44198         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44199         (___Q_zero): New.
44200         (__Q_simulate_exceptions): Return void.  Change to simulate
44201         exceptions by writing into the %fsr.
44202         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44203         (__Qp_handle_exceptions): Likewise.
44204         (numbers): Delete.
44205         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44206         __Qp_handle_exceptions.
44207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44208         __Qp_handle_exceptions.
44209         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44210         as unused and give dummy FP_RND_NEAREST initializer.
44211         (FP_INHIBIT_RESULTS): Define.
44212         (___Q_simulate_exceptions): Update declaration.
44213         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44214         formatting.
44215         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44216         as unused and give dummy FP_RND_NEAREST initializer.
44217         (__Qp_handle_exceptions): Update declaration.
44218         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44219         formatting.
44221 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
44223         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44224         the temporary FPU control word.
44225         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44226         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44227         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44228         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44229         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44230         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44231         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44232         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44233         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44234         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44235         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44237 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44239         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44240         fields.
44242 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
44244         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44245         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44246         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44247         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44248         Likewise.
44249         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44250         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44251         Likewise.
44253 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
44255         * po/h.po: Update from translation team.
44257 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
44259         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44261         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44262         handling of denormals.
44263         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44264         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44265         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44266         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44267         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44268         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44269         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44270         Likewise.
44272 2012-05-26  Marek Polacek  <polacek@redhat.com>
44274         [BZ #14152]
44275         * math/libm-test.inc (fma_test): Don't always expect underflow
44276         exception.
44278 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44280         [BZ #12416]
44281         * elf/tst-execstack.c: Include stackinfo.h.
44282         (do_test): Adjust test case to ensure that pthread_getattr_np
44283         behaviour remains the same after marking stack executable.
44285 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44287         * sysdeps/unix/sysv/linux/kernel-features.h
44288         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44289         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44290         kernel-features.h.
44291         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44292         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44293         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44294         kernel-features.h.
44295         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44296         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44298 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
44300         * configure.in: Define the default includes to being none.
44301         * configure: Regenerated.
44303 2012-05-25  Roland McGrath  <roland@hack.frob.com>
44305         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44306         * sysdeps/x86_64/setjmp.S: Likewise.
44307         * sysdeps/i386/bsd-setjmp.S: Likewise.
44308         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44309         * sysdeps/i386/setjmp.S: Likewise.
44310         * sysdeps/i386/__longjmp.S: Likewise.
44311         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44312         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44314         * include/stap-probe.h: New file.
44315         * configure.in: Handle --enable-systemtap.
44316         * configure: Regenerated.
44317         * config.h.in (USE_STAP_PROBE): New #undef.
44318         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44319         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44320         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44322 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44324         [BZ #13717]
44325         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44326         to 2.4.0 where earlier.
44327         * sysdeps/unix/sysv/linux/configure: Regenerated.
44328         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44329         <kernel-features.h>.
44330         [__ASSUME_32BITUIDS]: Make code unconditional.
44331         [!__ASSUME_32BITUIDS]: Remove conditional code.
44332         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44333         <kernel-features.h>.
44334         [__ASSUME_32BITUIDS]: Make code unconditional.
44335         [!__ASSUME_32BITUIDS]: Remove conditional code.
44336         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44337         [__ASSUME_32BITUIDS]: Make code unconditional.
44338         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44339         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44340         <kernel-features.h>.
44341         [__ASSUME_32BITUIDS]: Make code unconditional.
44342         [!__ASSUME_32BITUIDS]: Remove conditional code.
44343         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44344         <kernel-features.h>.
44345         [__ASSUME_32BITUIDS]: Make code unconditional.
44346         [!__ASSUME_32BITUIDS]: Remove conditional code.
44347         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44348         <kernel-features.h>.
44349         [__ASSUME_32BITUIDS]: Make code unconditional.
44350         [!__ASSUME_32BITUIDS]: Remove conditional code.
44351         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44352         <kernel-features.h>.
44353         [__ASSUME_32BITUIDS]: Make code unconditional.
44354         [!__ASSUME_32BITUIDS]: Remove conditional code.
44355         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44356         <kernel-features.h>.
44357         [__ASSUME_32BITUIDS]: Make code unconditional.
44358         [!__ASSUME_32BITUIDS]: Remove conditional code.
44359         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44360         <kernel-features.h>.
44361         [__ASSUME_32BITUIDS]: Make code unconditional.
44362         [!__ASSUME_32BITUIDS]: Remove conditional code.
44363         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44364         <kernel-features.h>.
44365         [__ASSUME_32BITUIDS]: Make code unconditional.
44366         [!__ASSUME_32BITUIDS]: Remove conditional code.
44367         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44368         <kernel-features.h>.
44369         [__ASSUME_32BITUIDS]: Make code unconditional.
44370         [!__ASSUME_32BITUIDS]: Remove conditional code.
44371         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44372         <kernel-features.h>.
44373         [__ASSUME_32BITUIDS]: Make code unconditional.
44374         [!__ASSUME_32BITUIDS]: Remove conditional code.
44375         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44376         <kernel-features.h>.
44377         [__ASSUME_32BITUIDS]: Make code unconditional.
44378         [!__ASSUME_32BITUIDS]: Remove conditional code.
44379         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44380         <kernel-features.h>.
44381         [__NR_setresgid] (__setresgid): Do not declare.
44382         [__ASSUME_32BITUIDS]: Make code unconditional.
44383         [!__ASSUME_32BITUIDS]: Remove conditional code.
44384         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44385         <kernel-features.h>.
44386         [__NR_setresuid] (__setresuid): Do not declare.
44387         [__ASSUME_32BITUIDS]: Make code unconditional.
44388         [!__ASSUME_32BITUIDS]: Remove conditional code.
44389         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44390         <kernel-features.h>.
44391         [__ASSUME_32BITUIDS]: Make code unconditional.
44392         [!__ASSUME_32BITUIDS]: Remove conditional code.
44393         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44394         <kernel-features.h>.
44395         [__ASSUME_32BITUIDS]: Make code unconditional.
44396         [!__ASSUME_32BITUIDS]: Remove conditional code.
44397         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44398         <kernel-features.h>.
44399         [__ASSUME_32BITUIDS]: Make code unconditional.
44400         [!__ASSUME_32BITUIDS]: Remove conditional code.
44401         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44402         <kernel-features.h>.
44403         [__ASSUME_32BITUIDS]: Make code unconditional.
44404         [!__ASSUME_32BITUIDS]: Remove conditional code.
44405         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44406         <kernel-features.h>.
44407         [__ASSUME_32BITUIDS]: Make code unconditional.
44408         [!__ASSUME_32BITUIDS]: Remove conditional code.
44409         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44410         <kernel-features.h>.
44411         [__ASSUME_32BITUIDS]: Make code unconditional.
44412         [!__ASSUME_32BITUIDS]: Remove conditional code.
44413         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44414         <kernel-features.h>.
44415         [__ASSUME_32BITUIDS]: Make code unconditional.
44416         [!__ASSUME_32BITUIDS]: Remove conditional code.
44417         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44418         <kernel-features.h>.
44419         [__ASSUME_32BITUIDS]: Make code unconditional.
44420         [!__ASSUME_32BITUIDS]: Remove conditional code.
44421         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44422         <kernel-features.h>.
44423         [__ASSUME_32BITUIDS]: Make code unconditional.
44424         [!__ASSUME_32BITUIDS]: Remove conditional code.
44425         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44426         <kernel-features.h>.
44427         [__ASSUME_32BITUIDS]: Make code unconditional.
44428         [!__ASSUME_32BITUIDS]: Remove conditional code.
44429         * sysdeps/unix/sysv/linux/kernel-features.h
44430         (__ASSUME_SETRESUID_SYSCALL): Remove.
44431         (__ASSUME_SETRESGID_SYSCALL): Likewise.
44432         (__ASSUME_32BITUIDS): Likewise.
44433         (__ASSUME_LDT_WORKS): Likewise.
44434         (__ASSUME_O_DIRECTORY): Likewise.
44435         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44436         architecture but not kernel version.
44437         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44438         (__ASSUME_MMAP2_SYSCALL): Likewise.
44439         (__ASSUME_STAT64_SYSCALL): Likewise.
44440         (__ASSUME_IPC64): Likewise.
44441         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44442         <kernel-features.h>.
44443         [__ASSUME_32BITUIDS]: Make code unconditional.
44444         [!__ASSUME_32BITUIDS]: Remove conditional code.
44445         * sysdeps/unix/sysv/linux/opendir.c: Do not include
44446         <kernel-features.h>.
44447         [__ASSUME_O_DIRECTORY]: Make code unconditional.
44448         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44449         132096]: Remove conditional code.
44450         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44451         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44452         <kernel-features.h>.
44453         [__ASSUME_32BITUIDS]: Make code unconditional.
44454         [!__ASSUME_32BITUIDS]: Remove conditional code.
44455         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44456         <kernel-features.h>.
44457         [__ASSUME_32BITUIDS]: Make code unconditional.
44458         [!__ASSUME_32BITUIDS]: Remove conditional code.
44459         * sysdeps/unix/sysv/linux/setegid.c: Do not include
44460         <kernel-features.h>.
44461         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44462         unconditional.
44463         (__setresgid): Do not declare.
44464         [__ASSUME_32BITUIDS]: Make code unconditional.
44465         [!__ASSUME_32BITUIDS]: Remove conditional code.
44466         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44467         <kernel-features.h>.
44468         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44469         unconditional.
44470         (__setresuid): Do not declare.
44471         [__ASSUME_32BITUIDS]: Make code unconditional.
44472         [!__ASSUME_32BITUIDS]: Remove conditional code.
44473         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44474         <kernel-features.h>.
44475         [__ASSUME_32BITUIDS]: Make code unconditional.
44476         [!__ASSUME_32BITUIDS]: Remove conditional code.
44477         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44478         <kernel-features.h>.
44479         [__ASSUME_32BITUIDS]: Make code unconditional.
44480         [!__ASSUME_32BITUIDS]: Remove conditional code.
44482 2012-05-25  Richard Henderson  <rth@twiddle.net>
44484         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44485         dl_hwcap to ifunc resolver.
44486         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44487         elf_ifunc_invoke.
44488         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44489         dl_hwcap to ifunc resolver.
44490         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44492 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44494         [BZ #14153]
44495         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44496         for |x| <= 2**-26, not 2**-57.
44497         * math/libm-test.inc (acos_test): Do not allow spurious underflow
44498         exception.
44500 2012-05-24  Jeff Law  <law@redhat.com>
44502         * stdio-common/Makefile (tests): Add bug25.
44503         * stdio-common/bug25.c: New test.
44505 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44507         [BZ #13576]
44508         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44509         multiple of MALLOC_ALIGNMENT in size.
44510         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44512 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44514         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44515         Require >= 256.
44516         (FILENAME_MAX): Use macro-int-constant.
44517         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
44518         (_IOFBF): Use macro-int-constant.
44519         (_IOLBF): Likewise.
44520         (_IONBF): Likewise.
44521         (SEEK_CUR): Likewise.
44522         (SEEK_END): Likewise.
44523         (SEEK_SET): Likewise.
44524         (TMP_MAX): Likewise.
44525         (EOF): Use macro-int-constant.  Require < 0.
44526         (NULL): Use macro-constant.  Require == 0.
44527         (stdin): Require type to be FILE *.
44528         (stdout): Likewise.
44529         (stderr): Likewise.
44530         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44531         macro-int-constant.
44532         (EXIT_SUCCESS): Likewise.
44533         (NULL): Use macro-constant.  Require == 0.
44534         (RAND_MAX): Use macro-int-constant.
44535         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44536         [C99-based standards] (strtof): Require function.
44537         [C99-based standards] (strtold): Likewise.
44538         [C99-based standards] (strtoll): Likewise.
44539         [C99-based standards] (strtoull): Likewise.
44540         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44541         [ISO || ISO99 || ISO11] (limits.h): Likewise.
44542         [ISO || ISO99 || ISO11] (math.h): Likewise.
44543         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44544         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44545         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44547 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
44549         [BZ #14132]
44550         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44551         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44552         * intl/dgettext.c (DCGETTEXT): Likewise.
44553         * intl/gettext.c (DCGETTEXT): Likewise.
44554         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44555         * posix/regex_internal.h (gettext): Likewise.
44556         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44557         Remove declaration.
44558         * include/argz.h (__argz_count_internal)
44559         (__argz_stringify_internal): Remove declaration.
44560         (__argz_count, __argz_stringify): Declare hidden proto.
44561         * intl/dcgettext.c: Remove use of INTDEF.
44562         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44563         * string/argz-stringify.c: Likewise.
44564         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44565         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44566         Declare hidden proto.
44567         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44568         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44569         Declare hidden proto.
44570         * include/stdio.h (__asprintf_internal): Don't declare.
44571         (__asprintf): Don't define as macro.  Declare hidden proto.
44572         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44573         (__fsetlocking): Declare hidden proto.
44574         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44575         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44576         hidden proto.
44577         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44578         (_IO_setlinebuf): Remove use of INTUSE.
44579         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44580         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44581         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44582         Remove declaration.
44583         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44584         (_IO_do_flush): Remove use of INTUSE.
44585         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44586         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44587         (_IO_adjust_column, _IO_least_wmarker)
44588         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44589         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44590         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44591         (_IO_default_doallocate, _IO_wdefault_doallocate)
44592         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44593         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44594         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44595         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44596         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44597         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44598         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44599         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44600         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44601         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44602         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44603         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44604         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44605         proto.
44606         (_IO_flush_all_internal, _IO_adjust_column_internal)
44607         (_IO_default_uflow_internal, _IO_default_finish_internal)
44608         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44609         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44610         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44611         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44612         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44613         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44614         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44615         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44616         (_IO_file_close_internal, _IO_file_close_it_internal)
44617         (_IO_file_underflow_internal, _IO_file_overflow_internal)
44618         (_IO_file_init_internal, _IO_file_attach_internal)
44619         (_IO_file_fopen_internal, _IO_file_read_internal)
44620         (_IO_file_sync_internal, _IO_file_seek_internal)
44621         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44622         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44623         (_IO_str_underflow_internal, _IO_str_overflow_internal)
44624         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44625         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44626         (_IO_list_all_internal, _IO_link_in_internal)
44627         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44628         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44629         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44630         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44631         (_IO_do_write_internal, _IO_padn_internal)
44632         (_IO_getline_info_internal, _IO_getline_internal)
44633         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44634         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44635         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44636         (_IO_vfscanf_internal, _IO_vfprintf_internal)
44637         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44638         (_IO_init_internal, _IO_un_link_internal): Don't declare.
44639         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44640         with libc_hidden_ver, remove use of INTUSE.
44641         * libio/genops.c: Likewise.
44642         * libio/freopen.c: Likewise.
44643         * libio/freopen64.c: Likewise.
44644         * libio/iofclose.c: Likewise.
44645         * libio/iofdopen.c: Likewise.
44646         * libio/iofflush.c: Likewise.
44647         * libio/iofflush_u.c: Likewise.
44648         * libio/iofgets.c: Likewise.
44649         * libio/iofgets_u.c: Likewise.
44650         * libio/iofopen.c: Likewise.
44651         * libio/iofopncook.c: Likewise.
44652         * libio/iofread.c: Likewise.
44653         * libio/iofread_u.c: Likewise.
44654         * libio/ioftell.c: Likewise.
44655         * libio/iofwrite.c: Likewise.
44656         * libio/iogetline.c: Likewise.
44657         * libio/iogets.c: Likewise.
44658         * libio/iogetwline.c: Likewise.
44659         * libio/iopadn.c: Likewise.
44660         * libio/iopopen.c: Likewise.
44661         * libio/ioseekoff.c: Likewise.
44662         * libio/ioseekpos.c: Likewise.
44663         * libio/iosetbuffer.c: Likewise.
44664         * libio/iosetvbuf.c: Likewise.
44665         * libio/ioungetc.c: Likewise.
44666         * libio/ioungetwc.c: Likewise.
44667         * libio/iovdprintf.c: Likewise.
44668         * libio/iovsprintf.c: Likewise.
44669         * libio/iovsscanf.c: Likewise.
44670         * libio/memstream.c: Likewise.
44671         * libio/obprintf.c: Likewise.
44672         * libio/oldfileops.c: Likewise.
44673         * libio/oldiofclose.c: Likewise.
44674         * libio/oldiofdopen.c: Likewise.
44675         * libio/oldiofopen.c: Likewise.
44676         * libio/oldiopopen.c: Likewise.
44677         * libio/oldstdfiles.c: Likewise.
44678         * libio/putc.c: Likewise.
44679         * libio/setbuf.c: Likewise.
44680         * libio/setlinebuf.c: Likewise.
44681         * libio/stdfiles.c: Likewise.
44682         * libio/strops.c: Likewise.
44683         * libio/vasprintf.c: Likewise.
44684         * libio/vscanf.c: Likewise.
44685         * libio/vsnprintf.c: Likewise.
44686         * libio/vswprintf.c: Likewise.
44687         * libio/wfiledoalloc.c: Likewise.
44688         * libio/wfileops.c: Likewise.
44689         * libio/wgenops.c: Likewise.
44690         * libio/wmemstream.c: Likewise.
44691         * libio/wstrops.c: Likewise.
44692         * libio/__fpurge.c: Likewise.
44693         * libio/__fsetlocking.c: Likewise.
44694         * assert/assert.c: Likewise.
44695         * debug/fgets_chk.c: Likewise.
44696         * debug/fgets_u_chk.c: Likewise.
44697         * debug/fread_chk.c: Likewise.
44698         * debug/fread_u_chk.c: Likewise.
44699         * debug/gets_chk.c: Likewise.
44700         * debug/obprintf_chk.c: Likewise.
44701         * debug/vasprintf_chk.c: Likewise.
44702         * debug/vdprintf_chk.c: Likewise.
44703         * debug/vsnprintf_chk.c: Likewise.
44704         * debug/vsprintf_chk.c: Likewise.
44705         * malloc/mtrace.c: Likewise.
44706         * misc/error.c: Likewise.
44707         * misc/syslog.c: Likewise.
44708         * stdio-common/asprintf.c: Likewise.
44709         * stdio-common/fxprintf.c: Likewise.
44710         * stdio-common/getw.c: Likewise.
44711         * stdio-common/isoc99_fscanf.c: Likewise.
44712         * stdio-common/isoc99_scanf.c: Likewise.
44713         * stdio-common/isoc99_vfscanf.c: Likewise.
44714         * stdio-common/isoc99_vscanf.c: Likewise.
44715         * stdio-common/isoc99_vsscanf.c: Likewise.
44716         * stdio-common/printf-prs.c: Likewise.
44717         * stdio-common/printf_fp.c: Likewise.
44718         * stdio-common/printf_fphex.c: Likewise.
44719         * stdio-common/printf_size.c: Likewise.
44720         * stdio-common/putw.c: Likewise.
44721         * stdio-common/scanf.c: Likewise.
44722         * stdio-common/sprintf.c: Likewise.
44723         * stdio-common/tmpfile.c: Likewise.
44724         * stdio-common/vfprintf.c: Likewise.
44725         * stdio-common/vfscanf.c: Likewise.
44726         * stdlib/strfmon_l.c: Likewise.
44727         * sunrpc/openchild.c: Likewise.
44728         * sunrpc/xdr_stdio.c: Likewise.
44729         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44730         * sysdeps/mach/hurd/tmpfile.c: Likewise.
44732 2012-05-24  Roland McGrath  <roland@hack.frob.com>
44734         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44736         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44737         in the third column, to generate for the shared library an IFUNC
44738         that uses _dl_vdso_vsym.
44739         * Makerules (COMPILE.c, compile-stdin.c): New variables.
44740         * Makeconfig (object-suffixes-noshared): New variable.
44742         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44743         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44744         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44745         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44747         [BZ #14132]
44748         * include/sys/time.h (__gettimeofday): Remove macro.
44749         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44750         * time/gettimeofday.c (__gettimeofday): Remove #undef.
44751         Remove INTDEF.
44752         (__gettimeofday): Add libc_hidden_def.
44753         (gettimeofday): Add libc_hidden_weak.
44754         * sysdeps/mach/gettimeofday.c: Likewise.
44755         * sysdeps/posix/gettimeofday.c: Likewise.
44756         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44757         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44759         (__gettimeofday_internal): Remove strong_alias.
44760         (__gettimeofday): Add libc_hidden_def.
44761         (gettimeofday): Add libc_hidden_weak.
44762         * sysdeps/unix/syscalls.list (gettimeofday):
44763         Remove __gettimeofday_internal alias.
44765 2012-05-24  Daniel Jacobowitz  <drow@false.org>
44766             H.J. Lu  <hongjiu.lu@intel.com>
44768         [BZ #12495]
44769         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44770         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44771         (largebin_index_32_big): New.
44772         (largebin_index): Use it for 16-byte alignment.
44773         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
44774         correction with front_misalign.
44776 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44780         Likewise.
44781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44782         Likewise.
44783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44784         Likewise.
44785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44786         Likewise.
44787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44788         Likewise.
44789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44790         Likewise.
44791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44792         Likewise.
44793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44794         Likewise.
44795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44796         Likewise.
44797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44798         Likewise.
44799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44800         Likewise.
44801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44802         Likewise.
44804         * scripts/data/c++-types-x32-linux-gnu.data: New file.
44805         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44807 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44809         [BZ #10846]
44810         [BZ #14036]
44811         * math/libm-test.inc (exp_test): Add test from bug 14036.
44812         (pow_test): Add test from bug 10846.
44814         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44815         and other flags.
44816         (special_function): Do not include flags in test name.
44817         (parse_args): Likewise.
44818         * sysdeps/i386/fpu/libm-test-ulps: Update.
44819         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44820         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44821         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44824         * math/gen-libm-test.pl (%beautify): Add entries for underflow
44825         exceptions.
44826         * math/libm-test.inc ("Philosophy"): Update comment about
44827         exception testing.
44828         (UNDERFLOW_EXCEPTION): New macro.
44829         (UNDERFLOW_EXCEPTION_OK): Likewise.
44830         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44831         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44832         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44833         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44834         (INVALID_EXCEPTION_OK): Update value.
44835         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44836         (OVERFLOW_EXCEPTION_OK): Likewise.
44837         (IGNORE_ZERO_INF_SIGN): Likewise.
44838         (test_exceptions): Handle underflow exceptions.
44839         (acos_test): Update for underflow exception expectations.
44840         (cexp_test): Likewise.
44841         (clog_test): Likewise.
44842         (clog10_test): Likewise.
44843         (csqrt_test): Likewise.
44844         (ctan_test): Likewise.
44845         (ctanh_test): Likewise.
44846         (exp_test): Likewise.
44847         (exp10_test): Likewise.
44848         (exp2_test): Likewise.
44849         (expm1_test): Likewise.
44850         (fma_test): Likewise.
44851         (j0_test): Likewise.
44852         (jn_test): Likewise.
44853         (nexttoward_test): Likewise.
44854         (pow_test): Likewise.
44855         (scalbn_test): Likewise.
44856         (scalbln_test): Likewise.
44857         (tan_test): Likewise.
44858         (y1_test): Likewise.
44859         * sysdeps/i386/fpu/libm-test-ulps: Update.
44860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44862 2012-05-23  David S. Miller  <davem@davemloft.net>
44864         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44865         (__libc_sigaction): Remove unused local variables.
44867 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44869         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44871 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
44873         mktime: avoid signed integer overflow
44874         * time/mktime.c (__mktime_internal): Do not mishandle the case
44875         where diff == INT_MIN.
44877         mktime: simplify computation of average
44878         * time/mktime.c (ranged_convert): Use new time_t_avg function
44879         instead of rolling our own (probably-slower) code.
44881         mktime: do not assume signed right shift propagates sign bit
44882         * time/mktime.c (isdst_differ): New static function.
44883         (__mktime_internal): No need to normalize tm_isdst now.
44884         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44885         tm_isdst values.
44887         mktime: merge another wrapv change from gnulib
44888         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44889         from some compilers.
44891         mktime: remove incorrect attempt at unusual arithmetics
44892         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44893         The code didn't really work on such machines anyway.
44894         (TYPE_MINIMUM): Assume two's complement.
44895         (twos_complement_arithmetic): Verify that long_int and time_t
44896         are two's complement (or unsigned, in the latter case).
44898         mktime: check signed shifts on long_int and time_t, too
44899         * time/mktime.c (SHR): Check that shifts work as desired
44900         on the types long_int and time_t too, as SHR is used on
44901         such types.
44903         mktime: do not assume 'long' is wide enough
44904         * time/mktime.c (verify): Move decl up.
44905         (long_int): New type.
44906         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44907         to remove assumption in the code that 'long' is wide enough to
44908         store year values.  This assumption is not true on x32 and on
44909         some non-glibc platforms.
44911         mktime: merge wrapv change from gnulib
44912         * time/mktime.c (WRAPV): New macro.
44913         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44914         (guess_time_tm, __mktime_internal): Do not assume that signed
44915         integer overflow wraps around; modern compilers generate code
44916         where this assumption is no longer valid.
44918 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44920         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44921         Replace "jmp L(pseudo_end)" with "ret".
44922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44923         Likewise.
44925 2012-05-23  Andreas Jaeger  <aj@suse.de>
44927         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44928         * sysdeps/unix/sysv/linux/poll.c: Remove file.
44930 2012-05-23  Andreas Jaeger  <aj@suse.de>
44931             Maximilian Attems  <max@stro.at>
44933         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44934         New macros.
44936 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44938         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44939         code so that pseudo_end is just ret and the stack pointer is
44940         correct also for static library in error case.
44942 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
44944         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44945         move to syscalls.list.
44946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44951         * manual/install.texi (Running make install): Do not mention Linux
44952         kernel version for which pt_chown is not needed.
44953         (Linux): Do not mention problems with nscd with 2.0 kernels.
44954         * INSTALL: Regenerated.
44956 2012-05-23  Andreas Jaeger  <aj@suse.de>
44958         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44959         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44960         macro.
44961         * sysdeps/unix/sysv/linux/s390/bits/mman.h
44962         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44963         * sysdeps/unix/sysv/linux/sh/bits/mman.h
44964         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44965         * sysdeps/unix/sysv/linux/i386/bits/mman.h
44966         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44967         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44968         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44969         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44970         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44971         * sysdeps/unix/sysv/linux/bits/in.h
44972         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44974 2012-05-22  Roland McGrath  <roland@hack.frob.com>
44976         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44977         (PREPARE_VERSION): Just use assert instead, it will be elided
44978         under [NDEBUG] anyway.
44980 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44982         * sysdeps/unix/sysv/linux/Makefile: Include
44983         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44984         (sysdep_routines): Remove sysctl.
44985         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44986         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44987         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44988         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44989         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44991 2012-05-22  Andreas Jaeger  <aj@suse.de>
44993         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44994         that pseudo_end is just ret and the stack pointer is correct also
44995         for static library in error case.
44997 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
44999         [BZ #14122]
45000         * nss/nsswitch.c (defconfig_entries): New variable.
45001         (__nss_database_lookup): Don't leak defconfig entries.
45002         (nss_parse_service_list): Don't leak on error paths.
45003         (free_database_entries): New function.
45004         (free_defconfig): New function.
45005         (free_mem): Move common code to free_database_entries.
45007 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45009         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45010         Add arch_prctl.
45011         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45013         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45014         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45015         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45016         New macro.
45017         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45018         (INTERNAL_SYSCALL_TYPES): Likewise.
45019         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45020         (LOAD_REGS_TYPES_[1-6]): Likewise.
45021         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45022         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45024 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45026         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45027         copysignl for GLIBC_2_0.
45028         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45029         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45031         logbl for GLIBC_2_0.
45032         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45033         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45035 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45037         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45038         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45040         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45041         Use "neg %eax".
45043         * time/mktime.c: Update copyright years.
45045 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45047         mktime: merge comment-quoting-style change from gnulib
45048         * time/mktime.c: Quote 'like this' in comments.
45049         The GNU coding standards suggest that we no longer quote `like this',
45050         as "`" and "'" are typically rendered asymmetrically nowadays.
45051         The typical gnulib style is to quote 'like this' when quoting
45052         code, and "like this" when quoting English.
45054         * time/mktime.c (compile-command): Add "-I.".
45056         mktime: merge mktime-internal.h change from gnulib
45057         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45059         mktime: merge time_r change from gnulib
45060         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45062         mktime: merge DEBUG change from gnulib
45063         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45064         case system <time.h> has a #define.
45066         mktime: merge <sys/types.h> change from gnulib
45067         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45068         since <time.t> is now guaranteed to define time_t.
45070         mktime: merge HAVE_CONFIG_H change from gnulib
45071         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45073 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45075         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45076         Use "neg %eax".
45078         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45079         __rlim_t cast.
45080         (struct rusage): Use anonymous union to pad each field to
45081         __syscall_slong_t.
45083 2012-05-21  David S. Miller  <davem@davemloft.net>
45085         * Makefules (o-iterator): Remove .s cases.
45086         (compile-command.s): Delete.
45087         (COMPILE.s): Delete.
45088         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45090 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
45092         * configure.in (libc_cv_predef_stack_protector): Only consider
45093         "foobar" and "__stack_chk_fail" lines in libc_undefs.
45094         * configure: Regenerated.
45096 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45098         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45099         New macro.  Use R*LP on int and pointer.
45100         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45101         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45102         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45103         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45105         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45106         [__WORDSIZE_TIME64_COMPAT32] instead of
45107         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45108         (struct utmp): Likewise.
45109         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45110         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45111         Renamed to ...
45112         (__WORDSIZE_TIME64_COMPAT32): This.
45113         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45114         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45115         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45116         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45117         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45118         (__WORDSIZE_TIME64_COMPAT32): New macro.
45120 2012-05-21  Andreas Jaeger  <aj@suse.de>
45122         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45123         only if [SHARED]. Add prototype for __wcschr_ia32.
45125 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45127         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45128         of %rbp unmolested in the jmp_buf while mangling the low bits.
45129         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45130         unmolested high bits of %rbp while demangling the low bits.
45131         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45133 2012-05-21  Andreas Jaeger  <aj@suse.de>
45135         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45136         * sunrpc/svc_simple.c: Use it for registerrpc.
45137         * sunrpc/xcrypt.c: Use it for passwd2des.
45139         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45141 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45143         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45144         Don't define if [__SYSCALL_WORDSIZE != 32].
45145         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45146         New macro.
45148 2012-05-21  Bruno Haible  <bruno@clisp.org>
45149             Andreas Jaeger  <aj@suse.de>
45151         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45152         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45153         inptr and inend for must_buffer_ch.
45154         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45155         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45156         * stdio-common/Makefile (tests): Remove bug15.
45157         (bug15-ENV): Remove macro.
45158         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45159         anymore.
45161 2012-05-19  Andreas Jaeger  <aj@suse.de>
45162             Roland McGrath  <roland@hack.frob.com>
45164         * manual/contrib.texi: Completely rewritten. It contains now an
45165         alphabetical list of contributors and their contributions.
45167 2012-05-21  Richard Henderson  <rth@twiddle.net>
45169         * misc/getauxval.c (__getauxval): Use unsigned long int.
45170         * misc/sys/auxv.h: Include <sys/cdefs.h>.
45171         (getauxval): Use unsigned long int.
45173 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45175         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45177 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45179         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45180         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45181         __alignof__ (long double).
45183 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45187 2012-05-20  Richard Henderson  <rth@twiddle.net>
45189         * misc/getauxval.c: New file.
45190         * misc/sys/auxv.h: New file.
45191         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45192         (routines): Add getauxval.
45193         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45194         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45195         * elf/dl-sysdep.c (_dl_auxv): Remove.
45196         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45197         * elf/dl-support.c (_dl_auxv): New variable.
45198         (_dl_aux_init): Initialize it.
45199         * manual/startup.texi (Auxiliary Vector): New node.
45200         * sysdeps/generic/bits/hwcap.h: New file.
45201         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45202         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
45203         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45204         * sysdeps/sparc/sysdep.h: ... here.  Include it.
45205         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45206         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45208         Update.
45209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45212         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45218 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45222 2012-05-19  David S. Miller  <davem@davemloft.net>
45224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45226 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45228         [BZ #14123]
45229         * math/s_ccosh.c: Include <float.h>
45230         (__ccosh): Avoid internal overflow calculating sinh and cosh
45231         values before multiplying by sin and cos values.
45232         * math/s_ccoshf.c: Likewise.
45233         * math/s_ccoshl.c: Likewise.
45234         * math/s_csin.c: Likewise.
45235         * math/s_csinf.c: Likewise.
45236         * math/s_csinl.c: Likewise.
45237         * math/s_csinh.c: Likewise.
45238         * math/s_csinhf.c: Likewise.
45239         * math/s_csinhl.c: Likewise.
45240         * math/libm-test.inc (ccos_test): Add more tests.
45241         (ccosh_test): Likewise.
45242         (csin_test): Likewise.
45243         (csinh_test): Likewise.
45244         * sysdeps/i386/fpu/libm-test-ulps: Update.
45245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45247 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
45249         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45250         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45252         * sysdeps/x86_64/x32/_itoa.h: Add comment.
45254 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45256         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45257         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45258         * sysdeps/powerpc/soft-fp/Versions: Likewise.
45259         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45260         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45261         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45262         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45263         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45264         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45265         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45266         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45267         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45268         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45269         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45270         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45271         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45272         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45273         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45274         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45275         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45276         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45277         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45278         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45279         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45280         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45281         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45282         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45283         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45284         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45285         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45286         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45288 2012-05-18  Andreas Jaeger  <aj@suse.de>
45290         * csu/.gitignore: Delete.
45292 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45294         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45295         (timex): Use __syscall_slong_t.
45297 2012-05-18  Andreas Jaeger  <aj@suse.de>
45298             Carlos O'Donell  <carlos_odonell@mentor.com>
45300         * manual/install.texi (Configuring and compiling): Update
45301         description about files modified in the source directory.
45302         * INSTALL: Regenerated.
45304 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45306         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45307         value.  Use "or" to set return value to -1.
45308         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45309         negate return value.
45311 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45313         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45314         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45315         failure if the compiler has Graphite support disabled.
45316         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45317         Likewise.
45318         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45319         (CFLAGS-memmove.c): Likewise.
45320         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45321         Likewise.
45323 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45325         * sysdeps/x86_64/x32/_itoa.h: New file.
45327         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45328         getdents system call only if kernel and user dirents have the
45329         same d_ino and d_off.
45331         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45332         LLONG_MAX != LONG_MAX.
45333         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45334         (_fitoa_word): Likewise.
45336         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45337         years.
45338         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45339         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45340         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45342         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45343         include <bits/wordsize.h>.  Check __x86_64__ instead of
45344         __WORDSIZE.
45345         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45346         if __x86_64__ is defined.  Use anonymous union on fpstate.
45348         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45349         anonymous union.
45351 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
45353         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45354         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45355         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45356         Refer to _rtld_local_ro instead of _rtld_global_ro.
45357         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45358         Likewise.
45359         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45360         Likewise.
45361         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45362         Likewise.
45363         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45364         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45365         of _rtld_global, and rtld_progname instead of _dl_argv[0].
45367         * sysdeps/powerpc/powerpc32/dl-machine.c
45368         (__elf_machine_runtime_setup) [PROF]: Don't reference
45369         _dl_prof_resolve.
45371 2012-05-18  Andreas Jaeger  <aj@suse.de>
45373         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45374         function only available for GCCs before 3.4 since GCC 3.4
45375         introduced a builtin.
45376         (lrint): Likewise.
45377         (llrintf): Likewise.
45378         (llrint): Likewise.
45379         (fmaxf): Likewise.
45380         (fmax): Likewise.
45381         (fminf): Likewise.
45382         (fmin): Likewise.
45383         (rint): Likewise.
45384         (rintf): Likewise.
45385         (nearbyint): Likewise.
45386         (nearbyintf): Likewise.
45387         (ceil): Likewise.
45388         (ceilf): Likewise.
45389         (floor): Likewise.
45390         (floorf): Likewise.
45392 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45394         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45395         on both fields and cast pointer to __syscall_ulong_t.
45397         * bits/types.h (__fsword_t): New type.
45398         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45399         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45400         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45401         (__FSWORD_T_TYPE): Likewise.
45402         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45403         (__FSWORD_T_TYPE): Likewise.
45404         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45405         (__FSWORD_T_TYPE): Likewise.
45406         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45407         (__FSWORD_T_TYPE): Likewise.
45408         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45409         __SWORD_TYPE with __fsword_t.
45410         (statfs64): Likewise.
45412 2012-05-17  David S. Miller  <davem@davemloft.net>
45414         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45416 2012-05-17  Andreas Jaeger  <aj@suse.de>
45418         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45419         warning.
45421 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45423         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45425 2012-05-17  Andreas Jaeger  <aj@suse.de>
45427         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45428         when it is used.
45430 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45432         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45434 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45436         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45437         * sysdeps/x86_64/tst-mallocalign1.c: New file.
45439 2012-05-17  Andreas Jaeger  <aj@suse.de>
45440             Carlos O'Donell  <carlos_odonell@mentor.com>
45442         [BZ #14059]
45443         * sysdeps/x86_64/multiarch/init-arch.h
45444         (bit_YMM_Usable): Rename to...
45445         (bit_AVX_Usable): ... this.
45446         (bit_FMA4_Usable): New macro.
45447         (bit_XMM_state): New macro.
45448         (bit_YMM_state): New macro.
45449         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45450         [__ASSEMBLER__] (index_AVX_Usable): ... this.
45451         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45452         (CPUID_OSXSAVE): New macro.
45453         (CPUID_AVX): New macro.
45454         (CPUID_FMA4): New macro.
45455         (index_YMM_Usable): Rename to...
45456         (index_AVX_Usable): ... this.
45457         (HAS_AVX): Use HAS_ARCH_FEATURE.
45458         (HAS_FMA4): Likewise.
45459         (HAS_YMM_USABLE): Remove.
45460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45461         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45462         are present.
45463         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45464         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45465         * sysdeps/x86_64/multiarch/Makefile: Likewise.
45466         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45467         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45469 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45471         * math/libm-test.c: Support platforms without multiple rounding modes.
45472         * math/bug-nextafter.c: Support platforms without FP exceptions.
45473         * math/bug-nexttoward.c: Likewise.
45474         * math/test-fenv.c: Likewise.
45475         * math/test-misc.c: Likewise.
45476         * stdlib/bug-getcontext.c: Likewise.
45478 2012-05-17  Andreas Jaeger  <aj@suse.de>
45480         * manual/examples/search.c (critter_cmp): Change signature to
45481         avoid warnings.
45482         * manual/string.texi (Collation Functions): Likewise.
45484 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45486         * bits/types.h: Fold copyright years.
45487         * bits/typesizes.h: Likewise.
45488         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45489         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45490         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45491         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45492         * time/time.h: Likewise.
45494 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
45496         [BZ #208]
45497         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45498         in instead of returning them.  Return void.
45499         (__libc_mallinfo): Accumulate over all arenas.
45500         (__malloc_stats): Adjust for change in int_mallinfo interface.
45502 2012-05-16  Roland McGrath  <roland@hack.frob.com>
45504         [BZ #10375]
45505         * configure.in (NM): Add AC_CHECK_TOOL for it.
45506         (libc_extra_cflags): New substituted variable.
45507         Check for -fstack-protector being used implicitly.
45508         * configure: Regenerated.
45509         * config.make.in (config-extra-cflags): New variable,
45510         gets @libc_extra_cflags@.
45511         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45513         [BZ #10375]
45514         * configure.in: Check for _FORTIFY_SOURCE being predefined.
45515         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45516         * configure: Regenerated.
45517         * config.make.in (CPPUNDEFS): New substituted variable.
45518         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45519         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45520         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45522 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45524         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45525         (mq_attr): Use __syscall_slong_t.
45527 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45529         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45530         Check __x86_64__ instead of __WORDSIZE.
45531         (_STAT_VER_LINUX): Likewise.
45532         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
45533         __syscall_ulong_t and __syscall_slong_t.
45534         (stat64): Likewise.
45536 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45538         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45540 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45542         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45544 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45546         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45547         __syscall_ulong_t.
45549         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45550         include <bits/wordsize.h>.  Check __x86_64__ instead of
45551         __WORDSIZE.
45552         (greg_t): Use "__extension__ long long int" if __x86_64__ is
45553         defined.
45554         (mcontext_t): Replace "unsigned long" with "unsigned long long".
45556         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45557         include <bits/wordsize.h>.  Check __x86_64__ instead of
45558         __WORDSIZE.
45559         (user_regs_struct): Use "__extension__ unsigned long long"
45560         instead of "unsigned long" if __x86_64__ is defined.
45561         (user): Likewise.  Pad after pointer field if __ILP32__ is
45562         defined.
45564 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
45566         * configure.in (makeinfo): Require version 4.5 or later.  Allow
45567         versions 5 to 9.
45568         * configure: Regenerated.
45569         * manual/install.texi (texinfo): Increase version requirement to
45570         4.5 or later.
45571         * INSTALL: Regenerated.
45573         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45575 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45577         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45579         * sysdeps/x86_64/x32/ffs.c: New file.
45581         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45582         __syscall_ulong_t.
45583         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45584         defined.  Use __syscall_ulong_t.
45585         (shminfo): Use __syscall_ulong_t.
45586         (shm_info): Likewise.
45588         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45589         __syscall_ulong_t.
45591         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45592         <bits/wordsize.h>.
45593         (msgqnum_t): Use __syscall_ulong_t.
45594         (msglen_t): Likewise.
45595         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
45596         __syscall_ulong_t.
45598         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45599         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45601         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45603         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45604         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45606         * sysvipc/sys/msg.h (msgbuf): Replace long int with
45607         __syscall_slong_t.
45609         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45610         include <bits/wordsize.h>.  Check __x86_64__ instead of
45611         __WORDSIZE.
45613         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45614         "unsigned long long int" if __x86_64__ is defined.
45615         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45617         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45618         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45619         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45621         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45622         <stdint.h>.
45623         (GET_PC): Cast to uintptr_t first.
45624         (GET_FRAME): Likewise.
45625         (GET_STACK): Likewise.
45627         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45628         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45629         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45630         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45631         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45632         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45633         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45634         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45635         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45636         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45637         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45638         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45639         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45640         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45641         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45642         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45643         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45644         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45645         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45646         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45647         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45648         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45649         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45650         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45651         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45652         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45653         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45654         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45655         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45657 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
45659         * Makerules (+depfiles): Also collect depfiles from .oS in
45660         $(extra-objs).
45661         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45662         .oS, $(libnldbl-routines)).
45664         * Makerules (native-compile-mkdep-flags): Define.
45665         * sunrpc/Makefile (extra-objs): Add $(addprefix
45666         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45667         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45668         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
45669         calling $(make-target-directory).
45671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45673         * bits/types.h (__snseconds_t): Removed.
45674         * time/time.h (struct timespec): Replace __snseconds_t with
45675         __syscall_slong_t.
45676         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45677         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45678         Likewise.
45679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45680         (__SNSECONDS_T_TYPE): Likewise.
45681         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45682         (__SNSECONDS_T_TYPE): Likewise.
45683         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45684         (__SNSECONDS_T_TYPE): Likewise.
45686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45688         * sysdeps/mach/hurd/bits/typesizes.h
45689         (__SYSCALL_SLONG_TYPE): New macro.
45690         (__SYSCALL_ULONG_TYPE): Likewise.
45692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45694         * bits/types.h (__syscall_slong_t): New type.
45695         (__syscall_ulong_t): Likewise.
45697         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45698         (__SYSCALL_ULONG_TYPE): Likewise.
45699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45700         (__SYSCALL_SLONG_TYPE): Likewise.
45701         (__SYSCALL_ULONG_TYPE): Likewise.
45702         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45703         (__SYSCALL_SLONG_TYPE): Likewise.
45704         (__SYSCALL_ULONG_TYPE): Likewise.
45705         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45706         (__SYSCALL_SLONG_TYPE): Likewise.
45707         (__SYSCALL_ULONG_TYPE): Likewise.
45709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45711         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45712         Add sigaltstack-offsets.sym.
45713         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45714         <sigaltstack-offsets.h>.
45715         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
45716         longjmp_msg pointer.
45717         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
45718         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45719         signal stack.
45720         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45722 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
45724         * elf/stackguard-macros.h: Remove file.
45725         * sysdeps/generic/stackguard-macros.h: New file.
45726         * sysdeps/i386/stackguard-macros.h: Likewise.
45727         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45728         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45729         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45730         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45731         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45732         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45733         * sysdeps/x86_64/stackguard-macros.h: Likewise.
45734         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45735         <elf/stackguard-macros.h>.
45737         [BZ #14109]
45738         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45739         __aligned__ in attribute.
45740         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45741         (gregset_t): Likewise.
45743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45745         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45746         * sysdeps/x86_64/64/Implies-after: Here.  New file.
45747         * sysdeps/x86_64/x32/Implies-after: New file.
45749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45751         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45752         and access return value for _dl_profile_fixup.  Use R10_LP to
45753         load frame size.
45755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45757         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45759 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45761         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45762         * sysdeps/x86_64/x32/sysdep.h: New file.
45764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45766         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45767         * sysdeps/x86_64/setjmp.S: Likewise.
45769 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45771         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45772         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45773         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45774         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45775         remove unused global constant.
45777 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
45779         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45780         include of <not-cancel.h>.
45782 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45784         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45786 2012-05-15  Jeff Law  <law@redhat.com>
45787             Andreas Jaeger  <aj@suse.de>
45789         [BZ #13594]
45790         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45791         out from...
45792         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45793         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45794         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45795         code changing __hst_map_handle.map.
45797 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45799         * configure.in (sysnames): Look for Implies-before and Implies-after
45800         files.
45801         * configure: Regenerated.
45803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45805         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45806         8-byte data alignment with LP_SIZE alignment.
45808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45810         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45811         into R10_LP.
45813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45815         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45819         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45820         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45821         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45822         Likewise.
45823         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45827         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45828         (stackinfo_sub_sp): Likewise.
45830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45832         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45833         RAX_LP.
45835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45837         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45838         into R*_LP.
45840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45842         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45843         sizes into R*_LP.
45845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45847         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45851         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45852         into R11_LP and load __x86_64_shared_cache_size_half into
45853         R8_LP.
45855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45857         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45858         R8_LP.
45860 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45862         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45863         logb for POWER7.
45864         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45865         logbf for POWER7.
45866         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45867         logbl for POWER7.
45868         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45869         powerpc32/power7/fpu/s_logb.c via #include.
45870         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45871         powerpc32/power7/fpu/s_logbf.c via #include.
45872         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45873         powerpc32/power7/fpu/s_logbl.c via #include.
45875 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
45877         * README.libm: Remove file.
45879 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45881         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45882         count for x32.  Use R*_LP and omit operand-size suffix.
45884 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45886         * shlib-versions: Move x86_64-.*-linux.* entries to ...
45887         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
45888         * sysdeps/x86_64/x32/shlib-versions: New file.
45890 2012-05-14  Roland McGrath  <roland@hack.frob.com>
45892         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45893         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45894         Use _dl_fatal_printf instead.
45896 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
45898         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45899         set if not set by the user.  Do not allow for being unset.
45900         * sysdeps/unix/sysv/linux/configure: Regenerated.
45902 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45904         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45905         the `q' suffix from lea and replace .quad with ASM_ADDR.
45907 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45910         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
45911         instead of $17.
45912         (PTR_DEMANGLE): Likewise.
45914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45916         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45917         (LP_OP): Likewise.
45918         (ASM_ADDR): Likewise.
45919         (RAX_LP): Likewise.
45920         (RBP_LP): Likewise.
45921         (RBX_LP): Likewise.
45922         (RCX_LP): Likewise.
45923         (RDI_LP): Likewise.
45924         (RSI_LP): Likewise.
45925         (RSP_LP): Likewise.
45926         (R8_LP): Likewise.
45927         (R9_LP): Likewise.
45928         (R10_LP): Likewise.
45929         (R10_LP): Likewise.
45930         (R11_LP): Likewise.
45931         (R12_LP): Likewise.
45932         (R13_LP): Likewise.
45933         (R14_LP): Likewise.
45934         (R15_LP): Likewise.
45936 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45938         * sysdeps/x86_64/x32/dl-machine.h: New file.
45940 2012-05-14  Andreas Jaeger  <aj@suse.de>
45942         * manual/Makefile (subdir): Remove export of subdir.
45943         (all): Remove target.
45944         (.PHONY): Remove all from list.
45945         (mkinstalldirs): Remove.
45946         (.PHONY): Remove installdirs from list.
45947         ($(inst_infodir)/libc.info): Use make-target-directory.
45948         (installdirs): Remove.
45949         (subdir_%): Remove.
45950         (glibc-targets): Remove.
45951         (lib): Remove.
45952         (stubs): Remove.
45953         ($(objpfx)stubs ../po/manual.pot): Remove.
45954         ($(objpfx)stamp%): Remove.
45955         (make-target-directory): Remove.
45956         (subdir_install): Remove.
45957         (routines): Remove.
45958         (aux): Remove.
45959         (sources): Remove.
45960         (objects): Remove.
45961         (headers): Remove.
45963         [BZ #13750]
45964         * manual/.gitignore: Remove, it's not needed anymore.
45965         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45966         all files in it.
45967         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45968         directory.
45969         (texis): Renamed to $(objpfx)texis.
45970         (texis-path): New, contains path to generated files.
45971         (chapters.%): Use texis-path for complete path, add extra argument
45972         libc-texinfo.sh.
45973         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45974         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45975         (summary,texi, stamp-summary): Use complete path of
45976         files. Generate files in build dir.
45977         (dir-add.texi): Build in build dir.
45978         (libm-err.texi,stamp-libm-err): Likewise.
45979         (version.texi, stamp-version): Likewise.
45980         (.%c.texi): Likewise.
45981         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45982         (mostlyclean): Remove target.
45983         (realclean): Remove target.
45984         (generated): Add new variable with contents from mostlyclean and
45985         realclean, remove entries duplicated in common-mostlyclean, add
45986         stamp-libm-err and stamp-version.
45987         (generated-dirs): Add libc directory.
45988         ($(inst_infodir)/libc.info): Install files from build dir.
45990         * manual/install.texi (Configuring and compiling): Adjust since
45991         the info files are not part of the tar ball anymore.
45993 2012-05-14  Andreas Jaeger  <aj@suse.de>
45995         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45996         variable.
45998 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46000         [BZ #13717]
46001         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46002         to 2.2.0 where earlier.
46003         * sysdeps/unix/sysv/linux/configure: Regenerated.
46004         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46005         Remove conditional code.
46006         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46007         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46008         Remove conditional code.
46009         [!__NR_lchown]: Likewise.
46010         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46011         [__NR_lchown]: Likewise.
46012         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46013         comment referencing __ASSUME_LCHOWN_SYSCALL.
46014         * sysdeps/unix/sysv/linux/i386/sigaction.c
46015         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46016         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46017         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46018         Remove conditional code.
46019         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46020         (__protocol_available): Remove #if 0 code.
46021         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46022         conditional code.
46023         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46024         * sysdeps/unix/sysv/linux/kernel-features.h
46025         (__ASSUME_GETCWD_SYSCALL): Don't define.
46026         (__ASSUME_REALTIME_SIGNALS): Likewise.
46027         (__ASSUME_PREAD_SYSCALL): Likewise.
46028         (__ASSUME_PWRITE_SYSCALL): Likewise.
46029         (__ASSUME_POLL_SYSCALL): Likewise.
46030         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46031         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46032         non-SPARC.
46033         (__ASSUME_SIOCGIFNAME): Don't define.
46034         (__ASSUME_MSG_NOSIGNAL): Likewise.
46035         (__ASSUME_SENDFILE): Define unconditionally.
46036         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46037         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46038         conditional code.
46039         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46040         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46041         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46042         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46043         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46044         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46045         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46047         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46048         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46050         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46051         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46053         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46054         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46056         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46057         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46059         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46060         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46062         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46063         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46065         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46066         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46068         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46069         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46070         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46071         Remove conditional code.
46072         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46073         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46074         Remove conditional code.
46075         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46076         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46077         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46078         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46079         Remove conditional code.
46080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46081         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46082         Remove conditional code.
46083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46084         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46085         Remove conditional code.
46086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46087         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46088         Remove conditional code.
46089         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46090         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46091         Remove conditional code.
46092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46093         * sysdeps/unix/sysv/linux/sh/pwrite64.c
46094         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46095         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46096         * sysdeps/unix/sysv/linux/sigaction.c
46097         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46098         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46099         * sysdeps/unix/sysv/linux/sigpending.c
46100         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46101         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46102         * sysdeps/unix/sysv/linux/sigprocmask.c
46103         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46104         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46105         * sysdeps/unix/sysv/linux/sigsuspend.c
46106         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46107         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46108         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46109         (__libc_missing_rt_sigs): Remove.
46110         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46111         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46112         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46113         Remove conditional code.
46114         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46115         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46116         return 1.
46117         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46118         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46119         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46120         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46122 2012-05-14  Andreas Jaeger  <aj@suse.de>
46124         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46125         it's not used in glibc.
46126         (__coshm1): Likewise.
46127         (__acosh1p): Likewise.
46128         (__sgn): Likewise.
46130         * manual/string.texi (Copying and Concatenation): Add missing
46131         variable in concat example.
46132         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46134 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46136         [BZ #14103]
46137         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46138         __builtin_clzl with __builtin_clzll.
46140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46142         [BZ #14104]
46143         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46144         libc_freeres_ptr.
46146 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46148         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46149         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46150         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46151         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46153 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
46155         * NEWS: Update ia64 info.
46157 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
46159         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46160         used as bcopy.
46162 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
46164         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46165         * sysdeps/unix/syscalls.list (dup3): Likewise.
46166         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46167         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46169 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46171         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46172         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46174 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46176         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46177         thread pointer.
46178         (TLS_IE): Use mov/add instead of movq/addq to load thread
46179         pointer.
46180         (TLS_GD_PREFIX): New.
46181         (TLS_GD): Use it.
46183 2012-05-11  David S. Miller  <davem@davemloft.net>
46185         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46186         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46187         (_FPU_SETCW): Likewise.
46189 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46191         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46192         is 32-byte aligned.
46194 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
46196         [BZ #11837]
46197         * iconvdata/gb18030.c: Update tables.
46198         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
46199         characters specially.
46200         (BODY for TO_LOOP): Add encoding of missing ranges.
46202 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
46204         [BZ #13673]
46205         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46206         * sysdeps/mach/hurd/dup3.c: Likewise.
46207         * sysdeps/mach/hurd/readlinkat.c: Likewise.
46208         * sysdeps/powerpc/memmove.c:: Likewise.
46210 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46213         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46215 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46217         * elf/elf.h (R_X86_64_RELATIVE64): New.
46218         (R_X86_64_NUM): Updated.
46219         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46220         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
46221         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46222         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46223         tst-quad1pie tst-quad2pie
46224         (modules-names): Add tst-quadmod1 tst-quadmod2.
46225         ($(objpfx)tst-quad1): New dependency.
46226         ($(objpfx)tst-quad2): Likewise.
46227         ($(objpfx)tst-quad1pie): Likewise.
46228         ($(objpfx)tst-quad2pie): Likewise.
46229         * sysdeps/x86_64/tst-quad1.c: New file.
46230         * sysdeps/x86_64/tst-quad1pie.c: New file.
46231         * sysdeps/x86_64/tst-quad2.c: Likewise.
46232         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46233         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46234         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46235         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46236         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46238 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46240         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46241         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46242         * streams/stropts.h (t_scalar_t): Define type.
46244         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46245         (_PATH_PRESERVE): Set to "/var/lib".
46246         (_PATH_RWHODIR): Set to "/var/spool/rwho".
46248         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46249         instead of int.
46251         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46252         if __dir_mkfile succeeded.
46254         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46255         checking for _hurd_dtablesize.  Unlock it right after having
46256         finished _hurd_dtable allocation.
46258 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46260         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46261         * sysdeps/mach/hurd/configure: Regenerated.
46262         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46263         special-casing to...
46264         * sysdeps/gnu/configure.in: ... this new file.
46265         * sysdeps/unix/sysv/linux/configure: Regenerated.
46266         * sysdeps/gnu/configure: New generated file.
46268         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46269         for Linux: use nsec instead of usec, as well as:
46270         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46271         members of type struct timespec.
46272         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46273         New macros.
46274         (struct stat64): Likewise.
46275         (_STATBUF_ST_NSEC): New macro.
46276         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46278         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46279         __strtoul_internal rather than strtoul.
46281 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46283         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46284         and reject them.
46286 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46288         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46289         which preserves existing values.
46290         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46292 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46294         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46295         TIMEOUT values.  Return EINVAL for NFDS values either negative or
46296         greater than FD_SETSIZE.
46298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46300         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46301         allocated, call __vm_protect to finish enabling the existing space, and
46302         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46303         allocate the remainder.
46305 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46307         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46308         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
46310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46312         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46313         sysdeps/mach/hurd/readlink.c.
46315         * posix/tst-sysconf.c (posix_options): Only use
46316         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46317         _POSIX_SYNCHRONIZED_IO when they are defined
46318         * sysdeps/mach/hurd/bits/posix_opt.h:
46319         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46320         (_XOPEN_REALTIME): Undefine macro.
46321         (_XOPEN_REALTIME_THREADS): Undefine macro.
46322         (_XOPEN_SHM): Undefine macro.
46323         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46324         macro to -1.
46325         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46326         macro to -1.
46327         (_POSIX_ASYNC_IO): Undefine macro.
46328         (_POSIX_PRIORITIZED_IO): Undefine macro.
46329         (_POSIX_SPIN_LOCKS): Define macro to -1.
46331         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46332         SA_NODEFER, SA_RESETHAND.
46333         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46334         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46335         F_DUPFD_CLOEXEC.
46337 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46339         * elf/Makefile (pldd-modules): Define unconditionally.
46341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46343         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46347         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46348         Return ENOENT when name is empty.
46349         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46351 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46353         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46355         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46359         Fix mlock in all cases except non-readable pages.
46360         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46361         instead of VM_PROT_ALL as parameter to __vm_wire function.
46363         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46364         (__mkdir): When path is `/', just fail with EEXIST.
46365         * sysdeps/mach/hurd/mkdirat.c: Likewise.
46367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46369         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46370         <sys/uio.h> (for writev).
46371         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46372         and <sys/param.h> (for MIN).
46374 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46376         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46377         REQUESTED_TIME.  Properly set the remaining time and return EINTR
46378         if interrupted.
46380 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46382         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46383         Depend on against $(link-rpcuserlibs).
46385 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46387         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46388         (__libc_stack_end): Do not use attribute_relro.
46389         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46390         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46391         to libthread-provided value.
46392         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46393         attribute_relro.
46395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46397         [BZ #3748]
46398         * bits/libc-lock.h (__libc_once_get): New macro.
46399         * sysdeps/mach/bits/libc-lock.h: Likewise.
46400         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46401         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46402         instead of using implementation details.
46404         * libio/fileops.c: Unconditionally include <kernel-features.h>.
46405         * libio/freopen.c: Likewise.
46406         * libio/freopen64.c: Likewise.
46407         * misc/syslog.c: Likewise.
46408         * nscd/connections.c: Likewise.
46409         * nscd/netgroupcache.c: Likewise.
46410         * sysdeps/posix/getcwd.c: Likewise.
46412 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46414         * math/w_ilogbf.c: Add #include <limits.h>.
46416 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46418         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46419         path instead of returning without unlocking.
46421         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46422         immediate-write ioctls.
46423         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46425 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46427         * sysdeps/mach/hurd/i386/init-first.c (init): Use
46428         __builtin_frame_address instead of making assumptions about the
46429         location of the return address relative to DATA.  Force early load of
46430         the return address.
46431         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46432         __builtin_frame_address.
46434         dup3 for GNU Hurd.
46435         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46436         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
46437         implement dup3 and do some further code clean-ups.
46438         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46439         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46443         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46445         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46446         HURD_CRITICAL_END around holding _hurd_dtable_lock.
46447         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46448         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46449         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46450         d->port.lock.
46452         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46453         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
46454         when handler == SIG_ERR, not when handler != SIG_ERR.
46456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46458         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46459         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46460         definitions.
46462         accept4 for GNU Hurd.
46463         * include/sys/socket.h (__libc_accept4): New prototype.
46464         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
46465         to implement __libc_accept4.
46466         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46467         __libc_accept4.
46468         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46470         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46471         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46472         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46473         signal-defines.sym.
46475 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46477         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46479 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46481         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46482         assertion on O_CLOEXEC flag.
46483         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46484         * hurd/intern-fd.c: Likewise.
46485         * hurd/port2fd.c: Likewise.
46487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46489         [BZ #3906]
46490         * bits/in.h (IPV6_PKTINFO): Define new macro.
46491         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46493 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46495         [BZ #13954]
46496         [BZ #13955]
46497         [BZ #13956]
46498         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46499         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46500         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46501         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46502         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46503         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46504         * math/libm-test.inc (logb_test) : Additional logb tests.
46506 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
46507             Andreas Jaeger  <aj@suse.de>
46509         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46510         * configure: Regenerated.
46511         * config.h.in (LINK_OBSOLETE_RPC): New macro.
46512         * config.make.in (link-obsolete-rpc): New substituted variable.
46513         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46514         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46515         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46516         (shared-only-routines): Don't set it under [link-obsolete-rpc],
46517         so that libc.a contains the symbols.
46518         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46519         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46520         * sunrpc/auth_none.c: Likewise.
46521         * sunrpc/auth_unix.c: Likewise.
46522         * sunrpc/authdes_prot.c: Likewise.
46523         * sunrpc/authuxprot.c: Likewise.
46524         * sunrpc/clnt_gen.c: Likewise.
46525         * sunrpc/clnt_perr.c: Likewise.
46526         * sunrpc/clnt_raw.c: Likewise.
46527         * sunrpc/clnt_simp.c: Likewise.
46528         * sunrpc/clnt_tcp.c: Likewise.
46529         * sunrpc/clnt_udp.c: Likewise.
46530         * sunrpc/clnt_unix.c: Likewise.
46531         * sunrpc/des_crypt.c: Likewise.
46532         * sunrpc/des_soft.c: Likewise.
46533         * sunrpc/get_myaddr.c: Likewise.
46534         * sunrpc/key_call.c: Likewise.
46535         * sunrpc/key_prot.c: Likewise.
46536         * sunrpc/netname.c: Likewise.
46537         * sunrpc/pm_getmaps.c: Likewise.
46538         * sunrpc/pm_getport.c: Likewise.
46539         * sunrpc/pmap_clnt.c: Likewise.
46540         * sunrpc/pmap_prot.c: Likewise.
46541         * sunrpc/pmap_prot2.c: Likewise.
46542         * sunrpc/pmap_rmt.c: Likewise.
46543         * sunrpc/publickey.c: Likewise.
46544         * sunrpc/rpc_cmsg.c: Likewise.
46545         * sunrpc/rpc_common.c: Likewise.
46546         * sunrpc/rpc_dtable.c: Likewise.
46547         * sunrpc/rpc_prot.c: Likewise.
46548         * sunrpc/rpc_thread.c: Likewise.
46549         * sunrpc/rtime.c: Likewise.
46550         * sunrpc/svc.c: Likewise.
46551         * sunrpc/svc_auth.c: Likewise.
46552         * sunrpc/svc_raw.c: Likewise.
46553         * sunrpc/svc_run.c: Likewise.
46554         * sunrpc/svc_tcp.c: Likewise.
46555         * sunrpc/svc_udp.c: Likewise.
46556         * sunrpc/svc_unix.c: Likewise.
46557         * sunrpc/svcauth_des.c: Likewise.
46558         * sunrpc/xcrypt.c: Likewise.
46559         * sunrpc/xdr.c: Likewise.
46560         * sunrpc/xdr_array.c: Likewise.
46561         * sunrpc/xdr_float.c: Likewise.
46562         * sunrpc/xdr_intXX_t.c: Likewise.
46563         * sunrpc/xdr_mem.c: Likewise.
46564         * sunrpc/xdr_rec.c: Likewise.
46565         * sunrpc/xdr_ref.c: Likewise.
46566         * sunrpc/xdr_sizeof.c: Likewise.
46567         * sunrpc/xdr_stdio.c: Likewise.
46569 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46571         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46572         change.  Update copyright years.
46574 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46576         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46578 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
46579             Joseph Myers  <joseph@codesourcery.com>
46580             Paul Pluzhnikov  <ppluzhnikov@google.com>
46582         [BZ #14012]
46583         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46584         requiring rpcgen.
46585         [cross-compiling] (extra-libs): Likewise.
46586         [cross-compiling] (extra-libs-others): Likewise.
46587         [cross-compiling] (librpcsvc-routines): Likewise.
46588         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46589         [cross-compiling] (omit-deps): Likewise.
46590         (sunrpc-CPPFLAGS): New variable.
46591         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46592         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46593         (cross-rpcgen-objs): New variable.
46594         (extra-objs): Append $(cross-rpcgen-objs).
46595         ($(cross-rpcgen-objs)): New rule.
46596         ($(objpfx)cross-rpcgen): Likewise.
46597         (rpcgen-cmd): Define to use $(built-program-file).  Expand
46598         comment.
46599         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46600         ($(objpfx)x%.stmp): Likewise.
46601         * sunrpc/proto.h [IS_IN_build] (_): Define.
46602         [IS_IN_build] (_libc_intl_domainname): Likewise.
46604 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46606         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46607         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46608         and R_X86_64_TPOFF64.
46610 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46612         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46613         sysdeps/unix/sysv/syscalls.list.
46614         (stime): Likewise.
46615         (utime): Likewise.
46616         * sysdeps/unix/sysv/syscalls.list: Remove file.
46618 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
46620         [BZ #3440]
46621         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46622         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46623         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46624         (__LC_IDENTIFICATION): Make these macros useful in #if
46625         expressions, as required by C99.
46627 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
46629         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46630         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
46631         after this.
46633 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
46635         * stdlib/longlong.h: Updated from GCC.
46637 2012-05-09  Andreas Jaeger  <aj@suse.de>
46639         * nscd/nscd.c (run_modes): Make named enum, reorder so that
46640         default is first entry.
46641         (run_mode): Set type.
46642         (main): Remove informal message about syslog.
46643         (options): Fix typo.
46645         [BZ #14053]
46646         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46647         to asm.
46648         (lrint): Likewise.
46649         (llrintf): Likewise.
46650         (llrint): Likewise.
46651         (rint): Likewise.
46652         (rintf): Likewise.
46653         (nearbyint): Likewise.
46654         (nearbyintf): Likewise.
46656 2012-05-09  Andreas Jaeger  <aj@suse.de>
46657             Pedro Alves  <palves@redhat.com>
46659         * nscd/nscd.c (run_mode): Use enum.
46660         (main): Cleanup coding style issue.
46662 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
46663             Andreas Jaeger  <aj@suse.de>
46665         * nscd/nscd.c (go_background): Replaced with...
46666         (run_mode): ... this.
46667         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46668         (options): Add -F --foreground.
46669         (main): Implement it.
46670         (parse_opt): Parse it.
46672 2012-05-09  Andreas Jaeger  <aj@suse.de>
46674         [BZ #14083]
46675         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46676         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46677         -Wconversion warning.
46678         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46679         Likewise.
46681 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
46683         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
46684         == 0.
46685         (LC_ALL): Use macro-int-constant.
46686         (LC_COLLATE): Likewise.
46687         (LC_CTYPE): Likewise.
46688         (LC_MESSAGES): Likewise.
46689         (LC_MONETARY): Likewise.
46690         (LC_NUMERIC): Likewise.
46691         (LC_TIME): Likewise.
46692         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46693         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46694         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46695         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46696         Specify type.
46697         [C99-based standards] (float_t): Expect type.
46698         [C99-based standards] (double_t): Expect type.
46699         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
46700         type.
46701         [C99-based standards] (HUGE_VALL): Likewise.
46702         [C99-based standards] (INFINITY): Likewise.
46703         [C99-based standards] (NAN): Likewise.
46704         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46705         [C99-based standards] (FP_NAN): Likewise.
46706         [C99-based standards] (FP_NORMAL): Likewise.
46707         [C99-based standards] (FP_SUBNORMAL): Likewise.
46708         [C99-based standards] (FP_ZERO): Likewise.
46709         [C99-based standards] (FP_FAST_FMA): Use
46710         optional-macro-int-constant.  Specify type.  Require == 1.
46711         [C99-based standards] (FP_FAST_FMAF): Likewise.
46712         [C99-based standards] (FP_FAST_FMAL): Likewise.
46713         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46714         [C99-based standards] (FP_ILOGBNAN): Likewise.
46715         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46716         Specify type.
46717         [C99-based standards] (MATH_ERREXCEPT): Likewise.
46718         [C99-based standards] (math_errhandling): Specify type.
46719         [ISO99 || ISO11] (signgam): Do not allow.
46720         [non-C99-based standards] (copysignf): Do not allow.
46721         [non-C99-based standards] (exp2f): Likewise.
46722         [non-C99-based standards] (log2f): Likewise.
46723         [non-C99-based standards] (modff): Allow.
46724         [non-C99-based standards] (erff): Do not allow.
46725         [non-C99-based standards] (erfcf): Likewise.
46726         [non-C99-based standards] (gammaf): Likewise.
46727         [non-C99-based standards] (hypotf): Likewise.
46728         [non-C99-based standards] (j0f): Likewise.
46729         [non-C99-based standards] (j1f): Likewise.
46730         [non-C99-based standards] (jnf): Likewise.
46731         [non-C99-based standards] (lgammaf): Likewise.
46732         [non-C99-based standards] (tgammaf): Likewise.
46733         [non-C99-based standards] (y0f): Likewise.
46734         [non-C99-based standards] (y1f): Likewise.
46735         [non-C99-based standards] (ynf): Likewise.
46736         [non-C99-based standards] (isnanf): Likewise.
46737         [non-C99-based standards] (acoshf): Likewise.
46738         [non-C99-based standards] (asinhf): Likewise.
46739         [non-C99-based standards] (atanhf): Likewise.
46740         [non-C99-based standards] (cbrtf): Likewise.
46741         [non-C99-based standards] (expm1f): Likewise.
46742         [non-C99-based standards] (ilogbf): Likewise.
46743         [non-C99-based standards] (log1pf): Likewise.
46744         [non-C99-based standards] (logbf): Likewise.
46745         [non-C99-based standards] (nextafterf): Likewise.
46746         [non-C99-based standards] (remainderf): Likewise.
46747         [non-C99-based standards] (rintf): Likewise.
46748         [non-C99-based standards] (scalbf): Likewise.
46749         [non-C99-based standards] (copysignl): Likewise.
46750         [non-C99-based standards] (exp2l): Likewise.
46751         [non-C99-based standards] (log2l): Likewise.
46752         [non-C99-based standards] (modfl): Allow.
46753         [non-C99-based standards] (erfl): Do not allow.
46754         [non-C99-based standards] (erfcl): Likewise.
46755         [non-C99-based standards] (gammal): Likewise.
46756         [non-C99-based standards] (hypotl): Likewise.
46757         [non-C99-based standards] (j0l): Likewise.
46758         [non-C99-based standards] (j1l): Likewise.
46759         [non-C99-based standards] (jnl): Likewise.
46760         [non-C99-based standards] (lgammal): Likewise.
46761         [non-C99-based standards] (tgammal): Likewise.
46762         [non-C99-based standards] (y0l): Likewise.
46763         [non-C99-based standards] (y1l): Likewise.
46764         [non-C99-based standards] (ynl): Likewise.
46765         [non-C99-based standards] (isnanl): Likewise.
46766         [non-C99-based standards] (acoshl): Likewise.
46767         [non-C99-based standards] (asinhl): Likewise.
46768         [non-C99-based standards] (atanhl): Likewise.
46769         [non-C99-based standards] (cbrtl): Likewise.
46770         [non-C99-based standards] (expm1l): Likewise.
46771         [non-C99-based standards] (ilogbl): Likewise.
46772         [non-C99-based standards] (log1pl): Likewise.
46773         [non-C99-based standards] (logbl): Likewise.
46774         [non-C99-based standards] (nextafterl): Likewise.
46775         [non-C99-based standards] (remainderl): Likewise.
46776         [non-C99-based standards] (rintl): Likewise.
46777         [non-C99-based standards] (scalbl): Likewise.
46778         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46779         [non-C99-based standards] (FP_*): Do not allow.
46780         [C99-based standards] (FP_*): Change to
46781         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46782         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46783         allow.
46784         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46785         (SIG_ERR): Likewise.
46786         [X/Open-based standards] (SIG_HOLD): Likewise.
46787         (SIG_IGN): Likewise.
46788         (SIGABRT): Use macro-int-constant.  Specify type.  Require
46789         positive value.
46790         (SIGFPE): Likewise.
46791         (SIGILL): Likewise.
46792         (SIGINT): Likewise.
46793         (SIGSEGV): Likewise.
46794         (SIGTER): Likewise.
46795         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46796         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46797         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46798         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46799         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46800         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46801         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46802         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46803         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46804         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46805         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46806         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46807         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46808         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46809         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46810         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46811         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46812         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46813         [X/Open-based standards] (SIGTRAP): Likewise.
46814         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46815         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46816         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46817         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46818         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46819         allow.
46821 2012-05-08  Ian Wienand  <ianw@vmware.com>
46823         [BZ #14080]
46824         * time/tzset.c (__tzset_parse_tz): Update default rules for
46825         daylight time changes in the Energy Policy Act of 2005.
46827 2012-05-09  Andreas Jaeger  <aj@suse.de>
46829         [BZ #13983]
46830         * elf/ldconfig.c (parse_conf): Change string to make clear that
46831         ldconfig only issued a warning if ld.so.conf does not exist.
46833 2012-05-08  David S. Miller  <davem@davemloft.net>
46835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46836         movxtod instead of popping the value on the stack.
46838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46840 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
46842         * config.h.in: Add HAVE_ARM_PCS_VFP.
46844 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
46846         [BZ #13979]
46847         * include/features.h: Warn if user requests __FORTIFY_SOURCE
46848         checking but the checks are disabled for any reason.
46850 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
46852         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46853         and ELF64_R_TYPE with ELFW(R_TYPE).
46855 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
46857         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46858         (ulimit): Likewise.
46860         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46861         (settimeofday): Likewise.
46863 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
46865         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
46866         a struct th_u2 inside the union, and move tu_block/tu_code into
46867         a new th_u3 union of tu_block/tu_code inside of that.  Move
46868         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
46869         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
46870         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46871         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46872         (th_stuff): Change to th_u1.tu_stuff.
46873         (th_data): Define.
46874         (th_msg): Change to th_u1.th_u2.tu_data.
46876 2012-05-07  David S. Miller  <davem@davemloft.net>
46878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46880         [BZ #14074]
46881         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46882         (SETUP_PIC_REG): Use it.
46883         (SETUP_PIC_REG_LEAF): Use it.
46885 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
46887         [BZ #13885]
46888         [BZ #13923]
46889         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46890         USE_AS_EXPM1L.
46891         (EXPL_FINITE): Likewise.
46892         (FLDLOG): Likewise.
46893         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46894         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46895         e_expl.S.
46896         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46897         USE_AS_EXPM1L.
46898         (EXPL_FINITE): Likewise.
46899         (FLDLOG): Likewise.
46900         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46901         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46902         e_expl.S.
46903         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
46904         test of -max_value argument for long double.
46905         * sysdeps/i386/fpu/libm-test-ulps: Update.
46906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46908 2012-05-06  David S. Miller  <davem@davemloft.net>
46910         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46911         quad soft-float symbols whose references which are compiler
46912         generated.
46913         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46915 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
46917         [BZ #13884]
46918         [BZ #13914]
46919         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46920         USE_AS_EXP10L.
46921         (EXPL_FINITE): Likewise.
46922         (FLDLOG): Likewise.
46923         (c0): Likewise.
46924         (c1): Likewise.
46925         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46926         Adjust comments for base varying.
46927         (__expl_finite): Change alias to EXPL_FINITE.
46928         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46929         e_expl.S.
46930         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46931         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46932         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46933         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46934         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46935         USE_AS_EXP10L.
46936         (EXPL_FINITE): Likewise.
46937         (FLDLOG): Likewise.
46938         (c0): Likewise.
46939         (c1): Likewise.
46940         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46941         Adjust comments for base varying.
46942         (__expl_finite): Change alias to EXPL_FINITE.
46943         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
46944         tests for bugs.
46945         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46947         [BZ #14064]
46948         * math/libm-test.inc (check_float_internal): Correct ulp
46949         calculation for subnormal expected results.
46951 2012-05-06  Andreas Jaeger  <aj@suse.de>
46953         * Makeconfig (+math-flags): New, set to -frounding-math.
46954         (+cflags): Add +math-flags so that all of glibc gets compiled with
46955         it.
46957         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46959 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
46961         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46962         Disable one test.
46964         [BZ #13787]
46965         [BZ #13922]
46966         [BZ #14036]
46967         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46968         (__ieee754_expl): Allow for and saturate large arguments.
46969         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46970         (u_threshold): Likewise.
46971         (__exp): Call __ieee754_exp before checking for overflow and
46972         underflow.
46973         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46974         (u_threshold): Likewise.
46975         (__expf): Call __ieee754_expf before checking for overflow and
46976         underflow.
46977         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46978         (u_threshold): Likewise.
46979         (__expl): Call __ieee754_expl before checking for overflow and
46980         underflow.
46981         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46982         (__ieee754_expl): Allow for and saturate large arguments.
46983         * math/libm-test.inc (exp_test): Add another test.  Do not allow
46984         missing overflow exception on overflow.
46985         (expm1_test): Do not allow missing overflow exception on overflow.
46987         * sysdeps/i386/fpu/e_expl.c: Move to ...
46988         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
46989         rather than using inline asm.
46990         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46991         * sysdeps/x86_64/fpu/e_expl.S: Copy from
46992         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46994         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46995         (nice): Likewise.
46996         (poll): Likewise.
46997         (signal): Likewise.
46998         (time): Likewise.
46999         (times): Likewise.
47001 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47003         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47004         sysdeps/unix/common/syscalls.list.
47005         (fchmod): Likewise.
47006         (fchown): Likewise.
47007         (ftruncate): Likewise.
47008         (getrusage): Likewise.
47009         (gettimeofday): Likewise.
47010         (setpgid): Likewise.
47011         (setregid): Likewise.
47012         (setreuid): Likewise.
47013         (sigaction): Likewise.
47014         (truncate): Likewise.
47015         (vhangup): Likewise.
47016         * sysdeps/unix/common/syscalls.list: Remove file.
47017         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47018         * sysdeps/unix/sysv/linux/Implies: Likewise.
47020 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47022         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47024         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47025         Moved to ...
47026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47027         Here.
47028         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47029         to ...
47030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47031         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47032         to ...
47033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47034         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47035         to ...
47036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47037         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47038         to ...
47039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47040         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47041         to ...
47042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47043         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47044         to ...
47045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47046         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47047         to ...
47048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47049         Here.
47050         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47051         to ...
47052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47053         Here.
47054         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47055         to ...
47056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47057         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47058         Moved to ...
47059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47060         Here.
47061         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47062         to ...
47063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47065 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47067         * sysdeps/unix/common/bits/dirent.h: Remove file.
47068         * sysdeps/unix/common/bits/fcntl.h: Likewise.
47070         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47071         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47072         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47073         * sysdeps/unix/bsd/isatty.c: Likewise.
47074         * sysdeps/unix/bsd/tcdrain.c: Likewise.
47075         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47076         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47078 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47080         [BZ #13563]
47081         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47082         long double comparison inaccuracies.
47083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47086 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
47088         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47089         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47091 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47093         [BZ #14049]
47094         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47095         nonzero digits before rounding a hex value.
47096         * stdlib/tst-strtod.c (tests): Add another test.
47098 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47100         * sysdeps/s390/fpu/libm-test-ulps: Update.
47102 2012-05-03  Andreas Jaeger  <aj@suse.de>
47104         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47105         does not get optimized out.
47106         (malloc_opt_barrier): New.
47108 2012-05-03  Andreas Jaeger  <aj@suse.de>
47109             Roland McGrath  <roland@hack.frob.com>
47111         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47112         intermediate file deletion.
47113         (generated): Add .symlist files.
47115 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
47117         [BZ #13775]
47118         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47119         Redirect under this condition.
47120         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47121         [__USE_GNU] (__dprintf_chk): Not under this condition.
47122         [__USE_GNU] (__vdprintf_chk): Likewise.
47123         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47124         under this condition.
47125         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47126         [__USE_XOPEN2K8] (dprintf): Define under this condition.
47127         [__USE_XOPEN2K8] (vdprintf): Likewise.
47128         [__USE_GNU] (__dprintf_chk): Not under this condition.
47129         [__USE_GNU] (__vdprintf_chk): Likewise.
47130         [__USE_GNU] (dprintf): Likewise.
47131         [__USE_GNU] (vdprintf): Likewise.
47133 2012-05-03  Roland McGrath  <roland@hack.frob.com>
47135         * elf/Makefile (common-generated): Set this instead of generated for
47136         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
47137         $(all-built-dso)-derived lists.
47139 2012-05-03  Andreas Jaeger  <aj@suse.de>
47141         * sysdeps/i386/fpu/libm-test-ulps: Update.
47143         * FAQ: Removed.
47144         * FAQ.in: Likewise.
47145         * scripts/gen-FAQ.pl: Likewise.
47146         * manual/install.texi (Installation): Point to online location of
47147         FAQ.
47148         * Makefile (files-for-dist): Remove FAQ.
47149         (FAQ): Remove.
47151 2012-05-02  Allan McRae  <allan@archlinux.org>
47153         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47154         (LDFLAGS-reldepmod5.so): Likewise.
47155         (LDFLAGS-reldep6mod1.so): Likewise.
47156         (LDFLAGS-reldep6mod4.so): Likewise.
47157         (LDFLAGS-reldep8mod3.so): Likewise.
47158         (LDFLAGS-unload4mod1.so): Likewise.
47159         (LDFLAGS-unload4mod2.so): Likewise.
47160         (LDFLAGS-tst-initorder): Likewise.
47161         (LDFLAGS-tst-initordera2.so): Likewise.
47162         (LDFLAGS-tst-initordera3.so): Likewise.
47163         (LDFLAGS-tst-initordera4.so): Likewise.
47164         (LDFLAGS-tst-initorderb2.so): Likewise.
47165         (LDFLAGS-noload): Likewise.
47166         (LDFLAGS-next): Likewise.
47167         (LDFLAGS-order2mod1.so): Likewise.
47168         (LDFLAGS-order2mod2.so): Likewise.
47169         (LDFLAGS-tst-initorder2): Likewise.
47170         (LDFLAGS-tst-initorder2a.so): Likewise.
47171         (LDFLAGS-tst-initorder2b.so): Likewise.
47172         (LDFLAGS-tst-initorder2c.so): Likewise.
47173         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47175 2012-05-02  David S. Miller  <davem@davemloft.net>
47177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47179 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
47181         [BZ #14055]
47182         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47184 2012-05-02  Andreas Jaeger  <aj@suse.de>
47186         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47187         since we manipulate rounding mode.
47188         (CPPFLAGS-test-idouble.c): Likewise.
47189         (CPPFLAGS-test-ifloat.c): Likewise.
47190         (CFLAGS-test-ldouble.c): Likewise.
47191         (CFLAGS-test-double.c): Likewise.
47192         (CFLAGS-test-float.c): Likewise.
47193         (CFLAGS-test-misc.c): Likewise.
47194         (CFLAGS-test-test-fenv.c): Likewise.
47196 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47198         [BZ #2550]
47199         [BZ #2570]
47200         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47201         comparisons to determine direction to adjust input.
47203 2012-05-01  Roland McGrath  <roland@hack.frob.com>
47205         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47206         output to the target.
47208         * scripts/localplt.awk: New file.
47209         * elf/Makefile ($(objpfx)check-localplt): Target removed.
47210         (check-localplt-CFLAGS): Variable removed.
47211         ($(all-built-dso:=.jmprel)): New static pattern rule.
47212         (generated): Add those targets.
47213         (localplt-built-dso): New variable.
47214         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47216         * elf/check-localplt.c: File removed.
47218         * scripts/check-execstack.awk: New file.
47219         * elf/Makefile ($(objpfx)check-execstack): Target removed.
47220         (check-execstack-CFLAGS): Variable removed.
47221         ($(objpfx)check-execstack.h): Target removed.
47222         ($(objpfx)execstack-default): New target.
47223         (generated): Add that instead of check-execstack.h.
47224         ($(all-built-dso:=.phdr)): New static pattern rule.
47225         (generated): Add those targets.
47226         * elf/check-execstack.c: File removed.
47228         * scripts/check-textrel.awk: New file.
47229         * elf/Makefile ($(objpfx)check-textrel): Target removed.
47230         (check-textrel-CFLAGS): Variable removed.
47231         (all-built-dso): Use := to define.o
47232         ($(all-built-dso:=.dyn)): New static pattern rule.
47233         (generated): Add those targets.
47234         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47235         * config.make.in (READELF): New substituted variable.
47236         * elf/check-textrel.c: File removed.
47238 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47240         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47241         allow.
47242         * conform/data/ctype.h-data [C99-based standards] (isblank):
47243         Expect function.
47244         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47245         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47246         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47247         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47248         Specify type.  Require positive value.
47249         (EILSEQ): Likewise.
47250         (ERANGE): Likewise.
47251         [ISO || POSIX] (EILSEQ): Do not expect.
47252         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47253         Specify type.  Require positive value.
47254         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47255         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47256         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47257         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47258         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47259         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47260         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47261         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47262         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47263         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47264         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47265         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47266         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47267         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47268         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47269         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47270         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47271         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47272         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47273         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47274         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47275         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47276         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47277         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47278         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47279         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47280         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47281         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47282         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47283         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47284         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47285         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47286         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47287         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47288         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47289         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47290         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47291         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47292         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47293         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47294         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47295         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47296         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47297         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47298         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47299         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47300         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47301         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47302         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47303         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47304         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47305         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47306         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47307         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47308         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47309         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47310         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47311         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47312         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47313         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47314         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47315         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47316         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47317         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47318         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47319         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47320         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47321         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47322         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47323         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47324         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47325         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47326         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47327         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47328         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47329         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47330         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47331         Require >= 2.
47332         (FLT_ROUNDS): Expect as macro, not constant.
47333         (FLT_MANT_DIG): Use macro-int-constant.
47334         (DBL_MANT_DIG): Likewise.
47335         (LDBL_MANT_DIG): Likewise.
47336         (FLT_DIG): Likewise.
47337         (DBL_DIG): Likewise.
47338         (LDBL_DIG): Likewise.
47339         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
47340         (DBL_MIN_EXP): Likewise.
47341         (LDBL_MIN_EXP): Likewise.
47342         (FLT_MAX_EXP): Use macro-int-constant.
47343         (DBL_MAX_EXP): Likewise.
47344         (LDBL_MAX_EXP): Likewise.
47345         (FLT_MAX_10_EXP): Likewise.
47346         (DBL_MAX_10_EXP): Likewise.
47347         (LDBL_MAX_10_EXP): Likewise.
47348         (FLT_MAX): Use macro-constant.
47349         (DBL_MAX): Likewise.
47350         (LDBL_MAX): Likewise.
47351         (FLT_EPSILON): Use macro-constant.  Give upper bound.
47352         (DBL_EPSILON): Likewise.
47353         (LDBL_EPSILON): Likewise.
47354         (FLT_MIN): Likewise.
47355         (DBL_MIN): Likewise.
47356         (LDBL_MIN): Likewise.
47357         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47358         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47359         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47360         [ISO11] (FLT_HAS_SUBNORM): Likewise.
47361         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47362         [ISO11] (DBL_DECIMAL_DIG): Likewise.
47363         [ISO11] (FLT_DECIMAL_DIG): Likewise.
47364         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47365         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47366         [ISO11] (FLT_TRUE_MIN): Likewise.
47367         [ISO11] (LDBL_TRUE_MIN): Likewise.
47368         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47369         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47370         (SCHAR_MIN): Use macro-int-constant.  Specify type.
47371         (SCHAR_MAX): Likewise.
47372         (UCHAR_MAX): Likewise.
47373         (CHAR_MIN): Likewise.
47374         (CHAR_MAX): Likewise.
47375         (MB_LEN_MAX): Use macro-int-constant.
47376         (SHRT_MIN): Use macro-int-constant.  Specify type.
47377         (SHRT_MAX): Likewise.
47378         (USHRT_MAX): Likewise.
47379         (INT_MAX): Likewise.
47380         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
47381         bound negative.
47382         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47383         bound with "U".
47384         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47385         bound with "L".
47386         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
47387         bound negative.  Suffix upper bound with "L".
47388         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47389         bound with "UL".
47390         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47391         Specify type.
47392         [C99-based standards] (LLONG_MAX): Likewise.
47393         [C99-based standards] (ULLONG_MAX): Likewise.
47394         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
47395         == 0.
47396         [ISO11] (max_align_t): Require type.
47397         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47399         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47400         from $CFLAGS, without defining away __attribute__ calls.
47401         (checknamespace): Use $CFLAGS_namespace.
47403         * conform/conformtest.pl (@keywords): Only include C99 keywords
47404         for standards based on C99 or C11.
47406         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47407         Disable tests.
47408         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47409         UNIX98]: Likewise.
47411         * conform/conformtest.pl: Handle "macro-int-constant" and test for
47412         usability of symbols in #if.
47414         * conform/conformtest.pl: If macro or constant types start
47415         "promoted:", expect the symbol to be of the following type
47416         promoted by the integer promotions.
47418         * conform/conformtest.pl: Parse all "constant" and "macro" lines
47419         in one place.  Also handle "macro-constant".
47421         * conform/conformtest.pl: Only accept expected macro values with
47422         "==".  Parse all "macro" lines in one place.
47423         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47425         * conform/conformtest.pl: Handle braced types on "constant" lines
47426         instead of handling "typed-constant".
47427         * conform/data/signal.h-data: Use "constant" instead of
47428         "typed-constant".
47430         * conform/conformtest.pl: Handle "optional-" at start of lines in
47431         one place rather than duplicating several cases.  Handle each
47432         format of "macro" line with initial "optional-".
47434         * conform/conformtest.pl: Only accept expected constant or
47435         optional-constant values with "==".  Parse all "constant" lines in
47436         one place.  Parse all "optional-constant" lines in one place.
47437         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47438         * conform/data/fmtmsg.h-data: Likewise.
47439         * conform/data/netinet/in.h-data: Likewise.
47440         * conform/data/tar.h-data: Likewise.
47441         * conform/data/limits.h-data: Use "==" form on "constant" and
47442         "optional-constant" lines.
47444         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47445         Use -std=c99 for XOPEN2K.
47446         (@knownproblems): Remove.
47447         (newtoken): Don't check %isknown.
47449         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47450         Do not expect macro.
47451         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47452         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47453         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47454         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47455         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47456         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47457         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47458         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47459         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47460         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47461         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47462         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47463         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47464         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47465         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47466         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47467         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47468         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47469         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47470         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47471         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47472         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47473         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47474         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47475         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47476         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47477         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47478         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47479         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47480         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47481         [XPG3] (acosh): Likewise.
47482         [XPG3] (asinh): Likewise.
47483         [XPG3] (atanh): Likewise.
47484         [XPG3] (cbrt): Likewise.
47485         [XPG3] (expm1): Likewise.
47486         [XPG3] (ilogb): Likewise.
47487         [XPG3] (log1p): Likewise.
47488         [XPG3] (logb): Likewise.
47489         [XPG3] (nextafter): Likewise.
47490         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47491         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47492         [XPG3] (remainder): Likewise.
47493         [XPG3] (rint): Likewise.
47494         [XPG3 || XPG4 || UNIX98] (round): Likewise.
47495         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47496         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47497         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47498         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47499         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47500         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47501         [UNIX98 || XOPEN2K] (scalb): Expect.
47502         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47503         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47504         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47505         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47506         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47507         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47508         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47509         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47510         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47511         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47512         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47513         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47514         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47515         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47516         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47517         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47518         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47519         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47520         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47521         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47522         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47523         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47524         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47525         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47526         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47527         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47528         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47529         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47530         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47531         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47532         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47533         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47534         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47535         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47536         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47537         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47538         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47539         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47540         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47541         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47542         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47543         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47544         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47545         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47546         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47547         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47548         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47549         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47550         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47551         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47552         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47553         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47554         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47555         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47556         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47557         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47558         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47559         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47560         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47561         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47562         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47563         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47564         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47565         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47566         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47567         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47568         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47569         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47570         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47571         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47572         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47573         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47574         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47575         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47576         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47577         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47578         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47579         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47580         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47581         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47582         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47583         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47584         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47585         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47586         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47587         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47588         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47589         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47590         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47591         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47592         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47593         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47594         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47595         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47596         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47597         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47598         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47599         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47600         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47601         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47602         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47603         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47604         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47605         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47606         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47607         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47608         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47609         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47610         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47611         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47612         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47613         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47614         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47615         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47616         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47617         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47618         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47619         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47620         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47621         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47622         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47623         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47624         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47625         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47626         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47627         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47628         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47629         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47630         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47631         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47632         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47633         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47634         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47635         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47636         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47637         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47638         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47640         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47641         _XOPEN_SOURCE_EXTENDED for XPG4.
47643         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47645         * Makeconfig (localtime): Remove variable.
47646         (inst_localtime-file): Likewise.
47648 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47651         Update.
47652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47653         Update.
47654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47655         Update.
47656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47657         Update.
47658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47659         Update.
47660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47661         Update.
47662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47663         Update.
47664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47665         Update.
47666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47667         Update.
47669 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47671         [BZ #2550]
47672         [BZ #2570]
47673         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47674         comparisons to determine direction to adjust input.
47675         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47676         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47677         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47678         Likewise.
47679         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47680         Likewise.
47681         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47682         Likewise.
47683         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47684         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47685         Likewise.
47686         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47687         Likewise.
47688         * math/libm-test.inc (nexttoward_test): Add more tests.
47690 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47692         [BZ #14040]
47693         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47694         in version GLIBC_2.1, not GLIBC_2.0.
47695         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47696         Likewise.
47698 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
47700         [BZ #13942]
47701         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47702         (1 - x) * (1 + x).
47703         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47704         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47705         * math/libm-test.inc (acos_test): Add more tests.
47706         (asin_test): Likewise.
47707         * sysdeps/i386/fpu/libm-test-ulps: Update.
47708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47710         [BZ #14034]
47711         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47712         of square root.
47713         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47714         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47715         * math/libm-test.inc (acos_test_tonearest): New function.
47716         (acos_test_towardzero): Likewise.
47717         (acos_test_downward): Likewise.
47718         (acos_test_upward): Likewise.
47719         (asin_test_tonearest): Likewise.
47720         (asin_test_towardzero): Likewise.
47721         (asin_test_downward): Likewise.
47722         (asin_test_upward): Likewise.
47723         (main): Call the new functions.
47724         * sysdeps/i386/fpu/libm-test-ulps: Update.
47725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47727         [BZ #13884]
47728         [BZ #13924]
47729         * math/e_exp10.c: Include <float.h>.
47730         (__ieee754_exp10): Handle underflow here rather than multiplying
47731         large negative argument by M_LN10.
47732         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47733         of __ieee754_expf.
47734         * math/e_exp10l.c: Include <float.h>.
47735         (__ieee754_exp10l): Handle underflow here rather than multiplying
47736         large negative argument by M_LN10l.
47737         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
47738         spurious overflow exception on underflow.
47740 2012-04-29  Marek Polacek  <polacek@redhat.com>
47742         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47743         (__fortify_function): New macro.
47744         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47745         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47746         __extern_always_inline.
47747         * libio/bits/stdio2.h: Likewise.
47748         * libio/bits/stdio.h: Likewise.
47749         * string/string.h: Likewise.
47750         * string/bits/string3.h: Likewise.
47751         * include/stdio.h: Likewise.
47752         * stdlib/bits/stdlib.h: Likewise.
47753         * stdlib/stdlib.h: Likewise.
47754         * rt/bits/mqueue2.h: Likewise.
47755         * rt/mqueue.h: Likewise.
47756         * posix/bits/unistd.h: Likewise.
47757         * posix/unistd.h: Likewise.
47758         * io/bits/poll2.h: Likewise.
47759         * io/bits/fcntl2.h: Likewise.
47760         * io/fcntl.h: Likewise.
47761         * io/sys/poll.h: Likewise.
47762         * misc/bits/syslog.h: Likewise.
47763         * misc/bits/syslog-ldbl.h: Likewise.
47764         * misc/sys/syslog.h: Likewise.
47765         * socket/bits/socket2.h: Likewise.
47766         * socket/sys/socket.h: Likewise.
47767         * debug/tst-chk1.c: Likewise.
47768         * wcsmbs/bits/wchar2.h: Likewise.
47769         * wcsmbs/bits/wchar-ldbl.h: Likewise.
47770         * wcsmbs/wchar.h: Likewise.
47772 2012-04-29  Andreas Jaeger  <aj@suse.de>
47774         * Makerules (tests): Remove enable-check-abi protection.
47775         (check-abi-warn): Remove.
47776         (check-abi-%): Remove check-abi-warn usage.
47778         * configure.in: Remove check-abi configure option.
47779         * configure: Regenerated.
47780         * config.make.in (enable-check-abi): Remove.
47782 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
47784         [BZ #14033]
47785         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47786         double functions to double *_finite functions.
47788         [BZ #13941]
47789         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47790         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47791         LDBL_MIN_EXP.
47792         * stdio-common/Makefile (tests): Add tst-sprintf3.
47793         * stdio-common/tst-sprintf3.c: New file.
47795         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47796         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47798 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47800         * conform/conformtest.pl: Remove duplicate typed-constant
47801         handling.
47803 2012-04-28  David S. Miller  <davem@davemloft.net>
47805         * Makerules (%.abilist): Add vpath on sysdep_dirs.
47806         (check-abi-%): Remove AWK script prerequisite and explicit
47807         abilist directory.
47808         (check-abi): Rewrite to just diff the symlist with the abilist.
47809         (config-tls, config-abi-config): Delete, no longer used.
47810         (update-abi-%): Remove AWK script and explicit abilist directory.
47811         (update-abi): Rewrite to simply compare and conditionally copy the
47812         symlist and the sysdep abilist file.  Remove update-abi-config
47813         checks.
47814         * abilist/ld.abilist: Remove.
47815         * abilist/libBrokenLocale.abilist: Remove.
47816         * abilist/libanl.abilist: Remove.
47817         * abilist/libcrypt.abilist: Remove.
47818         * abilist/libdl.abilist: Remove.
47819         * abilist/librt.abilist: Remove.
47820         * abilist/libthread_db.abilist: Remove.
47821         * abilist/libutil.abilist: Remove.
47822         * scripts/extract-abilist.awk: Remove.
47823         * scripts/merge-abilist.awk: Remove.
47824         * sysdeps/generic/libcidn.abilist: New file.
47825         * sysdeps/generic/libnss_compat.abilist: New file.
47826         * sysdeps/generic/libnss_db.abilist: New file.
47827         * sysdeps/generic/libnss_dns.abilist: New file.
47828         * sysdeps/generic/libnss_files.abilist: New file.
47829         * sysdeps/generic/libnss_hesiod.abilist: New file.
47830         * sysdeps/generic/libnss_nis.abilist: New file.
47831         * sysdeps/generic/libnss_nisplus.abilist: New file.
47832         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47833         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47834         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47835         file.
47836         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47837         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47838         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47839         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47840         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47841         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47842         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47843         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47844         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47845         file.
47846         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47847         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47848         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47849         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47850         file.
47851         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47852         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47853         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47854         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47855         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47856         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47857         file.
47858         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47859         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47860         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47861         file.
47862         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47864         New file.
47865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47866         New file.
47867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47868         New file.
47869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47870         New file.
47871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47872         New file.
47873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47874         New file.
47875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47876         New file.
47877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47878         New file.
47879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47880         New file.
47881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47882         New file.
47883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47884         New file.
47885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47886         New file.
47887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47888         New file.
47889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47890         file.
47891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47892         New file.
47893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47894         New file.
47895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47896         file.
47897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47898         New file.
47899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47900         New file.
47901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47902         file.
47903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47904         New file.
47905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47906         New file.
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47908         New file.
47909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47910         New file.
47911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47912         New file.
47913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47914         New file.
47915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47917         file.
47918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47919         New file.
47920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47921         file.
47922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47923         file.
47924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47925         file.
47926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47927         file.
47928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47929         file.
47930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47931         New file.
47932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47933         file.
47934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47935         file.
47936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47937         New file.
47938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47939         file.
47940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47942         file.
47943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47944         New file.
47945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47946         file.
47947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47948         file.
47949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47950         file.
47951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47952         file.
47953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47954         file.
47955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47956         New file.
47957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47958         file.
47959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47960         file.
47961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47962         New file.
47963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47964         file.
47965         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47966         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47967         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47968         file.
47969         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47970         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47971         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47972         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47973         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47974         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47975         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47976         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47977         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47978         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47981         file.
47982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47983         New file.
47984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47985         file.
47986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47987         file.
47988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47989         file.
47990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47991         file.
47992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47993         file.
47994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47995         New file.
47996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47997         New file.
47998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47999         file.
48000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48001         New file.
48002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48003         file.
48004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48006         file.
48007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48008         New file.
48009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48010         file.
48011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48012         file.
48013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48014         file.
48015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48016         file.
48017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48018         file.
48019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48020         New file.
48021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48022         New file.
48023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48024         file.
48025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48026         New file.
48027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48028         file.
48030 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48032         * conform/conformtest.pl: Fix typo in handling typed-constant from
48033         allow-header.
48035 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48037         * README: Cut down references to pre-2.6 Linux kernels and
48038         Linuxthreads.  Update lists of configurations in libc and ports
48039         and sort alphabetically.  Say "or newer" with Linux kernel version
48040         requirements.
48042         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48044 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48046         [BZ #887]
48047         * math/libm-test.inc (logb_test_downward): New test to expose
48048         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48049         rounding mode.
48051 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48053         [BZ #14027]
48054         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48055         to be done.
48056         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48057         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48059 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48061         * sysdeps/unix/i386/brk.S: Remove file.
48062         * sysdeps/unix/i386/dl-brk.S: Likewise.
48063         * sysdeps/unix/i386/pipe.S: Likewise.
48064         * sysdeps/unix/i386/sigreturn.S: Likewise.
48065         * sysdeps/unix/i386/syscall.S: Likewise.
48066         * sysdeps/unix/i386/vfork.S: Likewise.
48067         * sysdeps/unix/i386/wait.S: Likewise.
48069         * sysdeps/unix/common/tcsendbrk.c: Move to ...
48070         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48072         * configure.in (arm*-none*): Do not allow without
48073         --enable-hacker-mode.
48074         (netbsd*): Remove case setting base_os.
48075         (386bsd*): Likewise.
48076         (freebsd*): Likewise.
48077         (bsdi*): Likewise.
48078         (osf*): Likewise.
48079         (sunos*): Likewise.
48080         (ultrix*): Likewise.
48081         (newsos*): Likewise.
48082         (dynix*): Likewise.
48083         (*bsd*): Likewise.
48084         (sysv*): Likewise.
48085         (isc*): Likewise.
48086         (esix*): Likewise.
48087         (sco*): Likewise.
48088         (minix*): Likewise.
48089         (irix4*): Likewise.
48090         (irix6*): Likewise.
48091         (solaris[2-9]*): Likewise.
48092         (none): Likewise.
48093         * configure: Regenerated.
48095 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48097         [BZ #11521]
48098         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48099         overflow or cancellation in calculating denominator.
48100         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48101         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48102         down expression to avoid unexpected rounding in newer GCCs.
48103         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48105 2012-04-26  David S. Miller  <davem@davemloft.net>
48107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48108         long-double compat symbols.
48109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48123 2012-04-25  David S. Miller  <davem@davemloft.net>
48125         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48126         HWCAP_* values only after the memory barriers have been defined.
48127         (atomic_full_barrier): Define.
48128         (atomic_read_barrier): Define.
48129         (atomic_write_barrier): Define.
48131 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48133         * shlib-versions: Add libgcc_s version information.
48134         * sysdeps/generic/libgcc_s.h: Remove.
48135         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48136         libgcc_s.h.
48137         * sysdeps/gnu/unwind-resume.c: Likewise.
48138         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48140 2012-04-25  David S. Miller  <davem@davemloft.net>
48142         * sysdeps/unix/sparc/brk.S: Delete.
48143         * sysdeps/unix/sparc/dl-brk.S: Delete.
48144         * sysdeps/unix/sparc/pipe.S: Delete.
48145         * sysdeps/unix/sparc/sysdep.S: Delete.
48146         * sysdeps/unix/sparc/sysdep.h: Delete.
48147         * sysdeps/unix/sparc/vfork.S: Delete.
48148         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48149         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48150         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48151         (ret_ERRVAL, r0, r1, MOVE): Define.
48152         (JUMPTARGET): Remove.
48153         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48154         sysdeps/unix/sparc/sysdep.h
48155         (ENTRY, END): Remove.
48156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48158 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
48160         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48161         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48162         -DIS_IN_build.
48164         * timezone/README: Update upstream location and email address for
48165         tzcode and tzdata.
48166         * timezone/zdump.c: Update from tzcode 2012b.
48167         * timezone/zic.c: Likewise.
48169         * configure.in (libc_cv_as_needed): Remove test.
48170         * configure: Regenerated.
48171         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48172         conditional definition.
48173         [$(have-as-needed) != yes] (no-as-needed): Likewise.
48174         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48175         * config.make.in (have-as-needed): Remove variable.
48177 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48178             Paul Pluzhnikov  <ppluzhnikov@google.com>
48180         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48181         strings correctly.
48183 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
48185         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48186         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48187         * sysdeps/sh/strlen.S: Likewise.
48189 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48191         * sysdeps/unix/fork.S: Remove file.
48192         * sysdeps/unix/i386/fork.S: Likewise.
48193         * sysdeps/unix/sparc/fork.S: Likewise.
48195         * sysdeps/unix/system.c: Remove file.
48196         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48198         * sysdeps/unix/getegid.S: Remove file.
48199         * sysdeps/unix/geteuid.S: Likewise.
48201 2012-04-24  Roland McGrath  <roland@hack.frob.com>
48203         * scripts/check-localplt.awk: New file.
48204         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48205         of diff.
48206         * scripts/data/localplt-generic.data: Add a comment.
48208         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48209         NODE when __dir_mkfile failed.
48210         * sysdeps/mach/hurd/symlinkat.c: Likewise.
48211         Reported by Ludovic Courtès <ludo@gnu.org>.
48213 2012-04-24  Andreas Jaeger  <aj@suse.de>
48215         * Makerules (common-clean): Also remove gen-as-const-headers
48216         files.
48218 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48220         * Makerules (native-compile): Do not change working directory for
48221         build.  Use $(OUTPUT_OPTION) in command.
48222         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48224 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48226         [BZ #13886]
48227         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48228         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48229         * math/libm-test.inc (floor_test): Add more tests.
48230         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48232 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48234         * sysdeps/unix/getdents.c: Remove file.
48235         * sysdeps/unix/sysv/getdents.c: Likewise.
48236         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48238         * sysdeps/unix/syscalls.list (madvise): Add syscall from
48239         sysdeps/unix/mman/syscalls.list.
48240         (mmap): Likewise.
48241         (mprotect): Likewise.
48242         (msync): Likewise.
48243         (munmap): Likewise.
48244         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48245         * sysdeps/unix/mman/syscalls.list: Remove.
48246         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48248         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48249         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48250         * configure: Regenerated.
48251         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48252         $(libgcc_s_suffix).
48253         * config.make.in (libgcc_s_suffix): Remove variable.
48255 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
48257         * sysdeps/unix/sysv/gethostname.c: Move to ...
48258         * sysdeps/posix/gethostname.c: ... here.
48260         * sysdeps/unix/execve.S: Remove file.
48262         * sysdeps/unix/_exit.S: Remove file.
48264 2012-04-23  Andreas Jaeger  <aj@suse.de>
48266         [BZ #13739]
48267         * manual/Makefile: Remove make dist support, there's no
48268         need for a stand-alone documentation tar ball.
48269         (TEXI2DVI): Define always, it's not in Makeconfig.
48270         (dist): Removed.
48271         (tar-it): Removed.
48272         (edition): Removed.
48273         (glibc-doc-$(edition).tar): Removed
48274         (%.Z): Removed.
48275         (%.gz): Removed.
48276         (%.uu): Removed.
48277         (ETAGS): Remove, it's in Makeconfig.
48278         (move-if-change): Remove, it's in Makeconfig.
48280 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
48282         [BZ #13970]
48283         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48284         (strtod, strtof, strtold, strtol, strtoul, strtoq)
48285         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48286         (strtod_l, strtof_l, strtold_l): Remove __wur.
48287         It is not necessarily an error to ignore strtol's return value.
48288         One can reliably look at the stored endptr to decide whether
48289         the number had valid syntax.
48291 2012-04-21  Andreas Jaeger  <aj@suse.de>
48293         [BZ #13739]
48294         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48296 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
48298         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48299         * sysdeps/unix/sysv/Versions: Remove file.
48301 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
48303         [BZ #13927]
48304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48306 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
48308         [BZ #7064]
48309         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48310         version from __vm86.
48312 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
48314         * sysdeps/unix/common/lxstat.c: Remove file.
48315         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48317         * sysdeps/unix/sysv/Makefile: Remove file.
48319         * sysdeps/unix/sysv/direct.h: Remove file.
48321         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48322         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48323         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48324         * sysdeps/unix/sysv/bits/signum.h: Likewise.
48325         * sysdeps/unix/sysv/bits/stat.h: Likewise.
48326         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48327         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48329         * sysdeps/unix/sysv/setrlimit.c: Remove file.
48331         * sysdeps/unix/xmknod.c: Remove file.
48332         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48334         * sysdeps/unix/sysv/settimeofday.c: Remove file.
48336         * sysdeps/unix/sysv/i386/time.S: Remove file.
48338         * sysdeps/unix/fxstat.c: Remove file.
48339         * sysdeps/unix/xstat.c: Likewise.
48340         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48342         * sysdeps/unix/sysv/sigaction.c: Remove file.
48344         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48345         (sysdep_headers): Remove variable.
48346         [termio.h not in sysdep_headers] (generated): Likewise.
48347         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48348         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48349         * sysdeps/unix/sysv/tcdrain.c: Likewise.
48350         * sysdeps/unix/sysv/tcflow.c: Likewise.
48351         * sysdeps/unix/sysv/tcflush.c: Likewise.
48352         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48353         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48354         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48355         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48356         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48358         * sysdeps/unix/siglist.c: Remove file.
48360         * sysdeps/unix/getppid.S: Remove file.
48362         * sysdeps/unix/mkdir.c: Remove file.
48363         * sysdeps/unix/rmdir.c: Likewise.
48365 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
48367         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48368         ERR_MAX value.
48369         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48370         errlist-compat value.
48372 2012-04-18  David S. Miller  <davem@davemloft.net>
48374         * sysdeps/generic/memcopy.h (reg_char): Delete.
48375         * debug/strcat_chk.c: Use char, not reg_char.
48376         * debug/strcpy_chk.c: Likewise.
48377         * debug/strncat_chk.c: Likewise.
48378         * debug/strncpy_chk.c: Likewise.
48379         * string/memchr.c: Likewise.
48380         * string/memrchr.c: Likewise.
48381         * string/rawmemchr.c: Likewise.
48382         * string/strcat.c: Likewise.
48383         * string/strchr.c: Likewise.
48384         * string/strchrnul.c: Likewise.
48385         * string/strcmp.c: Likewise.
48386         * string/strcpy.c: Likewise.
48387         * string/strncat.c: Likewise.
48388         * string/strncmp.c: Likewise.
48389         * string/strncpy.c: Likewise.
48391 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48393         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48394         __builtin_memcopy is called when src and dest ranges are known to not
48395         overlap.
48397 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48399         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48400         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48401         fwd_align_merge macro call.
48402         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48403         bwd_align_merge macro call.
48404         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48406 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48408         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48409         bwd_align_merge macros.
48410         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48411         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48412         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48414 2012-04-18  David S. Miller  <davem@davemloft.net>
48416         * sysdeps/sparc/sparc64/memcopy.h: Delete.
48418 2012-04-18  Andreas Jaeger  <aj@suse.de>
48420         [BZ# 6794]
48421         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48422         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48423         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48425         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48426         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48427         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48429         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48430         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48431         Adjust for changed ldbl-128 files.
48433         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48434         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48435         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48437 2012-04-17  David S. Miller  <davem@davemloft.net>
48439         * sysdeps/sparc/sparc32/memcopy.h: Delete.
48441 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
48443         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48444         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48445         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48446         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48447         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48448         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48450 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48452         [BZ #6794]
48453         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48454         * math/libm-test.inc: Add ilogb errno and exception tests.
48455         * math/w_ilogb.c: New file: ilogb wrapper.
48456         * math/w_ilogbf.c: New file: ilogbf wrapper.
48457         * math/w_ilogbl.c: New file: ilogbl wrapper.
48458         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48459         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48460         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48461         exception being thrown with 0.0 as argument.
48462         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48463         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48464         exception being thrown with 0.0 as argument.
48465         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48466         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48467         exception being thrown with 0.0 as argument.
48468         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48469         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48470         exception being thrown with 0.0 as argument.
48471         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48472         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48473         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48474         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48475         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48476         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48477         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48478         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48479         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48481 2012-04-17  Petr Baudis  <pasky@ucw.cz>
48483         * include/sys/uio.h: Change __vector to __iovec to avoid clash
48484         with altivec.
48486 2012-04-16  Marek Polacek  <polacek@redhat.com>
48488         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48490 2012-04-16  Marek Polacek  <polacek@redhat.com>
48492         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48493         operands of fdivp instruction.
48495 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48497         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48498         * elf/tst-auditmod3b.c: Likewise.
48499         * elf/tst-auditmod4b.c: Likewise.
48500         * elf/tst-auditmod5b.c: Likewise.
48501         * elf/tst-auditmod6b.c: Likewise.
48502         * elf/tst-auditmod6c.c: Likewise.
48503         * elf/tst-auditmod7b.c: Likewise.
48504         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48505         * sysdeps/x86_64/preconfigure.in: Likewise.
48506         * sysdeps/x86_64/preconfigure: Regenerated.
48508 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48510         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48511         __ILP32__.
48513 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
48515         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48516         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48518 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
48520         [BZ #13973]
48521         * locale/iso-639.def: Fix gl language name. Spotted by
48522         Yaron Shahrabani.
48524 2012-04-12  Roland McGrath  <roland@hack.frob.com>
48526         [BZ #2074]
48527         * libio/libio.h (__io_write_fn): Update comment.
48529 2012-04-12  Petr Baudis  <pasky@ucw.cz>
48531         [BZ #2074]
48532         * stdio.texi (Hook Functions): The user provided writer function
48533         is not allowed to return -1.
48535 2012-04-11  David S. Miller  <davem@davemloft.net>
48537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48539 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
48541         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48542         Add a leading slash to rtkaio.
48544 2012-04-11  Jim Meyering  <meyering@redhat.com>
48546         [BZ #11959]
48547         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48548         It is not necessarily an error to ignore fwrite's return
48549         value.  One can reliably use ferror to test for errors after
48550         the fact.
48552 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48554         * bits/types.h (__snseconds_t): New type.
48555         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48557         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48558         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48559         (__SNSECONDS_T_TYPE): Likewise.
48560         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48561         (__SNSECONDS_T_TYPE): Likewise.
48562         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48563         (__SNSECONDS_T_TYPE): Likewise.
48565 2012-04-10  Andreas Jaeger  <aj@suse.de>
48567         [BZ #2636]
48568         * manual/time.texi (Processor Time): Return type of times is
48569         elapsed real time since an arbitrary point in the past.
48570         (CPU Time): Move CLK_TCK from here...
48571         (Processor Time): ...to here.  Correct description.
48572         * manual/conf.texi (Constants for Sysconf): Correct description of
48573         _SC_CLK_TCK.
48575 2012-04-10  David S. Miller  <davem@davemloft.net>
48577         [BZ #13967]
48578         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48579         where the is a gap between DT_REL(A) and DT_JMPREL.
48581 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48583         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48584         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48585         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48587 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48589         * elf/dl-support.c (_dl_inhibit_cache): New variable.
48590         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48591         (dl_main): Handle --inhibit-cache.
48592         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48593         _dl_inhibit_cache.
48594         * elf/dl-load.c (_dl_map_object): Use it.
48595         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48597 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48599         [BZ #13872]
48600         * sysdeps/i386/fpu/e_powl.S (p78): New object.
48601         (__ieee754_powl): Saturate large exponents rather than testing for
48602         overflow of y*log2(x).
48603         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48604         * math/libm-test.inc (pow_test): Do not permit spurious overflow
48605         exceptions.
48607         [BZ #11521]
48608         * math/s_ctan.c: Include <float.h>.
48609         (__ctan): Avoid internal overflow or cancellation in calculating
48610         denominator.
48611         * math/s_ctanf.c: Likewise.
48612         * math/s_ctanl.c: Likewise.
48613         * math/s_ctanh.c: Likewise.
48614         * math/s_ctanhf.c: Likewise.
48615         * math/s_ctanhl.c: Likewise.
48616         * math/libm-test.inc (ctan_test): Add more tests.
48617         (ctanh_test): Likewise.
48618         * sysdeps/i386/fpu/libm-test-ulps: Update.
48619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48621 2012-04-09  Andreas Jaeger  <aj@suse.de>
48623         [BZ #6894]
48624         * manual/filesys.texi (Directory Entries): Mention that d_namlen
48625         is an optional BSD extension.
48627         [BZ #10254]
48628         * manual/stdio.texi (Opening Streams): Document additional fopen
48629         parameters.
48631 2012-04-09  Roland McGrath  <roland@hack.frob.com>
48633         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48634         %eax without telling the compiler.
48636 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
48638         [BZ # 13963]
48639         * manual/install.texi: Use sourceware.org.
48641 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48643         [BZ #13873]
48644         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48645         (__ieee754_pow): Generate overflow and underflow using huge*huge
48646         and tiny*tiny rather than just returning constant infinity or zero
48647         for large exponents.
48648         * math/libm-test.inc (pow_test): Require overflow exceptions for
48649         applicable cases of large exponents.
48651         [BZ #706]
48652         * sysdeps/i386/fpu/e_pow.S (p10): New object.
48653         (__ieee754_pow): Use iterative multiplication algorithm only for
48654         integer exponents with absolute value below 1024.  Check for odd
48655         integer exponents when using algorithm for real exponents.
48656         * math/libm-test.inc (pow_test): Add more tests.
48657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48659 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
48661         [BZ #13705]
48662         * math/libm-test.inc (exp_test): Do not allow overflow exception
48663         on underflow test.
48665 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
48667         [BZ #13705]
48668         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48669         instead of __kernel_standard_f.
48671 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
48673         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48674         * sysdeps/x86_64/memset_chk.S: Likewise.
48676 2012-04-08  Andreas Jaeger  <aj@suse.de>
48678         [BZ #10153]
48679         * manual/startup.texi (Environment Access): Describe return value
48680         for putenv and setenv.
48682         [BZ #6895]
48683         * manual/filesys.texi (Directory Entries): Add description for
48684         DT_LNK.
48686         [BZ #6890]
48687         * manual/filesys.texi (Directory Entries): Clarify that it's file
48688         system not operating system in the description of DT_UNKNOWN.
48690         [BZ #6578]
48691         * manual/syslog.texi (closelog): Fix reference, it's openlog.
48693 2012-04-08  Stephen Compall  <s11@member.fsf.org>
48695         [BZ #6649]
48696         * manual/llio.texi (Opening and Closing Files): Add cross
48697         reference to explain mode argument.
48699 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
48701         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48702         * sysdeps/x86_64/memset_chk.S: Likewise.
48704 2012-04-07  David S. Miller  <davem@davemloft.net>
48706         * elf/elf.h (R_SPARC_WDISP10): Define.
48707         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48708         R_SPARC_SIZE32.
48709         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48710         R_SPARC_SIZE64 and R_SPARC_H34.
48712 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
48714         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48715         conditions and remove no longer applicable assertion.
48717 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48719         * bits/byteswap.h: Include <features.h>.
48720         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48721         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48723 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48725         * bits/byteswap.h (__bswap_16): Removed.
48726         Include <bits/byteswap-16.h> to get __bswap_16.
48727         * sysdeps/i386/bits/byteswap.h: Likewise.
48728         * sysdeps/s390/bits/byteswap.h: Likewise.
48729         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48730         * bits/byteswap-16.h: New file.
48731         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48732         * sysdeps/s390/bits/byteswap-16.h: Likewise.
48733         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48734         * string/Makefile (headers): Add bits/byteswap-16.h.
48736 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48738         [BZ #13895]
48739         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48740         extra indirection.
48741         * nss/Makefile (tests-static, tests): Add tst-nss-static.
48742         * nss/tst-nss-static.c: New.
48744 2012-04-06  Robert Millan  <rmh@gnu.org>
48746         [BZ #6486]
48747         * manual/llio.texi (File Position Primitive): lseek
48748         refers to WHENCE when it really means OFFSET.
48750 2012-04-06  Andreas Jaeger  <aj@suse.de>
48752         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48753         strncmp declarations.
48755         * abilist/libc.abilist: Add __poll and __ppoll.
48757 2012-04-05  David S. Miller  <davem@davemloft.net>
48759         * scripts/check-local-headers.sh: Accept a host triplet in the
48760         path matched by the exclude regexp.
48762         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48763         definition.
48764         * sysdeps/powerpc/powerpc32/dl-machine.h
48765         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48766         * sysdeps/s390/s390-32/dl-machine.h
48767         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48768         * sysdeps/sparc/sparc32/dl-machine.h
48769         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48770         * sysdeps/sparc/sparc64/dl-machine.h
48771         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48773         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48774         lazy binding.
48775         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48776         undefined symbol errors.
48778         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48779         DT_NEEDED entries.
48781 2012-04-05  Michael Matz  <matz@suse.de>
48783         [BZ #13592]
48784         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48786 2012-04-05  Andreas Jaeger  <aj@suse.de>
48788         [BZ #13908]
48789         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48790         comment.
48792 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48794         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48795         which ROUND is no valid rounding mode.
48797 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48799         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48800         read again.
48801         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48803 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48805         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48806         an exception using FPU order intentionally.
48808 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48810         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48811         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48812         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48813         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48815 2012-04-05  Simon Josefsson  <simon@josefsson.org>
48817         [BZ #12340]
48818         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48819         EINVAL when BUFLEN is too smal.
48821 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48823         [BZ #13553]
48824         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48825         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48827 2012-04-03  Andreas Jaeger  <aj@suse.de>
48829         [BZ #13938]
48830         * manual/setjmp.texi (System V contexts): Fix sentence.
48832         [BZ #13926]
48833         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48834         New macro for this case.
48835         [!__GNUC__] (__bswap_64): New inline function for this case.
48836         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48837         * bits/byteswap.h: Likewise.
48838         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48839         ull, guard with __GLIBC_HAVE_LONG_LONG.
48841         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48842         __GLIBC_HAVE_LONG_LONG.
48844         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48845         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48847 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48849         [BZ #13691]
48850         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48851         inptr and inend, rather than using last_ch.
48853 2012-04-02  David S. Miller  <davem@davemloft.net>
48855         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48856         * stdio-common/printf-parse.h (read_int): Change return type to
48857         'int', return -1 on INT_MAX overflow.
48858         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48859         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
48860         overflows INT_MAX.  Check for overflow of in-format-string precision
48861         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
48862         SIZE_MAX not INT_MAX for integer overflow test.
48863         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48864         skip the construct in the format string but do not record anything.
48865         * stdio-common/bug22.c: Adjust to test both width/prevision
48866         INT_MAX overflow as well as total length INT_MAX overflow.  Check
48867         explicitly for proper errno values.
48869 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48871         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48872         CHAR_MAX.
48873         * string/test-strcmp.c [! WIDE]: Likewise.
48874         * time/tst-mktime2.c: Likewise for INT_MAX.
48875         * string/test-string.h: #include <sys/param.h> for MIN.
48877         * csu/init-first.c (__libc_init_first): Call __ctype_init.
48878         * sysdeps/i386/init-first.c (init): Likewise.
48879         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48880         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48881         * sysdeps/sh/init-first.c (init): Likewise.
48883 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
48885         * po/ru.po: Update from translation team.
48886         * po/vi.po: Likewise.
48888 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48890         * resolv/nss_dns/dns-host.c: Merge copyright years.
48892 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48894         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48895         Optimize memcpy with prefetch if
48896         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
48897         src, dst pointers have unequal 16 byte alignments.
48899 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48901         [BZ #13928]
48902         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48903         from a CNAME entry and return the minimum ttl for the query.
48904         (gaih_getanswer_slice): Likewise.
48906 2012-03-30  Jeff Law  <law@redhat.com>
48908         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48909         due to long keys.
48910         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48911         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48913         * resolv/nss_dns/dns-host.c: Update copyright year.
48915 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
48917         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
48918         requests to save a system call.  Fix check that all bytes are sent.
48920         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48921         comments for sendmmsg.
48923 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48925         [BZ #13691]
48926         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48927         with only 1 character between 0x0041 and 0x01b0.
48928         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48929         * wcsmbs/tst-mbsnrtowcs.c: New file.
48931 2012-03-29  David S. Miller  <davem@davemloft.net>
48933         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48934         small copies by hand.
48936 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48938         [BZ #13761]
48939         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48940         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48941         group memberships.
48943 2012-03-28  David S. Miller  <davem@davemloft.net>
48945         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48946         that branches into memcpy.
48947         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48948         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48949         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48950         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48951         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48952         bits.
48953         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48954         implementation too.
48955         * sysdeps/sparc/mempcpy.S: New file.
48957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48958         the IFUNC routine in the libc case.
48959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48961         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48962         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48963         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48964         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48965         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48966         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48967         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48968         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48970         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48971         loop to 256 bytes instead of 64 bytes and fix test signedness.
48973         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48974         * sysdeps/sparc/sparc32/Makefile: rather than here...
48975         * sysdeps/sparc/sparc64/Makefile: and here.
48977 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
48979         * malloc/mallocbug.c: Avoid warnings about unused variables.
48981 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48983         [BZ #13760]
48984         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48985         in the right place. Discard and retry query if response is
48986         larger than input buffer size.
48988 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
48990         [BZ #369]
48991         [BZ #2678]
48992         [BZ #3866]
48993         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48994         x for large integer exponent.
48995         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48996         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
48997         sign of result as needed afterwards.
48998         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48999         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49000         result for underflowing pow the same as for overflow.
49001         (__kernel_standard_l): Handle powl overflow and underflow here
49002         rather than calling __kernel_standard.
49003         * math/libm-test.inc (pow_test): Add more tests.
49005         [BZ #3868]
49006         [BZ #13879]
49007         [BZ #13910]
49008         [BZ #13911]
49009         [BZ #13912]
49010         [BZ #13913]
49011         [BZ #13915]
49012         [BZ #13916]
49013         [BZ #13917]
49014         [BZ #13918]
49015         [BZ #13919]
49016         [BZ #13920]
49017         [BZ #13921]
49018         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49019         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49020         (__kernel_standard_l): New function.
49021         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49022         __kernel_standard.
49023         * math/w_acosl.c (__acosl): Likewise.
49024         * math/w_asinl.c (__asinl): Likewise.
49025         * math/w_atan2l.c (__atan2l): Likewise.
49026         * math/w_atanhl.c (__atanhl): Likewise.
49027         * math/w_coshl.c (__coshl): Likewise.
49028         * math/w_exp10l.c (__exp10l): Likewise.
49029         * math/w_exp2l.c (__exp2l): Likewise.
49030         * math/w_fmodl.c (__fmodl): Likewise.
49031         * math/w_hypotl.c (__hypotl): Likewise.
49032         * math/w_j0l.c (__j0l, __y0l): Likewise.
49033         * math/w_j1l.c (__j1l, __y1l): Likewise.
49034         * math/w_jnl.c (__jnl, __ynl): Likewise.
49035         * math/w_lgammal.c (__lgammal): Likewise.
49036         * math/w_log10l.c (__log10l): Likewise.
49037         * math/w_log2l.c (__log2l): Likewise.
49038         * math/w_logl.c (__logl): Likewise.
49039         * math/w_powl.c (__powl): Likewise.
49040         * math/w_remainderl.c (__remainderl): Likewise.
49041         * math/w_scalbl.c (sysv_scalbl): Likewise.
49042         * math/w_sinhl.c (__sinhl): Likewise.
49043         * math/w_sqrtl.c (__sqrtl): Likewise.
49044         * math/w_tgammal.c (__tgammal): Likewise.
49045         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49046         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49047         * math/libm-test.inc (acos_test): Add more tests.
49048         (acosh_test): Likewise.
49049         (asin_test): Likewise.
49050         (atanh_test): Likewise.
49051         (exp_test): Likewise.
49052         (exp10_test): Likewise.
49053         (exp2_test): Likewise.
49054         (expm1_test): Likewise.
49055         (lgamma_test): Likewise.
49056         (log_test): Likewise.
49057         (log10_test): Likewise.
49058         (log1p_test): Likewise.
49059         (log2_test): Likewise.
49060         (pow_test): Do not allow some spurious overflow exceptions.
49061         (sqrt_test): Add more tests.
49062         (tgamma_test): Likewise.
49063         (y0_test): Likewise.
49064         (y1_test): Likewise.
49065         (yn_test): Likewise.
49067 2012-03-27  Anton Blanchard  <anton@samba.org>
49069         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49070         MAP_HUGETLB.
49071         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49072         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49073         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49075 2012-03-27  David S. Miller  <davem@davemloft.net>
49077         * conform/Makefile: Run run-conformtest.sh using $(BASH).
49079         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49080         have-as-vis3 check.
49082 2012-03-27  Andreas Jaeger  <aj@suse.de>
49084         * sysdeps/x86_64/elf/configure.in: Moved to ...
49085         * sysdeps/x86_64/configure.in: ... here.
49086         * sysdeps/x86_64/elf/start.S: Moved to ...
49087         * sysdeps/x86_64/start.S: ... here.
49088         * sysdeps/x86_64/elf/configure: Delete.
49090         * sysdeps/x86_64/configure.in: Merge contents from
49091         sysdeps/i386/configure.in (without i686 check).
49093         * sysdeps/i386/elf/Versions: Merge into ...
49094         * sysdeps/i386/Versions: ... this.
49095         * sysdeps/i386/elf/Versions: Delete file.
49096         * sysdeps/i386/elf/start.S: Moved to ...
49097         * sysdeps/i386/start.S: ...here.
49098         * sysdeps/i386/elf/configure.in: Merge into...
49099         * sysdeps/i386/configure.in: ...here.
49100         * sysdeps/i386/elf/configure.in: Delete file.
49101         * sysdeps/i386/elf/configure: Delete file.
49103         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49104         * debug/backtracesyms.c: ... here.
49105         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49106         * debug/backtracesymsfd.c: ... here.
49107         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49108         * sysdeps/generic/ifunc-sel.h: ... here.
49110         * sysdeps/unix/i386/start.c: Delete file.
49111         * sysdeps/unix/sparc/start.c: Delete file.
49112         * sysdeps/unix/start.c: Delete file.
49114         * sysdeps/sh/elf/configure.in: Moved to ...
49115         * sysdeps/sh/configure.in: ... here.
49116         * sysdeps/sh/elf/start.S: Moved to ...
49117         * sysdeps/sh/start.S: ... here.
49118         * sysdeps/sh/elf/configure: Delete file.
49120         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49121         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49122         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49123         * sysdeps/powerpc/powerpc64/entry.h: ... here.
49124         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49125         * sysdeps/powerpc/powerpc64/start.S: here.
49126         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49127         * sysdeps/powerpc/powerpc64/Makefile: ... this.
49128         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49129         * sysdeps/powerpc/powerpc64/configure.in: ... this.
49130         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49132         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49133         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49134         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49135         * sysdeps/powerpc/powerpc32/start.S: ... here.
49136         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49137         * sysdeps/powerpc/powerpc32/configure.in: ... this.
49138         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49140         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49141         * sysdeps/powerpc/ifunc-sel.h: ... here.
49142         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49143         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49145         * sysdeps/sparc/elf/configure.in: Moved to ...
49146         * sysdeps/sparc/configure.in: ... here.
49147         * sysdeps/sparc/elf/configure: Delete file.
49148         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49149         * sysdeps/sparc/sparc32/start.S: ... here.
49150         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49151         * sysdeps/sparc/sparc64/start.S: ... here.
49152         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49153         * sysdeps/sparc/sparc32/Makefile: ... this.
49154         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49155         * sysdeps/sparc/sparc64/Makefile: ... this.
49157         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49158         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49159         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49160         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49161         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49162         * sysdeps/s390/s390-32/setjmp.S: ... here.
49163         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49164         * sysdeps/s390/s390-32/configure.in: ... here.
49165         * sysdeps/s390/s390-32/elf/configure: Delete file.
49166         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49167         * sysdeps/s390/s390-32/start.S: ... here.
49169         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49170         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49171         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49172         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49173         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49174         * sysdeps/s390/s390-64/setjmp.S: ... here.
49175         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49176         * sysdeps/s390/s390-64/configure.in: ... here
49177         * sysdeps/s390/s390-64/elf/configure: Delete file.
49178         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49179         * sysdeps/s390/s390-64/start.S: ... here.
49180         * sysdeps/s390/s390-64/elf/configure: Delete.
49182         * configure.in: Remove support for elf directories in sysdeps.
49184         * configure: Regenerated.
49185         * sysdeps/i386/configure: Regenerated.
49186         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49187         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49188         * sysdeps/s390/s390-32/configure: Regenerated.
49189         * sysdeps/s390/s390-64/configure: Regenerated.
49190         * sysdeps/sh/configure: Regenerated.
49191         * sysdeps/sparc/configure: Regenerated.
49192         * sysdeps/x86_64/configure: Regenerated.
49194 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
49196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49198         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49199         denormal result into account.
49201 2012-03-25  Roland McGrath  <roland@hack.frob.com>
49203         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49204         Reported by Allan McRae <allan@archlinux.org>.
49206 2012-03-23  Jeff Law  <law@redhat.com>
49208         * nss/getnssent.c (__nss_getent): Fix typo.
49210 2012-03-23  David S. Miller  <davem@davemloft.net>
49212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49214 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
49216         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49217         to pad to uint64_t for each field.
49218         (dl_tls_index): Replace unsigned long with uint64_t.
49220 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
49221         Paul Pluzhnikov  <ppluzhnikov@google.com>
49223         [BZ #6528]
49224         * grp/Makefile (otherlibs): Don't set it.
49225         * inet/Makefile (otherlibs): Likewise.
49226         * login/Makefile (otherlibs): Likewise.
49227         * nscd/Makefile (otherlibs): Likewise.
49228         * posix/Makefile (otherlibs): Likewise.
49229         * pwd/Makefile (otherlibs): Likewise.
49230         * rt/Makefile (otherlibs): Likewise.
49231         * sunrpc/Makefile (otherlibs): Likewise.
49232         * nss/Makefile (otherlibs): Likewise.
49233         Add libnss_files to routines and static-only-routines.
49234         ($(objpfx)getent): Remove rule.
49235         * resolv/Makefile: Add libnss_dns and libresolv to routines and
49236         static-only-routines.
49238 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49240         [BZ #13892]
49241         * math/s_cexp.c: Include <float.h>.
49242         (__cexp): Handle exp result overflowing not necessarily
49243         overflowing both real and imaginary parts of result.
49244         * math/s_cexpf.c: Likewise.
49245         * math/s_cexpl.c: Likewise.
49246         * math/libm-test.inc (cexp_test): Add more tests.
49247         * sysdeps/i386/fpu/libm-test-ulps: Update.
49248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49250 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49252         * include/link.h (ELFW): New macro.
49253         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49254         Replace ELF64_R_TYPE with ELFW(R_TYPE).
49256 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49258         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49259         with uint64_t.
49261 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49263         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49264         declaration.
49265         (struct La_x32_retval): Likewise.
49267 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49269         * sysdeps/x86_64/preconfigure.in: New file.
49270         * sysdeps/x86_64/preconfigure: New generated file.
49272 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49274         [BZ #13824]
49275         * math/e_exp2l.c: Include <float.h>.
49276         (__ieee754_exp2l): Handle overflow and underflow cases
49277         separately.  Only pass fractional part of argument to
49278         __ieee754_expl.
49279         * math/libm-test.inc (exp2_test): Add more tests.
49281         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49282         negating x to take absolute value.
49283         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49284         Likewise.
49285         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49286         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49287         Likewise.
49288         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49289         computing low part if x was negated.
49290         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49292 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49294         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49295         la_x32_gnu_pltexit.
49296         (pltexit): Cast int_retval to ptrdiff_t.
49297         * elf/tst-auditmod3b.c: Likewise.
49298         * elf/tst-auditmod4b.c: Likewise.
49299         * elf/tst-auditmod5b.c: Likewise.
49300         * elf/tst-auditmod6b.c: Likewise.
49301         * elf/tst-auditmod6c.c: Likewise.
49302         * elf/tst-auditmod7b.c: Likewise.
49304         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49305         and x32_gnu_pltexit.
49307         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49308         __ELF_NATIVE_CLASS.
49309         (La_x32_regs): New macro.
49310         (La_x32_retval): Likewise.
49311         (la_x32_gnu_pltenter): New function prototype.
49312         (la_x32_gnu_pltexit): Likewise.
49314 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
49316         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49317         exponent.
49319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49321         * configure.in (libc_cv_cc_nofma): Check for option to disable
49322         generation of FMA instructions.
49323         * configure: Regenerate.
49324         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49325         * sysdeps/ieee754/dbl-64/Makefile: New file.
49326         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49327         Remove brandred-fma4.
49328         (CFLAGS-brandred-fma4.c): Remove.
49329         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49330         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49331         define.
49332         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49333         define.
49335 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49337         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49338         LLONG_MAX != LONG_MAX.
49339         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49340         (_fitoa_word): Likewise.
49341         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49342         LLONG_MAX != LONG_MAX.
49343         * stdio-common/_itowa.h: Include <_itoa.h>.
49344         (_itowa_word): Use _ITOA_WORD_TYPE on value.
49345         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
49346         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
49347         only if not defined.
49348         (_ITOA_WORD_TYPE): Likewise.
49349         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49350         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49352 2012-03-21  David S. Miller  <davem@davemloft.net>
49354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49356 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49358         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49359         of x86_64 when setting libc_cv_slibdir, libdir and
49360         libc_cv_localedir.
49361         * sysdeps/unix/sysv/linux/configure: Regenerated.
49363 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49365         * manual/lang.texi (Old Varargs): Remove section.
49366         (How Variadic): Update menu.
49367         (va_start): Do not mention varargs.h.
49369 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49370             Joseph Myers  <joseph@codesourcery.com>
49372         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49373         link test.
49374         * configure: Regenerated.
49376 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49378         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49379         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49380         conformtest.pl
49382 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49384         * NOTES: Remove.
49385         * Makefile (files-for-dist): Remove NOTES.
49386         (NOTES): Remove rule.
49387         * README: Don't refer to NOTES.
49388         * manual/creature.texi: Don't include macros.texi.
49389         * manual/intro.texi (creature.texi): Remove comment referring to
49390         NOTES.
49392         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49393         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49394         * configure: Regenerated.
49395         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49396         LIBC_TRY_CC_OPTION.
49397         (libc_cv_as_i686): Likewise.
49398         (libc_cv_cc_avx): Likewise.
49399         (libc_cv_cc_sse2avx): Likewise.
49400         (libc_cv_cc_fma4): Likewise.
49401         (libc_cv_cc_novzeroupper): Likewise.
49402         * sysdeps/i386/configure: Regenerated.
49404         [BZ #13883]
49405         * sysdeps/i386/fpu/s_cexp.S: Remove.
49406         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49407         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49408         * math/libm-test.inc (cexp_test): Add more tests.
49409         * sysdeps/i386/fpu/libm-test-ulps: Update.
49410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49412 2012-03-21  Allan McRae  <allan@archlinux.org>
49414         * timezone/Makefile: Do not install iso3166.tab and zone.tab
49416 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49418         [BZ #13871]
49419         * math/w_exp2.c: Do not include <float.h>.
49420         (o_threshold, u_threshold): Remove.
49421         (__exp2): Calculate result before checking finiteness and calling
49422         __kernel_standard.
49423         * math/w_exp2f.c: Likewise.
49424         * math/w_exp2l.c: Likewise.
49425         * math/libm-test.inc (exp2_test): Require overflow exception for
49426         1e6 input.
49428         [BZ #3866]
49429         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49430         range of signed 64-bit integers before using fistpll.  Remove
49431         checks for whether integers fit in mantissa bits.
49432         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49433         the range of signed 32-bit integers before using fistpl.  Remove
49434         checks for whether integers fit in mantissa bits.
49435         * sysdeps/i386/fpu/e_powl.S (p64): New object.
49436         (__ieee754_powl): Test for y outside the range of signed 64-bit
49437         integers before using fistpll.  Reduce 64-bit values to 63-bit
49438         ones as needed.
49439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49440         divide-by-zero is raised for zero to large negative powers.
49441         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49442         (__ieee754_powl): Test for y outside the range of signed 64-bit
49443         integers before using fistpll.  Reduce 64-bit values to 63-bit
49444         ones as needed.
49445         * math/libm-test.inc (pow_test): Add more tests.
49447 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49449         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49450         <stdio-common/_itoa.h>.
49451         * debug/segfault.c: Likewise.
49452         * elf/dl-cache.c: Likewise.
49453         * elf/dl-minimal.c: Likewise.
49454         * elf/dl-misc.c: Likewise.
49455         * elf/dl-sysdep.c: Likewise.
49456         * elf/dl-version.c: Likewise.
49457         * elf/rtld.c: Likewise.
49458         * hurd/hurdsock.c: Likewise.
49459         * hurd/lookup-retry.c: Likewise.
49460         * malloc/malloc.c: Likewise.
49461         * malloc/mtrace.c: Likewise.
49462         * nscd/nscd_getgr_r.c: Likewise.
49463         * nscd/nscd_getpw_r.c: Likewise.
49464         * nscd/nscd_getserv_r.c: Likewise.
49465         * posix/getopt_init.c: Likewise.
49466         * posix/wordexp.c: Likewise.
49467         * stdio-common/_itoa.c: Likewise.
49468         * stdio-common/printf_fphex.c: Likewise.
49469         * stdio-common/vfprintf.c: Likewise.
49470         * string/_strerror.c: Likewise.
49471         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49472         * sysdeps/i386/i686/hp-timing.h: Likewise.
49473         * sysdeps/mach/_strerror.c: Likewise.
49474         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49475         * sysdeps/mach/hurd/sethostid.c: Likewise.
49476         * sysdeps/mach/hurd/xmknodat.c: Likewise.
49477         * sysdeps/mach/xpg-strerror.c: Likewise.
49478         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49479         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49480         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49481         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49482         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49483         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49484         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49485         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49486         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49487         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49488         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49489         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49490         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49491         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49492         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49493         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49494         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49495         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49496         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49497         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49498         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49500         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49502         * stdio-common/_itoa.h: Moved to ...
49503         * sysdeps/generic/_itoa.h: Here.
49505         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49507         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49508         instead of "_itoa.h" and "_itowa.h".
49509         * stdio-common/vfprintf.: Likewise.
49511 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49513         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49514         <bits/wordsize.h>.
49515         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49516         (__signbit): Likwise.
49517         (llrintf): Likwise.
49518         (llrint): Likwise.
49520 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49522         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49523         __WORDSIZE != 64.
49525 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
49527         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49528         OVERFLOW_EXCEPTION_OK.
49529         * math/libm-test.inc ("Philosophy"): Update comment about
49530         exception testing.
49531         (OVERFLOW_EXCEPTION): Define.
49532         (OVERFLOW_EXCEPTION_OK): Likewise.
49533         (INVALID_EXCEPTION_OK): Renumber.
49534         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49535         (IGNORE_ZERO_INF_SIGN): Likewise.
49536         (test_exceptions): Handle FE_OVERFLOW.
49537         (exp10_test): Expect overflow exceptions.
49538         (exp2_test): Likewise.
49539         (expm1_test): Likewise.
49540         (nextafter_test): Likewise.
49541         (pow_test): Likewise.
49542         (scalbn_test): Likewise.
49543         (scalbln_test): Likewise.
49545 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49547         * sysdeps/x86_64/bits/atomic.h
49548         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49549         64bit integer.
49550         (atomic_exchange_acq): Likewise.
49551         (__arch_exchange_and_add_body): Likewise.
49552         (__arch_add_body): Likewise.
49553         (atomic_add_negative): Likewise.
49554         (atomic_add_zero): Likewise.
49556 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49558         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49559         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49561 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49563         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49564         Check __x86_64__ instead of __WORDSIZE.
49566 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49568         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49570 2012-03-19  David S. Miller  <davem@davemloft.net>
49572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49574         * sysdeps/sparc/fpu/fenv_private.h: New file.
49575         * sysdeps/sparc/fpu/math_private.h: Use it.
49576         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49577         Remove.
49578         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49579         (libc_feholdexcept_setroundl): Remove.
49580         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49581         Remove.
49582         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49583         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49585 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49587         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49588         int64_t instead of long int.
49589         (INSERT_WORDS64): Likwise.
49591 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49593         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49594         _Unwind_GetCFA return to _Unwind_Ptr first.
49596 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
49598         [BZ #13629]
49599         * math/s_clog.c: Include <float.h>.
49600         (__clog): Scale large or subnormal inputs.
49601         * math/s_clogf.c: Likewise.
49602         * math/s_clogl.c: Likewise.
49603         * math/s_clog10.c: Include <float.h>.
49604         (M_LOG10_2): Define.
49605         (__clog10): Scale large or subnormal inputs.
49606         * math/s_clog10f.c: Likewise.
49607         * math/s_clog10l.c: Likewise.
49608         * math/libm-test.inc (clog_test): Add more tests.
49609         (clog10_test): Likewise.
49610         * sysdeps/i386/fpu/libm-test-ulps: Update.
49611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49613         [BZ #11451]
49614         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49615         x and y.
49616         * math/libm-test.inc (atan2_test): Add another test.
49618         * Makerules (common-objdir-compile): Remove.
49619         * sysdeps/unix/Makefile (config-generated): Do not add
49620         $(unix-generated) to variable.
49621         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49622         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49623         Remove rule.
49624         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49625         Likewise.
49626         [generic bits/local_lim.h] (before-compile): Do not append to
49627         variable.
49628         [generic bits/local_lim.h] (common-generated): Likewise.
49629         [generic sys/param.h] (before-compile): Do not append to variable.
49630         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49631         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49632         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49633         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49634         include.
49635         [generic sys/param.h] (sys/param.h-includes): Remove variable.
49636         [generic sys/param.h] (sys/param.h-includes): Remove rule.
49637         [generic sys/param.h] ($(addprefix
49638         $(common-objpfx),$(sys/param.h-includes))): Likewise.
49639         [generic sys/param.h] (common-generated): Do not append to
49640         variable.
49641         [generic sys/param.h] (sysdep_headers): Likewise.
49642         [generic bits/errno.h] (before-compile): Do not append to
49643         variable.
49644         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49645         rule.
49646         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49647         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49648         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49649         [generic bits/errno.h] (common-generated): Do not append to
49650         variable.
49651         [generic bits/ioctls.h] (before-compile): Do not append to
49652         variable.
49653         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49654         rule.
49655         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49656         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49657         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49658         rule.
49659         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49660         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49661         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49662         [generic bits/ioctls.h] (common-generated): Do not append to
49663         variable.
49664         [generic sys/syscall.h] (syscall.h): Remove variable.
49665         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49666         rule.
49667         [generic sys/syscall.h] (before-compile): Do not append to
49668         variable.
49669         [generic sys/syscall.h] (common-generated): Likewise.
49670         * sysdeps/unix/errnos-tmpl.c: Remove file.
49671         * sysdeps/unix/errnos.awk: Likewise.
49672         * sysdeps/unix/ioctls-tmpl.c: Likewise.
49673         * sysdeps/unix/ioctls.awk: Likewise.
49674         * sysdeps/unix/mk-local_lim.c: Likewise.
49675         * sysdeps/unix/snarf-ioctls: Likewise.
49677 2012-03-19  Richard Henderson  <rth@twiddle.net>
49679         * sysdeps/i386/fpu/fenv_private.h: New file.
49680         * sysdeps/i386/fpu/math_private.h: Use it.
49681         (math_opt_barrier, math_force_eval): Remove.
49682         (libc_feholdexcept_setround_53bit): Remove.
49683         (libc_feupdateenv_53bit): Remove.
49684         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49685         (math_opt_barrier, math_force_eval): Remove.
49686         (libc_feholdexcept): Remove.
49687         (libc_feholdexcept_setround): Remove.
49688         (libc_fetestexcept, libc_fesetenv): Remove.
49689         (libc_feupdateenv_test): Remove.
49690         (libc_feupdateenv, libc_feholdsetround): Remove.
49691         (libc_feresetround): Remove.
49693         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49694         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49696         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49697         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49698         (libc_feupdateenv_testl): New.
49699         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49700         (libc_feupdateenv_testf): New.
49701         (libc_feupdateenv): Use libc_feupdateenv_test.
49702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49703         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49705         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49706         (libc_feholdsetroundf, libc_feholdsetroundl): New.
49707         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49708         (libc_feresetround_noex): New.
49709         (libc_feresetround_noexf): New.
49710         (libc_feresetround_noexl): New.
49711         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49712         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49713         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49714         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49715         SET_RESTORE_ROUND.
49716         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49717         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49718         (__cos): Likewise.
49719         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49720         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49721         SET_RESTORE_ROUND_NOEX.
49722         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49723         SET_RESTORE_ROUND_NOEXF.
49724         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49725         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49726         (libc_feholdsetroundf): New.
49727         (libc_feresetround, libc_feresetroundf): New.
49729         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49730         (libc_feholdexcept_setround_53bit): Convert from macro to function.
49731         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
49733         * sysdeps/generic/math_private.h: Include <fenv.h>.
49734         (default_libc_feholdexcept): New.
49735         (default_libc_feholdexcept_setround): New.
49736         (default_libc_fesetenv, default_libc_feupdateenv): New.
49737         (libc_feholdexcept): Only define if undefined.
49738         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49739         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49740         (libc_feholdexcept_setroundl): Likewise.
49741         (libc_feholdexcept_setround_53bit): Likewise.
49742         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49743         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49744         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49745         (libc_feupdateenv_53bit): Likewise.
49746         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49747         (libc_feholdexcept): Convert from macro to inline function.
49748         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49749         (libc_fesetenv, libc_feupdateenv): Likewise.
49751         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49752         not previously defined.
49753         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49754         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49755         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49756         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49757         * sysdeps/ieee754/flt-32/math_private.h: New file.
49758         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49759         math_private.h below SET_FLOAT_WORD.
49760         (__isnan, __isinf_ns, __finite): Remove.
49761         (__isnanf, __isinf_nsf, __finitef): Remove.
49763 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
49765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49767 2012-03-17  David S. Miller  <davem@davemloft.net>
49769         [BZ #6471]
49770         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49771         for 2.16.
49773 2012-03-16  David S. Miller  <davem@davemloft.net>
49775         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49776         warnings.
49778         [BZ #6471]
49779         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49780         properly.
49781         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49782         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49783         sysdep_routines when subdir is sysvipc.
49784         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49785         __getshmlba helper.
49787         * sysdeps/sparc/fpu/libm-test/ulps: Update.
49789 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49791         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49792         [__LP64__].
49794 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49796         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49797         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49798         (__lround): Renamed to ...
49799         (__llround): This.  Replace long int with long long int.
49800         Define lround functions as aliases of llround functions.
49801         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49803 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49805         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49806         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
49807         adresses to uintptr_t.  Replace "long int" and "unsigned long
49808         int" with "greg_t" on va_arg.
49810 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49812         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49813         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49815         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49816         Move e_machine check before EI_CLASS check.  Handle x32
49817         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49818         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49819         SKIP_EM_IA_64 and include
49820         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49822         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49823         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49824         (add_system_dir): New macro.
49826         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49827         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49829 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
49831         [BZ #2551]
49832         [BZ #2552]
49833         [BZ #2553]
49834         [BZ #2554]
49835         [BZ #2562]
49836         [BZ #2563]
49837         [BZ #2565]
49838         [BZ #2566]
49839         [BZ #2576]
49840         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49841         (y0): Likewise.
49842         * math/w_j0f.c (j0f): Likewise.
49843         (y0f): Likewise.
49844         * math/w_j0l.c (__j0l): Likewise.
49845         (__y0l): Likewise.
49846         * math/w_j1.c (j1): Likewise.
49847         (y1): Likewise.
49848         * math/w_j1f.c (j1f): Likewise.
49849         (y1f): Likewise.
49850         * math/w_j1l.c (__j1l): Likewise.
49851         (__y1l): Likewise.
49852         * math/w_jn.c (jn): Likewise.
49853         (yn): Likewise.
49854         * math/w_jnf.c (jnf): Likewise.
49855         (ynf): Likewise.
49856         * math/w_jnl.c (__jnl): Likewise.
49857         (__ynl): Likewise.
49858         * math/libm-test.inc (j0_test): Add more tests.
49859         (j1_test): Likewise.
49860         (jn_test): Likewise.  Add trailing semicolon to existing test.
49861         (y0_test): Likewise.
49862         (y1_test): Likewise.
49863         * sysdeps/i386/fpu/libm-test-ulps: Update.
49864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49866         [BZ #13851]
49867         [BZ #13854]
49868         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49869         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49870         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49871         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49872         (__tanl): Set errno for infinite argument.
49873         * sysdeps/i386/fpu/mptan.c: Remove.
49874         * sysdeps/i386/fpu/s_tan.S: Likewise.
49875         * sysdeps/i386/fpu/s_tanl.S: Likewise.
49876         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49877         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49878         * math/libm-test.inc (tan_test): Add more tests and enable more
49879         tests for double and long double.
49880         * sysdeps/i386/fpu/libm-test-ulps: Update.
49881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49883 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
49885         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49886         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49888 2012-03-16  Roland McGrath  <roland@hack.frob.com>
49890         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49891         * configure.in: Use it for both main tree and add-ons.
49892         * configure: Regenerated.
49894 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49896         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49898 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
49900         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49901         in comment.
49903         [BZ #13851]
49904         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49905         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49906         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49907         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49908         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49909         infinite argument.
49910         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49911         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49912         != 0 for prec == 2.
49913         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49914         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49915         * sysdeps/i386/fpu/s_cosl.S: Likewise.
49916         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49917         * sysdeps/i386/fpu/s_sinl.S: Likewise.
49918         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49919         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49920         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49921         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49922         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49923         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49924         * math/libm-test.inc (cos_test): Add more tests and enable more
49925         tests for long double.
49926         (sin_test): Likewise.
49927         (sincos_test): Likewise.
49928         * sysdeps/i386/fpu/libm-test-ulps: Update.
49929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49931 2012-03-16  David S. Miller  <davem@davemloft.net>
49933         * sysdeps/sparc/fpu/math_private.h: New file.
49935 2012-03-15  David S. Miller  <davem@davemloft.net>
49937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49938         file.
49939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49941         file.
49942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49943         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49947         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49948         sysdep routines.
49949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49951         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49952         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49954         * sysdeps/sparc/sparc-ifunc.h: New file.
49955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49956         sparc-ifunc.h
49957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49959         Likewise.
49960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49961         Likewise.
49962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49966         Likewise.
49967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49972         Likewise.
49973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49974         Likewise.
49975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49980         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49981         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49982         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49985         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49993         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49994         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49995         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49996         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49997         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49998         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50000 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50002         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50003         scaling.
50004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50006 2012-03-15  Andreas Jaeger  <aj@suse.de>
50008         [BZ #13852]
50009         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50010         ieee754/flt-32 implementation for sin, cos and sincos.
50011         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50012         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50013         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50014         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50015         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50016         ieee754/flt-32 implementation for tan.
50018         * math/libm-test.inc (cos_test): Enable some large input tests for
50019         float as well
50020         (sin_test): Likewise.
50021         (sincos_test): Likewise.
50022         (tan_test): Add tests for large input.
50024         * sysdeps/i386/fpu/libm-test-ulps: Update.
50026 2012-03-15  Andreas Jaeger  <aj@suse.de>
50028         [BZ #13658]
50029         * math/libm-test.inc (cos_test): Add more test cases.
50030         (sin_test): Likewise.
50031         (sincos_test): Likewise.
50033 2012-03-15  Andreas Jaeger  <aj@suse.de>
50035         [BZ #13837]
50036         * math/libm-test.inc (cos_test): Add a test case for large input
50037         value.
50038         (sin_test): Likewise.
50039         (sincos_test): Likewise.
50041 2012-03-15  Andreas Jaeger  <aj@suse.de>
50042             Joseph Myers  <joseph@codesourcery.com>
50044         [BZ #13658]
50045         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50046         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50047         * sysdeps/i386/fpu/branred.c: Likewise.
50048         * sysdeps/i386/fpu/dosincos.c: Likewise.
50049         * sysdeps/i386/fpu/mpa.c: Likewise.
50050         * sysdeps/i386/fpu/s_cos.S: Likewise.
50051         * sysdeps/i386/fpu/s_sin.S: Likewise.
50052         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50053         * sysdeps/i386/fpu/sincos32.c: Likewise.
50055         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50056         Define.
50057         (libc_feupdateenv_53bit): Define.
50058         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50059         Define.
50060         (libc_feupdateenv_53bit): Define.
50062         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50063         53 bit (without extend i386 double precision).
50065         * math/libm-test.inc (sincos_test): Add tests for large input.
50066         (sin): Likewise.
50067         (cos): Likewise.
50069         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50071 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50075 2012-03-15  David S. Miller  <davem@davemloft.net>
50077         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50078         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50079         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50080         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50093         file.
50094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50096         file.
50097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50099         file.
50100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50102         file.
50103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50104         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50105         fmin/fmax sysdep routines.
50106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50108 2012-03-14  David S. Miller  <davem@davemloft.net>
50110         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50114         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50115         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50116         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50117         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50120         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50121         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50123         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50125         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50126         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50127         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50130         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50131         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50132         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50133         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50134         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50135         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50136         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50137         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50138         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50139         routines.
50140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50141         file.
50142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50144         file.
50145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50147         file.
50148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50150         file.
50151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50153         file.
50154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50156         file.
50157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50158         file.
50159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50160         file.
50161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50162         file.
50163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50164         New file.
50165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50166         file.
50167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50168         file.
50169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50171         file.
50172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50174         file.
50175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50177         file.
50178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50180         VIS3 routines.
50182         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50183         New file.
50185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50187         * sysdeps/sparc/configure.in: New file.
50188         * sysdeps/sparc/configure: Generate.
50189         * configure.in (libc_cv_sparc_as_vis3): Substitute.
50190         * configure: Regenerate.
50191         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50192         * config.make.in (have-as-vis3): New.
50193         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50194         available use -Av9d instead of -Av9a.
50195         * sysdeps/sparc/sparc64/Makefile: Likewise.
50196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50198         New file.
50199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50200         file.
50201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50202         New file.
50203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50204         file.
50205         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50206         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50207         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50208         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50209         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50211         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50212         fzeros/fnegs to load 0x80000000 into a float register instead of
50213         using the stack.
50214         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50216 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50218         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50219         bits/syscall.h.
50220         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50221         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50222         ($(inst_includedir)/bits/syscall.h): Remove rule.
50223         ($(objpfx)bits/syscall.d): Include instead of
50224         $(objpfx)syscall-list.d.
50225         (generated): Change syscall-list.h and syscall-list.d to
50226         bits/syscall.h and bits/syscall.d.
50228 2012-03-14  Roland McGrath  <roland@hack.frob.com>
50230         [BZ #13846]
50231         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50233 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50235         [BZ #13841]
50236         * math/s_csqrt.c: Include <float.h>.
50237         (__csqrt): Scale large or subnormal inputs.
50238         * math/s_csqrtf.c: Likewise.
50239         * math/s_csqrtl.c: Likewise.
50240         * math/libm-test.inc (csqrt_test): Add more tests.
50241         * sysdeps/i386/fpu/libm-test-ulps: Update.
50242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50244         [BZ #13840]
50245         * math/libm-test.inc (hypot_test): Add more tests.
50247 2012-03-13  David S. Miller  <davem@davemloft.net>
50249         [BZ #13840]
50250         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50251         double-precision for the calculation instead of scaling.
50253 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
50255         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50256         manipulate bits before adding and subtracting TWO52[sx].
50257         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50258         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50259         Likewise.
50260         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50262 2012-03-13  David S. Miller  <davem@davemloft.net>
50264         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50265         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50266         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50267         rtld-global-offsets.h
50268         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50270         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50271         large parameters.
50273         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50275         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50276         'err' in the ifdef scope in which it is actually used.
50278         * nss/nss_db/db-init.c: Include string.h
50280 2012-03-12  David S. Miller  <davem@davemloft.net>
50282         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50283         masking out of the most significant byte of random value used.
50284         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50285         Fix coding style in previous change.
50287         * sysdeps/unix/sysv/linux/kernel-features.h
50288         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50289         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50290         expression.
50291         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50292         later.
50294 2012-03-11  David S. Miller  <davem@davemloft.net>
50296         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50297         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50298         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50299         for 'resultvar' otherwise things get truncated on 64-bit.
50301         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50302         Fix masking out of the most significant byte of random value used.
50304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50306 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
50308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50310 2012-03-09  David S. Miller  <davem@davemloft.net>
50312         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50313         variables with appropriate CPP guards.
50314         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50315         from the frame pointer, not the stack pointer.  Correct layout
50316         comments.  Fix test on resulting framesize and the management of
50317         the outregs buffer for pltexit.  Preserve floating point return
50318         values across _dl_call_pltexit call.
50319         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50320         framesize and the management of the outregs buffer for pltexit.
50321         Preserve floating point return values across _dl_call_pltexit
50322         call.
50323         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50324         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50325         (la_sparc64_gnu_pltexit): New functions.
50326         (print_exit): Fix format string for return register value.
50328 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
50330         * sunrpc/Makefile (others): Add rpcgen.
50331         ($(objpfx)rpcgen): Remove special build rule and dependency on
50332         libc.
50333         * sunrpc/rpcgen.c: New file.
50335 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
50337         [BZ #13673]
50338         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50339         * stdio-common/bug-vfprintf-nargs.c: Likewise.
50340         * sysdeps/i386/crti.S: Likewise.
50341         * sysdeps/i386/crtn.S: Likewise.
50342         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50343         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50344         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50345         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50346         * sysdeps/sh/crti.S: Likewise.
50347         * sysdeps/sh/crtn.S: Likewise.
50348         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50350         [BZ #13673]
50351         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50352         with URL.
50353         * locale/programs/locfile-kw.gperf: Likewise.
50354         * locale/programs/charmap-kw.h: Regenerated.
50355         * locale/programs/locfile-kw.h: Likewise.
50357         [BZ #13673]
50358         * intl/plural.y: Replace FSF snail mail address with URL.
50359         * intl/plural.c: Regenerated.
50361 2012-03-09  Richard Henderson  <rth@twiddle.net>
50363         * include/math_private.h: Remove file.
50364         * math/math_private.h: Move file ...
50365         * sysdeps/generic/math_private.h: ... here.
50367         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50368         * sysdeps/powerpc/fpu/math_private.h: Likewise.
50369         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50371         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50372         and <math_private.h>.
50373         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50374         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50375         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50376         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50377         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50378         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50379         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50380         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50381         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50382         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50383         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50384         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50385         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50386         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50387         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50388         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50389         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50390         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50391         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50392         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50393         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50394         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50395         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50397         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50398         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50399         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50400         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50402         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50403         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50404         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50405         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50406         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50407         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50408         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50409         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50410         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50411         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50412         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50413         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50414         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50415         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50416         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50417         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50418         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50419         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50420         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50421         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50422         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50423         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50424         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50425         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50426         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50427         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50428         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50429         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50430         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50431         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50432         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50433         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50434         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50435         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50436         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50437         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50438         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50439         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50440         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50441         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50442         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50443         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50444         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50445         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50446         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50447         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50448         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50451         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50452         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50453         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50454         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50455         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50456         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50457         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50459         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50460         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50461         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50462         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50463         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50464         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50465         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50466         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50467         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50468         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50469         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50470         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50471         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50472         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50473         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50474         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50475         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50476         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50477         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50478         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50479         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50480         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50481         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50482         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50483         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50484         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50485         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50486         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50487         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50488         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50489         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50490         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50491         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50492         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50493         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50494         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50495         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50496         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50497         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50498         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50499         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50500         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50501         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50502         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50503         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50504         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50505         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50506         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50507         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50508         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50509         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50510         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50511         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50512         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50513         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50514         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50515         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50516         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50517         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50518         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50519         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50520         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50521         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50522         * sysdeps/ieee754/k_standard.c: Likewise.
50523         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50524         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50525         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50526         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50527         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50528         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50529         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50530         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50531         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50532         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50533         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50534         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50535         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50536         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50537         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50538         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50539         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50540         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50541         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50542         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50543         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50544         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50545         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50546         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50547         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50548         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50549         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50550         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50551         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50552         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50553         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50554         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50555         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50556         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50557         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50558         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50559         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50560         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50561         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50562         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50563         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50564         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50565         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50566         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50567         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50568         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50569         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50570         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50571         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50572         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50573         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50574         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50575         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50576         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50577         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50578         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50579         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50580         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50581         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50582         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50583         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50584         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50585         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50586         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50587         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50588         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50589         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50590         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50591         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50592         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50593         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50595         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50596         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50597         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50599         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50600         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50601         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50602         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50603         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50604         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50605         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50606         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50607         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50608         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50609         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50610         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50611         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50612         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50613         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50614         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50615         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50616         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50617         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50618         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50619         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50620         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50621         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50622         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50624         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50625         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50626         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50627         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50628         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50629         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50630         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50631         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50632         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50633         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50634         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50635         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50636         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50637         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50638         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50639         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50640         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50641         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50642         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50643         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50644         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50645         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50646         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50647         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50648         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50649         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50650         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50651         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50652         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50653         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50654         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50655         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50656         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50657         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50658         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50659         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50660         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50661         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50662         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50663         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50664         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50665         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50666         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50667         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50668         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50669         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50670         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50671         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50672         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50673         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50674         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50675         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50676         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50677         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50678         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50679         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50680         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50681         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50682         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50683         * sysdeps/ieee754/s_lib_version.c: Likewise.
50684         * sysdeps/ieee754/s_matherr.c: Likewise.
50685         * sysdeps/ieee754/s_signgam.c: Likewise.
50686         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50687         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50688         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50689         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50690         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50691         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50692         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50693         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50694         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50695         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50696         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50697         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50698         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50699         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50700         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50701         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50702         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50703         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50704         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50705         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50706         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50708 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50710         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50711         * sunrpc/rpc_main.c: Likewise.
50712         * sunrpc/rpc_svcout.c: Likewise.
50714 2012-03-09  David S. Miller  <davem@davemloft.net>
50716         * include/math_private.h: New file.
50718 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50720         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50721         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50722         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50723         from <bits/socket_type.h>.
50724         (enum __socket_type): Don't define here.
50725         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50727         bits/socket_type.h.
50729         [BZ #13566]
50730         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50731         checking __USE_GNU.
50733         * Makerules ($(inst_includedir)/%.h): New rule.
50734         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50735         (install-others): Remove variable setting.
50736         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50738 2012-03-08  Richard Henderson  <rth@twiddle.net>
50740         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50741         from macro to inline function; merge with the
50742         !__LIBC_INTERNAL_MATH_INLINES version.
50743         (__ieee754_sqrtf): Likewise.
50745         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50746         to inline function.
50747         (__rintf, __floor, __floorf): Likewise.
50749         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50750         macro to inline function.
50751         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50753         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50754         not <math/math_private.h>.
50756 2012-03-08  David S. Miller  <davem@davemloft.net>
50758         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50759         copyright year.
50760         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50762 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
50764         * resolv/gai_misc.c (handle_requests): Fix struct timespec
50765         normalization.
50766         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50767         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50769 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
50771         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
50772         be defined individually, they must be defined as a block.  Define
50773         S for printing a string instead of hidint the different by using a
50774         macro for adding the 'l'.
50775         * stdio-common/tst-fphex-wide.c: Adjust.
50777 2012-03-07  Marek Polacek  <polacek@redhat.com>
50779         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50781 2012-03-08  Marek Polacek  <polacek@redhat.com>
50783         [BZ #13806]
50784         * stdio-common/Makefile (tests): Add tst-fphex-wide.
50785         * stdio-common/tst-fphex.c: Define a few macros to make the
50786         test reusable.  Use them.
50787         * stdio-common/tst-fphex-wide.c: New file.
50789 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
50791         [BZ #6911]
50792         * manual/macros.texi (gnusystems): New macro.
50793         (nongnusystems): Likewise.
50794         (gnulinuxhurdsystems): Likewise.
50795         (gnuhurdsystems): Likewise..
50796         (gnulinuxsystems): Likewise.
50797         * manual/charset.texi: Use new macros or @theglibc{} to refer to
50798         variants of the GNU system, not "GNU system".
50799         * manual/conf.texi: Likewise.
50800         * manual/errno.texi: Likewise.  Update example of errno macro
50801         expansion.
50802         * manual/filesys.texi: Likewise.
50803         (getumask): Document as specific to GNU/Hurd.
50804         * manual/install.texi: Likewise.  Reword some references to
50805         GNU/Linux.
50806         * manual/intro.texi: Likewise.
50807         * manual/io.texi: Likewise.
50808         (File Name Portability): Detail which constraints are inapplicable
50809         to all GNU systems and which are only inapplicable to GNU/Hurd.
50810         * manual/job.texi: Likewise.
50811         * manual/llio.texi: Likewise.
50812         (O_NOCTTY): Document as present on GNU/Linux.
50813         * manual/maint.texi: Likewise.
50814         * manual/memory.texi: Likewise.
50815         * manual/pattern.texi: Likewise.
50816         * manual/pipe.texi: Likewise.
50817         * manual/process.texi: Likewise.
50818         * manual/resource.texi: Likewise.
50819         (RUSAGE_CHILDREN): Remove statement about specifying a particular
50820         child on GNU/Hurd.
50821         * manual/setjmp.texi: Likewise.
50822         * manual/signal.texi: Likewise.
50823         * manual/startup.texi: Likewise.
50824         * manual/stdio.texi: Likewise.
50825         * manual/terminal.texi: Likewise.
50826         (ONLCR): Document as POSIX.
50827         (OXTABS): Document availability on GNU/Linux as XTABS.
50828         (ONOEOT): Document availability separately from other bits.
50829         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50830         * manual/time.texi: Likewise.
50831         * manual/users.texi: Likewise.
50832         * INSTALL: Regenerated.
50833         * sysdeps/gnu/errlist.c: Regenerated.
50835         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50836         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50837         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
50838         puts.
50839         * configure: Regenerated.
50841 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
50843         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50844         default includes instead of AC_HEADER_CHECK.
50845         * sysdeps/i386/configure: Regenerated.
50847         [BZ #10716]
50848         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50849         * math/s_cacoshf.c (__cacoshf): Likewise.
50850         * math/s_cacoshl.c (__cacoshl): Likewise.
50851         * math/s_casinh.c (__casinh): Set signs of result from argument.
50852         * math/s_casinhf.c (__casinhf): Likewise.
50853         * math/s_casinhl.c (__casinhl): Likewise.
50854         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50855         (casinh_test): Add more tests.
50856         * sysdeps/i386/fpu/libm-test-ulps: Update.
50857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50859 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
50861         * po/zh_TW.po: Update from translation team.
50863         * login/Makefile (distribute): Remove variable.
50864         * catgets/Makefile: Likewise.
50865         * mach/Makefile: Likewise.
50866         * malloc/Makefile: Likewise.
50867         * misc/Makefile: Likewise.
50868         * iconv/Makefile: Likewise.
50869         * nscd/Makefile: Likewise.
50870         * hurd/Makefile: Likewise.
50871         * manual/Makefile: Likewise.
50872         * locale/Makefile: Likewise.
50873         * intl/Makefile: Likewise.
50874         * conform/Makefile: Likewise.
50875         * nss/Makefile: Likewise.
50876         * time/Makefile: Likewise.
50877         * soft-fp/Makefile: Likewise.
50878         * dirent/Makefile: Likewise.
50879         * gmon/Makefile: Likewise.
50880         * po/Makefile: Likewise.
50881         * rt/Makefile: Likewise.
50882         * socket/Makefile: Likewise.
50883         * math/Makefile: Likewise.
50884         * signal/Makefile: Likewise.
50885         * debug/Makefile: Likewise.
50886         * elf/Makefile: Likewise.
50887         * timezone/Makefile: Likewise.
50888         * stdlib/Makefile: Likewise.
50889         * iconvdata/Makefile: Likewise.
50890         * sunrpc/Makefile: Likewise.
50891         * io/Makefile: Likewise.
50892         * argp/Makefile: Likewise.
50893         * inet/Makefile: Likewise.
50894         * hesiod/Makefile: Likewise.
50895         * grp/Makefile: Likewise.
50896         * csu/Makefile: Likewise.
50897         * wctype/Makefile: Likewise.
50898         * crypt/Makefile: Likewise.
50899         * libio/Makefile: Likewise.
50900         * string/Makefile: Likewise.
50901         * nis/Makefile: Likewise.
50902         * resolv/Makefile: Likewise.
50903         * stdio-common/Makefile: Likewise.
50904         * wcsmbs/Makefile: Likewise.
50905         * dlfcn/Makefile: Likewise.
50906         * posix/Makefile: Likewise.
50908         [BZ #6959]
50909         * timezone/Makefile: Don't install timezone files, just the programs
50910         and scripts.
50912 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
50914         * nss/databases.def: Add missing gshadow entry.
50916         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
50918 2012-03-06  Marek Polacek  <polacek@redhat.com>
50920         [BZ #13726]
50921         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50922         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50923         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50924         * stdio-common/tst-long-dbl-fphex.c: New file.
50926 2012-03-06  David S. Miller  <davem@davemloft.net>
50928         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50929         (set_obp_int): New function.
50930         (get_obp_int): New function.
50931         (__get_clockfreq_via_dev_openprom): Likewise.
50932         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50933         Avoid unused variable warnings on 'val' and use builtin_expect.
50934         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50935         __builtin_expect.
50936         (INLINE_CLONE_SYSCALL): Likewise.
50938 2012-03-05  David S. Miller  <davem@davemloft.net>
50940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50942 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
50944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50946         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50947         only for |x| >= 40.
50948         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50950 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
50952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50953         Replace gettimeofday with __vdso_gettimeofday.
50955         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50956         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50957         __vdso_clock_gettime and __vdso_getcpu.
50959         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50960         time with __vdso_time.
50962 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50964         * manual/lang.texi (size_t): Note types to which size_t may be
50965         equivalent with the GNU C Library, but do not describe when
50966         differences between them are significant.
50968 2012-03-05  Andreas Jaeger  <aj@suse.de>
50970         * sysdeps/i386/fpu/libm-test-ulps: Update.
50972 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50974         [BZ #3976]
50975         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50976         (__ieee754_pow): Save and restore rounding mode and use
50977         round-to-nearest for main computations.
50978         * math/libm-test.inc (pow_test_tonearest): New function.
50979         (pow_test_towardzero): Likewise.
50980         (pow_test_downward): Likewise.
50981         (pow_test_upward): Likewise.
50982         (main): Call the new functions.
50983         * sysdeps/i386/fpu/libm-test-ulps: Update.
50984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50986         [BZ #3976]
50987         * math/libm-test.inc (cosh_test_tonearest): New function.
50988         (cosh_test_towardzero): Likewise.
50989         (cosh_test_downward): Likewise.
50990         (cosh_test_upward): Likewise.
50991         (sinh_test_tonearest): Likewise.
50992         (sinh_test_towardzero): Likewise.
50993         (sinh_test_downward): Likewise.
50994         (sinh_test_upward): Likewise.
50995         (main): Call the new functions.
50996         * sysdeps/i386/fpu/libm-test-ulps: Update.
50997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50999 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51001         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51002         default stack guard is set in last bytes.
51003         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51005 2012-03-05  Kees Cook  <keescook@chromium.org>
51007         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51009         [BZ #13656]
51010         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51011         possibly allocate from heap instead of stack.
51012         * stdio-common/bug-vfprintf-nargs.c: New file.
51013         * stdio-common/Makefile (tests): Add nargs overflow test.
51015 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51019 2012-03-03  Marek Polacek  <polacek@redhat.com>
51021         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51022         * math/math_private.h: Likewise.
51023         * stdlib/tst-strtod.c: Likewise.
51024         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51025         * sysdeps/x86_64/bits/atomic.h: Likewise.
51027 2012-03-02  David S. Miller  <davem@davemloft.net>
51029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51033         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51034         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51035         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51036         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51038 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51040         [BZ #13792]
51041         * manual/examples/README: New file, says the example source files
51042         can be used under GPL>=2.
51043         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51044         line containing just "*/".
51045         * manual/examples/add.c: Add copyright header (GPL>=2).
51046         * manual/examples/argp-ex1.c: Likewise.
51047         * manual/examples/argp-ex2.c: Likewise.
51048         * manual/examples/argp-ex3.c: Likewise.
51049         * manual/examples/argp-ex4.c: Likewise.
51050         * manual/examples/atexit.c: Likewise.
51051         * manual/examples/db.c: Likewise.
51052         * manual/examples/dir.c: Likewise.
51053         * manual/examples/dir2.c: Likewise.
51054         * manual/examples/execinfo.c: Likewise.
51055         * manual/examples/filecli.c: Likewise.
51056         * manual/examples/filesrv.c: Likewise.
51057         * manual/examples/fmtmsgexpl.c: Likewise.
51058         * manual/examples/genpass.c: Likewise.
51059         * manual/examples/inetcli.c: Likewise.
51060         * manual/examples/inetsrv.c: Likewise.
51061         * manual/examples/isockad.c: Likewise.
51062         * manual/examples/longopt.c: Likewise.
51063         * manual/examples/memopen.c: Likewise.
51064         * manual/examples/memstrm.c: Likewise.
51065         * manual/examples/mkfsock.c: Likewise.
51066         * manual/examples/mkisock.c: Likewise.
51067         * manual/examples/mygetpass.c: Likewise.
51068         * manual/examples/pipe.c: Likewise.
51069         * manual/examples/popen.c: Likewise.
51070         * manual/examples/rprintf.c: Likewise.
51071         * manual/examples/search.c: Likewise.
51072         * manual/examples/select.c: Likewise.
51073         * manual/examples/setjmp.c: Likewise.
51074         * manual/examples/sigh1.c: Likewise.
51075         * manual/examples/sigusr.c: Likewise.
51076         * manual/examples/stpcpy.c: Likewise.
51077         * manual/examples/strdupa.c: Likewise.
51078         * manual/examples/strftim.c: Likewise.
51079         * manual/examples/strncat.c: Likewise.
51080         * manual/examples/subopt.c: Likewise.
51081         * manual/examples/swapcontext.c: Likewise.
51082         * manual/examples/termios.c: Likewise.
51083         * manual/examples/testopt.c: Likewise.
51084         * manual/examples/testpass.c: Likewise.
51085         * manual/examples/timeval_subtract.c: Likewise.
51087         [BZ #13792]
51088         * manual/time.texi (Elapsed Time): Move timeval_subtract example
51089         function to ...
51090         * manual/timeval_subtract.c.texi: ... here, new file.
51092 2012-03-02  David S. Miller  <davem@davemloft.net>
51094         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51096 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
51098         [BZ #3976]
51099         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51100         (__sin): Save and restore rounding mode and use round-to-nearest
51101         for all computations.
51102         (__cos): Save and restore rounding mode and use round-to-nearest
51103         for all computations.
51104         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51105         <fenv.h>.
51106         (tan): Save and restore rounding mode and use round-to-nearest for
51107         all computations.
51108         * math/libm-test.inc (cos_test_tonearest): New function.
51109         (cos_test_towardzero): Likewise.
51110         (cos_test_downward): Likewise.
51111         (cos_test_upward): Likewise.
51112         (sin_test_tonearest): Likewise.
51113         (sin_test_towardzero): Likewise.
51114         (sin_test_downward): Likewise.
51115         (sin_test_upward): Likewise.
51116         (tan_test_tonearest): Likewise.
51117         (tan_test_towardzero): Likewise.
51118         (tan_test_downward): Likewise.
51119         (tan_test_upward): Likewise.
51120         (main): Call the new functions.
51121         * sysdeps/i386/fpu/libm-test-ulps: Update.
51122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51124         [BZ #10135]
51125         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51126         small n, then large n, before computing and testing k+n.
51127         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51128         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51129         Likewise.
51130         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51131         Likewise.
51132         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51133         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51134         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51135         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51136         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51137         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51138         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51139         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51140         * math/libm-test.inc (scalbn_test): Add more tests.
51141         (scalbln_test): Likewise.
51143         * manual/filesys.texi (mode_t): Describe constraints on size and
51144         signedness, not exact equivalence to a particular type.
51145         (ino_t): Likewise.
51146         (ino64_t): Likewise.
51147         (dev_t): Likewise.
51148         (nlink_t): Likewise.
51149         (blkcnt_t): Likewise.
51150         (blkcnt64_t): Likewise.
51151         * manual/llio.texi (off_t): Likewise.
51153         [BZ #3976]
51154         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51155         (__ieee754_exp): Save and restore rounding mode and use
51156         round-to-nearest for all computations.
51157         * math/libm-test.inc (exp_test_tonearest): New function.
51158         (exp_test_towardzero): Likewise.
51159         (exp_test_downward): Likewise.
51160         (exp_test_upward): Likewise.
51161         (main): Call the new functions.
51162         * sysdeps/i386/fpu/libm-test-ulps: Update.
51163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51165 2012-03-01  Chris Demetriou  <cgd@google.com>
51167         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51168         have predictable order.
51170 2012-03-01  David S. Miller  <davem@davemloft.net>
51172         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51174         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51175         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51176         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51177         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51179         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51180         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51181         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51183         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51184         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51185         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51186         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51187         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51191         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51192         * sysdeps/sparc/fpu/libm-test-ulps: to here.
51193         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51195         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51196         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51197         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51198         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51199         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51200         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51201         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51202         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51203         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51204         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51205         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51206         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51208         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51209         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51211         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51212         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51213         * sysdeps/sparc/elf/configure: Regenerated.
51215 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
51217         * configure.in (AS, LD): Require binutils 2.20 or later.
51218         * configure: Regenerated.
51219         * manual/install.texi (Tools for Compilation): Give binutils 2.20
51220         as required minimum version.
51221         * INSTALL: Regenerated.
51223         [BZ #2541]
51224         [BZ #4108]
51225         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51226         before squaring exponent.
51227         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51228         bottom long double and 27 bits of top long double before squaring
51229         exponent.
51230         * math/libm-test.inc (erfc_test): Add more tests.
51231         * sysdeps/i386/fpu/libm-test-ulps: Update.
51232         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51235 2012-03-01  Kai Tietz  <ktietz@redhat.com>
51237         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51238         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51239         containing bit-fields.
51240         * soft-fp/extended.h (_FP_UNION_E): Likewise.
51241         * soft-fp/single.h (_FP_UNION_S): Likewise.
51242         * soft-fp/double.h (_FP_UNION_D): Likewise.
51244 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51246         [BZ #13786]
51247         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51248         not include ../strcmp.S.
51249         [USE_AS_STRNCASECMP_L]: Likewise.
51250         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51251         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51252         * sysdeps/i386/i686/multiarch/strncase_l-c.c
51253         (__strncasecmp_l_ia32): Define as alias to
51254         __strncasecmp_l_nonascii.
51256         [BZ #5794]
51257         * math/libm-test.inc (expm1_test): Add test for bug 5794.
51258         * sysdeps/i386/fpu/libm-test-ulps: Update.
51259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51261         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51264 2012-02-29  Jeff Law  <law@redhat.com>
51266         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51267         out of bounds read.
51269 2012-02-29  Marek Polacek  <polacek@redhat.com>
51271         [BZ #13706]
51272         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51273         * elf/Makefile: Add rules to run tst-unused-dep.out.
51275 2012-02-28  David S. Miller  <davem@davemloft.net>
51277         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51278         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51279         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51280         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51281         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51282         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51284 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51286         * math/libm-test.inc (llround_test): Move one test from
51287         lround_test.  Use TEST_f_L in moved test.
51288         (lround_test): Move misplaced test to llround_test.  Add testcase
51289         from bug 2561.
51291 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
51293         * sysdeps/x86_64/fpu/e_expf.S: New file.
51294         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51296 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
51298         [BZ #13637]
51299         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51300         of remain_len that may cause incomplete multi-byte character and
51301         false match.
51302         * posix/bug-regex33.c: New file.
51303         * posix/Makefile (tests): Add bug-regex33.
51305 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
51307         * manual/macros.texi: New file.
51308         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51309         * manual/libc.texinfo: Include macros.texi.
51310         * manual/creatute.texi: Likewise.
51311         * manual/install.texi: Likewise.
51312         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51313         @glibcadj{} in references to the GNU C Library.
51314         * manual/charset.texi: Likewise.
51315         * manual/conf.texi: Likewise.
51316         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
51317         when not using those macros.
51318         * manual/creature.texi: Likewise.
51319         * manual/crypt.texi: Likewise.
51320         * manual/errno.texi: Likewise.
51321         * manual/filesys.texi: Likewise.
51322         * manual/header.texi: Likewise.
51323         * manual/install.texi: Likewise.
51324         * manual/intro.texi: Likewise.
51325         * manual/io.texi: Likewise.
51326         * manual/job.texi: Likewise.
51327         * manual/lang.texi: Likewise.
51328         * manual/libc.texiinfo: Likewise.
51329         * manual/llio.texi: Likewise.
51330         * manual/locale.texi: Likewise.
51331         * manual/maint.texi: Likewise.
51332         * manual/math.texi: Likewise.
51333         * manual/memory.texi: Likewise.
51334         * manual/message.texi: Likewise.
51335         * manual/nss.texi: Likewise.
51336         * manual/pattern.texi: Likewise.
51337         * manual/process.texi: Likewise.
51338         * manual/resource.texi: Likewise.
51339         * manual/search.texi: Likewise.
51340         * manual/setjmp.texi: Likewise.
51341         * manual/signal.texi: Likewise.
51342         * manual/socket.texi: Likewise.
51343         * manual/startup.texi: Likewise.
51344         * manual/stdio.texi: Likewise.
51345         * manual/string.texi: Likewise.
51346         * manual/sysinfo.texi: Likewise.
51347         * manual/syslog.texi: Likewise.
51348         * manual/terminal.texi: Likewise.
51349         * manual/time.texi: Likewise.
51350         * manual/users.texi: Likewise.
51351         * INSTALL: Regenerated.
51352         * NOTES: Regenerated.
51353         * sysdeps/gnu/errlist.c: Regenerated.
51355 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
51357         * include/dirent.h: Include <dirstream.h> before
51358         <dirent/dirent.h>.
51360 2012-02-28  David S. Miller  <davem@davemloft.net>
51362         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51363         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51364         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51365         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51367 2012-02-27  David S. Miller  <davem@davemloft.net>
51369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51371         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51372         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51375         frame pointer instead of stack pointer relative arg slot.
51376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51377         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51378         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51380 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
51382         [BZ #3992]
51383         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51385 2012-02-27  David S. Miller  <davem@davemloft.net>
51387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51391         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51392         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51393         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51394         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51396 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51398         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51399         later.  Allow versions 5-9.
51400         * configure: Regenerated.
51401         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51402         required minimum version and 4.6 as recommended version.  Do not
51403         mention bugs in GCC 2.7 and 2.8.
51404         * INSTALL: Regenerated.
51406 2012-02-27  David S. Miller  <davem@davemloft.net>
51408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51412         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51413         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51414         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51415         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51417         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51418         manipulate bits before adding and subtracting TWO112[sx].
51419         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51421 2012-02-27  Roland McGrath  <roland@hack.frob.com>
51423         [BZ #13775]
51424         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51425         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51426         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51427         being in POSIX, because they are in 1003.1-2008.
51429         * rt/tst-aio.c: Include <fcntl.h>.
51430         * rt/tst-aio7.c: Likewise.
51431         * rt/tst-aio64.c: Likewise.
51433         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51435 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51437         * manual/install.texi (--with-headers): Describe headers as
51438         interface headers, not private headers.
51439         (Specific advice for GNU/Linux systems): Describe use of headers
51440         from "make headers_install", not private headers from older
51441         kernels.
51442         * INSTALL: Regenerated.
51443         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51444         Change to 2.6.19.
51445         * sysdeps/unix/sysv/linux/configure: Regenerated.
51447         * manual/llio.texi (fclean): Remove documentation.
51449         * manual/Makefile (libc-texi-generated): New variable.  Include
51450         version.texi.
51451         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51452         $(libc-texi-generated), not duplicated list of files.
51453         (version.texi, stamp-version): New rules.
51454         (realclean): Remove $(libc-texi-generated), not individual files
51455         from that list.  Do not remove dir-add.texinfo.
51456         * manual/libc.texinfo: Comment out uses of edition numbers and
51457         references to printed manual.  Remove last-updated dates.
51458         (EDITION): Comment out.
51459         (ISBN): Likewise.
51460         (VERSION, UPDATED): Remove.
51461         (version.texi): Include.
51463 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
51465         * sysdeps/posix/spawni.c: Include <signal.h>.
51466         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51467         * sysdeps/pthread/aio_fsync.c: Likewise.
51469 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
51471         * conform/Makefile (tests): Run only when not cross-compiling and
51472         when fast-check is not defined.
51474         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51475         * conform/data/limits.h-data: Fixes for POSIX2008.
51476         * conform/run-conformtest.sh: Run all tests.
51477         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51478         headers.
51479         * include/bits/dlfcn.h: Likewise.
51480         * include/langinfo.h: Likewise.
51481         * include/monetary.h: Likewise.
51482         * include/sys/poll.h: Likewise.
51484         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51485         for __USE_GNU.
51486         * posix/spawn.h: Define __need_sigset_t.
51487         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51488         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51489         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
51490         to get sigevent_t only.
51491         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51492         only for __USE_GNU.
51493         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51494         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51495         process_vm_writev only for __USE_GNU.
51496         * termios/termios.h: Declare tcgetsid also for POSIX2008.
51498         * conform/Makefile: For now ignore errors from run-conformtest.
51499         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
51500         POSIX to avoid namespace pollution.  Don't prepend headers.
51501         * conform/data/aio.h-data: Fixes for POSIX testing.
51502         * conform/data/fcntl.h-data: Likewise.
51503         * conform/data/glob.h-data: Likewise.
51504         * conform/data/grp.h-data: Likewise.
51505         * conform/data/pthread.h-data: Likewise.
51506         * conform/data/pwd.h-data: Likewise.
51507         * conform/data/signal.h-data: Likewise.
51508         * conform/data/spawn.h-data: Likewise.
51509         * conform/data/stdio.h-data: Likewise.
51510         * conform/data/stdlib.h-data: Likewise.
51511         * conform/data/stropts.h-data: Likewise.
51512         * conform/data/sys/mman.h-data: Likewise.
51513         * conform/data/sys/stat.h-data: Likewise.
51514         * conform/data/sys/types.h-data: Likewise.
51515         * conform/data/sys/wait.h-data: Likewise.
51516         * conform/data/time.h-data: Likewise.
51517         * conform/data/unistd.h-data: Likewise.
51518         * conform/data/utime.h-data: Likewise.
51520         * io/sys/stat.h: fchmod was always in POSIX.
51521         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51522         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51523         * rt/aio.h: Define __need_timespec before including <time.h>.
51524         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51525         struct.  Add forward declaration of pthread_attr_t and use it in
51526         sigevent.
51527         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51528         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51529         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51530         always remove CLK_TCK definition.
51532 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
51534         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51536 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
51538         * conform/run-conformtest.sh: New file.
51539         * conform/Makefile: Run run-conformtest for tests.
51540         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
51541         support.
51543         * conform/data/uchar.h-data: New file.
51544         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51545         * conform/data/arpa/inet.h-data: Likewise.
51546         * conform/data/assert.h-data: Likewise.
51547         * conform/data/complex.h-data: Likewise.
51548         * conform/data/cpio.h-data: Likewise.
51549         * conform/data/ctype.h-data: Likewise.
51550         * conform/data/dirent.h-data: Likewise.
51551         * conform/data/dlfcn.h-data: Likewise.
51552         * conform/data/errno.h-data: Likewise.
51553         * conform/data/fcntl.h-data: Likewise.
51554         * conform/data/float.h-data: Likewise.
51555         * conform/data/fmtmsg.h-data: Likewise.
51556         * conform/data/fnmatch.h-data: Likewise.
51557         * conform/data/ftw.h-data: Likewise.
51558         * conform/data/glob.h-data: Likewise.
51559         * conform/data/grp.h-data: Likewise.
51560         * conform/data/iconv.h-data: Likewise.
51561         * conform/data/inttypes.h-data: Likewise.
51562         * conform/data/langinfo.h-data: Likewise.
51563         * conform/data/libgen.h-data: Likewise.
51564         * conform/data/limits.h-data: Likewise.
51565         * conform/data/locale.h-data: Likewise.
51566         * conform/data/math.h-data: Likewise.
51567         * conform/data/monetary.h-data: Likewise.
51568         * conform/data/mqueue.h-data: Likewise.
51569         * conform/data/ndbm.h-data: Likewise.
51570         * conform/data/net/if.h-data: Likewise.
51571         * conform/data/netdb.h-data: Likewise.
51572         * conform/data/netinet/in.h-data: Likewise.
51573         * conform/data/nl_types.h-data: Likewise.
51574         * conform/data/poll.h-data: Likewise.
51575         * conform/data/pthread.h-data: Likewise.
51576         * conform/data/pwd.h-data: Likewise.
51577         * conform/data/regex.h-data: Likewise.
51578         * conform/data/sched.h-data: Likewise.
51579         * conform/data/search.h-data: Likewise.
51580         * conform/data/semaphore.h-data: Likewise.
51581         * conform/data/setjmp.h-data: Likewise.
51582         * conform/data/signal.h-data: Likewise.
51583         * conform/data/spawn.h-data: Likewise.
51584         * conform/data/stdarg.h-data: Likewise.
51585         * conform/data/stdio.h-data: Likewise.
51586         * conform/data/stdlib.h-data: Likewise.
51587         * conform/data/string.h-data: Likewise.
51588         * conform/data/strings.h-data: Likewise.
51589         * conform/data/stropts.h-data: Likewise.
51590         * conform/data/sys/ipc.h-data: Likewise.
51591         * conform/data/sys/mman.h-data: Likewise.
51592         * conform/data/sys/msg.h-data: Likewise.
51593         * conform/data/sys/resource.h-data: Likewise.
51594         * conform/data/sys/select.h-data: Likewise.
51595         * conform/data/sys/sem.h-data: Likewise.
51596         * conform/data/sys/shm.h-data: Likewise.
51597         * conform/data/sys/socket.h-data: Likewise.
51598         * conform/data/sys/stat.h-data: Likewise.
51599         * conform/data/sys/statvfs.h-data: Likewise.
51600         * conform/data/sys/time.h-data: Likewise.
51601         * conform/data/sys/timeb.h-data: Likewise.
51602         * conform/data/sys/times.h-data: Likewise.
51603         * conform/data/sys/types.h-data: Likewise.
51604         * conform/data/sys/uio.h-data: Likewise.
51605         * conform/data/sys/un.h-data: Likewise.
51606         * conform/data/sys/utsname.h-data: Likewise.
51607         * conform/data/sys/wait.h-data: Likewise.
51608         * conform/data/syslog.h-data: Likewise.
51609         * conform/data/tar.h-data: Likewise.
51610         * conform/data/termios.h-data: Likewise.
51611         * conform/data/utime.h-data: Likewise.
51612         * conform/data/utmpx.h-data: Likewise.
51613         * conform/data/varargs.h-data: Likewise.
51614         * conform/data/wchar.h-data: Likewise.
51615         * conform/data/wctype.h-data: Likewise.
51616         * conform/data/wordexp.h-data: Likewise.
51618         * include/stropts.h: New file.
51619         * include/uchar.h: New file.
51620         * include/aio.h: Changes to allow conformtest.pl to use the headers.
51621         * include/assert.h: Likewise.
51622         * include/ctype.h: Likewise.
51623         * include/dirent.h: Likewise.
51624         * include/dlfcn.h: Likewise.
51625         * include/fcntl.h: Likewise.
51626         * include/fnmatch.h: Likewise.
51627         * include/glob.h: Likewise.
51628         * include/grp.h: Likewise.
51629         * include/libio.h: Likewise.
51630         * include/locale.h: Likewise.
51631         * include/math.h: Likewise.
51632         * include/net/if.h: Likewise.
51633         * include/netdb.h: Likewise.
51634         * include/netinet/in.h: Likewise.
51635         * include/pthread.h: Likewise.
51636         * include/pwd.h: Likewise.
51637         * include/regex.h: Likewise.
51638         * include/sched.h: Likewise.
51639         * include/search.h: Likewise.
51640         * include/setjmp.h: Likewise.
51641         * include/signal.h: Likewise.
51642         * include/stdio.h: Likewise.
51643         * include/stdlib.h: Likewise.
51644         * include/string.h: Likewise.
51645         * include/sys/cdefs.h: Likewise.
51646         * include/sys/mman.h: Likewise.
51647         * include/sys/msg.h: Likewise.
51648         * include/sys/resource.h: Likewise.
51649         * include/sys/select.h: Likewise.
51650         * include/sys/socket.h: Likewise.
51651         * include/sys/stat.h: Likewise.
51652         * include/sys/statvfs.h: Likewise.
51653         * include/sys/time.h: Likewise.
51654         * include/sys/times.h: Likewise.
51655         * include/sys/uio.h: Likewise.
51656         * include/sys/utsname.h: Likewise.
51657         * include/sys/wait.h: Likewise.
51658         * include/termios.h: Likewise.
51659         * include/time.h: Likewise.
51660         * include/ulimit.h: Likewise.
51661         * include/unistd.h: Likewise.
51662         * include/utime.h: Likewise.
51663         * include/wchar.h: Likewise.
51664         * include/wctype.h: Likewise.
51665         * include/wordexp.h: Likewise.
51667         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51669         * time/time.h: TIME_UTC must be a macro.
51670         Make timespec_get available for ISO C11 only as well.
51672 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
51674         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51675         Reported by Peng Haitao <penght@cn.fujitsu.com>.
51677 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51679         * configure.in: Use -o not -a in test for unsupported multi-arch.
51681 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51683         * manual/texinfo.tex: Update to version 2012-01-19.16.
51685 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51687         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51689 2012-02-24  Roland McGrath  <roland@hack.frob.com>
51691         [BZ #13738]
51692         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51693         * manual/fdl-1.3.texi: New file.
51694         * manual/fdl-1.1.texi: File removed.
51696         [BZ #13738]
51697         * manual/libc.texinfo (FDL_VERSION): New @set.
51698         Use it for mention of FDL in cover text.
51699         (Documentation License): Use it in @include file name.
51701 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51702             Roland McGrath  <roland@hack.frob.com>
51704         [BZ #5461]
51705         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51706         (not LONG_LONG_MAX and LONG_LONG_MIN.
51707         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51708         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
51709         name.
51710         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51712 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51714         [BZ #2547]
51715         [BZ #11365]
51716         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51717         manipulate bits before adding and subtracting TWO23[sx].
51718         * math/libm-test.inc (nearbyint_test): Add more tests.
51720 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51722         [BZ #2548]
51723         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51724         bits before adding and subtracting TWO23[sx].
51725         * math/libm-test.inc (rint_test): Add more tests.
51726         (rint_test_tonearest): Likewise.
51727         (rint_test_towardzero): Likewise.
51728         (rint_test_downward): Likewise.
51729         (rint_test_upward: Likewise.
51731 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51733         [BZ #10110]
51734         * include/stdc-predef.h: New file.  Extracted from features.h.
51735         * include/features.h: Include stdc-predef.h.
51736         * Makefile (headers): Add stdc-predef.h.
51737         * CONFORMANCE (Compiler limitations): Update.
51739 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51741         * manual/libc.texinfo (VERSION, UPDATED): Revert.
51743 2012-02-21  David S. Miller  <davem@davemloft.net>
51745         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51746         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51748 2012-02-20  David S. Miller  <davem@davemloft.net>
51750         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51751         using a normal save/restore sequence, rather than allocating a
51752         dummy stack frame just to store a frame pointer and restore.
51753         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51755 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51757         * manual/install.texi: Fix stray word in line-wrapped comment.
51759 2012-02-20  David S. Miller  <davem@davemloft.net>
51761         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51762         both binutils and gcc support GOTDATA.
51764         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51765         "rd %pc" in the PIC register setup sequences.
51767         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51768         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51769         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51770         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51771         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51772         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51773         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51774         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51776         (SYSCALL_ERROR_HANDLER): Likewise.
51777         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51778         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51780         (SYSCALL_ERROR_HANDLER): Likewise.
51782         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51783         (HAVE_GCC_GOTDATA): New.
51784         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51785         relocation support in both binutils and gcc.
51786         * sysdeps/sparc/elf/configure: Regenerate.
51788         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51789         * sysdeps/sparc/sparc32/elf/configure: Delete.
51790         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51791         * sysdeps/sparc/sparc64/elf/configure: Delete.
51792         * sysdeps/sparc/elf/configure.in: New file.
51793         * sysdeps/sparc/elf/configure: Generate.
51795         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51796         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51797         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51798         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51799         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51801 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51803         * manual/install.texi: Do not mention specific glibc version
51804         numbers.
51805         * manual/libc.texinfo (VERSION, UPDATED): Update.
51806         (@copying): Use @copyright{} and range of years.
51808 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51810         [BZ #13695]
51811         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51812         [crti.S not in sysdirs] (generated): Do not append.
51813         [crti.S not in sysdirs] (omit-deps): Likewise.
51814         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51815         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51816         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51817         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51818         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51819         Likewise.
51820         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51821         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51822         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51823         * csu/defs.awk: Remove file.
51824         * sysdeps/generic/initfini.c: Likewise.
51825         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51826         variable.
51827         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51828         Likewise.
51830 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51832         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51833         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51834         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51835         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51836         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51837         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51838         <bits/epoll.h>.
51839         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51840         (__EPOLL_PACKED): Define to empty if not defined by
51841         <bits/epoll.h>.
51842         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51843         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51844         bits/epoll.h.
51846 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51848         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51849         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51850         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51851         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51852         <bits/timerfd.h>.
51853         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51855         bits/timerfd.h.
51857 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51859         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51860         in C locale.
51861         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51862         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51863         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51866 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
51868         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51869         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51871 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
51873         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51874         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51875         defined.
51876         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51877         Likewise.
51878         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51879         entry for 2.16.
51881 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
51883         * math/w_acos.c: Use non-signaling floating-point comparisons.
51884         * math/w_acosf.c: Likewise.
51885         * math/w_acosh.c: Likewise.
51886         * math/w_acoshf.c: Likewise.
51887         * math/w_acoshl.c: Likewise.
51888         * math/w_acosl.c: Likewise.
51889         * math/w_asin.c: Likewise.
51890         * math/w_asinf.c: Likewise.
51891         * math/w_asinl.c: Likewise.
51892         * math/w_atanh.c: Likewise.
51893         * math/w_atanhf.c: Likewise.
51894         * math/w_atanhl.c: Likewise.
51895         * math/w_exp2.c: Likewise.
51896         * math/w_exp2f.c: Likewise.
51897         * math/w_exp2l.c: Likewise.
51898         * math/w_j0.c: Likewise.
51899         * math/w_j0f.c: Likewise.
51900         * math/w_j0l.c: Likewise.
51901         * math/w_j1.c: Likewise.
51902         * math/w_j1f.c: Likewise.
51903         * math/w_j1l.c: Likewise.
51904         * math/w_jn.c: Likewise.
51905         * math/w_jnf.c: Likewise.
51906         * math/w_log.c: Likewise.
51907         * math/w_log10.c: Likewise.
51908         * math/w_log10f.c: Likewise.
51909         * math/w_log10l.c: Likewise.
51910         * math/w_log2.c: Likewise.
51911         * math/w_log2f.c: Likewise.
51912         * math/w_log2l.c: Likewise.
51913         * math/w_logf.c: Likewise.
51914         * math/w_logl.c: Likewise.
51915         * math/w_sqrt.c: Likewise.
51916         * math/w_sqrtf.c: Likewise.
51917         * math/w_sqrtl.c: Likewise.
51918         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51919         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51920         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51921         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51922         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51924 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51926         [BZ #9739]
51927         * manual/string.texi (strnlen): Use correct parameter name in
51928         equivalent expression.
51930 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51932         [BZ #11174]
51933         * manual/users.texi (seteuid): Consistently use neweuid for
51934         argument name.
51936 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51938         [BZ #13704]
51939         * manual/nss.texi (Services in the NSS configuration): Correct
51940         list of services in example configuration file.
51942 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
51944         [BZ #11322]
51945         * manual/arith.texi: Remove statements about negative zero
51946         behaving identically to zero.
51948 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51950         [BZ #5993]
51951         * manual/install.texi: Do not document upgrading from libc5.
51953 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51955         [BZ #4596]
51956         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51958 2012-02-18  David S. Miller  <davem@davemloft.net>
51960         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51961         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51962         %o7 across the call.
51963         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51964         instead.
51965         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51966         SETUP_PIC_REG_LEAF.
51967         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51968         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51969         * sysdeps/sparc/crtn.S: Likewise.
51971 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
51973         * aout/Makefile: Remove.
51975 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
51977         [BZ #13058]
51978         * manual/examples/argp-ex1.c (main): Format definition in GNU
51979         style.
51980         * manual/examples/argp-ex2.c (main): Likewise.
51981         * manual/examples/argp-ex3.c (main): Likewise.
51982         * manual/examples/argp-ex4.c (main): Likewise.
51983         * manual/examples/longopt.c (main): Use new-style prototype
51984         definition.
51985         * manual/examples/strncat.c (main): Specify return type and use
51986         (void) for arguments.
51987         * manual/examples/subopt.c (main): Use char **argv argument.
51989 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51991         [BZ #5077]
51992         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51993         rounding modes.
51995 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
51997         [BZ #6907]
51998         * manual/string.texi (strchr): Change when strchrnul is
51999         recommended.
52001 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52003         [BZ #174]
52004         * manual/locale.texi (setlocale): Document LOCPATH.
52006 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52008         [BZ #10210]
52009         * manual/process.texi (execle): Move @dots{} before last argument.
52011 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52013         [BZ #12047]
52014         * manual/charset.texi (Generic Charset Conversion): Fix typo
52015         (LC_TYPE -> LC_CTYPE).
52017 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52019         [BZ #5805]
52020         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52021         (scalbnf): Likewise.
52022         (scalbnl): Likewise.
52023         (scalbln): Likewise.
52024         (scalblnf): Likewise.
52025         (scalblnl): Likewise.
52026         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52027         (vwarnx): Likewise.
52028         (verr): Likewise.
52029         (verrx): Likewise.
52030         * manual/filesys.texi (telldir): Use braces around return type.
52031         * manual/llio.texi (mmap): Add space after comma.
52032         (mmap64): Likewise.
52033         * manual/math.texi (jn): Use @var{} on parameter names.
52034         (jnf): Likewise.
52035         (jnl): Likewise.
52036         (yn): Likewise.
52037         (ynf): Likewise.
52038         (ynl): Likewise.
52039         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52040         line.
52041         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52042         "...".
52043         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52044         (sched_get_priority_max): Likewise.
52045         * manual/signal.texi (sigvec): Add space after comma.
52046         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52047         names.
52048         (if_indextoname): Likewise.
52049         (if_freenameindex): Likewise.
52050         (sendto): Use ',' instead of '.' in prototype.
52051         * manual/startup.texi (syscall): Use @dots{} instead of literal
52052         "...".
52053         * manual/stdio.texi (__fpending): Separate initial words of
52054         paragraph from @deftypefun line.
52055         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52056         "...".
52057         (vsyslog): Use @var{} on parameter names.
52058         * manual/terminal.texi (stty): Use @var{} on parameter names.
52059         * manual/users.texi (getutmp): Use @var{} on parameter names.
52060         (getutmpx): Likewise.
52062 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52064         [BZ #6884]
52065         * manual/stdio.texi (fopen): Fix typos in description of
52066         ",ccs=STRING".
52068 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
52070         [BZ #4026]
52071         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52072         get clock_id definition.
52074 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
52076         [BZ #4822]
52077         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52078         (madvise): Cast every argument to void on its own.
52080 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52082         [BZ #9902]
52083         * manual/startup.texi (Exit Status): Fix typo.
52085 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52087         [BZ #10140]
52088         * manual/examples/argp-ex1.c: Include <stdlib.h>.
52089         * manual/examples/argp-ex2.c: Likewise.
52090         * manual/examples/argp-ex3.c: Likewise.
52092 2012-02-16  Richard Henderson  <rth@redhat.com>
52094         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52095         * sysdeps/s390/s390-32/initfini.c: Remove.
52096         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52097         * sysdeps/s390/s390-64/initfini.c: Remove.
52099 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52101         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52102         compiler output for sysdeps/generic/initfini.c.
52103         * sysdeps/sh/elf/initfini.c: Remove file.
52105 2012-02-16  David S. Miller  <davem@davemloft.net>
52107         [BZ #11494]
52108         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52110         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52111         * sysdeps/sparc/crti.S: New file.
52112         * sysdeps/sparc/crtn.S: New file.
52113         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52114         * sysdeps/sparc/sparc64/Makefile: Likewise.
52116 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
52118         [BZ #3335]
52119         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52121 2012-02-15  Roland McGrath  <roland@hack.frob.com>
52123         [BZ #4822]
52124         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52126         * mach/devstream.c (cookie_io_functions_t): Macro removed.
52127         (write, read, close): Likewise.
52128         Patch by Aurelien Jarno <aurelien@aurel32.net>.
52130 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
52132         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52133         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52134         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52135         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52136         <bits/signalfd.h>.
52137         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52139         bits/signalfd.h.
52141 2012-02-14  Marek Polacek  <polacek@redhat.com>
52143         * sysdeps/x86_64/crti.S: New file.
52144         * sysdeps/x86_64/crtn.S: New file.
52145         * sysdeps/x86_64/elf/initfini.c: Remove file.
52147 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52149         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52150         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52151         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52152         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52153         <bits/inotify.h>.
52154         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52156         bits/inotify.h.
52158 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52160         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52161         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52162         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52163         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52164         <bits/eventfd.h>.
52165         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52167         bits/eventfd.h.
52169 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
52171         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52172         __feraiseexcept instead of feraiseexcept.
52174         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52175         nanosleep invocations.
52176         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52177         strings, and add error checking for a nanosleep invocations.
52179 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
52181         Replace FSF snail mail address with URLs, as per GNU coding standards.
52182         Most of the snail mail addresses were wrong anyway, and omitting
52183         them makes the source code easier to maintain.  Almost all of the
52184         changes are to license notices and to locale LC_IDENTIFICATION
52185         addresses, except for this one:
52186         * manual/libc.texinfo: In "Published by", give the FSF's URL,
52187         not its snail mail address.
52189 2012-02-09  Richard Henderson  <rth@twiddle.net>
52191         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52192         of kernel-features.h.
52194         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52196 2012-02-08  Marek Polacek  <polacek@redhat.com>
52198         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52199         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52200         * sysdeps/gnu/_G_config.h: Likewise.
52201         * sysdeps/generic/_G_config.h: Likewise.
52203 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
52205         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52206         tests.
52207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52209         * sysdeps/powerpc/powerpc32/crti.S: New file.
52210         * sysdeps/powerpc/powerpc32/crtn.S: New file.
52211         * sysdeps/powerpc/powerpc64/crti.S: New file.
52212         * sysdeps/powerpc/powerpc64/crtn.S: New file.
52214         * Makeconfig (have-initfini): Don't set.
52215         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52216         * configure.in (nopic_initfini): Don't substitute.
52217         * config.h.in (HAVE_INITFINI): Don't #undef.
52218         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52219         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52221 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
52223         Support crti.S and crtn.S provided directly by architectures.
52224         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52225         [crti.S in sysdirs] (omit-deps): Likewise.
52226         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52227         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52228         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52229         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52230         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52231         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52232         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52233         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52234         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52235         compiler output for sysdeps/generic/initfini.c.
52236         * sysdeps/i386/elf/Makefile: Remove file.
52237         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52239 2012-02-07  Marek Polacek  <polacek@redhat.com>
52241         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52242         * sysdeps/gnu/_G_config.h: Likewise.
52243         * sysdeps/mach/hurd/_G_config.h: Likewise.
52245 2012-02-07  Marek Polacek  <polacek@redhat.com>
52247         * math/Makefile (tests): Add tst-CMPLX2.
52248         * math/tst-CMPLX2.c: New file.
52250 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
52252         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52254         * math/libm-test.inc (jn_test): Add missing L suffix.
52256 2012-02-06  Marek Polacek  <polacek@redhat.com>
52258         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52259         * sysdeps/i386/fpu/e_powf.S: Likewise.
52260         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52261         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52262         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52263         * sysdeps/i386/fpu/e_pow.S: Likewise.
52264         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52265         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52266         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52267         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52268         * sysdeps/i386/fpu/e_log2.S: Likewise.
52269         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52270         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52271         * sysdeps/i386/fpu/e_powl.S: Likewise.
52272         * sysdeps/i386/fpu/s_log1p.S: Likewise.
52273         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52274         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52275         * sysdeps/i386/fpu/e_logl.S: Likewise.
52276         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52277         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52278         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52279         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52280         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52281         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52282         * sysdeps/i386/fpu/e_log.S: Likewise.
52283         * sysdeps/i386/fpu/s_cexp.S: Likewise.
52284         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52285         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52286         * sysdeps/i386/fpu/e_logf.S: Likewise.
52287         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52288         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52289         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52290         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52291         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52292         * sysdeps/i386/fpu/e_log10.S: Likewise.
52293         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52294         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52295         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52296         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52297         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52298         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52299         * sysdeps/i386/asm-syntax.h: Likewise.
52300         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52301         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52302         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52303         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52304         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52305         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52306         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52307         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52308         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52309         * sysdeps/powerpc/sysdep.h: Likewise.
52310         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52311         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52313 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52315         [BZ #411]
52316         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52318 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52320         * sysdeps/i386/sysdep.h: Include <features.h>.
52321         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52322         version.
52324 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
52326         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52327         Define.
52328         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52329         LOAD_PIC_REG_STR.
52331 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52333         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52334         (SETUP_PIC_REG): Use GET_PC_THUNK.
52335         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52336         macro.
52338 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52340         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52341         for non-PIC compilation.
52342         (SETUP_PIC_REG): Add .p2align directive.
52343         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52344         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52345         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52346         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52347         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52348         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52349         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52350         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52351         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52352         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52353         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52354         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52355         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52356         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52357         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52358         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52359         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52360         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52361         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52362         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52363         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52364         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52365         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52366         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52367         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52368         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52369         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52370         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52371         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52372         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52373         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52374         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52375         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52376         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52377         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52378         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52379         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52380         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52381         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52382         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52383         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52385 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52387         * math/tst-CMPLX.c: Include <stdio.h>.
52389 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
52391         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52392         float.
52393         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52394         * sysdeps/sparc/bits/mathdef.h: Likewise.
52396 2012-01-31  Marek Polacek  <polacek@redhat.com>
52398         * libio/libio.h: Don't define _PARAMS.
52399         * locale/programs/config.h: Don't define PARAMS.
52400         * stdlib/strtol_l.c: Likewise.
52401         (__strtol_l): Remove PARAMS from the prototype.
52403 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
52405         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
52406         names.  Just use the correct names.  Remove unnecessary wrapper
52407         functions.
52408         * malloc/arena.c: Likewise.
52409         * malloc/hooks.c: Likewise.
52411         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52412         ARENA_TEST says not to.  Simplify test for creation of a new arena.
52413         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52415 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
52417         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52418         into tail calls.
52419         (update_get_addr): New function.
52420         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52421         GET_ADDR_MODULE parameter.
52423 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52425         * crypt/cert.c: Remove __STDC__ conditionals.
52426         * crypt/crypt-entry.c: Likewise.
52427         * crypt/crypt_util.c: Likewise.
52428         * libio/filedoalloc.c: Likewise.
52429         * libio/fileops.c: Likewise.
52430         * libio/genops.c: Likewise.
52431         * libio/iofclose.c: Likewise.
52432         * libio/iofdopen.c: Likewise.
52433         * libio/iofopen.c: Likewise.
52434         * libio/iofopen64.c: Likewise.
52435         * libio/iogetdelim.c: Likewise.
52436         * libio/iopopen.c: Likewise.
52437         * libio/obprintf.c: Likewise.
52438         * libio/oldfileops.c: Likewise.
52439         * libio/oldiofclose.c: Likewise.
52440         * libio/oldiofdopen.c: Likewise.
52441         * libio/oldiofopen.c: Likewise.
52442         * libio/oldiopopen.c: Likewise.
52443         * libio/wfiledoalloc.c: Likewise.
52444         * libio/wgenops.c: Likewise.
52445         * locale/programs/xmalloc.c: Likewise.
52446         * misc/syslog.c: Likewise.
52447         * stdio-common/xbug.c: Likewise.
52448         * string/memchr.c: Likewise.
52449         * string/memcmp.c: Likewise.
52450         * string/memrchr.c: Likewise.
52451         * string/rawmemchr.c: Likewise.
52452         * sysdeps/posix/getcwd.c: Likewise.
52453         * time/strftime_l.c: Likewise.
52455 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52457         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52458         * config.make.in (config-cflags-sse2avx): Define.
52459         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52460         Fix typo.
52462 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
52464         * scripts/config.guess: Update from upstream config git repository.
52465         * scripts/config.sub: Likewise.
52467 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
52469         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52470         (EM_NUM): Update.
52471         (R_TILEPRO_*, R_TILEGX_*): New macros.
52473         * scripts/firstversions.awk: Fix bug in version range handling.
52475         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52477         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52479         * include/sys/epoll.h: New file.
52480         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52481         libc_hidden_def.
52483 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
52485         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52486         Avoid unnecessary __WORDSIZE == 64 test.
52487         (fmaxf): Use VEX format if possible.
52488         (fmax): Likewise.
52489         (fminf): Likewise.
52490         (fmin): Likewise.
52492         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52493         * math/math_private.h: Remove libc_fegetround* and
52494         libc_fesetround*.
52495         * sysdeps/i386/configure.in: Check for -msse2avx.
52496         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52497         also if SSE2AVX is defined.
52498         Remove libc_fegetround* and libc_fesetround*.
52499         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52500         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
52501         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52502         of HAS_YMM_USABLE.
52503         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52504         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52505         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52506         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52507         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52509         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52511 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52513         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52514         size is not set.
52515         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52517 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
52519         [BZ #13618]
52520         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52521         relocation.
52522         * Makeconfig (libm): Define.
52523         * elf/Makefile: Add rules to build and run tst-relsort1.
52524         * elf/tst-relsort1.c: New file.
52525         * elf/tst-relsort1mod1.c: New file.
52526         * elf/tst-relsort1mod2.c: New file.
52528 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
52530         * math/s_ldexp.c: Remove __STDC__ conditionals.
52531         * math/s_ldexpf.c: Likewise.
52532         * math/s_ldexpl.c: Likewise.
52533         * math/s_nextafter.c: Likewise.
52534         * math/s_nexttowardf.c: Likewise.
52535         * math/s_significand.c: Likewise.
52536         * math/s_significandf.c: Likewise.
52537         * math/s_significandl.c: Likewise.
52538         * math/w_jnl.c: Likewise.
52539         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52540         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52541         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52542         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52543         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52544         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52545         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52546         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52547         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52548         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52549         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52550         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52551         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52552         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52553         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52554         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52555         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52556         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52557         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52558         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52559         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52560         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52561         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52562         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52563         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52564         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52565         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52566         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52567         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52568         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52569         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52570         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52571         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52572         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52573         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52574         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52575         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52576         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52577         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52578         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52579         * sysdeps/ieee754/k_standard.c: Likewise.
52580         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52581         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52582         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52583         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52584         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52585         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52586         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52587         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52588         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52589         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52590         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52591         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52592         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52593         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52594         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52595         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52596         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52597         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52598         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52599         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52600         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52601         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52602         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52603         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52604         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52605         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52606         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52607         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52608         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52609         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52610         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52611         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52612         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52613         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52615         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52616         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52617         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52618         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52619         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52620         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52621         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52622         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52623         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52624         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52625         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52626         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52627         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52629         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52630         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52631         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52632         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52633         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52634         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52635         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52636         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52637         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52638         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52639         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52640         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52641         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52642         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52643         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52644         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52645         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52646         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52647         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52648         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52649         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52650         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52651         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52652         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52653         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52654         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52655         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52656         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52657         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52658         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52659         * sysdeps/ieee754/s_matherr.c: Likewise.
52660         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52661         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52662         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52663         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52665 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52667         * crypt/md5.h: Remove __STDC__ conditionals.
52668         * libio/libioP.h: Likewise.
52669         * locale/programs/config.h: Likewise.
52670         * sysdeps/generic/sysdep.h: Likewise.
52671         * sysdeps/i386/asm-syntax.h: Likewise.
52672         * sysdeps/s390/asm-syntax.h: Likewise.
52673         * sysdeps/unix/sysdep.h: Likewise.
52674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52677 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52679         * libio/libio.h: Remove __STDC__ conditionals.
52680         * malloc/obstack.h: Likewise.
52681         * math/complex.h: Likewise.
52682         * math/math.h: Likewise.
52683         * sysdeps/generic/_G_config.h: Likewise.
52684         * sysdeps/gnu/_G_config.h: Likewise.
52685         * sysdeps/mach/hurd/_G_config.h: Likewise.
52686         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52687         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52688         * sysdeps/sparc/bits/mathdef.h: Likewise.
52690 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
52692         [BZ #13583]
52693         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52694         Clean up HAS_* macros.
52695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52696         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52697         possible.
52698         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52699         HAS_AVX.
52700         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52701         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52702         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52703         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52704         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52706 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
52708         * elf/tst-unique3.cc (gets): Remove declaration.
52709         * elf/tst-unique3lib.cc (gets): Likewise.
52710         * elf/tst-unique3lib2.cc (gets): Likewise.
52711         * elf/tst-unique4.cc (gets): Likewise.
52713 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
52715         * include/stdio.h: Add C++ protection.  Add gets declarations and
52716         definitions.
52717         * debug/tst-chk1.c: Don't declare gets here.
52718         * stdio-common/tst-gets.c: Likewise.
52720 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52722         * posix/glob: Remove directory.
52724 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52726         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52728 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
52730         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52731         of the non-standard EPFNOSUPPORT.
52733 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52735         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52736         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52737         ANYWHERE set to 1 only on KERN_NO_SPACE error.
52739 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
52741         * wcsmbs/uchar.h: Test __STDC_VERSION__.
52743 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
52745         * nscd/aicache.c (addhstaiX): Do not cache negative results of
52746         transient errors.
52747         * nscd/grpcache.c (cache_addgr): Likewise.
52748         * nscd/hstcache.c (cache_addhst): Likewise.
52749         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52750         * nscd/pwdcache.c (cache_addpw): Likewise.
52751         * nscd/servicescache.c (cache_addserv): Likewise.
52753 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
52755         * malloc/malloc.c: Various cleanups.
52756         * malloc/hooks.c: Likewise.
52758         * stdlib/Makefile (tests): Add bug-fmtmsg1.
52759         * stdlib/bug-fmtmsg1.c: New file.
52761         * stdlib/fmtmsg.c (init): Add missing unlock.
52762         Patch by Peng Haitao <penght@cn.fujitsu.com>.
52764 2012-01-12  Marek Polacek  <polacek@redhat.com>
52766         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52767         and _GNU_SOURCE.
52769 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52771         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52772         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52773         macro to ensure uniqueness of label name.
52774         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52775         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52777 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
52779         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52781         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52782         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52783         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52784         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52786 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
52788         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52790         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52791         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52792         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52794         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52796         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52797         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52798         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52799         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52801         * math/bits/math-finite.h: Add ldexp support.
52803 2012-01-10  Marek Polacek  <polacek@redhat.com>
52805         * locale/programs/localedef.h (show_archive_content): Add noreturn
52806         attribute.
52808 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
52810         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52812 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52814         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52816         * io/Makefile (headers): Add bits/poll2.h.
52818 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
52820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52821         typo #include statement.
52823 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52825         * include/sys/cdefs.h: Define __attribute_alloc_size.
52826         * catgets/gencat.c: Add alloc_size attribute and apply consistently
52827         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52828         * elf/pldd.c: Likewise.
52829         * iconv/iconv_charmap.c: Likewise.
52830         * iconv/iconvconfig.c: Likewise.
52831         * iconv/strtab.c: Likewise.
52832         * locale/programs/locale.c: Likewise.
52833         * locale/programs/localedef.h: Likewise.
52834         * locale/programs/simple-hash.c: Likewise.
52835         * nscd/nscd.h: Likewise.
52836         * nss/makedb.c: Likewise.
52837         * sysdeps/generic/ldconfig.h: Likewise.
52838         * locale/programs/localedef.c: Remove xmalloc prototype.
52839         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52841 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52843         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52844         appropriate.
52846 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52848         * math/Makefile (tests): Add tst-CMPLX.
52849         * math/tst-CMPLX.c: New file.
52851         * math/complex.h (CMPLXL): Fix typo.
52853         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52854         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52855         GLIBC_2.16.
52856         * debug/tst-chk1.c: Add poll and ppoll tests.
52857         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52858         * include/sys/poll.h: Add hidden proto for ppoll.
52859         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52860         * sysdeps/mach/hurd/ppoll.c: Likewise.
52861         * io/ppoll.c: Likewise.
52862         * debug/poll_chk.c: New file.
52863         * debug/ppoll_chk.c: New file.
52864         * include/bits/poll2.h: New file.
52865         * io/bits/poll2.h: New file.
52867         [BZ #1350]
52868         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52870         * configure.in: static is always set to yes.  Remove.
52871         * config.make.in: Don't set build-static.
52872         * Makeconfig: Remove use of build-static.
52873         * dlfcn/Makefile: Likewise.
52874         * elf/Makefile: Likewise.
52875         * math/Makefile: Likewise.
52876         * misc/Makefile: Likewise.
52877         * nptl/Makefile: Likewise.
52878         * sysdeps/mach/hurd/Makefile: Likewise.
52880         * configure.in: PWD_P is not used anymore.
52881         * config.make.in: Remove PWD_P entry.
52883         * configure.in: Remove last remnants of RANLIB.
52884         No need to check for signed size_t anymore.
52885         Don't set libc_commonpagesize and libc_relro_required here for Alpha
52886         and IA-64.
52887         Remove __builtin_expect test because we require at least gcc 3.4.
52888         * aclocal.m4: Likewise.
52890         * wcsmbs/mbrtoc16.c: Implement using towc function.
52891         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52892         * wcsmbs/wcsmbsload.c: Likewise.
52893         * iconv/gconv_simple.c: Likewise.
52894         * iconv/gconv_int.h: Likewise.
52895         * iconv/gconv_builtin.h: Likewise.
52896         * iconv/iconv_prog.c: Remove CHAR16 handling.
52898         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52900         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52902         * configure.in: Remove --with-elf and --enable-bounded options.
52903         Dont set base_machine for ia64.  More non-ELF conditions removed.
52904         Remove testing and setting of leading underscore information.
52905         * config.make.in (build-bounded): Set to no.
52906         * config.h.in: Remove NO_UNDERSCORES entry.
52907         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
52908         them.
52909         * csu/start.c: Remove !NO_UNDERSCORE code.
52910         * locale/localeinfo.h: Likewise.
52911         * sysdeps/generic/machine-gmon.h: Likewise.
52912         * sysdeps/generic/sysdep.h: Likewise.
52913         * sysdeps/i386/sysdep.h: Likewise.
52914         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52915         * sysdeps/mach/sysdep.h: Likewise.
52916         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52917         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52918         * sysdeps/sh/sysdep.h: Likewise.
52919         * sysdeps/sparc/sparc32/alloca.S: Likewise.
52920         * sysdeps/unix/i386/sysdep.S: Likewise.
52921         * sysdeps/unix/sparc/start.c: Likewise.
52922         * sysdeps/unix/sparc/sysdep.S: Likewise.
52923         * sysdeps/unix/sparc/sysdep.h: Likewise.
52924         * sysdeps/unix/start.c: Likewise.
52925         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52926         * sysdeps/x86_64/sysdep.h: Likewise.
52928 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
52930         [BZ #13553]
52931         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52932         for non-gcc.
52933         * argp/argp-fmtstream.h: Use const instead __const.
52934         * argp/argp.h: Likewise.
52935         * assert/assert.h: Likewise.
52936         * bits/fenv.h: Likewise.
52937         * bits/sched.h: Likewise.
52938         * bits/sigset.h: Likewise.
52939         * bits/sigthread.h: Likewise.
52940         * catgets/nl_types.h: Likewise.
52941         * conform/data/pthread.h-data: Likewise.
52942         * crypt/crypt-private.h: Likewise.
52943         * crypt/crypt.h: Likewise.
52944         * crypt/crypt_util.c: Likewise.
52945         * ctype/ctype.h: Likewise.
52946         * debug/execinfo.h: Likewise.
52947         * debug/mbsnrtowcs_chk.c: Likewise.
52948         * debug/mbsrtowcs_chk.c: Likewise.
52949         * debug/wcsnrtombs_chk.c: Likewise.
52950         * debug/wcsrtombs_chk.c: Likewise.
52951         * debug/wcstombs_chk.c: Likewise.
52952         * dirent/dirent.h: Likewise.
52953         * dlfcn/dlfcn.h: Likewise.
52954         * elf/neededtest4.c: Likewise.
52955         * grp/grp.h: Likewise.
52956         * gshadow/gshadow.h: Likewise.
52957         * iconv/gconv.h: Likewise.
52958         * iconv/gconv_int.h: Likewise.
52959         * iconv/gconv_simple.c: Likewise.
52960         * iconv/iconv.h: Likewise.
52961         * iconv/loop.c: Likewise.
52962         * iconv/skeleton.c: Likewise.
52963         * include/aio.h: Likewise.
52964         * include/aliases.h: Likewise.
52965         * include/argz.h: Likewise.
52966         * include/arpa/inet.h: Likewise.
52967         * include/assert.h: Likewise.
52968         * include/dirent.h: Likewise.
52969         * include/dlfcn.h: Likewise.
52970         * include/execinfo.h: Likewise.
52971         * include/fcntl.h: Likewise.
52972         * include/fenv.h: Likewise.
52973         * include/glob.h: Likewise.
52974         * include/grp.h: Likewise.
52975         * include/libintl.h: Likewise.
52976         * include/mntent.h: Likewise.
52977         * include/netdb.h: Likewise.
52978         * include/pwd.h: Likewise.
52979         * include/rpc/netdb.h: Likewise.
52980         * include/sched.h: Likewise.
52981         * include/search.h: Likewise.
52982         * include/shadow.h: Likewise.
52983         * include/signal.h: Likewise.
52984         * include/stdio.h: Likewise.
52985         * include/stdlib.h: Likewise.
52986         * include/string.h: Likewise.
52987         * include/sys/socket.h: Likewise.
52988         * include/sys/stat.h: Likewise.
52989         * include/sys/statfs.h: Likewise.
52990         * include/sys/statvfs.h: Likewise.
52991         * include/sys/syslog.h: Likewise.
52992         * include/sys/time.h: Likewise.
52993         * include/sys/uio.h: Likewise.
52994         * include/time.h: Likewise.
52995         * include/unistd.h: Likewise.
52996         * include/utmp.h: Likewise.
52997         * include/wchar.h: Likewise.
52998         * include/wctype.h: Likewise.
52999         * inet/aliases.h: Likewise.
53000         * inet/arpa/inet.h: Likewise.
53001         * inet/netinet/ether.h: Likewise.
53002         * inet/netinet/in.h: Likewise.
53003         * intl/libintl.h: Likewise.
53004         * io/bits/fcntl2.h: Likewise.
53005         * io/fcntl.h: Likewise.
53006         * io/ftw.h: Likewise.
53007         * io/sys/poll.h: Likewise.
53008         * io/sys/stat.h: Likewise.
53009         * io/sys/statfs.h: Likewise.
53010         * io/sys/statvfs.h: Likewise.
53011         * io/utime.h: Likewise.
53012         * libio/bits/stdio.h: Likewise.
53013         * libio/bits/stdio2.h: Likewise.
53014         * libio/libio.h: Likewise.
53015         * libio/libioP.h: Likewise.
53016         * libio/stdio.h: Likewise.
53017         * locale/lc-ctype.c: Likewise.
53018         * locale/locale.h: Likewise.
53019         * login/utmp.h: Likewise.
53020         * malloc/arena.c: Likewise.
53021         * malloc/malloc.c: Likewise.
53022         * malloc/malloc.h: Likewise.
53023         * malloc/mcheck.c: Likewise.
53024         * malloc/mtrace.c: Likewise.
53025         * math/bits/mathcalls.h: Likewise.
53026         * math/fenv.h: Likewise.
53027         * math/math_private.h: Likewise.
53028         * misc/bits/error.h: Likewise.
53029         * misc/bits/syslog.h: Likewise.
53030         * misc/err.h: Likewise.
53031         * misc/error.h: Likewise.
53032         * misc/fstab.h: Likewise.
53033         * misc/mntent.h: Likewise.
53034         * misc/regexp.h: Likewise.
53035         * misc/search.h: Likewise.
53036         * misc/sgtty.h: Likewise.
53037         * misc/sys/mman.h: Likewise.
53038         * misc/sys/syslog.h: Likewise.
53039         * misc/sys/uio.h: Likewise.
53040         * misc/sys/xattr.h: Likewise.
53041         * misc/ttyent.h: Likewise.
53042         * nis/rpcsvc/ypclnt.h: Likewise.
53043         * nss/nss.h: Likewise.
53044         * posix/bits/unistd.h: Likewise.
53045         * posix/fnmatch.h: Likewise.
53046         * posix/glob.h: Likewise.
53047         * posix/sched.h: Likewise.
53048         * posix/spawn.h: Likewise.
53049         * posix/sys/wait.h: Likewise.
53050         * posix/unistd.h: Likewise.
53051         * posix/wordexp.h: Likewise.
53052         * pwd/pwd.h: Likewise.
53053         * resolv/netdb.h: Likewise.
53054         * resource/sys/resource.h: Likewise.
53055         * rt/aio.h: Likewise.
53056         * rt/bits/mqueue2.h: Likewise.
53057         * rt/mqueue.h: Likewise.
53058         * shadow/shadow.h: Likewise.
53059         * signal/signal.h: Likewise.
53060         * socket/send.c: Likewise.
53061         * socket/sendto.c: Likewise.
53062         * socket/sys/socket.h: Likewise.
53063         * stdio-common/printf.h: Likewise.
53064         * stdlib/bits/stdlib.h: Likewise.
53065         * stdlib/fmtmsg.h: Likewise.
53066         * stdlib/monetary.h: Likewise.
53067         * stdlib/stdlib.h: Likewise.
53068         * stdlib/ucontext.h: Likewise.
53069         * streams/stropts.h: Likewise.
53070         * string/argz.h: Likewise.
53071         * string/bits/string2.h: Likewise.
53072         * string/string.h: Likewise.
53073         * string/strings.h: Likewise.
53074         * sunrpc/rpc/auth.h: Likewise.
53075         * sunrpc/rpc/auth_des.h: Likewise.
53076         * sunrpc/rpc/clnt.h: Likewise.
53077         * sunrpc/rpc/netdb.h: Likewise.
53078         * sunrpc/rpc/pmap_clnt.h: Likewise.
53079         * sunrpc/rpc/xdr.h: Likewise.
53080         * sysdeps/generic/inttypes.h: Likewise.
53081         * sysdeps/generic/net/if.h: Likewise.
53082         * sysdeps/generic/sys/swap.h: Likewise.
53083         * sysdeps/gnu/net/if.h: Likewise.
53084         * sysdeps/gnu/utmpx.h: Likewise.
53085         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53086         * sysdeps/i386/i486/bits/string.h: Likewise.
53087         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53088         * sysdeps/s390/bits/string.h: Likewise.
53089         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53090         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53091         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53092         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53093         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53094         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53095         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53096         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53097         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53098         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53099         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53100         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53101         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53102         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53103         * sysdeps/unix/sysv/linux/readv.c: Likewise.
53104         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53105         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53106         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53107         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53108         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53109         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53110         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53111         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53112         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53113         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53114         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53115         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53116         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53117         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53118         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53119         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53120         * sysvipc/sys/ipc.h: Likewise.
53121         * sysvipc/sys/msg.h: Likewise.
53122         * sysvipc/sys/sem.h: Likewise.
53123         * sysvipc/sys/shm.h: Likewise.
53124         * termios/termios.h: Likewise.
53125         * time/sys/time.h: Likewise.
53126         * time/time.h: Likewise.
53127         * wcsmbs/bits/wchar2.h: Likewise.
53128         * wcsmbs/uchar.h: Likewise.
53129         * wcsmbs/wchar.h: Likewise.
53130         * wctype/wctype.h: Likewise.
53132         [BZ #13551]
53133         * Makeconfig: Remove all but ELF support including AIX support.
53134         * Makerules: Likewise.
53135         * config.h.in: Likewise.
53136         * config.make.in: Likewise.
53137         * configure: Likewise.
53138         * configure.in: Likewise.
53139         * csu/Makefile: Likewise.
53140         * csu/version.c: Likewise.
53141         * debug/Makefile: Likewise.
53142         * dlfcn/Makefile: Likewise.
53143         * elf/Makefile: Likewise.
53144         * extra-lib.mk: Likewise.
53145         * iconv/Makefile: Likewise.
53146         * include/libc-symbols.h: Likewise.
53147         * include/shlib-compat.h: Likewise.
53148         * resolv/Makefile: Likewise.
53149         * resolv/res_libc.c: Likewise.
53150         * rt/Makefile: Likewise.
53151         * sysdeps/i386/asm-syntax.h: Likewise.
53152         * sysdeps/i386/sysdep.h: Likewise.
53153         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53154         * sysdeps/mach/sysdep.h: Likewise.
53155         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53156         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53157         * sysdeps/s390/asm-syntax.h: Likewise.
53158         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53159         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53160         * sysdeps/sh/sysdep.h: Likewise.
53161         * sysdeps/unix/sparc/sysdep.h: Likewise.
53162         * sysdeps/wordsize-32/divdi3.c: Likewise.
53163         * sysdeps/x86_64/sysdep.h: Likewise.
53165         * argp/Versions: Remove _argp_unlock_xxx.
53167         [BZ #13559]
53168         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
53169         * abilist/libBrokenLocale.abilist: Likewise.
53170         * abilist/libanl.abilist: Likewise.
53171         * abilist/libc.abilist: Likewise.
53172         * abilist/libcrypt.abilist: Likewise.
53173         * abilist/libdl.abilist: Likewise.
53174         * abilist/libm.abilist: Likewise.
53175         * abilist/libnsl.abilist: Likewise.
53176         * abilist/libpthread.abilist: Likewise.
53177         * abilist/libresolv.abilist: Likewise.
53178         * abilist/librt.abilist: Likewise.
53179         * abilist/libthread_db.abilist: Likewise.
53180         * abilist/libutil.abilist: Likewise.
53181         * abilist/libnss_db.abilist: New file.
53183         * scripts/abilist.awk: Add support for indirect functions.
53185         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53187         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53189         * shlib-versions: Remove entries for ports architectures.
53191         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
53192         files in ports.
53193         * elf/stackguard-macros.h: Remove support for IA-64.
53194         * elf/tst-auditmod1.c: Likewise.
53195         * sysdeps/generic/ldsodefs.h: Likewise.
53197         * sysdeps/unix/sysv/linux/configure.in: Ports should define
53198         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53199         configure files.
53201         [BZ #13552]
53202         * configure.in: Remove --enable-omitfp support.
53203         * FAQ.in: Adjust.
53204         * config.make.in: Likewise.
53205         * Makeconfig: Likewise.
53206         * manual/install.texi: Likewise.
53208         In case anyone cares, the IA-64 architecture could move to ports.
53209         * sysdeps/ia64/*: Removed.
53210         * sysdeps/unix/sysv/linux/ia64/*: Removed.
53211         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53213         [BZ #13555]
53214         * configure.in: Remove entries for unsupported architectures.
53216         [BZ #13533]
53217         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53218         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
53219         routines.
53220         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53221         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53222         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
53223         fall back to using wcrtomb.
53224         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53225         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
53226         renaming.
53227         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53228         * wcsmbs/tst-c16c32-1.c: New file.
53230         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53231         local variable.
53233         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53235         * elf/tst-unique3.cc: Add explicit declaration of gets.
53236         * elf/tst-unique3lib.cc: Likewise.
53237         * elf/tst-unique3lib2.cc: Likewise.
53238         * elf/tst-unique4.cc: Likewise.
53240         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53242 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
53244         [BZ #13566]
53245         * assert/assert.h (static_assert): Don't define for C++.
53246         * libio/stdio.h (gets): Do declare for C++ <= C++11.
53247         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53249 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
53251         * iconv/loop.c (single loop): Fix assertion in storing of
53252         remaining bytes.
53254         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53256 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
53258         * posix/getconf.c: Update copyright year.
53259         * nss/getent.c: Likewise.
53260         * nss/makedb.c: Likewise.
53261         * iconv/iconvconfig.c: Likewise.
53262         * iconv/iconv_prog.c: Likewise.
53263         * elf/ldconfig.c: Likewise.
53264         * elf/pldd.c: Likewise.
53265         * elf/sotruss.ksh: Likewise.
53266         * catgets/gencat.c: Likewise.
53267         * csu/version.c: Likewise.
53268         * elf/ldd.bash.in: Likewise.
53269         * elf/sprof.c (print_version): Likewise.
53270         * locale/programs/locale.c: Likewise.
53271         * locale/programs/localedef.c: Likewise.
53272         * login/programs/pt_chown.c: Likewise.
53273         * nscd/nscd.c (print_version): Likewise.
53274         * debug/xtrace.sh: Likewise.
53275         * malloc/memusage.sh: Likewise.
53276         * malloc/mtrace.pl: Likewise.
53277         * debug/catchsegv.sh: Likewise.
53279 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
53281         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53282         pure attribute.
53284 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
53286         [BZ #13533]
53287         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53288         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53289         transformations.
53290         * iconv/gconv_int.h: Likewise.
53291         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53292         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53293         from libc for GLIBC_2.16.
53294         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53295         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53296         * wcsmbs/uchar.h: Really define mbstate_t.
53297         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53298         * wcsmbs/c16rtomb.c: New file.
53299         * wcsmbs/mbrtoc16.c: New file.
53300         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53301         for C/POSIX locale.
53302         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53303         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53305         * wcsmbs/wchar.h: Add missing __restrict.
53307 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53309         [BZ #13532]
53310         * time/Makefile (routines): Add timespec_get.
53311         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53312         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
53313         timespec for ISO C11.
53314         * time/timespec_get.c: New file.
53315         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53316         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53318         [BZ #13531]
53319         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53320         * stdlib/stdlib.h: Declare aligned_alloc.
53321         * Versions.def: Add GLIBC_2.16 for libc.
53322         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53324         [BZ 13527]
53325         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53326         ISO C11.
53328         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53329         code.
53331         [BZ #13528]
53332         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53334         [BZ #13529]
53335         * assert/assert.h (static_assert): Define.
53337         * version.h: Update for 2.16 development version.
53339         [BZ #13526]
53340         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53341         _ISOC11_SOURCE.
53343         * version.h (RELEASE): Bump for 2.15 release.
53344         * include/features.h (__GLIBC_MINOR__): Bump to 15.
53346         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53347         Patch by Marek Polacek <mpolacek@redhat.com>.
53349         * bits/byteswap.h: Protect long long constants with __extension__.
53350         * sysdeps/i386/bits/byteswap.h: Likewise.
53351         * sysdeps/ia64/bits/byteswap.h: Likewise.
53352         * sysdeps/s390/bits/byteswap.h: Likewise.
53353         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53355 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53357         [BZ #13540]
53358         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53359         destination buffer.
53360         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53362 2011-12-23  Marek Polacek  <polacek@redhat.com>
53364         * elf/dl-addr.c (determine_info): Add inline keyword.
53365         * elf/tst-auditmod4b.c (check_avx): Likewise.
53366         * elf/tst-auditmod6b.c (check_avx): Likewise.
53367         * elf/tst-auditmod6c.c (check_avx): Likewise.
53368         * elf/tst-auditmod7b.c (check_avx): Likewise.
53370 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53372         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53373         !__SSE_MATH__.
53375 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53377         [BZ #13540]
53378         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53379         processing for last bytes.
53381 2011-08-06  Bruno Haible  <bruno@clisp.org>
53383         [BZ #13061]
53384         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53385         U+0385, not to U+1FEE.
53387         [BZ #13062]
53388         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53389         entry for U+00A5 U+0301.
53391 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53393         [BZ #13166]
53394         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53395         buffer for the output is too small.
53397         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53398         optimization.
53400         [BZ #13185]
53401         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53402         SSE flags if possible.
53404 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53406         [BZ #13540]
53407         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53408         processing for last bytes.
53410 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
53412         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53413         (syscall-list-default-options, syscall-list-default-condition)
53414         (syscall-list-includes): Define.
53415         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53416         list of ABIs and options and #if conditions for each ABI.  Do not
53417         handle common syscalls between ABIs specially.
53418         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53419         Remove.
53420         (syscall-list-variants, syscall-list-32bit-options)
53421         (syscall-list-32bit-condition, syscall-list-64bit-options)
53422         (syscall-list-64bit-condition): Define.
53423         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53424         (syscall-list-variants, syscall-list-32bit-options)
53425         (syscall-list-32bit-condition, syscall-list-64bit-options)
53426         (syscall-list-64bit-condition): Define.
53427         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53428         Remove.
53429         (syscall-list-variants, syscall-list-32bit-options)
53430         (syscall-list-32bit-condition, syscall-list-64bit-options)
53431         (syscall-list-64bit-condition): Define.
53432         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53433         Remove.
53434         (syscall-list-variants, syscall-list-32bit-options)
53435         (syscall-list-32bit-condition, syscall-list-64bit-options)
53436         (syscall-list-64bit-condition): Define.
53438 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53440         * locale/iso-639.def: Add brx entry.
53442         [BZ #13328]
53443         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53444         Proposed by Mariusz_Cukr <marcukr@op.pl>.
53446         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53447         __feraiseexcept_renamed.
53449 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53451         [BZ #13538]
53452         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53453         EPOLLET with unsigned values.
53454         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53455         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53457         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53458         to large cancellation.
53459         * math/s_cacoshf.c: Likewise.
53460         * math/s_cacoshl.c: Likewise.
53462 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
53464         [BZ #13305]
53465         [BZ #12786]
53466         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53467         * math/s_cacoshf.c: Likewise.
53468         * math/s_cacoshl.c: Likewise.
53470 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53472         [BZ #13439]
53473         * iconv/gconv.h: Define __GCONV_SWAP.
53474         * iconvdata/unicode.c: The swap bit must be stored in __flags.
53475         * iconvdata/utf-16.c: Likewise.
53476         * iconvdata/utf-32.c: Likewise.
53478 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
53480         [BZ #13524]
53481         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53482         numerator after shifting it by one limb.
53484 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
53486         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53487         under [__USE_EXTERN_INLINES].
53489 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53491         [BZ #13446]
53492         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53494 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53496         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53497         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53498         optimized code.
53499         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53500         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53501         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53502         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53503         for strncasecmp/strncasecmp_l compilation.
53504         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53505         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53507 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
53509         [BZ #13484]
53510         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53511         of __asm__.
53513 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53515         [BZ #13506]
53516         * time/tzfile.c (__tzfile_read): Check values from file header.
53518 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53520         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53521         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53522         * powerpc/powerpc32/dl-start.S: Likewise.
53523         * powerpc/powerpc32/elf/start.S: Likewise.
53524         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53525         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53526         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53527         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53528         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53529         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53530         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53531         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53532         * powerpc/powerpc32/fpu/s_round.S: Likewise.
53533         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53534         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53535         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53536         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53537         * powerpc/powerpc32/memset.S: Likewise.
53538         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53539         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53540         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53541         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53542         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53543         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53544         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53545         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53546         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53547         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53548         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53549         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53550         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53552 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53554         * math/libm-test.inc: Added more nearbyint tests.
53555         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53556         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53557         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53558         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53560 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
53562         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53563         FD_CLOEXEC.
53565 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53567         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53568         Add wcscpy-ssse3 wcscpy-c.
53569         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53570         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53571         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53572         * sysdeps/x86_64/wcschr.S: New file.
53573         * sysdeps/x86_64/wcsrchr.S: New file.
53574         * string/test-strcmp.c: Remove checking of wcscmp function for
53575         wrong alignments.
53576         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53577         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53578         wcsrchr-sse2 wcsrchr-c.
53579         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53580         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53581         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53582         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53583         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53584         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53585         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53586         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53587         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53588         * wcsmbc/wcschr.c (WCSCHR): New macro.
53590 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53592         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53593         * wcsmbs/test-wcsrchr.c: New file.
53594         * string/test-strrchr.c: Add wcsrchr support.
53595         (WIDE): New macro.
53596         * wcsmbs/test-wcscpy.c: New file.
53597         * string/test-strcpy.c: Add wcscpy support.
53598         (WIDE): New macro.
53600 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
53602         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53603         the inner loop.
53605 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
53607         [BZ #13472]
53608         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53610 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
53612         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53613         Minor optimizations.
53615         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53616         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53617         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53619 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
53621         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53622         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53623         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53624         for gcc to avoid warnings.
53625         * inet/Makefile (tests): Add tst-checks.
53626         * inet/tst-checks.c: New file.
53628         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53629         warning.
53631         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53632         __wmemcmp_sse2.
53634         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53635         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53637         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53639 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
53641         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53642         problem.
53644         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53646 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
53648         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53649         conditional on GCC version.
53650         (__arch_compare_and_exchange_val_8_acq)
53651         (__arch_compare_and_exchange_val_16_acq)
53652         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53653         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53654         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53656 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
53658         * sysdeps/sh/backtrace.c: New file.
53660 2011-12-02  Andreas Schwab  <schwab@redhat.com>
53662         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
53663         parenthesis.
53665 2011-12-01  Andreas Schwab  <schwab@redhat.com>
53667         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53668         falling back to utime.
53670 2011-11-30  Andreas Schwab  <schwab@redhat.com>
53672         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53673         expectations for float.
53675 2011-11-29  Andreas Schwab  <schwab@redhat.com>
53677         * locale/weight.h (findidx): Add parameter len.
53678         * locale/weightwc.h (findidx): Likewise.
53679         * posix/fnmatch_loop.c (FCT): Adjust caller.
53680         * posix/regcomp.c (build_equiv_class): Likewise.
53681         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53682         * posix/regexec.c (check_node_accept_bytes): Likewise.
53683         * string/strcoll_l.c (STRCOLL): Likewise.
53684         * string/strxfrm_l.c (STRXFRM): Likewise.
53686 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
53688         * Makefile.in: Remove CVSOPT handling.
53689         * configure.in: Remove use of AC_REVISION.
53690         * iconvdata/Makefile (distribute): No need to filter out CVS.
53691         * scripts/list-sources.sh: Remove CVS, subversion and monotone
53692         handling.
53694 2011-11-16  Andreas Schwab  <schwab@redhat.com>
53696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53697         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53698         [USE_AS_STRNCASECMP_L]: Likewise.
53699         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53700         NO_TLS_DIRECT_SEG_REFS.
53701         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53702         Fix argument offsets for non-PIC.
53703         [USE_AS_STRNCASECMP_L]: Likewise.
53704         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53705         NO_TLS_DIRECT_SEG_REFS.
53707 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53709         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53710         O_CLOEXEC.
53711         * locale/loadlocale.c (_nl_load_locale): Likewise.
53713 2011-11-15  Andreas Schwab  <schwab@redhat.com>
53715         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53716         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53717         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53718         (SYSCALL_GETTIME): Set errno on error.
53720         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53721         count references to noai6ai_cached.
53723 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53725         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53727         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53728         FD_CLOEXEC for /proc/self/maps.
53730         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53731         FD_CLOEXEC for /proc/meminfo.
53733         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53734         gai.conf.
53736         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
53737         FD_CLOEXEC for given file.
53739         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53741         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53742         FD_CLOEXEC for /etc/hosts.
53743         (_gethtent): Likewise.
53745         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53747         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53748         cancellation and set FD_CLOEXEC for /etc/netgroup.
53750         * nss/nss_files/files-key.c (search): Don't allow cancellation when
53751         reading /etc/publickey.
53753         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53754         allow cancellation when reading /etc/group.
53756         * nss/nss_files/files-alias.c (internal_setent): Don't allow
53757         cancellation.
53758         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
53760         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53761         when using data file.
53763         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53765         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53766         (write_nis_obj): Use "c" and "e" in fopen.
53768         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53770         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53772         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53774         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53776         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53777         locale.alias.
53779         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53781         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53783         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53785         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53786         file parsing and set FD_CLOEXEC.
53788 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53790         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53792 2011-11-14  Andreas Schwab  <schwab@redhat.com>
53794         * malloc/arena.c (arena_get2): Don't call reused_arena when
53795         _int_new_arena failed.
53797 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53799         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53800         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53801         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53802         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53803         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53804         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53805         to compile strcasecmp and strncasecmp.
53806         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53807         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53809         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53811 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
53813         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53814         locale-defines.sym to gen-as-const-headers.
53815         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53816         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53817         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53818         to compile strcasecmp and strncasecmp.
53819         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53820         strcasecmp_l and strncasecmp_l.
53821         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53822         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53823         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53824         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53825         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53826         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53827         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53828         * sysdeps/i386/i686/multiarch/strncase.S: New file.
53829         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53830         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53831         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53833 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
53835         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53836         result of SYSDEP_GETTIME_CPU to retval.
53837         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53838         parameter list to macro.  Remove trailing semicolon.  Adjust users.
53840         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53841         variable.
53843         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53844         mantissa words.
53845         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53847         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53848         from unused variable.
53850         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53851         DWARF definitions.
53852         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53853         for assembling.
53855         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53856         over namespaces.
53858         * sunrpc/rpc_prot.c (rejected): Fix case value.
53860         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53861         unsigned long long int to avoid warnings in shift.
53863         * posix/regex_internal.c (re_string_reconstruct): Actually use result
53864         of use of trans.
53865         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53866         variable tmp.
53868         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53869         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53870         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53872         * nis/nis_table.c (nis_list): Use variable of correct type for
53873         result of __follow_path call.
53875 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53877         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53878         of math functions ceil, trunc, floor, round, and sqrt, when
53879         avaliable on the platform.
53880         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53881         name clash.
53882         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53883         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53884         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53886 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
53888         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53889         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53891 2011-11-11  Roland McGrath  <roland@hack.frob.com>
53893         * include/unistd.h: Fix __readlink return type.
53894         Reported by Chris Metcalf <cmetcalf@tilera.com>.
53896 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
53898         * stdlib/ucontext.h: Undo last change for makecontext.
53900 2011-11-11  Andreas Schwab  <schwab@redhat.com>
53902         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53904         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53905         * setjmp/setjmp.h: Mark functions as non-leaf.
53906         * setjmp/bits/setjmp2.h: Likewise.
53907         * stdlib/ucontext.h: Likewise.
53909 2011-11-10  Andreas Schwab  <schwab@redhat.com>
53911         * malloc/arena.c (_int_new_arena): Don't increment narenas.
53912         (reused_arena): Don't check arena limit.
53913         (arena_get2): Atomically check arena limit.
53915 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
53917         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53918         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53921         instructions.
53923 2011-11-07  Andreas Schwab  <schwab@redhat.com>
53925         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53926         handler when locking.
53928         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53929         Fix size of allocated buffer.
53931 2011-11-04  Andreas Schwab  <schwab@redhat.com>
53933         [BZ #10103]
53934         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53935         declarations for long double functions.
53936         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53938         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53940 2011-11-03  Andreas Schwab  <schwab@redhat.com>
53942         * nscd/nscd.c (main): Don't start AVC thread until credentials are
53943         installed.
53945         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53946         is disabled.
53948 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53950         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53952 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53954         * include/alloca.h (stackinfo_alloca_round): Define.
53955         (extend_alloca): Use it.
53956         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53957         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53958         here.
53960         * scripts/check-local-headers.sh: Ignore libaudit.h.
53962         * nscd/Makefile (extra-objs): Make recursively expanded.
53964 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
53966         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53967         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53969         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53970         * posix/tst-rfc3484-2.c: Likewise.
53971         * posix/tst-rfc3484-3.c: Likewise.
53973         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53974         process_vm_writev.
53975         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53976         process_vm_writev.
53977         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53978         process_vm_writev from libc using GLIBC_2.15 version.
53980         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53982 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
53984         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53985         stack usage.
53987 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
53989         [BZ #13367]
53990         * nss/getent.c (initgroups_keys): Show error message in case no group
53991         names are given.
53993         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53994         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53995         __bump_nl_timestamp.
53996         * nscd/connections (nscd_init): When host database is served open
53997         netlink socket and request notification about configuration changes.
53998         (main_loop_poll): Track netlink file descriptor and bump timestamp
53999         in case data becomes available.
54000         (main_loop_epoll): Likewise.
54001         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54002         (database_pers_head): Add extra_data fileds.
54003         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54004         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54005         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54006         Adjust caller.
54007         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54008         in6ai data, call __free_in6ai.
54009         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54010         Add -DHAVE_NETLINK.
54011         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54012         interface information.  Reuse previous data if netlink timestamp
54013         is not changed.
54014         (__bump_nl_timestamp): New function.
54015         (__free_in6ai): New function.
54017 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54019         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54020         close_not_cancel_no_status here.
54021         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54023 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54025         [BZ #13276]
54026         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54027         return value.
54029         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54030         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54031         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54033 2011-07-03  Andreas Jaeger  <aj@suse.de>
54035         [BZ #10709]
54036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54037         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54038         * math/libm-test.inc (sin_test): Add test case.
54040 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54042         [BZ #13337]
54043         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54044         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54046         * elf/chroot_canon.c (chroot_canon): Cleanups.
54048         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54050         [BZ #13335]
54051         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54052         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54054         * string/test-strchr.c: Make usable for strchrnul testing.
54055         * string/test-strchrnul.c: New file.
54056         * string/Makefile (strop-tests): Add strchrnul.
54058         * po/it.po: Update from translation team.
54059         * po/es.po: Likewise.
54061 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54063         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54064         the three constants needed as parameters.  Drop the others.
54065         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54066         __m128i_strloadu_tolower.
54067         Create and initialize variable zero and use it in all the places
54068         where _mm_setzero_si128 was used.
54070         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54071         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54072         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54073         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54074         anymore.
54075         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54076         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54077         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54078         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54079         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54080         __mpranred, __mptan.
54081         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54082         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54083         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54084         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54085         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54086         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54087         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54088         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54089         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54091 2011-10-28  Andreas Schwab  <schwab@redhat.com>
54093         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54094         redefine if SHARED.
54095         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54097         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54098         wide char related routines to wcsmbs subdir.
54100 2011-10-27  Andreas Schwab  <schwab@redhat.com>
54102         [BZ #13344]
54103         * misc/sys/cdefs.h (__THROWNL): Define.
54104         * posix/unistd.h: Use __THREADNL instead of __THREAD
54105         for memory synchronization functions.
54107 2011-10-26  Roland McGrath  <roland@hack.frob.com>
54109         [BZ #13349]
54110         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54111         doesn't exist.
54112         * manual/stdio.texi (Obstack Streams): Node removed.
54114 2011-10-26  Andreas Schwab  <schwab@redhat.com>
54116         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54117         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54118         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54120         * math/math_private.h (math_force_eval): Allow non-addressable
54121         arguments.
54122         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54124 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54126         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54127         file is not needed.
54129         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54130         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54131         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54132         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54133         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54134         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54135         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54136         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54137         Add AVX variants.
54138         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54139         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54140         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54141         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54142         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54143         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54144         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54145         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54146         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54147         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54148         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54149         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54150         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54151         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54152         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54153         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54154         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54155         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54156         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54158         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54159         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
54161         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54162         place.  Use VEX encoding when compiling for AVX.
54164 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54166         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54167         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54169         * string/test-strchr.c (do_test): Don't generate NUL bytes.
54171 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54173         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54174         useless if() expression.
54175         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54176         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54177         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54178         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54179         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54180         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54181         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54182         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54183         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54184         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54185         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54186         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54187         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54188         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54189         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54190         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54191         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54192         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54193         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54195         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54197 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54199         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54200         condition.
54201         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54203 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54205         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54206         .text section.  Avoid duplicate constants.
54207         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54208         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54209         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54210         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54211         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54212         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54213         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54214         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54215         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54216         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54217         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54218         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54219         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54220         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54221         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54222         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54223         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54224         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54225         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54226         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54227         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54228         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54229         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54230         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54231         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54232         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54233         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54234         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54235         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54236         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54237         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54238         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54239         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54240         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54241         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54242         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54243         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54244         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54245         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54246         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54247         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54248         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54249         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54250         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54251         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54253 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
54255         * sysdeps/x86_64/dla.h: Move to ...
54256         * sysdeps/x86_64/fpu/dla.h: ...here.
54257         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54258         situations.  Use __builtin_fma only for gcc 4.6 and up.
54260         * config.make.in: Add have-mfma4 entry.
54261         * configure.in: Substitute libc_cv_cc_fma4.
54262         * math/Makefile (dbl-only-routines): Add sincostab.
54263         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54264         Use __sincostab not sincos.
54265         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54266         name is a macro.
54267         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54268         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54269         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54270         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
54271         using __copysign.
54272         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
54273         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
54274         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54275         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54276         and __inv.
54277         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54278         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54279         __copysign.
54280         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
54281         define aliases when function name is a macro.
54282         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54283         sysdeps/ieee754/dbl-64/sincos.tbl.
54284         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54285         fma4-enabled routines.
54286         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54287         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54288         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54289         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54290         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54291         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54292         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54293         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54294         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54295         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54296         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54297         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54298         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54299         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54300         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54301         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54302         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54303         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54304         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54305         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54306         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54307         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54308         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54309         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54310         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54311         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54312         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54313         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54314         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54315         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54317         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54318         rename.
54319         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54320         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54322         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54323         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54325         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54326         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54328 2011-10-24  Andreas Schwab  <schwab@redhat.com>
54330         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54332 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54334         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54336         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54337         prediction.
54338         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54340         * string/strnlen.c: Don't define STRNLEN, reverse logic.
54341         Remove unused variable magic_bits.
54342         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54344         * string/strnlen.c: Define and use STRNLEN macro.
54345         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54346         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54347         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54348         * wcsmbs/wcslen.c: Define and use WCSLEN.
54349         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54350         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54351         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54352         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54353         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54354         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54355         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54357 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54360         strnlen-sse2-no-bsf.
54361         Rename strlen-no-bsf to strlen-sse2-no-bsf.
54362         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54363         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54364         Add strnlen support.
54365         (USE_AS_STRNLEN): New macro.
54366         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54367         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54368         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54369         * sysdeps/x86_64/wcslen.S: New file.
54371 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
54373         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54374         XMM-moves are used for copying on small sizes.
54376 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54378         * wcsmbs/Makefile (strop-tests): Add wcschr.
54379         * wcsmbs/test-wcschr.c: New file.
54380         * string/test-strchr.c: Update.
54381         Add wcschr support.
54382         (WIDE): New macro.
54384 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54386         * wcsmbs/Makefile (strop-tests): Add wcslen.
54387         * wcsmbs/test-wcslen.c: New file.
54388         * string/test-strlen.c: Update.
54389         Add wcslen support.
54390         (WIDE): New macro.
54392 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54394         * po/it.po: Update from translation team.
54396 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54398         * sysdeps/x86_64/wcscmp.S: Update.
54399         Fix wrong comparison semantics.
54400         wcscmp shall use signed comparison not unsigned.
54401         Don't use substraction to avoid overflow bug.
54402         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54403         * wcsmbc/wcscmp.c: Likewise.
54404         * string/test-strcmp.c: Likewise.
54405         Add new tests to check cases with negative values.
54407 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54409         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54410         * sysdeps/x86_64/dla.h: ...here.  New file.
54411         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54413         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54414         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54416         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54417         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54418         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54419         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54421 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
54423         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54424         __ynl_finite aliases.
54426 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54430         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54431         define DLA_FMA.
54432         [DLA_FMA] (EMULV): Use DLA_FMA.
54433         [DLA_FMA] (MUL12): Use EMULV.
54434         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54435         that are not needed.
54436         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54437         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54438         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54439         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54440         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54441         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54442         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54444 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
54446         * math/s_nan.c: Undef __nan.
54447         * math/s_nanf.c: Undef __nanf.
54448         * math/s_nanl.c: Undef __nanl.
54449         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54450         "math_private.h".
54452 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54454         * math/s_catan.c: Add branch predictions.
54455         * math/s_catanf.c: Likewise.
54456         * math/s_catanh.c: Likewise.
54457         * math/s_catanhf.c: Likewise.
54458         * math/s_catanhl.c: Likewise.
54459         * math/s_catanl.c: Likewise.
54460         * math/s_cexp.c: Likewise.
54461         * math/s_cexpf.c: Likewise.
54462         * math/s_cexpl.c: Likewise.
54463         * math/s_clog.c: Likewise.
54464         * math/s_clog10.c: Likewise.
54465         * math/s_clog10f.c: Likewise.
54466         * math/s_clog10l.c: Likewise.
54467         * math/s_clogf.c: Likewise.
54468         * math/s_clogl.c: Likewise.
54469         * math/s_csqrt.c: Likewise.
54470         * math/s_csqrtf.c: Likewise.
54471         * math/s_csqrtl.c: Likewise.
54472         * math/s_ctanf.c: Likewise.
54473         * math/s_ctanh.c: Likewise.
54474         * math/s_ctanhf.c: Likewise.
54475         * math/s_ctanhl.c: Likewise.
54476         * math/s_ctanl.c: Likewise.
54478         * math/math_private.h: Define __nan, __nanf, __nanl.
54479         * math/s_cacosh.c: Include <math_private.h>.
54480         * math/s_cacoshl.c: Likewise.
54481         * math/s_casinh.c: Likewise.
54482         * math/s_casinhf.c: Likewise.
54483         * math/s_casinhl.c: Likewise.
54484         * math/s_ccos.c: Rely entire on ccosh.
54485         * math/s_ccosf.c: Rely entire on ccoshf.
54486         * math/s_ccosl.c: Rely entirely on ccoshl.
54487         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
54488         Remove tests for FE_INVALID.
54489         * math/s_ccoshf.c: Likewise.
54490         * math/s_ccoshl.c: Likewise.
54491         * math/s_csin.c: Likewise.
54492         * math/s_csinf.c: Likewise.
54493         * math/s_csinh.c Likewise.
54494         * math/s_csinhf.c: Likewise.
54495         * math/s_csinhl.c: Likewise.
54496         * math/s_csinl.c: Likewise.
54497         * math/s_ctan.c: Likewise.
54498         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54499         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54500         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54502 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
54504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54505         compilation problems.
54507         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54508         __builtin_expect.
54510 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
54512         * sysdeps/i386/configure.in: Test for -mfma4 option.
54513         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54514         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54515         COMMON_CPUID_INDEX_80000001.
54516         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54517         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54518         use it if FMA3 is not supported.
54519         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54521         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54522         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54524 2011-10-20  Andreas Schwab  <schwab@redhat.com>
54526         [BZ #12892]
54527         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54528         it would create a cycle with a link time dependency.
54530 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
54532         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54533         instruction.
54534         * string/Makefile (strop-tests): Add rawmemchr.
54535         * string/test-rawmemchr.c: New file.
54537         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54538         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
54539         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
54540         when compiling str{,n}casecmp and when AVX is available.  Hook up
54541         new optimized code in initializers.
54543 2011-10-19  Andreas Schwab  <schwab@redhat.com>
54545         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54546         __feraiseexcept instead of feraiseexcept.
54548 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
54550         * math/math_private.h: Define defaults for libc_fetestexcept and
54551         libc_feupdateenv.
54552         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54553         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54554         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54555         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54556         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54557         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54558         libc_fetestexcept and libc_feupdateenv.
54560         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54561         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54562         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54563         * sysdeps/x86_64/fpu/math_private.h: Define special version of
54564         libc_feholdexcept_setround.
54566         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54567         Add s_nearbyint-c and s_nearbyintf-c.
54568         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54569         nearbyintf inlines.
54570         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54571         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54572         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54573         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54575         * math/math_private.h: Define defaults for libc_fegetround,
54576         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54577         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54578         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54579         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54580         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54581         standard functions.
54582         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54583         Remove comments and hacks for old compiler versions.
54584         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54585         libc_fegetround, libc_fesetround, libc_feholdexcept, and
54586         libc_feholdexceptl.
54588 2011-10-18  Andreas Schwab  <schwab@redhat.com>
54590         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54591         (__feraiseexcept_renamed): Add __NTH.
54592         (feraiseexcept): Add __NTH.  Rename local variables to fix
54593         namespace violations.
54595 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
54597         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54599         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54601         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54602         recently added interfaces.
54603         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54605         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54606         about macro parameter expansion.
54608         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54609         __NO_MATH_INLINES is defined.  Cleanups.
54611         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54612         and __floorf is target has SSE4.1.
54613         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54614         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54615         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54616         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54618         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54619         name.
54620         (floorf): Likewise.
54622         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54624 2011-10-17  Andreas Schwab  <schwab@redhat.com>
54626         * misc/sys/cdefs.h: Fix last change.
54628         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54629         database lookup.
54631 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
54633         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54635         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54636         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54637         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54638         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54639         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54640         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54641         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54642         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54643         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54644         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54645         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54646         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54647         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54648         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54649         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54650         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54651         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54652         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54653         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54654         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54655         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54656         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54658         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54659         ceil, ceilf, floor, floorf.
54661         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54662         Perform IRELATIVE relocations last.
54664         * elf/do-rel.h: Add another parameter nrelative, replacing the
54665         local variable with the same name.  Change name of the function
54666         to end in Rel or Rela (uppercase).
54667         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54668         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
54669         elf_dynamic_do_##reloc function.
54671 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54673         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54674         is sufficient, at least on modern CPUs.
54676         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54678         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54679         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54681         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54682         __expl_finite.
54683         * math/bits/math-finite.h: Add entries for exp.
54684         * math/e_expl.c: Add __*_finite alias.
54685         * sysdeps/i386/fpu/e_exp.S: Likewise.
54686         * sysdeps/i386/fpu/e_expf.S: Likewise.
54687         * sysdeps/i386/fpu/e_expl.c: Likewise.
54688         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54689         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54690         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54691         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54692         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54693         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54694         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54696         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54697         is sufficient, at least on modern CPUs.
54699         * ctype/ctype-info.c (__ctype_init): Define.
54700         * include/ctype.h (__ctype_init): Declare.
54701         (__ctype_b_loc): The variable is always initialized.
54702         (__ctype_toupper_loc): Likewise.
54703         (__ctype_tolower_loc): Likewise.
54704         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54705         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54707 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
54709         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54711         * configure.in: Also look in $cxxmachine/include for C++ system
54712         headers.
54714 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54716         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54717         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54718         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54719         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
54720         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54721         (USE_AS_WMEMCMP): New macro.
54722         Fixing indents.
54723         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54724         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54725         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54726         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54727         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54728         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54729         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54730         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54731         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54732         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54733         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54734         (USE_AS_WMEMCMP): New macro.
54735         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54736         * sysdeps/string/test-memcmp.c: Update.
54737         Fix simple_wmemcmp.
54738         Add new tests.
54739         * wcsmbs/wmemcmp.c: Update.
54740         (WMEMCMP): New macro.
54741         Fix overflow bug.
54743 2011-10-12  Andreas Jaeger  <aj@suse.de>
54745         [BZ #13268]
54746         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54748 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54750         * libio/iofwide.c (do_length): Avoid warning.
54752         * ctype/ctype.h (__isctype_f): Add missing __THROW.
54754 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
54756         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54758         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54759         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54760         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54761         * sysdeps/i386/i686/fpu/e_log.S: New file.
54762         * sysdeps/i386/i686/fpu/e_logf.S: New file.
54763         * sysdeps/i386/i686/fpu/e_logl.S: New file.
54765         * ctype/ctype.h: Add support for inlined isXXX functions when
54766         compiling C++ code.
54768 2011-10-14  Andreas Schwab  <schwab@redhat.com>
54770         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54772         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54774 2011-10-13  Roland McGrath  <roland@hack.frob.com>
54776         [BZ #13291]
54777         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54779 2011-10-13  Andreas Schwab  <schwab@redhat.com>
54781         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54782         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54783         feraiseexcept.
54785         * sysdeps/x86_64/memrchr.S: Check for zero size.
54787         * string/stratcliff.c: Add memrchr tests.
54789 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54791         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54792         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54793         rawmemchr-sse2 rawmemchr-sse2-bsf.
54794         * sysdeps/i386/i686/multiarch/memchr.S: New file.
54795         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54796         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54797         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54798         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54799         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54800         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54801         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54802         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54803         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54804         * string/memrchr.c (MEMRCHR): New macro.
54806 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
54808         Add integration with gcc's -ffinite-math-only and optimize wrapper
54809         functions in libm.
54810         * Versions.def: Define GLIBC_2.15 version for libm.
54811         * math/Makefile (headers): Add bits/math-finite.h.
54812         * math/bits/math-finite.h: New file.
54813         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54814         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54815         * math/e_acoshl.c: Add __*_finite alias.
54816         * math/e_acosl.c: Likewise.
54817         * math/e_asinl.c: Likewise.
54818         * math/e_atan2l.c: Likewise.
54819         * math/e_atanhl.c: Likewise.
54820         * math/e_coshl.c: Likewise.
54821         * math/e_exp10.c: Likewise.
54822         * math/e_exp10f.c: Likewise.
54823         * math/e_exp10l.c: Likewise.
54824         * math/e_exp2l.c: Likewise.
54825         * math/e_fmodl.c: Likewise.
54826         * math/e_gammal_r.c: Likewise.
54827         * math/e_hypotl.c: Likewise.
54828         * math/e_j0l.c: Likewise.
54829         * math/e_j1l.c: Likewise.
54830         * math/e_jnl.c: Likewise.
54831         * math/e_lgammal_r.c: Likewise.
54832         * math/e_log10l.c: Likewise.
54833         * math/e_log2l.c: Likewise.
54834         * math/e_logl.c: Likewise.
54835         * math/e_powl.c: Likewise.
54836         * math/e_sinhl.c: Likewise.
54837         * math/e_sqrtl.c: Likewise.
54838         * math/e_scalb.c: Completely rewritten and optimized.
54839         * math/e_scalbf.c: Likewise.
54840         * math/e_scalbl.c: Likewise.
54841         * math/w_acos.c: Likewise.
54842         * math/w_acosf.c: Likewise.
54843         * math/w_acosl.c: Likewise.
54844         * math/w_acosh.c: Likewise.
54845         * math/w_acoshf.c: Likewise.
54846         * math/w_acoshl.c: Likewise.
54847         * math/w_asin.c: Likewise.
54848         * math/w_asinf.c: Likewise.
54849         * math/w_asinl.c: Likewise.
54850         * math/w_atan2.c: Likewise.
54851         * math/w_atan2f.c: Likewise.
54852         * math/w_atan2l.c: Likewise.
54853         * math/w_atanh.c: Likewise.
54854         * math/w_atanhf.c: Likewise.
54855         * math/w_atanhl.c: Likewise.
54856         * math/w_exp10.c: Likewise.
54857         * math/w_exp10f.c: Likewise.
54858         * math/w_exp10l.c: Likewise.
54859         * math/w_fmod.c: Likewise.
54860         * math/w_fmodf.c: Likewise.
54861         * math/w_fmodl.c: Likewise.
54862         * math/w_j0.c: Likewise.
54863         * math/w_j0f.c: Likewise.
54864         * math/w_j0l.c: Likewise.
54865         * math/w_j1.c: Likewise.
54866         * math/w_j1f.c: Likewise.
54867         * math/w_j1l.c: Likewise.
54868         * math/w_jn.c: Likewise.
54869         * math/w_jnf.c: Likewise.
54870         * math/w_log.c: Likewise.
54871         * math/w_logf.c: Likewise.
54872         * math/w_logl.c: Likewise.
54873         * math/w_log10.c: Likewise.
54874         * math/w_log10f.c: Likewise.
54875         * math/w_log10l.c: Likewise.
54876         * math/w_log2.c: Likewise.
54877         * math/w_log2f.c: Likewise.
54878         * math/w_log2l.c: Likewise.
54879         * math/w_pow.c: Likewise.
54880         * math/w_powf.c: Likewise.
54881         * math/w_powl.c: Likewise.
54882         * math/w_remainder.c: Likewise.
54883         * math/w_remainderf.c: Likewise.
54884         * math/w_remainderl.c: Likewise.
54885         * math/w_scalb.c: Likewise.
54886         * math/w_scalbf.c: Likewise.
54887         * math/w_scalbl.c: Likewise.
54888         * math/w_sqrt.c: Likewise.
54889         * math/w_sqrtf.c: Likewise.
54890         * math/w_sqrtl.c: Likewise.
54891         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54892         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
54893         used.
54894         * math/math_private.h: Declare __kernel_standard_f.
54895         * math/w_cosh.c: Remove cruft and optimize a bit.
54896         * math/w_coshf.c: Likewise.
54897         * math/w_coshl.c: Likewise.
54898         * math/w_exp2.c: Likewise.
54899         * math/w_exp2f.c: Likewise.
54900         * math/w_exp2l.c: Likewise.
54901         * math/w_hypot.c: Likewise.
54902         * math/w_hypotf.c: Likewise.
54903         * math/w_hypotl.c: Likewise.
54904         * math/w_lgamma.c: Likewise.
54905         * math/w_lgamma_r.c: Likewise.
54906         * math/w_lgammaf.c: Likewise.
54907         * math/w_lgammaf_r.c: Likewise.
54908         * math/w_lgammal.c: Likewise.
54909         * math/w_lgammal_r.c: Likewise.
54910         * math/w_sinh.c: Likewise.
54911         * math/w_sinhf.c: Likewise.
54912         * math/w_sinhl.c: Likewise.
54913         * math/w_tgamma.c: Likewise.
54914         * math/w_tgammaf.c: Likewise.
54915         * math/w_tgammal.c: Likewise.
54916         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54917         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54918         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54919         Minor optimizations.  Pretty printing.  Remove cruft.
54920         * sysdeps/i386/fpu/e_acosf.S: Likewise.
54921         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54922         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54923         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54924         * sysdeps/i386/fpu/e_acosl.c: Likewise.
54925         * sysdeps/i386/fpu/e_asin.S: Likewise.
54926         * sysdeps/i386/fpu/e_asinf.S: Likewise.
54927         * sysdeps/i386/fpu/e_atan2.S: Likewise.
54928         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54929         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54930         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54931         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54932         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54933         * sysdeps/i386/fpu/e_exp10.S: Likewise.
54934         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54935         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54936         * sysdeps/i386/fpu/e_exp2.S: Likewise.
54937         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54938         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54939         * sysdeps/i386/fpu/e_fmod.S: Likewise.
54940         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54941         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54942         * sysdeps/i386/fpu/e_hypot.S: Likewise.
54943         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54944         * sysdeps/i386/fpu/e_log.S: Likewise.
54945         * sysdeps/i386/fpu/e_log10.S: Likewise.
54946         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54947         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54948         * sysdeps/i386/fpu/e_log2.S: Likewise.
54949         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54950         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54951         * sysdeps/i386/fpu/e_logf.S: Likewise.
54952         * sysdeps/i386/fpu/e_logl.S: Likewise.
54953         * sysdeps/i386/fpu/e_pow.S: Likewise.
54954         * sysdeps/i386/fpu/e_powf.S: Likewise.
54955         * sysdeps/i386/fpu/e_powl.S: Likewise.
54956         * sysdeps/i386/fpu/e_remainder.S: Likewise.
54957         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54958         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54959         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54960         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54961         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54962         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54963         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54964         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54965         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54966         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54967         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54968         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54969         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54970         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54971         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54972         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54973         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54974         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54975         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54976         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54977         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54978         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54979         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54980         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54981         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54982         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54983         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54984         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54985         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54986         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54987         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54988         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54989         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54990         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54991         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54992         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54993         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54994         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54995         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54996         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54997         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54998         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54999         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55000         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55001         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55002         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55003         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55004         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55005         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55006         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55007         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55008         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55009         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55010         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55011         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55012         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55013         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55014         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55015         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55016         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55017         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55018         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55019         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55020         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55021         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55022         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55024         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55025         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55026         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55029         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55030         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55031         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55032         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55034         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55035         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55036         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55037         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55039         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55040         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55041         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55042         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55043         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55044         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55045         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55046         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55047         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55048         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55049         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55050         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55051         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55052         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55053         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55054         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55055         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55056         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55057         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55058         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55059         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55060         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55061         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55062         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55063         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55064         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55065         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55066         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55067         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55068         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55069         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55070         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55071         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55072         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55073         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55074         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55075         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
55076         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55077         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55078         (__isnanf): Likewise.
55079         (__isinf_ns): Likewise.
55080         (__isinf_nsf): Likewise.
55081         (__finite): Likewise.
55082         (__finitef): Likewise.
55083         (__ieee754_sqrt): Define as macro.
55084         (__ieee754_sqrtf): Define as macro.
55085         (__ieee754_sqrtl): Define as macro.
55086         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55087         inlined copy.
55088         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55089         __FINITE_MATH_ONLY__ consistent.
55090         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55092 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
55094         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55095         of rawmemchr.
55097         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55099 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
55101         * po/ja.po: Update from translation team.
55103 2011-10-08  Roland McGrath  <roland@hack.frob.com>
55105         * locale/programs/locarchive.c (prepare_address_space): New function.
55106         (create_archive, enlarge_archive, open_archive): Use it.
55108         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55109         inside [SHARED], where it is used.
55111         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55113         * nss/getent.c (netgroup_keys): Remove unused variable.
55114         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55116 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
55118         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55119         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55121         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55122         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55123         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55124         * math/Makefile (libm-calls): Add s_isinf_ns.
55125         * math/divtc3.c: Use __isinf_nsl instead of isinf.
55126         * math/multc3.c: Likewise.
55127         * math/s_casin.c: Likewise.
55128         * math/s_casinf.c: Likewise.
55129         * math/s_casinl.c: Likewise.
55130         * math/s_ccos.c: Likewise.
55131         * math/s_ccosf.c: Likewise.
55132         * math/s_ccosl.c: Likewise.
55133         * math/s_ctan.c: Likewise.
55134         * math/s_ctanf.c: Likewise.
55135         * math/s_ctanh.c: Likewise.
55136         * math/s_ctanhf.c: Likewise.
55137         * math/s_ctanhl.c: Likewise.
55138         * math/s_ctanl.c: Likewise.
55139         * math/w_fmod.c: Likewise.
55140         * math/w_fmodf.c: Likewise.
55141         * math/w_fmodl.c: Likewise.
55142         * math/w_remainder.c: Likewise.
55143         * math/w_remainderf.c: Likewise.
55144         * math/w_remainderl.c: Likewise.
55145         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55146         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55147         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55148         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55149         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55150         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55151         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55152         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55154         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55155         of the number.
55156         * stdio-common/printf_fphex.c: Likewise.
55157         * stdio-common/printf_size.c: Likewise.
55159         * math/e_exp10.c: Include math_private.h using <...> not "...".
55160         * math/e_exp10f.c: Likewise.
55161         * math/e_exp10l.c: Likewise.
55162         * math/e_exp2l.c: Likewise.
55163         * math/e_j0l.c: Likewise.
55164         * math/e_j1l.c: Likewise.
55165         * math/e_jnl.c: Likewise.
55166         * math/e_lgammal_r.c: Likewise.
55167         * math/e_rem_pio2l.c: Likewise.
55168         * math/e_scalb.c: Likewise.
55169         * math/e_scalbf.c: Likewise.
55170         * math/e_scalbl.c: Likewise.
55171         * math/k_cosl.c: Likewise.
55172         * math/k_sinl.c: Likewise.
55173         * math/k_tanl.c: Likewise.
55174         * math/s_cacoshf.c: Likewise.
55175         * math/s_catan.c: Likewise.
55176         * math/s_catanf.c: Likewise.
55177         * math/s_catanh.c: Likewise.
55178         * math/s_catanhf.c: Likewise.
55179         * math/s_catanhl.c: Likewise.
55180         * math/s_catanl.c: Likewise.
55181         * math/s_ccosh.c: Likewise.
55182         * math/s_ccoshf.c: Likewise.
55183         * math/s_ccoshl.c: Likewise.
55184         * math/s_cexp.c: Likewise.
55185         * math/s_cexpf.c: Likewise.
55186         * math/s_cexpl.c: Likewise.
55187         * math/s_clog.c: Likewise.
55188         * math/s_clog10.c: Likewise.
55189         * math/s_clog10f.c: Likewise.
55190         * math/s_clog10l.c: Likewise.
55191         * math/s_clogf.c: Likewise.
55192         * math/s_clogl.c: Likewise.
55193         * math/s_csin.c: Likewise.
55194         * math/s_csinf.c: Likewise.
55195         * math/s_csinh.c: Likewise.
55196         * math/s_csinhf.c: Likewise.
55197         * math/s_csinhl.c: Likewise.
55198         * math/s_csinl.c: Likewise.
55199         * math/s_csqrt.c: Likewise.
55200         * math/s_csqrtf.c: Likewise.
55201         * math/s_csqrtl.c: Likewise.
55202         * math/s_ctan.c: Likewise.
55203         * math/s_ctanf.c: Likewise.
55204         * math/s_ctanh.c: Likewise.
55205         * math/s_ctanhf.c: Likewise.
55206         * math/s_ctanhl.c: Likewise.
55207         * math/s_ctanl.c: Likewise.
55208         * math/s_ldexp.c: Likewise.
55209         * math/s_ldexpf.c: Likewise.
55210         * math/s_ldexpl.c: Likewise.
55211         * math/s_significand.c: Likewise.
55212         * math/s_significandf.c: Likewise.
55213         * math/s_significandl.c: Likewise.
55214         * math/w_acos.c: Likewise.
55215         * math/w_acosf.c: Likewise.
55216         * math/w_acosh.c: Likewise.
55217         * math/w_acoshf.c: Likewise.
55218         * math/w_acoshl.c: Likewise.
55219         * math/w_acosl.c: Likewise.
55220         * math/w_asin.c: Likewise.
55221         * math/w_asinf.c: Likewise.
55222         * math/w_asinl.c: Likewise.
55223         * math/w_atan2.c: Likewise.
55224         * math/w_atan2f.c: Likewise.
55225         * math/w_atan2l.c: Likewise.
55226         * math/w_atanh.c: Likewise.
55227         * math/w_atanhf.c: Likewise.
55228         * math/w_atanhl.c: Likewise.
55229         * math/w_cosh.c: Likewise.
55230         * math/w_coshf.c: Likewise.
55231         * math/w_coshl.c: Likewise.
55232         * math/w_dremf.c: Likewise.
55233         * math/w_exp10.c: Likewise.
55234         * math/w_exp10f.c: Likewise.
55235         * math/w_exp10l.c: Likewise.
55236         * math/w_exp2.c: Likewise.
55237         * math/w_exp2f.c: Likewise.
55238         * math/w_fmod.c: Likewise.
55239         * math/w_fmodf.c: Likewise.
55240         * math/w_fmodl.c: Likewise.
55241         * math/w_hypot.c: Likewise.
55242         * math/w_hypotf.c: Likewise.
55243         * math/w_hypotl.c: Likewise.
55244         * math/w_j0.c: Likewise.
55245         * math/w_j0f.c: Likewise.
55246         * math/w_j0l.c: Likewise.
55247         * math/w_j1.c: Likewise.
55248         * math/w_j1f.c: Likewise.
55249         * math/w_j1l.c: Likewise.
55250         * math/w_jn.c: Likewise.
55251         * math/w_jnf.c: Likewise.
55252         * math/w_jnl.c: Likewise.
55253         * math/w_lgamma.c: Likewise.
55254         * math/w_lgamma_r.c: Likewise.
55255         * math/w_lgammaf.c: Likewise.
55256         * math/w_lgammaf_r.c: Likewise.
55257         * math/w_lgammal.c: Likewise.
55258         * math/w_lgammal_r.c: Likewise.
55259         * math/w_log.c: Likewise.
55260         * math/w_log10.c: Likewise.
55261         * math/w_log10f.c: Likewise.
55262         * math/w_log10l.c: Likewise.
55263         * math/w_log2.c: Likewise.
55264         * math/w_log2f.c: Likewise.
55265         * math/w_log2l.c: Likewise.
55266         * math/w_logf.c: Likewise.
55267         * math/w_logl.c: Likewise.
55268         * math/w_pow.c: Likewise.
55269         * math/w_powf.c: Likewise.
55270         * math/w_powl.c: Likewise.
55271         * math/w_remainder.c: Likewise.
55272         * math/w_remainderf.c: Likewise.
55273         * math/w_remainderl.c: Likewise.
55274         * math/w_scalb.c: Likewise.
55275         * math/w_scalbf.c: Likewise.
55276         * math/w_scalbl.c: Likewise.
55277         * math/w_sinh.c: Likewise.
55278         * math/w_sinhf.c: Likewise.
55279         * math/w_sinhl.c: Likewise.
55280         * math/w_sqrt.c: Likewise.
55281         * math/w_sqrtf.c: Likewise.
55282         * math/w_sqrtl.c: Likewise.
55283         * math/w_tgamma.c: Likewise.
55284         * math/w_tgammaf.c: Likewise.
55285         * math/w_tgammal.c: Likewise.
55287         * po/ja.po: Update from translation team.
55289 2011-09-29  Andreas Jaeger  <aj@suse.de>
55291         [BZ #13179]
55292         * sunrpc/netname.c (netname2host): Fix logic.
55294         [BZ #6779]
55295         [BZ #6783]
55296         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55297         correctly.
55298         * math/w_remainder.c (__remainder): Likewise.
55299         * math/w_remainderf.c (__remainderf): Likewise.
55300         * math/libm-test.inc (remainder_test): Add test cases.
55302 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55304         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
55305         sdiv_qrnnd.
55307 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55309         * string/test-memcmp.c: Avoid unncessary #defines.
55310         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55312 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55314         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55315         Use new sse2 version for core i3 - i7 as it's faster
55316         than sse42 version.
55317         (bit_Prefer_PMINUB_for_stringop): New.
55318         * sysdeps/x86_64/rawmemchr.S: Update.
55319         Replace with faster SSE2 version.
55320         * sysdeps/x86_64/memrchr.S: New file.
55321         * sysdeps/x86_64/memchr.S: Update.
55322         Replace with faster SSE2 version.
55324 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
55326         * elf/dl-load.c (lose): Add cast to avoid warning.
55328 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55330         * po/ca.po: Update from translation team.
55332         * inet/getnetgrent_r.c: Hook up nscd.
55333         * nscd/Makefile (routines): Add nscd_netgroup.
55334         (nscd-modules): Add netgroupcache.
55335         (CFLAGS-netgroupcache.c): Define.
55336         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55337         (cache_search): Add const to second parameter.
55338         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55339         INNETGR.
55340         (dbs): Add netgrdb entry.
55341         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55342         (verify_persistent_db): Handle netgrdb.
55343         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55344         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55345         GETFDNETGR.
55346         (netgroup_response_header): Define.
55347         (innetgroup_response_header): Define.
55348         (datahead): Add netgroup_response_header and innetgroup_response_header
55349         elements.
55350         * nscd/nscd.conf: Add entries for netgroup cache.
55351         * nscd/nscd.h (dbtype): Add netgrdb.
55352         (_PATH_NSCD_NETGROUP_DB): Define.
55353         (netgroup_iov_disabled): Declare.
55354         (xmalloc, xcalloc, xrealloc): Move declarations here.
55355         (cache_search): Adjust prototype.
55356         Add netgroup-related prototypes.
55357         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55358         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55359         (__nscd_innetgr): Declare.
55360         * nscd/selinux.c (perms): Use access_vector_t as element type and
55361         add netgroup-related initializers.
55362         * nscd/netgroupcache.c: New file.
55363         * nscd/nscd_netgroup.c: New file.
55364         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55365         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55366         For four parameters use innetgr.
55367         * nss/nss_files/files-init.c: Add definition and callback for netgr.
55368         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55369         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55370         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55372         * nscd/connections.c (register_traced_file): Don't register file
55373         for disabled databases.
55375 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
55377         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55379         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55380         from tree and freeing node.
55382 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
55384         * nss/nsswitch.c (__nss_database_lookup): Handle
55385         nss_parse_service_list out of memory case.
55387 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
55389         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55390         out of memory case.
55392 2011-10-04  Andreas Schwab  <schwab@redhat.com>
55394         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55395         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55396         pass it down.
55397         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55398         elf_machine_rela, elf_machine_lazy_rel.
55399         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55400         (ELF_DYNAMIC_DO_REL): Likewise.
55401         (ELF_DYNAMIC_DO_RELA): Likewise.
55402         (ELF_DYNAMIC_RELOCATE): Likewise.
55403         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55404         to ELF_DYNAMIC_DO_REL.
55405         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55406         (dl_main): In trace mode always set __RTLD_NOIFUNC.
55407         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55408         elf_machine_rela.
55409         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55410         skip_ifunc, don't call ifunc function if non-zero.
55411         (elf_machine_rela): Likewise.
55412         (elf_machine_lazy_rel): Likewise.
55413         (elf_machine_lazy_rela): Likewise.
55414         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55415         (elf_machine_lazy_rel): Likewise.
55416         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55417         Likewise.
55418         (elf_machine_lazy_rel): Likewise.
55419         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55420         Likewise.
55421         (elf_machine_lazy_rel): Likewise.
55422         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55423         (elf_machine_lazy_rel): Likewise.
55424         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55425         (elf_machine_lazy_rel): Likewise.
55426         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55427         (elf_machine_lazy_rel): Likewise.
55428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55429         (elf_machine_lazy_rel): Likewise.
55430         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55431         (elf_machine_lazy_rel): Likewise.
55432         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55433         (elf_machine_lazy_rel): Likewise.
55435 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
55437         * nss/nss_files/files-init.c (_nss_files_init): Use static
55438         initialization for all the *_traced_file variables.
55440 2011-09-28  Andreas Schwab  <schwab@redhat.com>
55442         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55444 2011-09-27  Roland McGrath  <roland@hack.frob.com>
55446         [BZ #13226]
55447         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55449 2011-09-27  Andreas Schwab  <schwab@redhat.com>
55451         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55452         Reread the line before reparsing it.
55454 2011-09-26  Andreas Schwab  <schwab@redhat.com>
55456         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55458 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
55459             Maxim Kuvyrkov  <maxim@codesourcery.com>
55460             Joseph Myers  <joseph@codesourcery.com>
55462         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55463         if needed for __stack_chk_guard.
55465 2011-09-19  Roland McGrath  <roland@hack.frob.com>
55467         * sysdeps/posix/spawni.c (script_execute): Always define it.
55468         It will be optimized away if unused.
55469         (maybe_script_execute): New function.
55470         (__spawni): Call it.
55472         * Makerules: Don't include tls.make.
55473         (config-tls): Always set to thread.
55474         * tls.make.c: File removed.
55476 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
55478         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55479         * config.make.in (CPPFLAGS-config): New substituted variable.
55481 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55483         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55485         [BZ #13192]
55486         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55487         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55489 2011-09-15  Roland McGrath  <roland@hack.frob.com>
55491         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55492         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55493         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55494         (CALL_FAIL): Likewise.
55495         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55496         (CALL_FAIL): Macro removed.
55497         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55499 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55501         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55502         for __FINITE_MATH_ONLY__ == 1.
55504 2011-09-15  Andreas Schwab  <schwab@redhat.com>
55506         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55507         __ieee754_sqrt instead of sqrt.
55508         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55509         __ieee754_sqrtf instead of sqrtf.
55510         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55511         __floorf instead of floorf.
55512         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55513         __floorf, __truncf instead of floorf, truncf.
55515 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
55517         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55519         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55520         __extern_always_inline.
55521         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55522         32-bit.
55524 2011-09-14  Andreas Schwab  <schwab@redhat.com>
55526         * elf/rtld.c (dl_main): Also relocate in dependency order when
55527         doing symbol dependency testing.
55529 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
55531         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55532         Always define `refsym'.
55534 2011-09-13  Andreas Schwab  <schwab@redhat.com>
55536         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55537         (__FD_ELT): Renamed from __FDELT.
55538         * misc/bits/select2.h (__FD_ELT): Likewise.
55539         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55540         __FD_MASK instead of __FDELT, __FDMASK.
55541         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55542         Likewise.
55543         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55544         Likewise.
55546         * elf/Makefile (gen-ldd): Fix pattern.
55548         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55549         (init_tls): Likewise.
55551 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
55553         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55555 2011-09-12  Andreas Schwab  <schwab@redhat.com>
55557         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55558         `struct cmsghdr *' instead of `void *'.
55559         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55560         Likewise.
55562 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
55564         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55565         if non-absolute.
55566         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55567         ldd_rewrite_script.
55569 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
55571         * configure.in: Remove --with-tls option.
55572         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55573         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55574         out in case it is missing.
55575         * sysdeps/ia64/elf/configure.in: Likewise.
55576         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55577         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55578         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55579         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55580         * sysdeps/sh/elf/configure.in: Likewise.
55581         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55582         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55583         * sysdeps/x86_64/elf/configure.in: Likewise.
55584         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55585         * sysdeps/mach/hurd/tls.h: Likewise.
55587         [BZ #13067]
55588         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55590         [BZ #13090]
55591         * configure.in: Fix use of AC_INIT.
55593         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55595 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
55597         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55598         __set_errno.
55599         * malloc/hooks.c: Likewise.
55601         [BZ #11929]
55602         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
55603         variables statically.
55604         (narenas): Initialize.
55605         (list_lock): Initialize.
55606         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
55607         initializtion of main_arena and list_lock.  Small cleanups.
55608         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55609         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
55610         Add initializers to main_arena and mp_.
55611         (malloc_state): Remove pagesize member.  Change all users to use
55612         GLRO(dl_pagesize).
55614         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55615         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
55616         is always initialized.
55618         * malloc/malloc.c: Removed unused configurations and dead code.
55619         * malloc/arena.c: Likewise.
55620         * malloc/hooks.c: Likewise.
55621         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55623         * include/tls.h: Removed.  USE___THREAD must always be defined.
55624         * bits/libc-tsd.h: Don't handle !USE___THREAD.
55625         * elf/dl-libc.c: Likewise.
55626         * elf/dl-tsd.c: Likewise.
55627         * include/errno.h: Likewise.
55628         * include/netdb.h: Likewise.
55629         * include/resolv.h: Likewise.
55630         * inet/herrno-loc.c: Likewise.
55631         * inet/herrno.c: Likewise.
55632         * malloc/arena.c: Likewise.
55633         * malloc/hooks.c: Likewise.
55634         * malloc/malloc.c: Likewise.
55635         * resolv/res-state.c: Likewise.
55636         * resolv/res_libc.c: Likewise.
55637         * sysdeps/i386/dl-machine.h: Likewise.
55638         * sysdeps/ia64/dl-machine.h: Likewise.
55639         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55640         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55641         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55642         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55643         * sysdeps/sh/dl-machine.h: Likewise.
55644         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55645         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55646         * sysdeps/unix/i386/sysdep.S: Likewise.
55647         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55648         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55649         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55650         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55652         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55653         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55654         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55657         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55658         * sysdeps/x86_64/dl-machine.h: Likewise.
55659         * tls.make.c: Likewise.
55661         * configure.in: Remove --with-__thread option.  Make tests for
55662         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55663         tls_model attribute fail if no support is available.  Remove
55664         USE_IN_LIBIO.
55665         * Makeconfig: Adjust for dropped configure option.  All features are
55666         now mandatory.
55667         * Makerules: Likewise.
55668         * Versions.def: Likewise.
55669         * argp/argp-fmtstream.c: Likewise.
55670         * argp/argp-fmtstream.h: Likewise.
55671         * argp/argp-help.c: Likewise.
55672         * assert/assert.c: Likewise.
55673         * config.h.in: Likewise.
55674         * config.make.in: Likewise.
55675         * configure: Likewise.
55676         * configure.in: Likewise.
55677         * csu/Versions: Likewise.
55678         * csu/init.c: Likewise.
55679         * elf/tst-audit2.c: Likewise.
55680         * elf/tst-tls10.c: Likewise.
55681         * elf/tst-tls10.h: Likewise.
55682         * elf/tst-tls11.c: Likewise.
55683         * elf/tst-tls12.c: Likewise.
55684         * elf/tst-tls14.c: Likewise.
55685         * elf/tst-tlsmod11.c: Likewise.
55686         * elf/tst-tlsmod12.c: Likewise.
55687         * elf/tst-tlsmod13.c: Likewise.
55688         * elf/tst-tlsmod13a.c: Likewise.
55689         * elf/tst-tlsmod14a.c: Likewise.
55690         * elf/tst-tlsmod15b.c: Likewise.
55691         * elf/tst-tlsmod16a.c: Likewise.
55692         * elf/tst-tlsmod16b.c: Likewise.
55693         * elf/tst-tlsmod7.c: Likewise.
55694         * elf/tst-tlsmod8.c: Likewise.
55695         * elf/tst-tlsmod9.c: Likewise.
55696         * gmon/gmon.c: Likewise.
55697         * grp/fgetgrent_r.c: Likewise.
55698         * grp/putgrent.c: Likewise.
55699         * hurd/fopenport.c: Likewise.
55700         * include/libc-symbols.h: Likewise.
55701         * include/tls.h: Likewise.
55702         * intl/gettextP.h: Likewise.
55703         * intl/loadinfo.h: Likewise.
55704         * locale/global-locale.c: Likewise.
55705         * locale/localeinfo.h: Likewise.
55706         * mach/devstream.c: Likewise.
55707         * malloc/arena.c: Likewise.
55708         * malloc/set-freeres.c: Likewise.
55709         * misc/err.c: Likewise.
55710         * misc/getttyent.c: Likewise.
55711         * misc/mntent_r.c: Likewise.
55712         * posix/getopt.c: Likewise.
55713         * posix/wordexp.c: Likewise.
55714         * pwd/fgetpwent_r.c: Likewise.
55715         * resolv/Versions: Likewise.
55716         * resolv/res_hconf.c: Likewise.
55717         * shadow/fgetspent_r.c: Likewise.
55718         * shadow/putspent.c: Likewise.
55719         * stdio-common/printf_fphex.c: Likewise.
55720         * stdio-common/tmpfile.c: Likewise.
55721         * stdlib/abort.c: Likewise.
55722         * stdlib/fmtmsg.c: Likewise.
55723         * sunrpc/auth_unix.c: Likewise.
55724         * sunrpc/clnt_perr.c: Likewise.
55725         * sunrpc/clnt_tcp.c: Likewise.
55726         * sunrpc/clnt_udp.c: Likewise.
55727         * sunrpc/clnt_unix.c: Likewise.
55728         * sunrpc/openchild.c: Likewise.
55729         * sunrpc/svc_simple.c: Likewise.
55730         * sunrpc/svc_tcp.c: Likewise.
55731         * sunrpc/svc_udp.c: Likewise.
55732         * sunrpc/svc_unix.c: Likewise.
55733         * sunrpc/xdr.c: Likewise.
55734         * sunrpc/xdr_array.c: Likewise.
55735         * sunrpc/xdr_rec.c: Likewise.
55736         * sunrpc/xdr_ref.c: Likewise.
55737         * sunrpc/xdr_stdio.c: Likewise.
55739 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55741         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55743 2011-07-03  Andreas Jaeger  <aj@suse.de>
55745         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55746         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55747         regenerate with gen-libm-tests.pl.
55749 2010-05-12  Petr Baudis  <pasky@suse.cz>
55751         [BZ #11589]
55752         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55753         around j0() zero points by switching to j1().
55754         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55755         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55756         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55757         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55759 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55761         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55762         instead of 0.
55763         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55764         instead of 0.
55765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55766         Patch in part by Pavel Roskin <proski@gnu.org>.
55768         [BZ #13138]
55769         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55770         realloc.
55771         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
55772         Free memory block if necessary.
55774         [BZ #12847]
55775         * libio/genops.c (INTDEF): For string streams the _lock pointer can
55776         be NULL.  Don't lock in this case.
55778 2011-09-09  Roland McGrath  <roland@hack.frob.com>
55780         * elf/elf.h (ELFOSABI_GNU): New macro.
55781         (ELFOSABI_LINUX): Define to that.
55783 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
55785         * string/strncat.c (strncat): Undef the symbol in case it has been
55786         defined in bits/string.h.
55788 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55790         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55792         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55793         link map.
55795 2011-08-17  Andreas Jaeger  <aj@suse.de>
55797         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55799 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55800             Ian Lance Taylor  <iant@google.com>
55802         * math/libm-test.inc (lround_test): New testcase.
55803         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55805 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
55807         * Makefile: Remove support for automatic cvs check-ins.
55808         * Makerules: Likewise.
55809         * config.make.in: Likewise.
55810         * configure.in: Likewise.
55811         * intl/Makefile: Likewise.
55812         * locale/Makefile: Likewise.
55813         * po/Makefile: Likewise.
55814         * posix/Makefile: Likewise.
55815         * sysdeps/gnu/Makefile: Likewise.
55816         * sysdeps/mach/hurd/Makefile: Likewise.
55817         * sysdeps/sparc/sparc32/Makefile: Likewise.
55819         [BZ #13118]
55820         * posix/Makefile (bug-regex32-ENV): Define.
55821         Patch by John Stanley <jpsinthemix@verizon.net>.
55823         * misc/Makefile (headers): Add bits/select2.h.
55824         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55825         * misc/bits/select2.h: New file.
55826         * include/bits/select2.h: New file.
55827         * debug/Makefile (routines): Add fdelt_chk.
55828         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55829         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55830         FD_ISSET.
55831         * debug/fdelt_chk.c: New file.
55833         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
55834         * wcsmbs/test-wmemcmp.c: Likewise.
55835         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
55836         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
55838 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55840         * string/Makefile (strop-tests): Add memcmp.
55841         * string/test-wmemcmp.c: New file.
55842         * string/test-memcmp.c: Add wmemcmp support.
55844 2011-09-08  Roland McGrath  <roland@hack.frob.com>
55846         [BZ #13153]
55847         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55848         2011-07-19 change.
55850         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55851         garbage value in a __mach_port_mod_refs call in the cases of the
55852         task-self and thread-self ports.
55854 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55856         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55858 2011-09-08  Andreas Schwab  <schwab@redhat.com>
55860         * elf/dl-load.c (lose): Check for non-null L.
55862 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
55864         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55866         * elf/dl-libc.c (dlerror_run): Pass back error code from
55867         dl_catch_error.
55869         [BZ #13123]
55870         * elf/dl-load.c (lose): Free l_origin if it is valid.
55872         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55873         names.
55874         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55875         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55876         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55877         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55878         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55879         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55881 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55883         * sysdeps/powerpc/fpu/e_hypot.c: New file.
55884         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55885         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55886         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55887         * sysdeps/powerpc/fpu/k_cosf.c: New file.
55888         * sysdeps/powerpc/fpu/k_sinf.c: New file.
55889         * sysdeps/powerpc/fpu/s_cosf.c: New file.
55890         * sysdeps/powerpc/fpu/s_sinf.c: New file.
55891         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55892         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55894 2011-08-15  Alan Modra  <amodra@gmail.com>
55896         [BZ #13092]
55897         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55898         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55899         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
55900         ppc_mcount to static-only-routines.
55901         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55902         __mcount_internal.
55903         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55904         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
55906 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
55908         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55909         for finite and infinity parameters.
55911 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55913         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55914         and add nop instructions for throughput optimization.
55915         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55917 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
55919         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55920         aligned copy for power7 with vector-scalar instructions.
55921         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55923 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
55925         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55926         AVX check.
55928 2011-09-07  Andreas Schwab  <schwab@redhat.com>
55930         [BZ #13144]
55931         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55932         last change.
55934 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
55936         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55937         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55938         syscall wrapper around clock_gettime in __vdso_clock_gettime.
55939         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55940         clock_gettime.
55942 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55944         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55945         Forgot to demangle the pointer.
55947         * sysdeps/i386/sysdep.h: Define atom_text_section.
55948         * sysdeps/x86_64/sysdep.h: Likewise.
55949         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55950         section with atom_text_section.
55951         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55952         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55953         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55954         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55955         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55957         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55958         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55959         already be defined.  Change to take two parameters and don't assign
55960         result to variable.  Adjust all users.
55961         Define INTERNAL_GETTIME if not already defined.
55962         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55963         call.
55964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55965         HAVE_CLOCK_GETTIME_VSYSCALL.
55966         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55968         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55969         gettimeofday vsyscall, just use time.
55971 2011-09-06  Andreas Schwab  <schwab@redhat.com>
55973         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55974         <errno.h>.
55976 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55978         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55979         syscall on x86-64.
55980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55981         syscall.
55982         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55983         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55984         syscall if possible.
55986 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55988         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55989         e_ident.  Don't pass to find_mapsXX.
55990         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55992 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55995         strchr-sse2-no-bsf strrchr-sse2-no-bsf
55996         * sysdeps/x86_64/multiarch/strchr.S: Update.
55997         Check bit_slow_BSF bit.
55998         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55999         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56000         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56002 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56004         [BZ #13134]
56005         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56006         before glibc 2.15.
56007         (tryshell): Define.
56008         (__spawni): Change last parameter to be flag.  Test
56009         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56010         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56011         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56012         * posix/spawni.c: Likewise.
56013         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56014         * posix/spawnp.c: Likewise.  Change normal version to use
56015         SPAWN_XFLAGS_USE_PATH.
56016         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56017         SPAWN_XFLAGS_TRY_SHELL.
56019         [BZ #13150]
56020         * posix/glob.h: Remove gcc 1.x support.
56022         [BZ #13068]
56023         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56025 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56027         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56028         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56029         strrchr-sse2-bsf
56030         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56031         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56032         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56033         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56034         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56035         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56037 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56039         * sysdeps/x86_64/wcscmp.S: New file.
56041         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56042         wcscmp-c wcscmp-sse2
56043         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56044         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56045         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56046         * wcsmbs/wcscmp.c: Allow renaming.
56048 2011-09-05  David S. Miller  <davem@davemloft.net>
56050         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56051         stack slot, rather than the struct return pointer slot.
56052         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56053         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56055         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56057 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56059         * po/ja.po: Update from translation team.
56061         [BZ #13144]
56062         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56063         kernel in 64-bit binaries.
56065 2011-09-01  David S. Miller  <davem@davemloft.net>
56067         * elf/elf.h (HWCAP_SPARC_*): Move to..
56068         * sysdeps/sparc/sysdep.h: this new file and add new values.
56069         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56070         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56071         _DL_HWCAP_COUNT to 24.
56072         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56073         entries.
56074         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56075         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56076         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56077         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56078         instead of magic constants.
56079         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56081 2011-08-31  David S. Miller  <davem@davemloft.net>
56083         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56085         Reimplement to do errno handling inline.
56086         (SYSCALL_ERROR_HANDLER): New macro.
56087         (__SYSCALL_STRING): Do not do errno handling in asm.
56088         (__CLONE_SYSCALL_STRING): Delete.
56089         (__INTERNAL_SYSCALL_STRING): Delete.
56090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56091         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56092         (PSEUDO): Reimplement to do errno handling inline.
56093         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56094         (SYSCALL_ERROR_HANDLER): New macro.
56095         (__SYSCALL_STRING): Do not do errno handling in asm.
56096         (__CLONE_SYSCALL_STRING): Delete.
56097         (__INTERNAL_SYSCALL_STRING): Delete.
56098         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56099         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56100         i386.
56101         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56102         (inline_syscall*): Add 'err' argument.
56103         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56104         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56105         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56106         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56108         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56109         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56111 2011-08-30  Andreas Schwab  <schwab@redhat.com>
56113         * elf/rtld.c (dl_main): Relocate objects in dependency order.
56115 2011-08-29  Jiri Olsa <jolsa@redhat.com>
56117         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56118         directive.
56120 2011-08-24  David S. Miller  <davem@davemloft.net>
56122         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56124 2011-08-24  Andreas Schwab  <schwab@redhat.com>
56126         * elf/Makefile: Add rules to build and run unload8 test.
56127         * elf/unload8.c: New file.
56128         * elf/unload8mod1.c: New file.
56129         * elf/unload8mod1x.c: New file.
56130         * elf/unload8mod2.c: New file.
56131         * elf/unload8mod3.c: New file.
56133         * elf/dl-close.c (_dl_close_worker): Reset private search list if
56134         it wasn't used.
56136 2011-08-23  David S. Miller  <davem@davemloft.net>
56138         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56139         subtract stack bias.
56140         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56141         %sp not %fp in calculations.
56142         (_JMPBUF_UNWINDS_ADJ): Likewise.
56144         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56145         (aio_suspend): Call it to force an exception region around the
56146         AIO_MISC_WAIT() invocation.
56148 2011-08-23  Andreas Schwab  <schwab@redhat.com>
56150         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56151         backslash.
56153 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
56155         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56156         protection macro.
56157         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56158         and <dl-machine.h>.
56159         (Elf64_FuncDesc): Remove.
56161 2011-08-22  David S. Miller  <davem@davemloft.net>
56163         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56164         sigaltstack check, add missing cfi directives.
56165         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56166         missing cfi directives, and sigaltstack handling.
56168 2011-08-16  Andreas Schwab  <schwab@redhat.com>
56170         [BZ #11724]
56171         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56172         object is seen twice.
56173         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56175         * elf/Makefile (distribute): Add tst-initorder2.c.
56176         (tests): Add tst-initorder2.
56177         (modules-names): Add tst-initorder2a tst-initorder2b
56178         tst-initorder2c tst-initorder2d.  Add rules to build them.
56179         ($(objpfx)tst-initorder2.out): New rule.
56180         * elf/tst-initorder2.c: New file.
56181         * elf/tst-initorder2.exp: New file.
56183 2011-08-22  Andreas Schwab  <schwab@redhat.com>
56185         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56187         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56188         dependencies back to end of function.
56190         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56191         $(elfobjdir)/ld.so.
56193 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
56195         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56196         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56197         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56198         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56199         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56200         of __vdso_gettimeofday.
56201         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56202         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
56203         attribute_hidden.
56204         (_libc_vdso_platform_setup): Remove initialization of
56205         __vdso_gettimeofday and __vdso_time.
56207 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56209         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56210         and fgetc_unlocked.
56211         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56212         getc_unlocked.
56214         * elf/dl-open.c (add_to_global): Report additions to the global scope
56215         for LD_DEBUG=scopes.
56216         (dl_open_worker): Also print scope of newly loaded dependencies.
56217         (_dl_show_scope): Indicate if there is no scope.
56219         [BZ #13114]
56220         * stdio-common/Makefile (tests): Add bug24.
56221         * stdio-common/bug24.c: New file.
56223 2011-08-19  Andreas Jaeger  <aj@suse.de>
56225         [BZ #13114]
56226         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56227         non-existant file when using close-on-exec mode.
56229 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56231         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56232         the very first instruction.
56234         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56235         the CFI state in the end.
56236         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56237         inclusion of dl-trampoline.h.
56238         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56240 2011-08-19  Andreas Schwab  <schwab@redhat.com>
56242         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56243         expectations for long double.
56245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56246         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56248 2011-08-14  David S. Miller  <davem@davemloft.net>
56250         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56251         artificual limit depends upon the system page size.
56253 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56255         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56256         * resolv/Makefile: Define CFLAGS-libresolv.
56258 2011-08-17  Andreas Schwab  <schwab@redhat.com>
56260         * nss/makedb.c (compute_tables): Make variables used in nested
56261         function static.
56263 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56265         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56266         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56267         if buffer was too small.
56269         * elf/pldd.c (main): Attach to all threads in the process.
56270         Rewrite /proc handling to use *at functions.
56272 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
56274         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56275         specifies first scope to show.
56276         (dl_open_worker): Update callers.  Move printing scope of new
56277         object to before the relocation.
56278         * elf/rtld.c (dl_main): Update _dl_show_scope call.
56279         * sysdeps/generic/ldsodefs.h: Update declaration.
56281         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56282         string for the scope number.
56284 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
56286         * nscd/servicescache.c (cache_addserv): Make sure written is always
56287         initialized.
56289 2011-08-14  Roland McGrath  <roland@hack.frob.com>
56291         * sysdeps/i386/i486/bits/atomic.h
56292         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56293         statement expression, so as to suppress "set but not used" warning.
56294         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56296         * string/strncat.c (STRNCAT): Use prototype definition.
56298         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56299         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56300         -Iprograms here.
56301         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56302         (localedef-modules): Add localedef.
56303         (locale-modules): Add locale.
56305         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56306         * elf/rtld.c (dl_main): Invert order of assignment in last change,
56307         to avoid a warning.
56309 2011-08-14  David S. Miller  <davem@davemloft.net>
56311         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56312         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56314 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
56316         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56317         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56318         * elf/rtld.c (dl_main): Set l_name of vDSO.
56319         Call _dl_show_scope when DL_DEBUG_SCOPES.
56320         (process_dl_debug): Recognize scopes flag and also set it for all.
56321         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56322         Declare _dl_show_scope.
56324         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56325         (do_dlopen): Pass caller_dlopen to dl_open.
56326         (__libc_dlopen_mode): Initialize caller_dlopen.
56328         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56329         of libc.  Make tolower call locale-independent.  Optimize a bit by
56330         using isdigit instead of isalnum.
56331         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56333 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
56335         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56336         was a dependency or dynamically loaded.
56338 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
56340         * intl/l10nflist.c: Allow architecture-specific pop function.
56341         * sysdeps/x86_64/l10nflist.c: New file.
56343         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56344         classification.
56346 2011-08-10  Andreas Schwab  <schwab@redhat.com>
56348         * include/dirent.h: Add libc_hidden_proto for scandirat and
56349         scandirat64.  Don't declare __scandirat64.
56350         * dirent/scandirat.c: Add libc_hidden_def.
56351         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56352         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56354 2011-08-10  David S. Miller  <davem@davemloft.net>
56356         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56357         enum.
56358         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56359         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56360         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56362 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
56364         * Versions.def [libc]: Add GLIBC_2.15.
56365         * dirent/Makefile (routines): Add scandirat and scandirat64.
56366         * dirent/Versions [libc]: Export scandirat and scandirat64 for
56367         GLIBC_2.15.
56368         * dirent/dirent.h: Declare scandirat and scandirat64.
56369         * dirent/scandirat.c: New file.
56370         * dirent/scandirat64.c: New file.
56371         * sysdeps/wordsize-64/scandirat.c: New file.
56372         * sysdeps/wordsize-64/scandirat64.c: New file.
56373         * dirent/opendir.c: Define opendirat.
56374         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
56375         using scandirat.
56376         * dirent/scandir64.c: Adjust for scandir.c change.
56377         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
56378         __scandirat64, and __scandir_cancel_handler.
56379         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
56380         additional parameter and use openat instead of open (outside of ld.so).
56381         Add new __opendir as wrapper around __opendirat.
56382         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56383         here without requiring old scandirat implementation.
56385 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
56387         * dirent/scandir.c (cancel_handler): Renamed to
56388         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
56389         defined.  Adjust users.
56390         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56391         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56393 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
56395         * string/test-string.h (IMPL): Use __STRING to expand name and then
56396         stringify it.
56398         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
56399         of cleanups.
56401 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56403         * string/Makefile: Update.
56404         (strop-tests): Append strncat.
56405         * string/test-wcscmp.c: New file.
56406         New comprehensive test for wcscmp.
56407         * string/test-strcmp.c: Update.
56408         (WIDE): New define.
56410 2011-07-22  Andreas Schwab  <schwab@redhat.com>
56412         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56413         line.
56415 2011-07-26  Andreas Schwab  <schwab@redhat.com>
56417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56418         encoding to ACE if AI_IDN.
56420 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
56422         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56423         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56425 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56427         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56428         Fix overflow bug in strncat.
56429         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56431         * string/test-strncat.c: Update.
56432         Add new tests for checking overflow bugs.
56434 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56436         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56437         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56438         * sysdeps/i386/i686/multiarch/strcat.S: New file.
56439         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56440         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56441         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56442         * sysdeps/i386/i686/multiarch/strncat.S: New file.
56443         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56444         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56446         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56447         (USE_AS_STRCAT): Define.
56448         Add strcat and strncat support.
56449         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56451 2011-07-25  Andreas Schwab  <schwab@redhat.com>
56453         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56454         __n bigger than INT_MAX+1.
56455         (__strncmp_g): Likewise.
56457 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
56459         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56460         * libio/stido.h: Likewise.
56462         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56463         (AF_NFC): Define.
56464         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56465         (AF_NFC): Define.
56467         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56468         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56469         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56470         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56471         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56473         [BZ #13021]
56474         * scripts/test-installation.pl: Don't expect libnss_test1 to be
56475         installed.
56477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56478         typo.
56479         (_dl_x86_64_save_sse): Likewise.
56481 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
56483         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56484         OSXSAVE.
56485         (_dl_x86_64_save_sse): Likewise.
56487         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56489         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56491 2011-07-21  Andreas Schwab  <schwab@redhat.com>
56493         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56494         change.
56495         (_dl_x86_64_save_sse): Use correct AVX check.
56497 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56499         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56500         bug in strncpy/strncat.
56501         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56503 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
56505         * string/tester.c (test_strcat): Add tests for different alignments
56506         of source and destination.
56507         (test_strncat): Likewise.
56509 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56511         [BZ #12852]
56512         * posix/glob.c (glob): Check passed in values before using them in
56513         expressions to avoid some overflows.
56514         (glob_in_dir): Likewise.
56516         [BZ #13007]
56517         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56518         check for AVX enablement so that we don't crash with old kernels and
56519         new hardware.
56520         * elf/tst-audit4.c: Add same checks here.
56521         * elf/tst-audit6.c: Likewise.
56523         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56525 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
56527         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56529 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56531         * po/cs.po: Update from translation team.
56532         * po/bg.po: Likewise.
56534 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
56536         * misc/sys/cdefs.h: Add support for const attribute.
56537         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56538         to gnu_dev_{major,minor,makedev} functions.
56540 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
56542         * intl/dcigettext.c (get_output_charset): Add missing bracket.
56544 2011-07-20  Andreas Schwab  <schwab@redhat.com>
56546         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56547         strlen results.
56549 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56551         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56552         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56553         register in order to avoid conflicts with the soft frame pointer
56554         being held in r11 when necessary.
56555         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56556         (INTERNAL_VSYSCALL_NCS): Likewise.
56558 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
56560         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56561         * elf/dl-fini.c (_dl_fini): Adjust caller.
56562         * elf/dl-close.c (_dl_close_worker): Likewise.
56563         * sysdeps/generic/ldsodefs.h: Adjust declaration.
56565 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56567         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56568         "aux_cache->nlibs < 0".
56570         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56571         in the reload-count case.
56573 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56576         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56577         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56578         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56579         * sysdeps/x86_64/multiarch/strcat.S: New file.
56580         * sysdeps/x86_64/multiarch/strncat.S: New file.
56581         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56582         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56583         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56584         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56585         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56586         (USE_AS_STRCAT): Define.
56587         Add strcat and strncat support.
56588         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56589         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56590         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56591         * string/strncat.c: Update.
56592         (USE_AS_STRNCAT): Define.
56593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56594         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56595         and i7.
56596         * sysdeps/x86_64/multiarch/init-arch.h
56597         (bit_Prefer_PMINUB_for_stringop): New.
56598         (index_Prefer_PMINUB_for_stringop): Likewise.
56599         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56600         bit_Prefer_PMINUB_for_stringop.
56602 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56604         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56605         buffer64.
56606         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56607         of casting of buffer.
56608         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56609         buffer32 and buffer64.
56610         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56611         writes instead of casting of buffer.
56612         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56613         buffer32.
56614         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56615         casting of buffer.
56617 2011-07-19  Andreas Schwab  <schwab@redhat.com>
56619         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56621 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56623         * nscd/nscd.c (termination_handler): Don't do anything for a database
56624         if it has not yet been initialized.
56626 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56628         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56630 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56632         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56634 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56636         * po/nl.po: Update from translation team.
56637         * po/sv.po: Likewise.
56639 2011-07-16  Roland McGrath  <roland@hack.frob.com>
56641         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56642         now disallowed by GCC.
56644         * configure.in (use-default-link): Default to yes if a test -shared
56645         link meets our qualifications.
56646         * configure: Regenerated.
56648         * config.make.in (output-format): New variable.
56649         * configure.in: Check for ld --print-output-format support.
56650         * configure: Regenerated.
56651         * Makerules ($(common-objpfx)format.lds)
56652         [$(output-format) != unknown]: Just use $(output-format),
56653         instead of the linker-script munging.
56655 2011-07-14  Roland McGrath  <roland@hack.frob.com>
56657         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56658         of $(common-objpfx)shlib.lds.
56659         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56661         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56662         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56664         * configure.in (-z relro check): Adjust test code to add a large
56665         writable data section after it.
56666         * configure: Regenerated.
56668 2011-07-11  Roland McGrath  <roland@hack.frob.com>
56670         * configure.in (-z relro check): Fix test code to make the variable
56671         truly const.
56672         * configure: Regenerated.
56674 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
56676         * nscd/nscd.h (struct traced_file): Define.
56677         (struct database_dyn): Remove inotify_descr, reset_res, and filename
56678         elements.  Add traced_files.
56679         (inotify_fd): Declare.
56680         (register_traced_file): Declare.
56681         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56682         (inotify_fd): Export.
56683         (resolv_conf_descr): Remove.
56684         (nscd_init): Move inotify descriptor creation to main.
56685         Don't register files for notification here.
56686         (register_traced_file): New function.
56687         (invalidate_cache): Don't use reset_res to determine whether to call
56688         res_init, go through the list of registered files.
56689         (main_loop_poll): The inotify descriptors are now stored in the
56690         structures for the traced files.
56691         (main_loop_epoll): Likewise
56692         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
56693         to __nss_disable_nscd.
56694         * nscd/cache.c (prune_cache): There is no single inotify descriptor
56695         for a database anymore.  Check the records for all the registered
56696         files instead.
56697         * nss/Makefile (libnss_files-routines): Add files-init.
56698         (libnss_db-routines): Add db-init.
56699         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56700         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56701         * nss/nss_db/db-init.c: New file.
56702         * nss/nss_files/files-init.c: New file.
56703         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
56704         __nss_lookup_function.
56705         (__nss_lookup_function): Call nss_load_library.
56706         (nss_load_all_libraries): New function.
56707         (__nss_disable_nscd): Take parameter with callback function for files
56708         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
56709         used for the cached services.
56710         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56711         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56712         options for features to all the files in nscd.
56714         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56716 2011-07-10  Roland McGrath  <roland@hack.frob.com>
56718         * csu/elf-init.c (__libc_csu_init): Comment typo.
56720 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
56722         * po/pl.po: Update from translation team.
56723         * po/ja.po: Likewise.
56724         * po/ru.po: Likewise.
56725         * po/ko.po: Likewise.
56726         * po/fr.po: Likewise.
56728 2011-07-09  Roland McGrath  <roland@hack.frob.com>
56730         * configure.in (.ctors/.dtors header and trailer check):
56731         Use an empirical test on a built program.
56732         * configure: Regenerated.
56734         * configure.in (-z relro check): Use an empirical test on a built DSO.
56735         Detect, but do not require, on ia64.
56736         * configure: Regenerated.
56738         * configure.in (READELF): Find it with AC_CHECK_TOOL.
56739         Update tests that use readelf to use $READELF instead.
56740         * configure: Regenerated.
56742 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
56744         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56745         if the result is not used.
56747 2011-07-05  Andreas Jaeger  <aj@suse.de>
56749         [BZ#9696]
56750         * stdlib/tst-strtod.c: Add testcase.
56752 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
56754         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56755         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56756         The latter has a higher limit.  Take additional parameter to pass to
56757         the new function.
56758         (__pathconf): Pass file to __statfs_link_max.
56759         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56760         __statfs_link_max.
56761         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56762         __statfs_link_max.
56764         [BZ #12868]
56765         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56766         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56767         Handle Lustre.
56768         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56769         (__statfs_filesize_max): Likewise.
56770         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56772 2011-07-05  Andreas Jaeger  <aj@suse.de>
56774         * resolv/res_comp.c (dn_skipname): Remove unused variable.
56776 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
56778         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56779         `status' variable.
56780         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56781         Likewise.
56783 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
56785         * Makefile (strop-tests): Add strncat.
56786         * string/test-strncat.c: New file.
56788 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
56790         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56792 2011-06-21  Andreas Jaeger  <aj@suse.de>
56794         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56795         Copy rule from iconvdata/Makefile.
56797 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56799         [BZ #12922]
56800         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56801         but no long options are defined, just return 'W'.
56803 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
56805         [BZ #9696]
56806         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56808 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56810         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56811         netgroups to read.
56812         (innetgr): Likewise.
56814 2011-07-05  Roland McGrath  <roland@hack.frob.com>
56816         * config.make.in (install_root): Default to $(DESTDIR).
56818 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
56820         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56822 2011-07-02  Roland McGrath  <roland@hack.frob.com>
56824         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56826         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56827         containing directory rather than embedding absolute directory names.
56829         * scripts/check-local-headers.sh: Rewritten using awk.
56830         Match by word, not by line.  Print error messages for matches.
56831         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56833         * Makerules [shlib-lds-flags empty]:
56834         ($(common-objpfx)libc_pic.opts): New target.
56835         ($(common-objpfx)libc_pic.os.clean): New target.
56836         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56838         * config.make.in (OBJCOPY): New variable.
56839         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56840         * configure: Regenerated.
56842         * config.make.in (use-default-link): New variable.
56843         * configure.in (use_default_link): Grok --with-default-link to set it.
56844         * configure: Regenerated.
56845         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56846         (shlib-lds, shlib-lds-flags): Define to empty.
56848         * Makerules (shlib-lds): New variable.
56849         (shlib-lds-flags): New variable.
56850         (build-shlib, build-moduile, build-module-asneeded): Use it.
56851         ($(common-objpfx)libc.so): Use $(shlib-lds).
56852         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56853         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56855         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56856         DT_FLAGS/DT_FLAGS_1 with zero flags.
56858         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56859         linker script munging.
56861 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
56863         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56864         as 128-bit value.
56865         * crypt/sha512.c (sha512_process_block): Perform total addition using
56866         128-bit if possible.
56867         (__sha512_finish_ctx): Likewise.
56868         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56869         as 64-bit value.
56870         * crypt/sha256.c (SWAP64): Define.
56871         (sha256_process_block): Perform total addition using 64-bit if
56872         possible.
56873         (__sha256_finish_ctx): Likewise.
56875 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
56877         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
56878         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56879         * nscd/hstcache.c (cache_addhst): Likewise.
56880         * nscd/grpcache.c (cache_addgr): Likewise.
56881         * nscd/aicache.c (addhstaiX): Likewise
56882         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56884 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
56886         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56887         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56888         * nscd/hstcache.c (cache_addhst): Likewise.
56889         * nscd/grpcache.c (cache_addgr): Likewise.
56890         * nscd/aicache.c (addhstaiX): Likewise
56892 2011-07-01  Andreas Schwab  <schwab@redhat.com>
56894         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56895         domain only when needed.
56897 2011-06-30  Andreas Schwab  <schwab@redhat.com>
56899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56900         is always restored.
56902 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
56904         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56905         are re-adding the entry.
56906         * nscd/servicescache.c (cache_addserv): Likewise.
56908 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
56910         * sysdeps/generic/dl-irel.h: fix protection against multiple
56911         inclusions.
56912         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56914 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
56916         [BZ #12935]
56917         * malloc/memusage.sh: Fix quoting in message.
56918         * debug/xtrace.sh: Likewise.
56920         * configure.in: Remove support for --experimental-malloc option, make
56921         it the default.
56922         * config.make.in: Likewise.
56923         * malloc/Makefile: Likewise.
56925 2011-06-27  Andreas Schwab  <schwab@redhat.com>
56927         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56928         two-byte characters.
56930 2011-06-27  Roland McGrath  <roland@hack.frob.com>
56932         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56933         AC_CACHE_CHECK invocation.
56934         * configure: Regenerated.
56936         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56938 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
56940         [BZ #12350]
56941         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
56942         bit from old_res_options.
56944         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56946         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56947         value type for setfct.
56949 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
56951         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56952         __gettimeofday instead of gettimeofday.
56954 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
56956         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56958 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
56960         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56962         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56963         info.
56965 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56968         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56969         strcpy-sse2-unaligned strncpy-sse2-unaligned
56970         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56971         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56972         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56973         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56974         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56975         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56976         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56977         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56978         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56979         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56980         (STRCPY): Support SSE2 and SSSE3 versions.
56982 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
56984         [BZ #12874]
56985         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56986         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56987         kernels which artificially limit size of requests.
56989 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56991         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56992         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56993         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56994         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56995         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56996         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56997         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56998         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56999         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57000         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57001         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57002         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57003         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57004         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57005         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57007         Enable unaligned load optimization for Intel Core i3, i5 and i7
57008         processors.
57009         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57010         Define.
57011         (index_Fast_Unaligned_Load): Define.
57012         (HAS_FAST_UNALIGNED_LOAD): Define.
57014 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57016         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57018 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57020         [BZ #12907]
57021         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57022         until it is clear that the information is realy needed.
57023         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57025 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57029 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57031         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57032         /sys/devices/system/cpu/online if it is usable.
57034         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57035         reading the information from the /proc filesystem to once a second.
57037 2011-06-21  Andreas Jaeger  <aj@suse.de>
57039         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57040         NULL after inclusion of kernel headers.
57042 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57044         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57045         calls to internal_setent.
57047         [BZ #12885]
57048         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57049         addresses using gethostbyname4_r ignore IPv4 addresses.
57051         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57052         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57054         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57056 2011-06-20  David S. Miller  <davem@davemloft.net>
57058         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57059         inclusions.
57060         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57062         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57063         (elf_irel): Use it.
57064         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57065         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57066         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57067         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57068         * sysdeps/x86_64/dl-irel.h: Likewise.
57070         * elf/dl-runtime.c: Use elf_ifunc_invoke.
57071         * elf/dl-sym.c: Likewise.
57073 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57075         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
57076         need to dereference resplen2.
57078 2011-06-14  Andreas Schwab  <schwab@redhat.com>
57080         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57082 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57084         * Makeconfig: Define vardbdir and inst_vardbdir.
57085         * nss/Makefile: Add rules to install db-Makefile.
57087         * nss/nss_db/db-XXX.c: Cleanup.
57089         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57090         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57091         GLIBC_PRIVATE.
57092         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57093         * nss/makedb.c: Implement -g option to specify that value strings
57094         are generated and should not be added to table iterated over for
57095         get*ent calls.
57096         * nss/nss_db/db-initgroups.c: New file.
57098         * nss/getent.c: Add support for initgroups lookups through getgrouplist
57099         interface.
57101         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57102         (internal_getgrouplist): Adjust to name change.
57103         Update use_initgroups_entry if this is not the first call.
57104         * nss/databases.def: Add initgroups entry.
57106         * nss/makedb.c (compute_tables): Check result of multiple hash table
57107         sizes to minimize maximum chain length.
57109 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
57111         * Versions.def: Add entry for libnss_db.
57112         * shlib-versions: Likewise.
57113         * nss/Makefile: Add rules to build libnss_db.
57114         * nss/Versions: Add libnss_db information.  Organize libnss_files
57115         entries better.
57116         * nss/db-Makefile: Add gshadow support.  Change rules for the new
57117         makedb progra.  Some minor improvements to generate smaller files.
57118         * nss/nss_db/nss_db.h: Move NSS database header data structures to
57119         here from...
57120         * nss/makedb.c: ...here.
57121         Improve database format to be smaller and require less memory at
57122         runtime.
57123         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
57124         db anymore.
57125         * nss/nss_db/db-netgrp.c: Likewise.
57126         * nss/nss_db/db-open.c: Likewise.
57127         * nss/nss_files/flies-XXX.x: Adjust comments.
57128         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57129         * nss/nss_files/files-grp.c: Likewise.
57130         * nss/nss_files/files-hosts.c: Likewise.
57131         * nss/nss_files/files-network.c: Likewise.
57132         * nss/nss_files/files-proto.c: Likewise.
57133         * nss/nss_files/files-pwd.c: Likewise.
57134         * nss/nss_files/files-rpc.c: Likewise.
57135         * nss/nss_files/files-service.c: Likewise.
57136         * nss/nss_files/files-sgrp.c: Likewise.
57137         * nss/nss_files/files-spwd.c: Likewise.
57138         * nss/nss_db/db-alias.c: Removed.
57139         * nss/nss_db/dummy-db.h: Removed.
57141 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
57143         * nss/makedb.c: Rewritten to not use database library.
57144         * nss/Makefile: Update to build new makedb program.
57146 2011-06-14  Andreas Jaeger  <aj@suse.de>
57148         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57149         memset declaration.
57151 2011-06-10  Andreas Schwab  <schwab@redhat.com>
57153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57154         tmpbuf.
57156 2011-06-10  Roland McGrath  <roland@hack.frob.com>
57158         * Makerules (shlib.lds): Fail if the linker script comes out empty.
57159         * elf/Makefile ($(objpfx)ld.so): Likewise.
57161         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57162         Don't list ld.so twice in dependencies.
57164         * posix/bug-regex31.c: Include <stdlib.h>.
57166         * nscd/hstcache.c (cache_addhst): Remove unused variable.
57168         * nis/nss_compat/compat-spwd.c
57169         (getspent_next_nss_netgr): Remove unused variable.
57170         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57172         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57173         nonmembers" output to use the right array.
57175         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57177         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57179         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57180         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57181         * catgets/gencat.c (read_input_file): Likewise.
57182         * locale/programs/locarchive.c (enlarge_archive): Likewise.
57184         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57185         variable definition inside #if's controlling its use.
57187         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57189         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57191         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57193         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57194         unreachable code.
57196         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57198         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57199         * configure: Regenerated.
57201         * Makerules: Revert last change.
57202         * elf/Makefile: Likewise.
57204 2011-06-09  Roland McGrath  <roland@hack.frob.com>
57206         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57207         * elf/Makefile ($(objpfx)librtld.os): Likewise.
57208         (reloc-link): Likewise.
57210 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
57212         * elf/Makefile: Add rules to build pldd.
57213         * elf/pldd.c: New file.
57214         * elf/pldd-xx.c: New file.
57216 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
57218         * version.h: Update for 2.15 development version.
57220 2011-06-07  David S. Miller  <davem@davemloft.net>
57222         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57223         ifuncs.
57224         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57225         elf_machine_lazy_rel): Likewise.
57226         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57227         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57228         elf_machine_lazy_rel): Likewise.
57229         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57230         dl_hwcap via passed in argument.
57231         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57232         Likewise.
57234 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57236         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
57238 2011-06-06  Roland McGrath  <roland@hack.frob.com>
57240         [BZ #12849]
57241         * manual/fdl-1.1.texi: New file, verbatim from:
57242         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57243         * manual/lgpl-2.1.texi: New file, verbatim from:
57244         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57245         * manual/Makefile (licenses): New variable, list those new file names.
57246         (texis): Use it.
57247         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57249         * manual/fdl.texi: File removed.
57250         * manual/lesser.texi: File removed.
57251         * manual/libc.texinfo (Copying, Documentation License):
57252         Use new @include file names, put @appendix directive before @include.
57254 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
57256         [BZ #12841]
57257         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57258         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57259         (mq_open): Add __NTH.
57261 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
57263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57264         Assume Intel Core i3/i5/i7 processor if AVX is available.
57266 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57268         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57269         typo.
57271 2011-05-31  Andreas Schwab  <schwab@redhat.com>
57273         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57274         memory.  Use alloca_account.  Fix memory leak when retrying.
57276 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57278         * version.h (RELEASE): Bump for 2.14 release.
57279         * include/features.h (__GLIBC_MINOR__): Bump to 14.
57281         * config.make.in (RANLIB): Remove entry.
57283 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
57285         * po/Makefile (po-sed-cmd): Add ksh to extensions.
57286         (libc.pot): Work around missing support for .ksh extension in xgettext.
57288         [BZ #12684]
57289         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57290         if both request failed.
57291         (send_dg): In case of server errors clear resplen or *resplen2.
57293         [BZ #12454]
57294         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57295         when there are multiple maps.
57296         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57297         (_dl_fini): Remove test here.
57299         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57301 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
57303         [BZ #12350]
57304         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57305         bit from old_res_options.
57306         (gaih_inet): Likewise.
57308         [BZ #11099]
57309         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57310         as signed.
57312         * resolv/res_init.c (res_setoptions): Make the code more compact.
57314         [BZ #11558]
57315         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57316         set RES_USEVC.
57318         [BZ #11634]
57319         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57321         * malloc/malloc.h: Mark malloc hook variables as deprecated.
57323         [BZ #11781]
57324         * malloc/malloc.h: Declare malloc hook variables as volatile.
57326         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57327         in last patch.
57329         [BZ #11799]
57330         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57331         raise in the comment.
57332         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57333         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57334         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57336 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
57338         [BZ #12811]
57339         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57340         grow the buffers more if it already has to be sufficient.
57341         (build_wcs_upper_buffer): Likewise.
57342         * posix/regexec.c (check_matching): Likewise.
57343         (clean_state_log_if_needed): Likewise.
57344         (extend_buffers): Don't enlarge buffers beyond size of the input
57345         buffer.
57346         Patches mostly by Emil Wojak <emil@wojak.eu>.
57347         * posix/bug-regex32.c: New file.
57348         * posix/Makefile (tests): Add bug-regex32.
57350         * locale/findlocale.c (_nl_find_locale): Return right away if
57351         _nl_explode_name failed.
57352         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57354         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57356         * debug/xtrace.sh: Unify messages.
57357         * malloc/memusage.sh: Likewise.
57359         [BZ #12813]
57360         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57361         time symbol from vDSO.  Substitute with vsyscall if not available.
57362         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57363         __vdso_time.
57365         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57366         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57367         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57368         Add sendmmsg and internal_sendmmsg.
57369         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57370         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57371         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57373         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57374         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57375         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57377 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
57379         [BZ #12813]
57380         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57381         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
57382         available.
57383         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57384         __vdso_getcpu.
57386         [BZ #12814]
57387         * iconvdata/Makefile (tests): Add bug-iconv9.
57388         * iconvdata/bug-iconv9.c: New file.
57390 2011-05-27  Andreas Schwab  <schwab@redhat.com>
57392         [BZ #12814]
57393         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57395 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
57397         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57398         (struct user_regs_struct): Change intcs field back to cs.
57400 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
57402         * po/ja.po: Update from translation team.
57404 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
57406         [BZ #12795]
57407         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57408         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57410 2011-05-20  Andreas Schwab  <schwab@redhat.com>
57412         * stdlib/longlong.h: Update from GCC.
57414 2011-05-23  Andreas Schwab  <schwab@redhat.com>
57416         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57417         parameter name.
57418         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57419         Add parameter name.
57420         (__sysconf): Pass it down.
57422 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
57424         [BZ #12671]
57425         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57426         some situations.
57427         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57428         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57429         add in in __libc_use_alloca calls.  Adjust callers.
57430         (glob): Use malloc in some situations.
57432         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57433         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57434         pltexit.
57436 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
57438         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57439         and CLOCK_BOOTTIME_ALARM.
57441         [BZ #12782]
57442         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57443         is returned.
57445         * string/_strerror.c (__strerror_r): Print negative errors as signed
57446         numbers.
57448         [BZ #12777]
57449         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57450         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57451         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57453         * configure.in: Fix typo in redirection and correct removal of test
57454         files in two cases.
57456         [BZ #12788]
57457         * locale/setlocale.c (new_composite_name): Fix test to check for
57458         identical name of all categories.
57460         [BZ #12792]
57461         * libio/filedoalloc.c (local_isatty): New function.
57462         (_IO_file_doallocate): Use local_isatty.
57463         * stdio-common/perror.c (perror): In case a new stream is used
57464         forward the stream error.
57465         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57466         error flag.
57468 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
57470         [BZ #11869]
57471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57472         alloca.
57473         * include/alloca.h (extend_alloca_account): Define.
57475         [BZ #11857]
57476         * posix/regex.h: Fix comments with documentation of user-accessible
57477         fields after compilation and describe correct free'ing of pattern
57478         after re_compile_pattern.
57479         Patch by Reuben Thomas <rrt@sc3d.org>.
57481 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
57483         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57484         and -mno-altivec to prevent the compiler from using Altivec and/or
57485         VSX instructions when the corresponding registers are not available.
57487 2011-05-19  Andreas Schwab  <schwab@redhat.com>
57489         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57491 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
57493         * libio/freopen.c (freopen): Use __dup2, not dup2.
57494         * libio/freopen64.c (freopen64): Likewise.
57496 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57498         [BZ #12775]
57499         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57500         * math/Makefile (tests): Add test-powl.
57501         (CFLAGS-test-powl.c): Define.
57502         * math/test-powl.c: New file.
57504 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57506         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57508 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
57510         [BZ #11837]
57511         * iconvdata/gb18030.c: Update to GB18020-2005.
57513 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
57515         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57516         RE_SYNTAX_POSIX_AWK): Update to match recent development.
57517         Patch by Aharon Robbins <arnold@skeeve.com>.
57519         [BZ #11892]
57520         * stdlib/putenv.c (putenv): Don't always create copy of the variable
57521         on the stack.
57523         [BZ #11895]
57524         * misc/pselect.c (__pselect): Handle timeout value errors hidden
57525         through underflows.
57527         [BZ #12766]
57528         * misc/error.c (error_at_line): Ensure file_name and old_file_name
57529         point to strings before performing equality test for error_one_per_line
57530         mode.
57532         [BZ #11697]
57533         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57535         [BZ #11820]
57536         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57537         (struct user_fpregs_struct): Avoid __uint*_t types.
57539         [BZ #6420]
57540         * malloc/mtrace.c (tr_where): Add additional parameter to point to
57541         symbol info.  Use it instead of calling _dl_addr locally.
57542         (lock_and_info): New function.
57543         (tr_freehook): Call lock_and_info and pass symbol info as additional
57544         parameter to tr_where.
57545         (tr_mallochook): Likewise.
57546         (tr_reallochook): Likewise.
57547         (tr_memalignhook): Likewise.
57549         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
57550         used and couldn't be at all thread-safe.
57552 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
57554         * libio/freopen.c (freopen): Don't close old file descriptor
57555         before the new one is opened.  Instead dup the new file descriptor
57556         to the old one after the new stream is created.
57557         * libio/freopen64.c (freopen64): Likewise.
57558         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57559         * libio/fileops.c (_IO_new_file_close_it): Handle new
57560         _IO_FLAGS2_NOCLOSE flag.
57561         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57562         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57563         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57564         _IO_FLAGS2_NOCLOSE flag.
57565         * include/unistd.h: Add hidden_proto for dup3.
57566         Define __have_dup3.
57567         * io/dup3.c: Define hidden symbol.
57568         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57570         [BZ #7101]
57571         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57572         when an incomplete long option is used.
57573         * posix/tst-getopt_long1.c: New file.
57574         * posix/Makefile (tests): Add tst-getopt_long1.
57576         [BZ #10138]
57577         * scripts/config.guess: Update from autoconf-2.68.
57578         * scripts/config.sub: Likewise.
57580         [BZ #10157]
57581         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57582         tests into ...
57583         (has_cpuclock): ...this.  New function.
57584         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57585         macro here based on has_cpuclock code.
57587         [BZ #10149]
57588         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57589         First byte (not low byte) is now always NUL.
57590         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57592         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57593         Use non-cancelable interfaces.
57595         [BZ #9809]
57596         * locale/iso-639.def: Add entry for Sorani.
57598         [BZ #11901]
57599         * include/stdlib.h: Move include protection to the right place.
57600         Define abort_msg_s.  Declare __abort_msg with it.
57601         * stdlib/abort.c (__abort_msg): Adjust type.
57602         * assert/assert.c (__assert_fail_base): New function.  Majority
57603         of code from __assert_fail.  Allocate memory for __abort_msg with
57604         mmap.
57605         (__assert_fail): Now call __assert_fail_base.
57606         * assert/assert-perr.c: Remove bulk of implementation.  Use
57607         __assert_fail_base.
57608         * include/assert.hL Declare __assert_fail_base.
57609         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57610         mmap.
57611         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57613 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
57615         [BZ #11952]
57616         [BZ #12453]
57617         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57618         until all modules are registered in the DTV.
57619         * elf/Makefile: Add rules to build and run tst-tls19.
57620         * elf/tst-tls19.c: New file.
57621         * elf/tst-tls19mod1.c: New file.
57622         * elf/tst-tls19mod2.c: New file.
57623         * elf/tst-tls19mod3.c: New file.
57624         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57626         [BZ #12083]
57627         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57628         correctly.
57630         [BZ #12601]
57631         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57632         two-byte sequence errors.
57633         * iconvdata/Makefile (tests): Add bug-iconv8.
57634         * iconvdata/bug-iconv8.c: New file.
57636         [BZ #12626]
57637         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57638         buf2 definition.
57640         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57642         [BZ #12432]
57643         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57644         (dummy_getcfa): New function.
57645         (init): Get _Unwind_GetCFA address, use dummy if not found.
57646         (backtrace_helper): In recursion check, also check whether CFA changes.
57647         (__backtrace): Completely initialize arg.
57649         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57650         storing incomplete byte sequence in state object.  Avoid testing for
57651         guaranteed too small input if we know there is enough data available.
57653 2011-05-11  Andreas Schwab  <schwab@redhat.com>
57655         * Makeconfig (+link-pie): Indent.
57656         * Rules (binaries-pie): Define if $(have-fpie) and
57657         $(build-shared).
57658         (binaries-shared): Also filter out $(binaries-pie).
57659         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57660         * nscd/Makefile (others-pie): Add nscd.
57661         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57662         ($(objpfx)nscd): Remove command override.
57663         * login/Makefile (others-pie): Add pt_chown.
57664         ($(objpfx)pt_chown): Remove command override.
57665         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57666         remove command overrides.
57668 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
57670         * libio/tst_putwc.c: Fix error messages.
57672         [BZ #12724]
57673         * libio/fileops.c (_IO_new_file_close_it): Always flush when
57674         currently writing and seek to current position when not.
57675         * libio/Makefile (tests): Add bug-fclose1.
57676         * libio/bug-fclose1.c: New file.
57678 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
57680         [BZ #12511]
57681         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57682         don't set DF_1_NODELETE here.
57683         (do_lookup_x): When entering new entry test for copy relocation
57684         and if necessary set DF_1_NODELETE flag.
57685         * elf/tst-unique4.cc: New file.
57686         * elf/tst-unique4.h: New file.
57687         * elf/tst-unique4lib.cc: New file.
57688         * elf/Makefile: Add rules to build and run tst-unique4.
57689         Patch by Piotr Bury <pbury@goahead.com>.
57691 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
57693         [BZ #12052]
57694         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57696         [BZ #12625]
57697         * misc/mntent_r.c (addmntent): Flush the stream after the output
57699         [BZ #12393]
57700         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57701         (is_trusted_path_normalize): Skip initial colon.  Append slash
57702         to empty buffer.  Duplicate is_trusted_path code but allow
57703         constructed patch to be prefix.
57704         (is_dst): Allow $ORIGIN followed by /.
57705         (_dl_dst_substitute): Correct clearing of check_for_trusted.
57706         Correct testing of result of is_trusted_path_normalize
57707         (decompose_rpath): Fix warning.
57709 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
57711         [BZ #11257]
57712         * grp/initgroups.c (internal_getgrouplist): When we found the service
57713         list through the initgroups entry in nsswitch.conf do not always
57714         continue on a successful lookup.  Don't always use the
57715         __nss_group_database value if it is set.
57716         * nss/nsswitch.conf (initgroups): Change action for successful db
57717         lookup to continue for compatibility.
57719 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
57721         [BZ #11532]
57722         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57723         and CP774 modules.
57724         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57725         and CP774 modules.
57726         * iconvdata/tst-tables.sh: Likewise.
57727         * iconvdata/cp770.c: New file.
57728         * iconvdata/cp771.c: New file.
57729         * iconvdata/cp772.c: New file.
57730         * iconvdata/cp773.c: New file.
57731         * iconvdata/cp774.c: New file.
57732         * iconvdata/testdata/CP770: New file.
57733         * iconvdata/testdata/CP770..UTF8: New file.
57734         * iconvdata/testdata/CP771: New file.
57735         * iconvdata/testdata/CP771..UTF8: New file.
57736         * iconvdata/testdata/CP772: New file.
57737         * iconvdata/testdata/CP772..UTF8: New file.
57738         * iconvdata/testdata/CP773: New file.
57739         * iconvdata/testdata/CP773..UTF8: New file.
57740         * iconvdata/testdata/CP774: New file.
57741         * iconvdata/testdata/CP774..UTF8: New file.
57743         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57744         END CHARMAP line.
57745         * iconvdata/gen-8bit-gap.sh: Likewise.
57746         * iconvdata/gen-8bit.sh: Likewise.
57748         * locale/iso-639.def: Add ary entry.
57750         [BZ #11258]
57751         * locale/C-translit.h.in: Add U20A1 transliteration.
57753         [BZ #12178]
57754         * locale/iso-639.def: Add wae entry.
57755         Patch by Kevin Bortis <bortis@translate-wae.ch>.
57757         [BZ #12545]
57758         * locale/programs/localedef.c (construct_output_path): Use ssize_t
57759         for n.
57761         [BZ #12711]
57762         * locale/C-translit.h.in: Add entry for U20B9.
57763         Patch by pravin.d.s@gmail.com.
57765 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
57767         [BZ #12713]
57768         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57769         ENAMETOOLONG use generic getcwd.
57770         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
57771         in rtld.  Use *stat64.
57772         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57773         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57774         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57775         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57776         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57777         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57778         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57779         __fstatat64 macros.
57780         * include/dirent.h: Add libc_hidden_proto for rewinddir.
57781         * dirent/rewinddir.c: Add libc_hidden_def.
57782         * sysdeps/mach/hurd/rewinddir.c: Likewise.
57783         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
57785         * include/dirent.h (__alloc_dir): Add flags parameter.
57786         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57787         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57788         __alloc_dir.
57789         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
57790         from fdopendir if O_CLOEXEC is already set.
57792 2011-03-15  Alan Modra  <amodra@gmail.com>
57794         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57795         l_tls_firstbyte_offset non-zero.  Save padding offset in
57796         l_tls_firstbyte_offset for later use.
57797         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57798         freeing static tls block.
57800 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
57802         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57803         where #ifdef was intended.  The intent is to prevent ARG_MAX from
57804         being defined by the kernel headers.
57806 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
57808         [BZ #12734]
57809         * resolv/resolv.h: Define RES_NOTLDQUERY.
57810         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57811         no-tld-query and set RES_NOTLDQUERY.
57812         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57813         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57814         modern BIND to search name as TLD unless forbidden.
57816 2011-05-07  Petr Baudis  <pasky@suse.cz>
57817             Ulrich Drepper  <drepper@gmail.com>
57819         [BZ #12393]
57820         * elf/dl-load.c (fillin_rpath): Move trusted path check...
57821         (is_trusted_path): ...to here.
57822         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57823         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57824         using is_trusted_path_normalize() in setuid scripts.
57826 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57828         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57829         __BEGIN/__END_DECLS.
57831 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
57833         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57834         NSS_STATUS_NOTFOUND if no record was found.
57836 2011-05-05  Andreas Schwab  <schwab@redhat.com>
57838         * sunrpc/Makefile (headers): Add rpc/netdb.h.
57839         (headers-not-in-tirpc): Remove rpc/netdb.h
57840         * resolv/netdb.h: Revert last change.
57842 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57844         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57845         circular dependency between libgcc.a and libc.a.
57847 2011-05-05  Andreas Schwab  <schwab@redhat.com>
57849         * resolv/netdb.h: Don't include <rpc/netdb.h>.
57850         * nis/Makefile: Don't install rpcsvc/*.
57851         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57852         instead of <rpc/types.h>.
57853         (MAXHOSTNAMELEN): Define.
57855 2011-05-03  Andreas Schwab  <schwab@redhat.com>
57857         * elf/ldconfig.c (add_dir): Don't crash on empty path.
57859 2011-04-28  Maciej Babinski  <mbabinski@google.com>
57861         [BZ #12714]
57862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57863         gethostbyname4_r when IPv6 results are possible.
57865 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
57867         [BZ #12723]
57868         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57869         _PC_PIPE_BUF handling.
57871 2011-04-30  Bruno Haible  <bruno@clisp.org>
57873         [BZ #12717]
57874         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57875         * resolv/netdb.h (getnameinfo): Change type of flags parameter
57876         to 'int'.
57877         * inet/getnameinfo.c (getnameinfo): Likewise.
57879 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
57881         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57882         to groups setting in database lookup.
57883         * nss/nsswitch.conf: Add initgroups entry.
57885 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
57887         [BZ #12685]
57888         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57889         mode string.
57890         Patch by Eric Blake <eblake@redhat.com>.
57892 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
57894         * sunrpc/Makefile (need-export-routines): Add svc_run.
57895         (routines): Remove svc_run.
57896         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57897         * sunrpc/clnt_perr.c (clnt_perrno): Export.
57898         * sunrpc/svc_run.c (svc_run): Likewise.
57899         * sunrpc/svc_udp.c (svcudp_create): Likewise.
57901 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
57903         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57904         problem in reallocation in last patch.
57906 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
57908         * sunrpc/Makefile: Move inclusion of Rules.
57910 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
57912         * nss/nss_files/files-initgroups.c: New file.
57913         * nss/Makefile (libnss_files-routines): Add files-initgroups.
57914         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57915         _nss_files_initgroups_dyn.
57917 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
57919         * elf/elf.h (R_ARM_IRELATIVE): Define.
57921 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
57923         * po/ru.po: Update from translation team.
57925 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57927         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57928         dependencies.
57930 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
57932         [BZ #12653]
57933         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57934         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57935         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57936         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57937         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57939 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
57941         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57942         differing bytes.
57943         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57944         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57945         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57947 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57949         [BZ #12420]
57950         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57951         storing it.
57952         * stdlib/bug-getcontext.c: New file.
57953         * stdlib/Makefile: Add rules to build and run bug-getcontext.
57955 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57957         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57958         instructions into .machine "z9-109".
57959         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57960         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57962 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57964         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57965         between environment variables and auxiliary vector.
57967 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
57969         * Makefile: Add rules to build linkobj/libc.so.
57970         * include/libc-symbols.h: Define libc_hidden_nolink.
57971         * include/rpc/auth.h: Mark functions which are to be hidden.
57972         * include/rpc/auth_des.h: Likewise.
57973         * include/rpc/auth_unix.h: Likewise.
57974         * include/rpc/clnt.h: Likewise.
57975         * include/rpc/des_crypt.h: Likewise.
57976         * include/rpc/key_prot.h: Likewise.
57977         * include/rpc/pmap_clnt.h: Likewise.
57978         * include/rpc/pmap_prot.h: Likewise.
57979         * include/rpc/pmap_rmt.h: Likewise.
57980         * include/rpc/rpc_msg.h: Likewise.
57981         * include/rpc/svc.h: Likewise.
57982         * include/rpc/svc_auth.h: Likewise.
57983         * include/rpc/xdr.h: Likewise.
57984         * nis/Makefile: Link all DSOs against linkobj/libc.so.
57985         * nss/Makefile: Likewise.
57986         * sunrpc/Makefile: Don't install headers.  Build library with normal
57987         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
57988         * sunrpc/auth_des.c: Hide exported symbols by default, export some
57989         for the compat linking library.  Remove use of INTDEF/INTUSE.
57990         * sunrpc/auth_none.c: Likewise.
57991         * sunrpc/auth_unix.c: Likewise.
57992         * sunrpc/authdes_prot.c: Likewise.
57993         * sunrpc/authuxprot.c: Likewise.
57994         * sunrpc/clnt_gen.c: Likewise.
57995         * sunrpc/clnt_perr.c: Likewise.
57996         * sunrpc/clnt_raw.c: Likewise.
57997         * sunrpc/clnt_simp.c: Likewise.
57998         * sunrpc/clnt_tcp.c: Likewise.
57999         * sunrpc/clnt_udp.c: Likewise.
58000         * sunrpc/clnt_unix.c: Likewise.
58001         * sunrpc/des_crypt.c: Likewise.
58002         * sunrpc/des_soft.c: Likewise.
58003         * sunrpc/get_myaddr.c: Likewise.
58004         * sunrpc/key_call.c: Likewise.
58005         * sunrpc/key_prot.c: Likewise.
58006         * sunrpc/netname.c: Likewise.
58007         * sunrpc/pm_getmaps.c: Likewise.
58008         * sunrpc/pm_getport.c: Likewise.
58009         * sunrpc/pmap_clnt.c: Likewise.
58010         * sunrpc/pmap_prot.c: Likewise.
58011         * sunrpc/pmap_prot2.c: Likewise.
58012         * sunrpc/pmap_rmt.c: Likewise.
58013         * sunrpc/publickey.c: Likewise.
58014         * sunrpc/rpc_cmsg.c: Likewise.
58015         * sunrpc/rpc_common.c: Likewise.
58016         * sunrpc/rpc_dtable.c: Likewise.
58017         * sunrpc/rpc_prot.c: Likewise.
58018         * sunrpc/rpc_thread.c: Likewise.
58019         * sunrpc/rtime.c: Likewise.
58020         * sunrpc/svc.c: Likewise.
58021         * sunrpc/svc_auth.c: Likewise.
58022         * sunrpc/svc_authux.c: Likewise.
58023         * sunrpc/svc_raw.c: Likewise.
58024         * sunrpc/svc_run.c: Likewise.
58025         * sunrpc/svc_simple.c: Likewise.
58026         * sunrpc/svc_tcp.c: Likewise.
58027         * sunrpc/svc_udp.c: Likewise.
58028         * sunrpc/svc_unix.c: Likewise.
58029         * sunrpc/svcauth_des.c: Likewise.
58030         * sunrpc/xcrypt.c: Likewise.
58031         * sunrpc/xdr.c: Likewise.
58032         * sunrpc/xdr_array.c: Likewise.
58033         * sunrpc/xdr_float.c: Likewise.
58034         * sunrpc/xdr_intXX_t.c: Likewise.
58035         * sunrpc/xdr_mem.c: Likewise.
58036         * sunrpc/xdr_rec.c: Likewise.
58037         * sunrpc/xdr_ref.c: Likewise.
58038         * sunrpc/xdr_sizeof.c: Likewise.
58039         * sunrpc/xdr_stdio.c: Likewise.
58041 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58043         [BZ #12650]
58044         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58045         * sysdeps/ia64/dl-tls.h: Likewise.
58046         * sysdeps/powerpc/dl-tls.h: Likewise.
58047         * sysdeps/s390/dl-tls.h: Likewise.
58048         * sysdeps/sh/dl-tls.h: Likewise.
58049         * sysdeps/sparc/dl-tls.h: Likewise.
58050         * sysdeps/x86_64/dl-tls.h: Likewise.
58051         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58053 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58055         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58056         rpath element also skip the following colon.
58057         (expand_dynamic_string_token): Add is_path parameter and pass
58058         down to DL_DST_REQUIRED and _dl_dst_substitute.
58059         (decompose_rpath): Call expand_dynamic_string_token with
58060         non-zero is_path.  Ignore empty rpaths.
58061         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58062         with zero is_path.
58064 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58067         Make cancelable.
58069 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
58071         [BZ #12655]
58072         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58073         Patch by Filipe David Manana <fdmanana@apache.org>.
58075 2011-04-07  Andreas Schwab  <schwab@redhat.com>
58077         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58078         Maintain aligned stack.
58079         (CHECK_RSP): Remove unused macro.
58081 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
58083         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58084         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58086 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
58088         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58090         * include/features.h: Mention __USE_XOPEN2K8 in comment.
58092 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
58094         [BZ #12518]
58095         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58096         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58097         * sysdeps/x86_64/memmove.c: New file.
58098         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58099         (memcpy): Renamed to ...
58100         (__new_memcpy): This.
58101         (memcpy): Provide GLIBC_2_14 memcpy.
58102         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58103         (memcpy): Provide GLIBC_2_2_5 memcpy.
58105 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58107         [BZ #12631]
58108         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58110 2011-03-30  Andreas Schwab  <schwab@redhat.com>
58112         * misc/syncfs.c: New file.
58113         * misc/Makefile (routines): Add syncfs.
58114         * posix/unistd.h: Declare syncfs.
58115         * sysdeps/unix/syscalls.list: Add syncfs.
58117 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58119         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58120         open_by_handle_at.
58121         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58122         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58123         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58124         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58125         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58126         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58127         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58129 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58131         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58132         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58133         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58134         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58135         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58137         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58139         * io/Makefile: Compile fallocate.c, fallocate64.c, and
58140         sync_file_range.c with -fexceptions.
58141         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58142         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58143         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58144         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58145         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58146         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58147         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58148         sync_file_range as cancellation point
58149         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
58150         now a wrapper around __call_sync_file_range with cancellation handling.
58151         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58152         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
58153         function name to __call_sync_file_range.
58154         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58155         Add call_sync_file_range.
58157 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58160         bits/timex.h.
58162 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58164         * iconv/iconv.h: Fix typo in comment.
58165         * io/fcntl.h: Likewise.
58166         * libio/stdio.h: Likewise.
58167         * posix/spawn.h: Likewise.
58168         * posix/unistd.h: Likewise.
58169         * stdlib/stdlib.h: Likewise.
58170         * time/time.h: Likewise.
58171         * wcsmbs/wchar.h: Likewise.
58173         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58174         open_by_handle): Add.
58175         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58176         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
58177         Augment a few comments.
58178         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58179         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58180         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58182         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58183         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58184         open_by_handle.
58186         * io/fcntl.h (AT_EMPTY_PATH): Define.
58188 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
58190         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58191         * sysdeps/unix/sysv/linux/bits/time.h: New file.
58192         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58193         to...
58194         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
58195         * Versions.def: Add GLIBC_2.14.
58196         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58197         Export.
58199 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
58201         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58202         round counter.
58203         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58205 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58207         [BZ #12597]
58208         * string/test-strncmp.c (do_page_test): New function.
58209         (check2): Likewise.
58210         (test_main): Call check2.
58211         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58213 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
58215         [BZ #12587]
58216         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58217         Handle cache information in CPU leaf 4.
58218         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58220 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
58222         [BZ #12583]
58223         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58224         character representation.
58225         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58227 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
58229         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58230         END(__isnan) to END(__isnanf) to match function entry point/label
58231         EALIGN(__isnanf,...).
58233 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
58235         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58237 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
58239         [BZ #12510]
58240         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58241         copy from the symbol referenced in the relocation to initialize the
58242         used variable.
58243         Patch by Piotr Bury <pbury@goahead.com>.
58244         * elf/Makefile: Add rules to build and tst-unique3.
58245         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58246         * elf/tst-unique3.cc: New file.
58247         * elf/tst-unique3.h: New file.
58248         * elf/tst-unique3lib.cc: New file.
58249         * elf/tst-unique3lib2.cc: New file.
58251         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58253 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
58255         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58256         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
58257         to _start.
58259 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
58261         * elf/dl-load.c (_dl_map_object): If we are looking for the first
58262         to-be-loaded object along a path to loader is ld.so.
58264 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58265             Ulrich Drepper  <drepper@gmail.com>
58267         * sysdeps/x86_64/memset.S: After aligning destination, code
58268         branches to different locations depending on the value of
58269         misalignment, when multiarch is enabled. Fix this.
58271 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58273         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58274         Set _x86_64_preferred_memory_instruction for AMD processsors.
58275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58276         Set bit_Prefer_SSE_for_memop for AMD processors.
58278 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
58280         * libio/fmemopen.c (fmemopen): Optimize a bit.
58282 2011-03-03  Andreas Schwab  <schwab@redhat.com>
58284         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58286 2011-03-03  Roland McGrath  <roland@redhat.com>
58288         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58290 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
58292         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58293         __bzero_ultra1 instead of __memset_ultra1.
58295 2011-02-23  Andreas Schwab  <schwab@redhat.com>
58296             Ulrich Drepper  <drepper@gmail.com>
58298         [BZ #12509]
58299         * include/link.h (struct link_map): Add l_orig_initfini.
58300         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58301         returning unsuccessfully.
58302         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58303         close of a file loaded at startup, restore the original l_initfini
58304         list.
58305         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58306         list, store the pointer.
58307         * elf/Makefile ($(objpfx)noload-mem): New rule.
58308         (noload-ENV): Define.
58309         (tests): Add $(objpfx)noload-mem.
58310         * elf/noload.c: Include <memcheck.h>.
58311         (main): Call mtrace.  Close all opened handles.
58313 2011-02-17  Andreas Schwab  <schwab@redhat.com>
58315         [BZ #12454]
58316         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58317         dependencies are missing.
58319 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58321         Fix __if_freereq crash: Unlike the generic version which uses free,
58322         Hurd needs munmap.
58323         * sysdeps/mach/hurd/ifreq.h: New file.
58325 2011-01-27  Petr Baudis  <pasky@suse.cz>
58326             Ulrich Drepper  <drepper@gmail.com>
58328         [BZ 12445]#
58329         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58330         to extend_alloca().
58331         * stdio-common/bug23.c: New file.
58332         * stdio-common/Makefile (tests): Add bug23.
58334 2010-09-28  Andreas Schwab  <schwab@redhat.com>
58335             Ulrich Drepper  <drepper@gmail.com>
58337         [BZ #12489]
58338         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58339         before performing relro protection.  At old place add assertion
58340         to make sure nothing changed.
58342 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
58343             Glauber de Oliveira Costa  <glommer@gmail.com>
58345         * elf/elf.h: Add new ARM TLS relocs.
58347 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
58349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58350         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58351         cast from r3.
58352         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
58353         'tests' variable.
58354         * sysdeps/wordsize-64/tst-writev.c: New file.
58356 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
58358         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58359         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58360         insns in _dl_start to prevent a TOC reference before relocs are
58361         resolved.
58363 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
58365         [BZ #12469]
58366         * Makeconfig: Remove RANLIB definition.
58367         * Makerules: Don't use RANLIB.
58368         * aclocal.m4: Remove ranlib test.
58369         * configure.in: No need to check for ranlib.
58370         * elf/rtld-Rules: Don't use RANLIB.
58372 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58374         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58375         protection macro.
58376         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58377         inclusion protection macro.
58379         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58380         SIGRTMIN and SIGRTMAX and print information in that case only when
58381         SIGRTMIN is defined.
58383 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
58385         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58386         arginfo fn returning -1.
58388         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58389         and thousands string is zero terminated.
58391 2011-02-03  Andreas Schwab  <schwab@redhat.com>
58393         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58394         sysdeps/unix/sysv/linux/bits/socket.h.
58396 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58398         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58399         (__CPU_COUNT): Remove old macros.
58400         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58401         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58402         (__CPU_ALLOC, __CPU_FREE): Add macros.
58403         (__sched_cpualloc, __sched_cpufree): Add declarations.
58405 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
58407         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58408         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58409         * nscd/aicache.c (addhstaiX): Return timeout of added value.
58410         (readdhstai): Return value of addhstaiX call.
58411         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58412         (addgrbyX): Return value returned by cache_addgr.
58413         (readdgrbyname): Return value returned by addgrbyX.
58414         (readdgrbygid): Likewise.
58415         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58416         (addpwbyX): Return value returned by cache_addpw.
58417         (readdpwbyname): Return value returned by addhstbyX.
58418         (readdpwbyuid): Likewise.
58419         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58420         (addservbyX): Return value returned by cache_addserv.
58421         (readdservbyname): Return value returned by addservbyX:
58422         (readdservbyport): Likewise.
58423         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58424         (addhstbyX): Return value returned by cache_addhst.
58425         (readdhstbyname): Return value returned by addhstbyX.
58426         (readdhstbyaddr): Likewise.
58427         (readdhstbynamev6): Likewise.
58428         (readdhstbyaddrv6): Likewise.
58429         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58430         (readdinitgroups): Return value returned by addinitgroupsX.
58431         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58432         (prune_cache): Keep track of timeout value of re-added entries.
58433         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58434         * nscd/nscd.h: Adjust prototypes of readd* functions.
58436 2011-02-04  Roland McGrath  <roland@redhat.com>
58438         * nis/nis_server.c (nis_servstate): Use the right name for 0.
58439         (nis_stats): Likewise.
58440         * nis/nis_modify.c (nis_modify): Likewise.
58441         * nis/nis_remove.c (nis_remove): Likewise.
58442         * nis/nis_add.c (nis_add): Likewise.
58444         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58446         * posix/fnmatch_loop.c: Add some consts.
58448         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58450 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
58452         [BZ #12460]
58453         * config.make.in (config-cflags-novzeroupper): Define.
58454         * configure.in: Substitute libc_cv_cc_novzeroupper.
58455         * elf/Makefile (AVX-CFLAGS): Define.
58456         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58457         (CFLAGS-tst-auditmod4a.c): Likewise.
58458         (CFLAGS-tst-auditmod4b.c): Likewise.
58459         (CFLAGS-tst-auditmod6b.c): Likewise.
58460         (CFLAGS-tst-auditmod6c.c): Likewise.
58461         (CFLAGS-tst-auditmod7b.c): Likewise.
58462         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58464 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
58466         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58467         function to the callback.
58468         Patch partly by Jiri Olsa <jolsa@redhat.com>.
58470 2011-02-02  Andreas Schwab  <schwab@redhat.com>
58472         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58473         of errno.
58475 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
58477         [BZ #11724]
58478         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58479         of constructors.
58480         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58481         of destructors.
58482         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58484         [BZ #11724]
58485         * elf/Makefile: Add rules to build and run new test.
58486         * elf/tst-initorder.c: New file.
58487         * elf/tst-initorder.exp: New file.
58488         * elf/tst-initordera1.c: New file.
58489         * elf/tst-initordera2.c: New file.
58490         * elf/tst-initordera3.c: New file.
58491         * elf/tst-initordera4.c: New file.
58492         * elf/tst-initorderb1.c: New file.
58493         * elf/tst-initorderb2.c: New file.
58494         * elf/tst-order-a1.c: New file.
58495         * elf/tst-order-a2.c: New file.
58496         * elf/tst-order-a3.c: New file.
58497         * elf/tst-order-a4.c: New file.
58498         * elf/tst-order-b1.c: New file.
58499         * elf/tst-order-b2.c: New file.
58500         * elf/tst-order-main.c: New file.
58501         New test case by George Gensure <werkt0@gmail.com>.
58503 2010-10-01  Andreas Schwab  <schwab@redhat.com>
58505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58506         decoding ACE if AI_CANONIDN.
58508 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
58510         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58512 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
58514         * version.h (RELEASE): Bump for 2.13 release.
58515         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58517         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58519         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58520         MADV_NOHUGEPAGE.
58521         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58522         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58523         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58524         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58525         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58526         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58528         * posix/getconf.c: Update copyright year.
58529         * catgets/gencat.c: Likewise.
58530         * csu/version.c: Likewise.
58531         * debug/catchsegv.sh: Likewise.
58532         * debug/xtrace.sh: Likewise.
58533         * elf/ldconfig.c: Likewise.
58534         * elf/ldd.bash.in: Likewise.
58535         * elf/sprof.c (print_version): Likewise.
58536         * iconv/iconv_prog.c: Likewise.
58537         * iconv/iconvconfig.c: Likewise.
58538         * locale/programs/locale.c: Likewise.
58539         * locale/programs/localedef.c: Likewise.
58540         * malloc/memusage.sh: Likewise.
58541         * malloc/mtrace.pl: Likewise.
58542         * nscd/nscd.c (print_version): Likewise.
58543         * nss/getent.c: Likewise.
58545         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58546         PF_CAIF, and PF_ALG.
58547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58549 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
58551         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58552         (modules-names): Use them.
58553         (ifunc-test-modules, ifunc-pie-tests): Define.
58554         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58555         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58556         (test-extras): Likewise.
58557         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58558         $(compile-command.c).
58559         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58560         (all-built-dso): Define.
58561         (check-textrel.out, check-execstack.out): Depend on it.
58563         * configure.in: Don't override --enable-multi-arch.
58565 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
58567         [BZ #6812]
58568         * nscd/hstcache.c (tryagain): Define.
58569         (cache_addhst): Return tryagain not notfound for temporary errors.
58570         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58571         failed.
58573 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
58575         [BZ #10563]
58576         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58577         to make the syscall.
58578         * sysdeps/unix/sysv/linux/setgroups.c: New file.
58580         [BZ #12378]
58581         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58582         and fall back to matching as normal character if the string ends before
58583         the matching ']' is found.  This is what POSIX requires.
58584         * posix/testfnm.c: Adjust test result.
58585         * posix/globtest.sh: Adjust test result.  Add new test.
58586         * posix/tst-fnmatch.input: Likewise.
58587         * posix/tst-fnmatch2.c: Add new test.
58589 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
58591         * elf/Makefile (check-execstack): Revert last change.  Depend on
58592         check-execstack.h.
58593         (check-execstack.h): New target.
58594         (generated): Add check-execstack.h.
58595         * elf/check-execstack.c: Include "check-execstack.h".
58596         (main): Revert last change.
58597         (handle_file): Return zero if GNU_STACK is absent and
58598         DEFAULT_STACK_PERMS doesn't include PF_X.
58600 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
58602         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58603         in child fails because the descriptor is already closed.
58604         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58605         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58606         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58608         [BZ #12397]
58609         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58610         syscall.
58612         [BZ #10484]
58613         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58614         temporary buffer used to handle multi lookups locally.
58615         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58617 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58619         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58620         loader is ld.so.
58622 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
58624         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58625         alignment for SSE2.
58627 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58629         [BZ #12394]
58630         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58631         characters.  When rounding increased number of integer digits recompute
58632         number of groups.
58633         * stdio-common/tst-grouping.c: New file.
58634         * stdio-common/Makefile: Add rules to build and run tst-grouping.
58636 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
58638         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58639         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
58641         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58642         void.
58643         * bits/select.h: Likewise.
58645 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
58647         * po/ja.po: Update from translation team.
58649 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
58651         [BZ #11155]
58652         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58653         implementation just like for lxstat, fxstatat, et al.
58655 2010-12-27  Jim Meyering  <meyering@redhat.com>
58657         [BZ #12348]
58658         * posix/regexec.c (build_trtable): Return failure indication upon
58659         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
58661 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
58663         [BZ #12201]
58664         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58665         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58666         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58667         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58669         [BZ #12207]
58670         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58672         [BZ #12204]
58673         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58674         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58676 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
58678         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58679         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58680         script has SORT_BY_INIT_PRIORITY.
58681         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58682         NO_CTORS_DTORS_SECTIONS is defined.
58683         * elf/soinit.c: Likewise.
58684         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58685         NO_CTORS_DTORS_SECTIONS is defined.
58686         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58687         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58688         * sysdeps/sh/init-first.c: Likewise.
58689         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58691 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
58693         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58694         always use the slow path.
58696 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
58698         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58699         similar rule which adds the sysdep directories to the header search in
58700         order to pick up the correct platform stackinfo.h.
58701         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58702         perform test if it is, otherwise return successfully without testing.
58703         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58704         DEFAULT_STACK_PERMS define in stackinfo.h.
58705         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58706         defined in stackinfo.h.
58707         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58708         DEFAULT_STACK_PERMS defined in stackinfo.h.
58709         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58710         * sysdeps/ia64/stackinfo.h: Likewise.
58711         * sysdeps/s390/stackinfo.h: Likewise.
58712         * sysdeps/sh/stackinfo.h: Likewise.
58713         * sysdeps/sparc/stackinfo.h: Likewise.
58714         * sysdeps/x86_64/stackinfo.h: Likewise.
58715         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58716         PF_X for powerpc64.  Retain PF_X for powerpc32.
58718 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
58720         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58721         accurately.
58722         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58723         GETDENTS_64BIT_ALIGNED.
58725 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
58727         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58729 2010-12-10  Andreas Schwab  <schwab@redhat.com>
58731         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58732         _GNU_SOURCE.
58734         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58735         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58736         Remove __restrict.
58737         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58738         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58740 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
58742         [BZ #11655]
58743         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58744         are initialized.
58746 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
58748         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58750 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
58752         * po/it.po: Update from translation team.
58754 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
58756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58757         unused codes.
58759 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
58761         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58763 2010-11-24  Andreas Schwab  <schwab@redhat.com>
58765         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58766         specially.
58767         (gaih_getanswer_slice): Likewise.
58769 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
58771         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58773 2010-05-31  Petr Baudis  <pasky@suse.cz>
58775         [BZ #11149]
58776         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58777         silently even in the chroot mode.
58779 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
58781         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58782         last patch a bit.  Pretty printing
58784 2010-05-31  Petr Baudis <pasky@suse.cz>
58786         [BZ #10085]
58787         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58788         initialization of skip_initgroups_dyn.
58790 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
58792         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58793         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58795 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
58797         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58799 2010-11-11  Andreas Schwab  <schwab@redhat.com>
58801         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58802         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58803         (tst-fnmatch-ENV): Set MALLOC_TRACE.
58804         ($(objpfx)tst-fnmatch-mem): New rule.
58805         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58806         * posix/tst-fnmatch.c (main): Call mtrace.
58808 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
58810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58811         Support Intel processor model 6 and model 0x2c.
58813 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
58815         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58816           signed comparison.
58818 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
58820         [BZ #12205]
58821         * string/test-strncasecmp.c (check_result): New function.
58822         (do_one_test): Use it.
58823         (check1): New function.
58824         (test_main): Use it.
58825         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58826         Support strcasecmp and strncasecmp.
58828 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
58830         [BZ #12194]
58831         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58832         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58834 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58836         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58837         IFUNC support.
58838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58839         memset-x86-64.
58840         * sysdeps/x86_64/multiarch/bzero.S: New file.
58841         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58842         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58843         * sysdeps/x86_64/multiarch/memset.S: New file.
58844         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58846         Set bit_Prefer_SSE_for_memop for Intel processors.
58847         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58848         Define.
58849         (index_Prefer_SSE_for_memop): Define.
58850         (HAS_PREFER_SSE_FOR_MEMOP): Define.
58852 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
58854         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58855         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58857 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
58859         [BZ #12191]
58860         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58861         (__x86_64_raw_data_cache_size_half): Likewise.
58862         (__x86_64_raw_shared_cache_size): Likewise.
58863         (__x86_64_raw_shared_cache_size_half): Likewise.
58865         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58866         (__x86_64_raw_data_cache_size_half): Likewise.
58867         (__x86_64_raw_shared_cache_size): Likewise.
58868         (__x86_64_raw_shared_cache_size_half): Likewise.
58869         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58870         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58871         and __x86_64_raw_shared_cache_size_half.  Round
58872         __x86_64_data_cache_size_half, __x86_64_data_cache_size
58873         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58874         to multiple of 256 bytes.
58876 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
58878         [BZ #12167]
58879         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58880         of inacessible symlinks.  Verify result of symlink before returning it.
58881         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58882         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58884 2010-10-28  Erich Ritz  <erichritz@gmail.com>
58886         * math/math.h (isinf): Fix typo in comment.
58888 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
58890         * po/da.po: Update from translation team.
58892 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
58894         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58895         is added to the list.
58897 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58898             Ulrich Drepper  <drepper@gmail.com>
58900         * elf/dl-object.c (_dl_new_object): Don't append the new object to
58901         the global list here.  Move code to...
58902         (_dl_add_to_namespace_list): ...here.  New function.
58903         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58904         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58905         * elf/dl-load.c (lose): Don't remove the element from the list.
58906         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58907         (_dl_map_object): Likewise.
58909 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
58911         [BZ #12159]
58912         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58913         into all bytes of SSE register.
58914         Patch by Richard Li <richardpku@gmail.com>.
58916 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
58918         [BZ #12140]
58919         * malloc/malloc.c (_int_free): Fill correct number of bytes when
58920         perturbing.
58922 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
58924         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58925         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58926         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58927         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58929         submachine.
58930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58932 2010-10-22  Andreas Schwab  <schwab@redhat.com>
58934         * include/dlfcn.h (__RTLD_SECURE): Define.
58935         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
58936         mode & __RTLD_SECURE instead.
58937         (open_path): Rename preloaded parameter to secure.
58938         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58939         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58940         * elf/dl-deps.c (openaux): Likewise.
58941         * elf/rtld.c (struct map_args): Remove is_preloaded.
58942         (map_doit): Don't use it.
58943         (dl_main): Likewise.
58944         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58945         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58947 2010-09-09  Andreas Schwab  <schwab@redhat.com>
58949         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58950         (sysd-rules-targets): Remove duplicates.
58951         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58952         rtld-%.$o dependency.
58954 2010-10-18  Andreas Schwab  <schwab@redhat.com>
58956         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58957         _dl_map_object do it.
58959 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
58961         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58962         fast fma builtins, define the macros in the C99 standard.
58963         (FP_FAST_FMAF): Likewise.
58964         (FP_FAST_FMAL): Likewise.
58965         * sysdeps/x86_64/bits/mathdef.h: Likewise.
58967         * bits/mathdef.h: Update copyright year.
58968         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58970 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
58972         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58973         builtins, define the macros in the C99 standard.
58974         (FP_FAST_FMAF): Likewise.
58975         (FP_FAST_FMAL): Likewise.
58976         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58977         multiply/add.
58978         (FP_FAST_FMAF): Likewise.
58980 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
58982         [BZ #3268]
58983         * math/libm-test.inc (fma_test): Some new testcases.
58984         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58985         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58986         y and infinite z.  Do multiplication by C already in long double.
58987         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58989         y and infinite z.  Do bitwise or of inexact bit into u.d.
58990         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58991         * sysdeps/i386/fpu/s_fmaf.S: Removed.
58992         * sysdeps/i386/fpu/s_fma.S: Removed.
58993         * sysdeps/i386/fpu/s_fmal.S: Removed.
58995 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
58997         [BZ #3268]
58998         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59000         computation is not scheduled after fetestexcept.  Fix value
59001         of minimum denormal long double.
59003 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59005         [BZ #3268]
59006         * math/libm-test.inc (fma_test): Add some more tests.
59007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59008         correctly.
59010 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59012         * scripts/data/localplt-s390-linux-gnu.data: New file.
59013         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59015 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59017         [BZ #3268]
59018         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59019         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59020         instead of dbl-64.
59021         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59022         inlines.
59023         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59024         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59025         if one of x and y is very large and the other is subnormal.
59026         * sysdeps/s390/fpu/s_fmaf.c: New file.
59027         * sysdeps/s390/fpu/s_fma.c: New file.
59028         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59029         * sysdeps/powerpc/fpu/s_fma.S: New file.
59030         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59031         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59032         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59034 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59036         [BZ #3268]
59037         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59038         fma tests.
59039         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59040         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59041         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59042         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59043         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59044         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59045         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59047 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59049         [BZ #12078]
59050         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59051         * posix/bug-regex31.input: Add test case.
59053 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59055         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59056         * posix/bug-regex31.input: New file.
59058         [BZ #12078]
59059         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59060         (parse_sub_exp): Fix last change, use postorder.
59062         * posix/bug-regex31.c: New file.
59063         * posix/Makefile: Add rules to build and run bug-regex31.
59065         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59067         [BZ #12078]
59068         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59070         [BZ #12108]
59071         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59072         to have entries in sys_siglist.
59074         [BZ #12093]
59075         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59076         be NULL.
59078 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
59080         [BZ #3268]
59081         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59082         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59083         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59084         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59085         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59086         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59087         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59088         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59089         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59090         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59091         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59092         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59093         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59094         * math/ftestexcept.c (fetestexcept): Likewise.
59095         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59096         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59097         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59098         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59099         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59100         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59101         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59103 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59105         [BZ #12107]
59106         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59107         newline.
59109 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
59111         * string/bug-strstr1.c: New file.
59112         * string/Makefile: Add rules to build and run bug-strstr1.
59114 2010-10-05  Eric Blake  <eblake@redhat.com>
59116         [BZ #12092]
59117         * string/str-two-way.h (two_way_long_needle): Always clear memory
59118         when skipping input due to the shift table.
59120 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
59122         [BZ #12005]
59123         * malloc/mcheck.c: Handle large requests.
59125         [BZ #12077]
59126         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59127         for strncmp and strncasecmp.
59128         * string/stratcliff.c: Add tests for strcmp and strncmp.
59129         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59131 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59133         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59134         __set_fpscr.
59136 2010-09-30  Andreas Jaeger  <aj@suse.de>
59138         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59139         (CGROUP_SUPER_MAGIC): Define.
59140         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59141         Handle btrfs and cgroup file systems.
59142         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59143         Likewise.
59145 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
59147         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59148         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59150 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59152         [BZ #12067]
59153         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59154         trying to locate the ELF header.
59156 2010-09-27  Andreas Schwab  <schwab@redhat.com>
59158         [BZ #11611]
59159         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59160         Mask out sign-bit copies when constructing f_fsid.
59162 2010-09-24  Petr Baudis <pasky@suse.cz>
59164         * debug/stack_chk_fail_local.c: Add missing licence exception.
59165         * debug/warning-nop.c: Likewise.
59167 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
59169         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59170         implementing getdents64 using getdents syscall, set d_type if
59171         __ASSUME_GETDENTS32_D_TYPE.
59173 2010-09-16  Andreas Schwab  <schwab@redhat.com>
59175         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59176         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59178 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
59180         [BZ #12037]
59181         * posix/unistd.h: Undo change of feature selection for ftruncate from
59182         2010-01-11.
59184 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
59186         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59187         detection.
59189 2010-09-20  Andreas Schwab  <schwab@redhat.com>
59191         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59192         fanotify_mark.
59193         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59195 2010-09-14  Andreas Schwab  <schwab@redhat.com>
59197         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59198         variables after CHECK_SP call.
59199         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59201 2010-09-13  Andreas Schwab  <schwab@redhat.com>
59202             Ulrich Drepper  <drepper@redhat.com>
59204         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59205         re-relocationg ld.so.
59206         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59207         _dl_init_paths call.
59208         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
59209         here anymore.
59211 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
59213         * resolv/res_init.c (__res_vinit): Count the default server we added.
59215 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
59216             Ulrich Drepper  <drepper@redhat.com>
59218         [BZ #11968]
59219         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59220         (____longjmp_chk): Use %ebx for saving value across system call.
59221         Add unwind info.
59223 2010-09-06  Andreas Schwab  <schwab@redhat.com>
59225         * manual/Makefile: Don't mix pattern rules with normal rules.
59227 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59229         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59230         operation.
59231         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59232         * libio/iofopncook.c (_IO_cookie_init): Likewise.
59233         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59234         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59235         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59236         Likewise.
59238 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
59240         [BZ #11979]
59241         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59242         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59244 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
59246         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59247         * sysdeps/x86_64/addmul_1.S: Likewise.
59248         * sysdeps/x86_64/lshift.S: Likewise.
59249         * sysdeps/x86_64/mul_1.S: Likewise.
59250         * sysdeps/x86_64/rshift.S: Likewise.
59251         * sysdeps/x86_64/sub_n.S: Likewise.
59252         * sysdeps/x86_64/submul_1.S: Likewise.
59254 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59256         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59257         Define __sched_param instead of SCHED_* and sched_param when
59258         <bits/sched.h> is included with __need_schedparam defined.
59259         * bits/sched.h [__need_schedparam]
59260         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59261         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59262         (__defined_schedparam): Define to 1.
59263         (__sched_param): New structure, identical to sched_param.
59264         (__need_schedparam): Undefine.
59266 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
59268         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59269         (epoll_create1): Declare.
59271         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59273 2010-08-31  Andreas Schwab  <schwab@redhat.com>
59275         [BZ #7066]
59276         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59277         shifting retval into place.
59279 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
59281         * nis/rpcsvc/nis.h: Update copyright notice.
59282         * nis/rpcsvc/nis.x: Likewise.
59283         * nis/rpcsvc/nis_callback.h: Likewise.
59284         * nis/rpcsvc/nis_callback.x: Likewise.
59285         * nis/rpcsvc/nis_object.x: Likewise.
59286         * nis/rpcsvc/nis_tags.h: Likewise.
59287         * nis/rpcsvc/yp.h: Likewise.
59288         * nis/rpcsvc/yp.x: Likewise.
59289         * nis/rpcsvc/ypupd.h: Likewise.
59290         * nis/yp_xdr.c: Likewise.
59291         * nis/ypupdate_xdr.c: Likewise.
59293         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
59294         mainly the body of pmap_getport.  Add parameters to specify timeouts.
59295         (pmap_getport): Use __libc_rpc_getport.
59296         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59297         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59298         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59300 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
59302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59303         fanotify_mark.
59305 2010-08-27  Roland McGrath  <roland@redhat.com>
59307         * sysdeps/i386/i686/multiarch/Makefile
59308         (CFLAGS-varshift.c): New variable.
59310 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
59312         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59313         * sysdeps/i386/i686/multiarch/varshift.c: New file.
59315         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59317         * sysdeps/x86_64/strlen.S: Minimal code improvement.
59319 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
59321         * sysdeps/x86_64/strlen.S: Unroll the loop.
59322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59323         strlen-sse2 strlen-sse2-bsf.
59324         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59325         __strlen_no_bsf if bit_Slow_BSF is set.
59326         (__strlen_sse42): Removed.
59327         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59328         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59330 2010-08-25  Roland McGrath  <roland@redhat.com>
59332         * sysdeps/x86_64/multiarch/varshift.S: File removed.
59333         * sysdeps/x86_64/multiarch/varshift.c: New file.
59334         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59335         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59336         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59337         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59339 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
59341         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59342         strlen-sse2 strlen-sse2-bsf.
59343         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59344         __strlen_sse2_bsf if bit_Slow_BSF is unset.
59345         (__strlen_sse2): Removed.
59346         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59347         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59349         bit_Slow_BSF for Atom.
59350         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59351         (index_Slow_BSF): Define.
59352         (HAS_SLOW_BSF): Define.
59354 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
59356         [BZ #10851]
59357         * resolv/res_init.c (__res_vinit): When no server address at all
59358         is given default to loopback.
59360 2010-08-24  Roland McGrath  <roland@redhat.com>
59362         * configure.in: Remove config-name.h generation.
59363         * configure: Regenerated.
59364         * config-name.in: File removed.
59365         * scripts/config-uname.sh: New file.
59366         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59367         ($(objdir)config-name.h): New target.
59369         * sunrpc/rpc_parse.h: Avoid nested comment.
59371 2010-08-24  Richard Henderson  <rth@redhat.com>
59372             Ulrich Drepper  <drepper@redhat.com>
59373             H.J. Lu  <hongjiu.lu@intel.com>
59375         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59377         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59378         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
59379         _mm_alignr_epi8 with _mm_loadu_si128.
59380         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59381         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59382         (__m128i_shift_right): Removed.
59383         * sysdeps/i386/i686/multiarch/varshift.h: New file.
59384         * sysdeps/i386/i686/multiarch/varshift.S: New file.
59385         * sysdeps/x86_64/multiarch/varshift.h: New file.
59386         * sysdeps/x86_64/multiarch/varshift.S: New file.
59388 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
59390         * configure.in: Move assembler checks to before sysdep dir checking.
59392 2010-08-20  Petr Baudis  <pasky@suse.cz>
59394         * LICENSES: Sync the sunrpc license.
59396 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
59398         * sunrpc/auth_des.c: Update copyright notice once again.
59399         * sunrpc/auth_none.c: Likewise.
59400         * sunrpc/auth_unix.c: Likewise.
59401         * sunrpc/authdes_prot.c: Likewise.
59402         * sunrpc/authuxprot.c: Likewise.
59403         * sunrpc/bindrsvprt.c: Likewise.
59404         * sunrpc/clnt_gen.c: Likewise.
59405         * sunrpc/clnt_perr.c: Likewise.
59406         * sunrpc/clnt_raw.c: Likewise.
59407         * sunrpc/clnt_simp.c: Likewise.
59408         * sunrpc/clnt_tcp.c: Likewise.
59409         * sunrpc/clnt_udp.c: Likewise.
59410         * sunrpc/clnt_unix.c: Likewise.
59411         * sunrpc/des_crypt.c: Likewise.
59412         * sunrpc/des_soft.c: Likewise.
59413         * sunrpc/get_myaddr.c: Likewise.
59414         * sunrpc/getrpcport.c: Likewise.
59415         * sunrpc/key_call.c: Likewise.
59416         * sunrpc/key_prot.c: Likewise.
59417         * sunrpc/openchild.c: Likewise.
59418         * sunrpc/pm_getmaps.c: Likewise.
59419         * sunrpc/pm_getport.c: Likewise.
59420         * sunrpc/pmap_clnt.c: Likewise.
59421         * sunrpc/pmap_prot.c: Likewise.
59422         * sunrpc/pmap_prot2.c: Likewise.
59423         * sunrpc/pmap_rmt.c: Likewise.
59424         * sunrpc/rpc/auth.h: Likewise.
59425         * sunrpc/rpc/auth_unix.h: Likewise.
59426         * sunrpc/rpc/clnt.h: Likewise.
59427         * sunrpc/rpc/des_crypt.h: Likewise.
59428         * sunrpc/rpc/key_prot.h: Likewise.
59429         * sunrpc/rpc/netdb.h: Likewise.
59430         * sunrpc/rpc/pmap_clnt.h: Likewise.
59431         * sunrpc/rpc/pmap_prot.h: Likewise.
59432         * sunrpc/rpc/pmap_rmt.h: Likewise.
59433         * sunrpc/rpc/rpc.h: Likewise.
59434         * sunrpc/rpc/rpc_des.h: Likewise.
59435         * sunrpc/rpc/rpc_msg.h: Likewise.
59436         * sunrpc/rpc/svc.h: Likewise.
59437         * sunrpc/rpc/svc_auth.h: Likewise.
59438         * sunrpc/rpc/types.h: Likewise.
59439         * sunrpc/rpc/xdr.h: Likewise.
59440         * sunrpc/rpc_clntout.c: Likewise.
59441         * sunrpc/rpc_cmsg.c: Likewise.
59442         * sunrpc/rpc_common.c: Likewise.
59443         * sunrpc/rpc_cout.c: Likewise.
59444         * sunrpc/rpc_dtable.c: Likewise.
59445         * sunrpc/rpc_hout.c: Likewise.
59446         * sunrpc/rpc_main.c: Likewise.
59447         * sunrpc/rpc_parse.c: Likewise.
59448         * sunrpc/rpc_parse.h: Likewise.
59449         * sunrpc/rpc_prot.c: Likewise.
59450         * sunrpc/rpc_sample.c: Likewise.
59451         * sunrpc/rpc_scan.c: Likewise.
59452         * sunrpc/rpc_scan.h: Likewise.
59453         * sunrpc/rpc_svcout.c: Likewise.
59454         * sunrpc/rpc_tblout.c: Likewise.
59455         * sunrpc/rpc_util.c: Likewise.
59456         * sunrpc/rpc_util.h: Likewise.
59457         * sunrpc/rpcinfo.c: Likewise.
59458         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59459         * sunrpc/rpcsvc/key_prot.x: Likewise.
59460         * sunrpc/rpcsvc/klm_prot.x: Likewise.
59461         * sunrpc/rpcsvc/mount.x: Likewise.
59462         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59463         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59464         * sunrpc/rpcsvc/rex.x: Likewise.
59465         * sunrpc/rpcsvc/rstat.x: Likewise.
59466         * sunrpc/rpcsvc/rusers.x: Likewise.
59467         * sunrpc/rpcsvc/sm_inter.x: Likewise.
59468         * sunrpc/rpcsvc/spray.x: Likewise.
59469         * sunrpc/rpcsvc/yppasswd.x: Likewise.
59470         * sunrpc/rtime.c: Likewise.
59471         * sunrpc/svc.c: Likewise.
59472         * sunrpc/svc_auth.c: Likewise.
59473         * sunrpc/svc_authux.c: Likewise.
59474         * sunrpc/svc_raw.c: Likewise.
59475         * sunrpc/svc_run.c: Likewise.
59476         * sunrpc/svc_simple.c: Likewise.
59477         * sunrpc/svc_tcp.c: Likewise.
59478         * sunrpc/svc_udp.c: Likewise.
59479         * sunrpc/svc_unix.c: Likewise.
59480         * sunrpc/svcauth_des.c: Likewise.
59481         * sunrpc/xcrypt.c: Likewise.
59482         * sunrpc/xdr.c: Likewise.
59483         * sunrpc/xdr_array.c: Likewise.
59484         * sunrpc/xdr_float.c: Likewise.
59485         * sunrpc/xdr_mem.c: Likewise.
59486         * sunrpc/xdr_rec.c: Likewise.
59487         * sunrpc/xdr_ref.c: Likewise.
59488         * sunrpc/xdr_sizeof.c: Likewise.
59489         * sunrpc/xdr_stdio.c: Likewise.
59491         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59492         handling.
59494 2010-08-19  Andreas Schwab  <schwab@redhat.com>
59496         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59498 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
59500         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59501         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59502         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59503         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59504         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59505         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59506         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59507         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59508         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59509         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59510         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59511         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59512         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59513         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59515 2010-07-26  Anton Blanchard  <anton@samba.org>
59517         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59518         * malloc/arena.c (heap_trim): Likewise.
59520 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
59522         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59523         here.  Not...
59524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59525         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59527 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
59529         * sysdeps/i386/elf/Makefile: New file.
59531 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59533         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59534         from fanotify_init.
59535         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59536         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59538 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
59540         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59541         of strncasecmp_l.
59542         * sysdeps/multiarch/strcmp.S: Likewise.
59544 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
59546         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59547         strncase_l-nonascii.
59548         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59549         Add strncase_l-ssse3.
59550         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59551         * sysdeps/x86_64/strcmp.S: Likewise.
59552         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59553         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59554         * sysdeps/x86_64/strncase.S: New file.
59555         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59556         * sysdeps/x86_64/strncase_l.S: New file.
59557         * string/Makefile (strop-tests): Add strncasecmp.
59558         * string/test-strncasecmp.c: New file.
59560         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59561         warning.
59563         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59564         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59566 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59568         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59570 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
59572         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59573         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59574         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59576 2010-05-01  Alan Modra  <amodra@gmail.com>
59578         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59579         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59580         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59581         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59582         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59583         tidying.  Don't tail-call __sigjmp_save for static lib.
59584         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59585         save location.
59586         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59587         (CALL_MCOUNT): Add eh info, and nop after bl.
59588         (TAIL_CALL_SYSCALL_ERROR): New macro.
59589         (PSEUDO_RET): Use it.
59590         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59591         Correct save location of integer regs and cr.
59592         (_dl_profile_resolve): Correct cr save location.  Delete nops
59593         after bl when SHARED.  Reduce cfi size a little by better
59594         placement of cfi directives.
59595         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59596         make a stack frame.  Instead use parm save area as a temp.
59597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59598         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
59599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59600         Don't make a stack frame for parent, use parm save area.
59601         Increase child stack frame to 112 bytes.  Don't save unused reg,
59602         and adjust reg usage.  Set up cfi on error recovery and
59603         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59605         (__makecontext): Add dummy nop after jump to exit.
59606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59607         Use correct parm save area and cr save, reduce stack frame.
59608         Correct cfi for possible PSEUDO_RET frame setup.
59609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59610         Branch to local label emitted by PSEUDO_RET rather than
59611         __syscall_error.
59613 2010-08-12  Andreas Schwab  <schwab@redhat.com>
59615         [BZ #11904]
59616         * locale/programs/locale.c (print_assignment): New function.
59617         (show_locale_vars): Use it.
59619 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
59621         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59622         field.
59623         (struct statfs64): Likewise.
59624         (_STATFS_F_FLAGS): Define.
59625         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59626         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59627         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59628         (ST_VALID): Define locally.
59629         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59630         __statvfs_getflags, use the provided value.
59631         * sysdeps/unix/sysv/linux/kernel-features.h: Define
59632         __ASSUME_STATFS_F_FLAGS.
59634         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59636         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59637         Add sys/fanotify.h.
59638         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59639         fanotify_mask for GLIBC_2.13.
59640         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59641         fanotify_init and fanotify_mark.
59642         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59643         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59645         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59646         Add prlimit.
59647         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59648         prlimit64 for GLIBC_2.13.
59649         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59650         prlimit64.
59651         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59652         syscall.
59653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59654         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59655         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59656         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59657         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
59658         add prlimit alias.
59659         * sysdeps/unix/sysv/linux/prlimit.c: New file.
59661         [BZ #11903]
59662         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59663         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59665         * nss/Makefile: Add rules to build and run tst-nss-test1.
59666         * shlib-versions: Add entry for libnss_test1.
59667         * nss/nss_test1.c: New file.
59668         * nss/tst-nss-test1.c: New file.
59670         * nss/nsswitch.c (__nss_database_custom): Define new variable.
59671         (__nss_configure_lookup): Set appropriate entry in
59672         __nss_configure_lookup to true.
59673         * nss/nsswitch.h: Define enum with indeces of databases in
59674         databases and __nss_database_custom arrays.  Declare
59675         __nss_database_custom.
59676         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59677         to avoid using nscd when custom rules are installed.
59678         * nss/getXXbyYY_r.c: Likewise.
59679         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59681         * nss/nss_files/files-parse.c: Whitespace fixes.
59683 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
59685         [BZ #11883]
59686         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59687         * posix/fnmatch_loop.c: Likewise.
59689 2010-07-17  Andi Kleen  <ak@linux.intel.com>
59691         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59692         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59693         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59694         * Versions.def [GLIBC_2.13]: Add.
59696 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
59698         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59699         Also fail if tpwd after pwuid call is NULL.
59701 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59703         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59704         when converting to ms.
59706 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59708         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59709         EOPNOTSUPP errors with ENOTTY.
59710         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59711         EOPNOTSUPP errors with ENOTTY.
59713 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
59715         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59716         Add strcasecmp_l-ssse3.
59717         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59718         strcasecmp.
59719         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59720         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59721         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59723 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
59725         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59727         * string/Makefile (strop-tests): Add strcasecmp.
59728         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59729         strcasecmp_l-nonascii.
59730         (gen-as-const-headers): Add locale-defines.sym.
59731         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59732         * sysdeps/x86_64/strcasecmp.S: New file.
59733         * sysdeps/x86_64/strcasecmp_l.S: New file.
59734         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59735         * sysdeps/x86_64/locale-defines.sym: New file.
59736         * string/test-strcasecmp.c: New file.
59738         * string/test-strcasestr.c: Test both ends of the range of characters.
59739         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59741 2010-07-29  Roland McGrath  <roland@redhat.com>
59743         [BZ #11856]
59744         * manual/locale.texi (Yes-or-No Questions): Fix example code.
59746 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
59748         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59749         for ld.so.
59751 2010-07-27  Andreas Schwab  <schwab@redhat.com>
59753         * manual/memory.texi (Malloc Tunable Parameters): Document
59754         M_PERTURB.
59756 2010-07-26  Roland McGrath  <roland@redhat.com>
59758         [BZ #11840]
59759         * configure.in (-fgnu89-inline check): Set and substitute
59760         gnu89_inline, not libc_cv_gnu89_inline.
59761         * configure: Regenerated.
59762         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59764 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
59766         * string/test-strnlen.c: New file.
59767         * string/Makefile (strop-tests): Add strnlen.
59768         * string/tester.c (test_strnlen): Add a few more test cases.
59769         * string/tst-strlen.c: Better error reporting.
59771         * sysdeps/x86_64/strnlen.S: New file.
59773 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
59775         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59776         lower-latency instructions.
59778 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
59780         * string/test-strcasestr.c: New file.
59781         * string/test-strstr.c: New file.
59782         * string/Makefile (strop-tests): Add strstr and strcasestr.
59783         * string/str-two-way.h: Don't undefine MAX.
59784         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59786 2010-07-21  Andreas Schwab  <schwab@redhat.com>
59788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59789         strcasestr-nonascii.
59790         (CFLAGS-strcasestr-nonascii.c): Define.
59791         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59792         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59793         Remove unused attribute.
59795 2010-07-20  Roland McGrath  <roland@redhat.com>
59797         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59798         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
59799         ld.so.cache was broken.  With it, there is no way to disable dsocaps
59800         like LD_HWCAP_MASK can disable hwcaps.
59802 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59804         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59806 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
59808         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59809         call in strcasestr.
59810         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59811         __strcasestr_sse42_nonascii.
59812         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59813         strcasestr-nonascii.c.
59814         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59816 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
59818         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59819         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59820         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59821         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59823 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
59825         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59826         fcntl.
59828 2010-07-06  Andreas Schwab  <schwab@redhat.com>
59830         [BZ #11577]
59831         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59832         dl_signal_cerror.
59834 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
59836         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59837         _PC_PIPE_BUF using F_GETPIPE_SZ.
59839 2010-07-05  Roland McGrath  <roland@redhat.com>
59841         * manual/arith.texi (Rounding Functions): Fix rint description
59842         implicit in round description.
59844 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
59846         * elf/Makefile: Fix linking for a few tests to make recent linker
59847         happy.
59849 2010-06-30  Andreas Schwab  <schwab@redhat.com>
59851         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59852         $(common-objpfx)libc_nonshared.a.
59854 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
59856         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59857         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59858         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59859         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59860         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59861         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59862         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59863         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59878         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59879         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59880         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59881         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59882         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59883         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59884         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59885         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59886         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59887         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59888         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59889         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59905 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
59907         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59908         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
59909         * string/memmove.c (memmove): Renamed to ...
59910         (MEMMOVE): ...this.  Default to memmove.
59911         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59912         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59913         (END_CHK): Define.
59914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59915         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59916         mempcpy-ssse3-back memmove-ssse3-back.
59917         * sysdeps/x86_64/multiarch/bcopy.S: New file .
59918         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59919         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59920         * sysdeps/x86_64/multiarch/memcpy.S: New file.
59921         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59922         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59923         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59924         * sysdeps/x86_64/multiarch/memmove.c: New file.
59925         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59926         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59927         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59928         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59929         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59930         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59931         Define.
59932         (index_Fast_Copy_Backward): Define.
59933         (HAS_ARCH_FEATURE): Define.
59934         (HAS_FAST_REP_STRING): Define.
59935         (HAS_FAST_COPY_BACKWARD): Define.
59937 2010-06-21  Andreas Schwab  <schwab@redhat.com>
59939         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59940         Restore proper fallback handling.
59942 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
59944         [BZ #11701]
59945         * posix/group_member.c (__group_member): Correct checking loop.
59947         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59948         OOM in getpwuid_r correctly.  Return error number when the caller
59949         should return, otherwise -1.
59950         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59951         call returning > 0 value.
59952         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59954 2010-06-07  Andreas Schwab  <schwab@redhat.com>
59956         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59957         libc_nonshared.a from targets in modules-names.
59959 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
59961         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59962         requires it.
59964 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
59966         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59967         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59968         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59969         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59971 2010-06-02  Andreas Schwab  <schwab@redhat.com>
59973         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59975 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
59977         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59978         and F_GETPIPE_SZ.
59979         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59980         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59981         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59982         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59983         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59984         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59986 2010-06-14  Roland McGrath  <roland@redhat.com>
59988         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59990 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
59992         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59993         __REDIRECT followed by __THROW.
59994         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59995         * posix/getopt.h (getopt): Likewise.
59997 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59999         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60000         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60001         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60002         in AT_FLAGS.
60003         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60004         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60006 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60008         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60010 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60012         [BZ #11640]
60013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60014         Properly check family and model.
60016 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60018         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60020 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60022         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60024 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60026         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60027         symbol reference.
60029 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60031         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60032         symbol reference.
60034 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60036         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60037         and internal_recvmmsg.
60038         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60039         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60040         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60041         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60043         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60044         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60045         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60047 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60049         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60051 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60053         POWER7 optimizations.
60054         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60055         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60057 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60059         * version.h: Update for 2.13 development version.
60061 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60063         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60064         exceptions.  Return 0.
60066 2010-05-07  Roland McGrath  <roland@redhat.com>
60068         * elf/ldconfig.c (main): Add a const.
60070 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
60072         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60073         (args_options): Add no-idn option.
60074         (ahosts_keys_int): Add idn_flags to ai_flags.
60075         (parse_option): Handle 'i' option to clear idn_flags.
60077         * malloc/malloc.c (_int_free): Possible race in the most recently
60078         added check.  Only act on the data if no current modification
60079         happened.
60081 See ChangeLog.17 for earlier changes.